html {
    margin: 0;
    padding: 0;
    font-family: "Montserrat";
    font-weight: 600;
}

body {
    margin: 0;
    background: #003a47;
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
}

input {
    outline: none;
    font-family: "Open Sans", sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    color: #003a47;
}

p.error {
    display: none;
    text-align: center;
}

img.responsive_logo {
    display: none;
}

div.logo_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

aside.banner {
    width: 25%;
    height: 100%;
    background: transparent;
}

#cookiesConsent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1vw 1vw 1vw 1vw;
    /* border-top: 1px solid #ccc; */
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#cookiesConsent > p {
    margin: 0;
    font-size: 0.8rem;
}

#whatsapp_button {
    position: absolute;
    right: 40px;
    bottom: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#cookiesConsent > button {
    height: 30px;
    border: none;
    background: #3e98ac;
    border-radius: 5px;
    color: #f6f6f6;
    text-transform: uppercase;
    padding-inline: 10px;
    font-size: 0.75rem;
}

div.banner_container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    color: #f6f6f6;

    & .banner_text {
        font-family: "Syncopate", sans-serif;
        margin-top: 16px;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;

        & .banner_title {
            font-size: 9px;
            font-weight: 900;
            margin: 0px;
            padding: 0px;
        }

        & .banner_subtitle {
            font-size: 22px;
            font-weight: 400;
            margin: 0;
            padding: 0;
        }
    }
}

div#email_content {
    width: 100%;
}

div#password_content {
    width: 100%;
}

div.comunyt_typography {
    margin-top: 35px;
    width: 205px;
}

img#comunity_dark_logo {
    width: 100%;
}

div.banner_container p {
    padding-inline: 10px;
    line-height: 24px;
    font-size: 14px;
    font-weight: 500;
}

img#logo {
    width: 125px;
    margin-inline: auto;
    cursor: pointer;
}

article.container {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10vw;
    margin: 19px;
    background-color: #f6f6f6;
    border-radius: 20px;
}

article.large_container {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 19px;
    background-color: #f6f6f6;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

div#scroll_container {
    width: 100%;
    overflow: hidden auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#scroll_container::-webkit-scrollbar {
    width: 8px;
    border-radius: 20px;
}

div#scroll_container::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #d9d9d9;
}

div#scroll_container::-webkit-scrollbar-thumb {
    background: #003a47;
    border-radius: 20px;
}

nav.nav {
    position: absolute;
    top: 32px;
    right: 50px;
    display: flex;
    gap: 24px;
}

button#house_button {
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
}

button#profile_button {
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 10.5vw !important;
    background: transparent !important;
    bottom: 2vh !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}

div#container_for_check {
    grid-column: 1/3;
    margin-top: 0;
}

div.container_for_input {
    display: flex;
    justify-content: center;
}

div#terms_and_conditions {
    width: 100%;
    display: flex;
    gap: 8px;
    grid-column: 1/3;
}

div.register_container {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
}

nav#register_nav {
    width: fit-content;
    justify-content: end;
    padding-top: 30px;
    padding-right: 90px;
    display: flex;
    gap: 24px;
    top: 0;
    right: 0;
    position: absolute;
}

div.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
    height: 70vh;
}

h3.title {
    font-family: "Syncopate", sans-serif;
    font-size: 24px;
    font-weight: 700;
    max-width: 580px;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 43px;
    margin-inline: auto;
    text-align: center;
    color: #003a47;
}

div.input_password_container {
    height: 100%;
    max-width: 550px;
    width: -webkit-fill-available;
    line-height: 2rem;
    border-radius: 5px;
    border: none;
    background-color: #fff;
    padding-inline: 15px;
    display: flex;
    margin-inline: auto;
    margin-top: 30px;
}

div.input_container {
    height: 50px;
    border-radius: 5px;
    background-color: #fff;
    padding-inline: 20px;
    display: flex;
}

input#email_input {
    line-height: 2.25rem;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0;
}

input#email_forgot {
    line-height: 2rem;
    box-sizing: border-box;
    max-width: 625px;
    width: 100%;
    border-radius: 5px;
    gap: 10px;
    height: 50px;
    border: none;
    background-color: white;
    padding-inline: 15px;
    display: flex;
    justify-content: space-between;
    margin-inline: auto;
}

label.register_label {
    color: #003a47;
    display: none;
    max-width: 550px;
    width: -webkit-fill-available;
}

*::placeholder {
    font-family: "Open Sans", sans-serif;
    color: #003a47;
    font-size: 16px;
    font-weight: 400;
}

.input_shadow {
    box-shadow: 2px 2px 4px 0px #00000040;
}

#nationality_input {
    border: none;
    width: 100%;
    font-size: 16px;
    font-family: "Montserrat";
    color: #003a47;
}

#nationality_input:focus {
    border: none;
    outline: none;
}

input {
    width: 100%;
    line-height: 2.25rem;
    border: none;
    background: none;
    padding: 0;
}

button.input_type {
    border: none;
    background: none;
    width: 35px;
    padding: 0;
    cursor: pointer;
}

.fa-regular {
    font-size: 1.25rem;
    color: #333;
}

.password_request {
    text-align: end;
    max-width: 500px;
    margin-inline: auto;
    width: 100%;
}

button.button_submit {
    padding: 8px 24px;
    margin: 0;
    height: 40px;
    border: none;
    background: #3e98ac;
    border-radius: 20px;
    color: #f6f6f6;
    text-transform: capitalize;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.buttons > a {
    text-align: center;
}

#scroll_container > div.bottom > div > a {
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
}

button.submit_button {
    padding: 8px 24px;
    margin: 0;
    height: 40px;
    border: none;
    background: #3e98ac;
    border-radius: 20px;
    color: #f6f6f6;
    text-transform: capitalize;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

div.buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    margin-block: 30px;
}

