@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu/Ubuntu.woff2') format('woff2'),
         url('../fonts/ubuntu/Ubuntu.woff') format('woff'),
         url('../fonts/ubuntu/Ubuntu.ttf') format('truetype'),
         url('../fonts/ubuntu/Ubuntu.otf') format('otf');
}

@font-face {
    font-family: 'PixelifySans';
    src: url('../fonts/pixelifysans/pixelifysans.woff2') format('woff2'),
         url('../fonts/pixelifysans/pixelifysans.woff') format('woff'),
         url('../fonts/pixelifysans/pixelifysans.ttf') format('truetype'),
         url('../fonts/pixelifysans/pixelifysans.otf') format('otf');
}

@font-face {
    font-family: 'Inconsolata';
    src: url('../fonts/inconsolata/Inconsolata.woff2') format('woff2'),
         url('../fonts/inconsolata/Inconsolata.woff') format('woff'),
         url('../fonts/inconsolata/Inconsolata.ttf') format('truetype'),
         url('../fonts/inconsolata/Inconsolata.otf') format('otf');
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/raleway/raleway.woff2') format('woff2'),
        url('../fonts/raleway/raleway.woff') format('woff'),
        url('../fonts/raleway/raleway.ttf') format('truetype'),
        url('../fonts/raleway/raleway.otf') format('otf');
}

@font-face {
    font-family: 'Impact';
    src: url('../fonts/impact/impact.woff2') format('woff2'),
        url('../fonts/impact/impact.woff') format('woff'),
        url('../fonts/impact/impact.ttf') format('truetype'),
        url('../fonts/impact/impact.otf') format('otf');
}

:root {
    --background-image: url('../../images/backgrounds/seraph/settingsbg.png');
    --font-family: 'Ubuntu', sans-serif;
    --text-color: #fff;
    --background-color: black;
    --border-color1: #000000;
    --border-color2: #ffffff;
    --hover-color: #1a1818;
    --text-glow: #000000
}

:root.theme-azurite {
    --background-image: url('../../images/backgrounds/azure/settingsbg.png');
    --font-family: 'Ubuntu', sans-serif;
    --text-color: #c8d9e9; 
    --border-color1: #2d6cc4;
    --border-color2: #111633;
    --background-color: #495092;
    --hover-color: #373e7d;
    --text-glow: #4e5bd0;
}

:root.theme-retro {
    --background-image: url('../../images/backgrounds/retro/settingsbg.png');
    --font-family: 'PixelifySans', 'Ubuntu', sans-serif;
    --text-color: #ffffff; 
    --border-color1: #2fce56;
    --border-color2: #375945;
    --background-color: #2f8154;
    --hover-color: #258a79;
    --text-glow: #4ed089;
}

:root.theme-cosmic {
    --background-image: url('../../images/backgrounds/cosmic/settingsbg.png');
    --font-family: 'Inconsolata', 'Ubuntu', sans-serif;
    --text-color: #ffffff; 
    --border-color1: #1e1d1f;
    --border-color2: #322c2c;
    --background-color: #121212;
    --hover-color: #181a1a;
    --text-glow: #d6c9c9;
}

:root.theme-molten {
    --background-image: url('../../images/backgrounds/molten/settingsbg.png');
    --font-family: 'Ubuntu', sans-serif;
    --text-color: #f58484; 
    --border-color1: #e70e0e;
    --border-color2: #742e2e;
    --background-color: #892525;
    --hover-color: #9b2121;
    --text-glow: #dc1010;
}

:root.theme-amethyst {
    --background-image: url('../../images/backgrounds/amethyst/settingsbg.png');
    --font-family: 'Raleway', sans-serif;
    --text-color: #c284f5; 
    --border-color1: #6c0ee7;
    --border-color2: #4c1587;
    --background-color: #502589;
    --hover-color: #5f24ae;
    --text-glow: #662589;
}

:root.theme-ethereal {
    --background-image: url('../../images/backgrounds/ethereal/settingsbg.png');
    --font-family: 'Ubuntu', sans-serif;
    --text-color: #84f5ac; 
    --border-color1: #00fb82;
    --border-color2: #bbe9c3;
    --background-color: #258969;
    --hover-color: #219b48;
    --text-glow: #6c957b;
}

:root.theme-misinformation {
    --background-image: url('../../images/backgrounds/misinformation/settingsbg.gif');
    --font-family: 'Impact', sans-serif;
    --text-color: #d94cd0;
    --background-color: rgb(87, 40, 169);
    --border-color1: #ff0000;
    --border-color2: #00ff0d;
    --hover-color: rgb(220, 78, 78);
    --text-glow: #000000
}

:root.theme-subzero {
    --background-image: url('../../images/backgrounds/subzero/settingsbg.png');
    --font-family: 'Ubuntu', sans-serif;
    --text-color: rgb(255,255,255); 
    --border-color1: rgb(13, 12, 80);
    --border-color2: rgb(0, 0, 153);
    --background-color: rgb(0, 4, 78);
    --hover-color: rgb(10, 15, 112);
    --text-glow: rgb(34, 13, 110);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    background-image: var(--background-image);
    cursor: none;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    animation: mainHeaderAnimation 3s forwards;
}


#custom-theme-settings {
    background-color: var(--background-color);
    border: 3px solid var(--border-color2);
    border-radius: 32px;
    width: 50%;
    max-width: 400px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding-top: 8px;
    padding-bottom: 16px;
    margin-top: 4px;
    margin-bottom: 16px;
}

#custom-theme-settings label {
    font-size: 18px;
    padding-left: 4px;
    text-align: center;
}

#custom-theme-settings input {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 2px;
    border: 2px solid var(--border-color2);
    font-family: var(--font-family);
    border-radius: 16px;
    text-align: center;
}

.theme-property {
    margin-bottom: 2px;
}

h1 {
    font-size: 96px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--text-color),
                 0 0 10px var(--text-glow),
                 0 0 30px var(--text-glow),
                 0 0 40px var(--text-color),
                 0 0 50px var(--text-glow),
                 0 0 60px var(--text-color),
                 0 0 70px var(--text-glow),
                 0 0 80px #000000;
    animation: searchTween 1s ease-in-out forwards;
}

p {
    font-size: 20px;
    margin-bottom: 2px;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
    animation: searchTween 2s ease-in-out forwards;
}

h2 {
    animation: searchTween 1.75s ease-in-out forwards;
}

button {
    background-color: var(--background-color);
    color: var(--text-color);
    width: 50%;
    max-width: 200px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-family: var(--font-family);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 2px;
    cursor: none;
    transition: background-color 0.15s ease-in-out;

    border: 2px solid var(--border-color2);
    border-radius: 32px;
    animation: searchTween 1.5s ease-in-out forwards;
}

select {
    background-color: var(--background-color);
    color: var(--text-color);
    width: 50%;
    max-width: 400px;
    padding-top: 5px;
    font-size: 20px;
    padding-bottom: 5px;
    border: 3px solid var(--border-color2);
    margin: 2px;
    border-radius: 32px;
    padding-left: 10px;
    cursor: none;
    padding-right: 10px;
    font-family: var(--font-family);
    animation: searchTween 1.5s ease-in-out forwards;
}

button:hover {
    background-color: var(--hover-color);
}

a {
    text-decoration: underline;
    color: var(--text-color);
    cursor: none;
    animation: searchTween 2.5s ease-in-out forwards;
}


@keyframes mainHeaderAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


@keyframes searchTween {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.cursor {
    width: 7px;
    height: 7px;
    background-color: var(--text-color);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.85;
    z-index: 10000;
    
}