@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    background: linear-gradient(0deg, #4b4b4b, #17203b);
    background-size: 400% 400%;

    -webkit-animation: AnimationName 5s ease infinite;
    -moz-animation: AnimationName 5s ease infinite;
    animation: AnimationName 5s ease infinite;
}

@-webkit-keyframes AnimationName {
    0% {
        background-position: 0% 51%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 51%;
    }
}
@-moz-keyframes AnimationName {
    0% {
        background-position: 0% 51%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 51%;
    }
}
@keyframes AnimationName {
    0% {
        background-position: 0% 51%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 51%;
    }
}

header {
    position: fixed;
    width: 100%;
    padding: 20px 25px;
}

.logo img {
    width: 35px;
    filter: brightness(100);
}

.contact_btn {
    font-size: 1rem;
    color: white;
    /* color: rgb(136, 136, 136); */
    transition: color 0.1s;
}

/*.contact_btn:hover {
    color: white;
} */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    text-decoration: none;
}

.container {
    display: flex;
    text-align: center;
    flex-direction: column;
    padding-top: 24vh;
    padding-left: 50px;
    padding-right: 50px;
}

.title-container {
    color: white;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title {
    font-size: 3.2rem;
    max-width: 500px;
    margin-bottom: 15px;
}

.subtitle {
    color: #dd6447;
    font-weight: 400;
    font-size: 1.3rem;
    /* font-style: italic; */
}

.form-container {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

form {
    display: flex;
    flex-direction: column;
    width: 500px;
    gap: 15px;
}

#email_field {
    height: 45px;
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-size: 1rem;
    background-color: #262a34;
}

#email_field::placeholder {
    color: rgb(136, 136, 136);
}

#email_field:focus,
input {
    color: rgb(255, 255, 255);
}

#submit_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 45px;
    border-radius: 12px;
    border: none;
    color: black;
    font-weight: 400;
    font-size: 1rem;
    background-color: white;
    transition: background-color 0.1s;
}

#submit_btn img {
    width: 20px;
}

#submit_btn:hover {
    background-color: rgb(208, 208, 208);
    cursor: pointer;
}

.terms {
    color: rgb(136, 136, 136);
}

.terms_span {
    color: #dd6447;
    border-bottom: 0.7px solid;
    transition: color 0.1s;
}

.terms_span:hover {
    color: #b5533b;
}

@media only screen and (max-width: 530px) {
    .container {
        padding-top: 25vh;
        padding-left: 40px;
        padding-right: 40px;
    }
    .title {
        font-size: 2.5rem;
        max-width: 500px;
        margin-bottom: 15px;
    }
}

dialog {
    position: fixed;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border: none !important;
    border-radius: 10px;
    padding: 20px;
    width: 400px;
}
dialog p {
    color: black;
    font-weight: 400;
    font-size: 1rem;
}
dialog button {
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 5px;
    margin-top: 25px;
    cursor: pointer;
    color: black;
    font-weight: 400;
    font-size: 1rem;
}
dialog button:focus {
    outline: none !important;
}
dialog button:hover {
    background-color: rgb(208, 208, 208);
}
dialog::backdrop {
    background-color: rgba(72, 72, 78, 0.5);
    backdrop-filter: blur(5px);
}
