@font-face {
    font-family: 'Findel';
    src: url('Findel-Display-Regular.otf');
}

@font-face {
    font-family: 'MadeleinaSans';
    src: url(MadeleinaSans-2VY3.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 1.2rem;
    color: #e9e9e9;
    font-family: MadeleinaSans;
    cursor: url('UiElements/Cursor.png'), auto;
    background-color: #222;
}

a:hover, button:hover {
    cursor: url('UiElements/Cursor\ Hover.png'), auto;
}

/* Header styles */
header {
    z-index: 500;
    text-align: center;
    display: flex;
    align-items: center;
    background-color: #222;
    height: 100px;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
}

header li a {
    font-family: Findel;
    font-size: 1.8vw;
    padding: 3rem;
    color: #e9e9e9;
    text-decoration: none;
}

header ul {
    display: flex;
    padding: 0;
    margin: 0;
}

header li {
    list-style: none;
    position: relative;
}

header li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #e9e9e9;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

header li:hover::after {
    width: 80%;
}

header img {
    height: 10rem;
    width: 15rem;
    max-height: 100vw;
    max-width: 100vw;
    object-fit: contain;
}

.email {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    height: 8vh;
}

.email h1 {
    text-decoration: underline #e9e9e9;
    text-decoration-style: solid; 
    font-size: 3rem;
    color: #e9e9e9;
}

.email p {
    font-size: 2.5rem;
    color: #e9e9e9;
}

.email a {
    color: #00c3ff;
    text-decoration: none;
}

.email a:hover {
    color: #00c3ff;
    text-decoration: underline;
}

/* Contact form styles */

.contact-form {
    margin-top: 10vh;
    color: #e9e9e9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-form h1 {
    text-decoration: underline #e9e9e9 solid; 
    font-size: 5rem;
    color: #e9e9e9;
}

.contact-form label {
    font-size: 3rem;
    margin: 1rem 0;
}

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"] {
    margin-bottom: 5vh;

    width: 20vw;
    height: 80%;
    padding: 1rem;
    border: none;
    background-color: #292929;
    color: #e9e9e9;
}

.contact-form textarea {
    font-size: 1.2rem;
    margin-bottom: 5vh;
    width: 30vw;
    height: 20vh;
    padding: 1rem;
    border: none;
    background-color: #292929;
    color: #e9e9e9;
}

.contact-form input[type="submit"] {
    margin-bottom: 5vh;
    width: 30%;
    padding: 1rem;
    border: none;
    background-color: #292929;
    color: #e9e9e9;
    font-size: 2rem;
    border: 2px solid #e9e9e9;
    cursor: url('UiElements/Cursor\ Hover.png'), auto;
}

.contact-form input[type="submit"]:hover {
    border: 4px solid #111;
    background-color: #e9e9e9;
    color: #292929;
    box-shadow: 0 8px 16px rgb(255, 255, 255);
}

.FAQ {
    margin-bottom:10vh;
    margin-top: 8vh;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    height: 100vh;
}

.FAQ h1 {
    text-decoration: underline #e9e9e9 solid; 
    font-size: 6rem;
    color: #e9e9e9;
}

.FAQ h2 {
    font-size: 3.2rem;
    color: #e9e9e9;
}

.FAQ p {
    margin: 0 15vw;
    text-align: center;
    font-size: 2rem;
    color: #e9e9e9;
    margin-bottom: 2vh;
}

.container {
    padding: 10vh 5vw;
}

#tcs {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5vh;
    text-align: center;
    background-color: #333;
    color: #e9e9e9;
    font-size: 1.2em;
}

.tcs-container a {
    user-select: none;
    font-size: 1.2em;
    color: #00c3ff;
    text-decoration: none;
    cursor: url('UiElements/Cursor.png'), auto;
}

.tcs-container a:hover {
    cursor: url('UiElements/Cursor.png'), auto;
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
        width: 80vw;
    }

    .contact-form input[type="submit"] {
        width: 50%;
    }

    .FAQ p {
        margin: 0 5vw;
    }
}

@media (max-width: 768px) {
    header img {
        height: 8rem;
        width: 12rem;
    }

    header li a {
        font-size: 3vw;
        padding: 2rem;
    }

    .email h1, .contact-form h1, .FAQ h1 {
        font-size: 2rem;
    }

    .email p, .contact-form label, .FAQ h2, .FAQ p {
        font-size: 1.5rem;
    }

    .contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
        width: 90vw;
    }

    .contact-form input[type="submit"] {
        width: 70%;
    }
}

@media (max-width: 480px) {
    header img {
        height: 6rem;
        width: 10rem;
    }

    header li a {
        font-size: 3.8vw;
        padding: 0.75rem;
    }

    .contact-form h1 {
        margin-top: 5vh;
    }

    .email h1 {
        font-size: 1.5rem;
    }

    .contact-form h1, .FAQ h1 {
        font-size: 2.5rem;
    }

    .email p, .contact-form label, .FAQ h2, .FAQ p {
        font-size: 1rem;
    }

    .contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
        width: 95vw;
    }

    .contact-form input[type="submit"] {
        width: 80%;
    }
}