div.buttons a {
    text-decoration: none;
}

.bottom_form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

div.bottom_form p,
div.bottom_form a {
    margin-block: 1rem;
    font-family: "Open Sans", sans-serif;
}

div.bottom_form p {
    font-size: 14px;
    font-weight: 400;
    color: #003a47;
}

div.bottom_form a {
    font-size: 18px;
}

div.bottom_form a,
div.password_request a {
    text-decoration: none;
    color: #3e98ac;
}

div.password_request a {
    font-size: 14px;
}

p.error_message {
    color: #bf0505;
    margin: 0;
    font-size: 12px;
    display: none;
}

b#password_requirements {
    text-decoration: underline;
    cursor: pointer;
    color: #3e98ac;
    padding-left: 5px;
    position: relative;
}

button#close_requirements_modal_cross {
    border: none;
    background-color: transparent;
}

button#close_requirements_modal_button {
    border: none;
    color: #f6f6f6;
    font-family: "Open Sans", sans-serif;
    background-color: transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    bottom: 5px;
    right: 5px;
    position: absolute;
}

.content_register {
    display: grid;
    width: 90%;
    max-width: 720px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    column-gap: 40px;
    row-gap: 24px;
    box-sizing: border-box;
}

.full_row {
    grid-column: 1 / -1;
}

input.input_register {
    line-height: 2rem;
    box-sizing: border-box;
    max-width: 625px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: transparent;
    padding-inline: 15px;
    margin-inline: auto;
}

.data_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

div.input_container_register {
    line-height: 2rem;
    box-sizing: border-box;
    max-width: 625px;
    width: 100%;
    border-radius: 5px;
    border: none;
    background-color: white;
    padding-inline: 15px;
    display: flex;
    justify-content: space-between;
    margin-inline: auto;
}

input.input_password_register {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 517px;
    height: 50px;
    width: 100%;
    background: transparent;
    border: none;
}

div#container_for_nationality {
    display: flex;
    justify-content: center;
    grid-column: 1 / 3;
}

div#nationality_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

div.inputs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

div.bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
}

*:checked {
    size: 10px;
}

a {
    color: #3e98ac;
}

input#checkbox {
    width: 24px;
    height: 24px;
    accent-color: #003a47;
}

button#close_modal_cross {
    width: 30px;
    height: 30px;
    font-size: xx-large;
    border: none;
    background: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

button#close_modal_user_exist_cross {
    width: 30px;
    height: 30px;
    font-size: xx-large;
    border: none;
    background: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

button#close_modal_user_already_exist_cross {
    width: 30px;
    height: 30px;
    font-size: xx-large;
    border: none;
    background: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

button.close_modal_button {
    margin-inline: auto;
    border: none;
    height: 40px;
    background-color: #3e98ac;
    border-radius: 8px;
    padding-inline: 20px;
    color: #f6f6f6;
    cursor: pointer;
}

#modal_background {
    display: none;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
}

#modal {
    width: 90vw;
    max-width: 480px;
    background-color: #f6f6f6;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    box-sizing: content-box;
    padding: 16px 24px;
}

#requirements_modal {
    display: none;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: transparent;

    & #modal {
        position: absolute;
        top: 100px;
        left: 0;
        background-color: #003a47;
        width: 289px;
        height: 147px;
        padding: 0px !important;
        display: flex;
        flex-direction: column;
        justify-content: "flex-start";
        align-items: "flex-start";

        & ul {
            margin: 0;
            padding: 0;
            padding-left: 18px;
        }

        & ul li::marker {
            color: #ff6455;
        }

        & ul li p {
            font-family: "Open Sans", sans-serif !important;
            color: #fff !important;
            font-size: 11px;
            font-weight: 400;
            margin: 0px;
        }

        & #modal_text {
            font-family: "Open Sans", sans-serif !important;
            color: #fbfbfb !important;
            font-size: 12px;
            text-align: left !important;
            font-weight: 600 !important;
            max-width: 234px;
            margin-bottom: 12px;
        }
    }
}

div#toast {
    height: 50px;
    position: absolute;
    right: 100vw;
    top: 1.5vw;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding-inline: 15px;
    gap: 10px;
    background-color: white;
    transition: all 2s;
}

#modal_user_exist {
    z-index: 1000;
    display: none;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
}

#modal_user_already_exist {
    z-index: 1000;
    display: none;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 901px) {
    select#country_input {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .grecaptcha-badge {
        width: 70px !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
        left: 5px !important;
        top: 5px;
    }

    .grecaptcha-badge:hover {
        width: 256px !important;
    }

    h3#login_title {
        margin-top: 30px;
    }

    article.large_container {
        width: 100%;
        padding-top: 55px;
    }

    article.container {
        width: 100%;
    }

    aside.banner {
        display: none;
    }

    img.responsive_logo {
        display: none;
        width: 100px;
        height: 100px;
    }

    div.policy {
        position: absolute;
        left: 5vw;
        right: 5vw;
        bottom: 3vw;
        height: 5vh;
        overflow-y: auto;
        padding: 5px;
        border: 1px solid gray;
        border-radius: 5px;
    }

    nav#register_nav {
        padding-top: 5px;
        padding-right: 5dvw;
    }

    div#scroll_container {
        max-height: 70dvh;
    }

    h3.title {
        margin-bottom: 0px;
    }

    #scroll_container > div.content_register {
        display: flex;
        flex-direction: column;
    }

    div.register_container {
        width: 90%;
        gap: 43px;
    }

    div.buttons {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .bottom_form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    div.bottom_form p,
    div.bottom_form a {
        margin: 0;
    }
}
