body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: url('/../images/fondoHex.jpg'); */
    /* object-fit: cover; */
    filter: brightness(80px);
    /* background-color: #f0f0f0; */
}

.container {
    height: auto;
    width: auto;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    /* background-color: #f0f0f0; */
}

body {
    display: grid;
    grid-template-rows: 7fr 1fr;
    /* width: 100%;
    height: 100%; */
    --s: 200px;
    /* control the size */
    --c1: #1d1d1d;
    --c2: #4e4f51;
    --c3: #3c3c3c;

    background: repeating-conic-gradient(from 30deg,
            #0000 0 120deg,
            var(--c3) 0 180deg) calc(0.5 * var(--s)) calc(0.5 * var(--s) * 0.577),
        repeating-conic-gradient(from 30deg,
            var(--c1) 0 60deg,
            var(--c2) 0 120deg,
            var(--c3) 0 180deg);
    background-size: var(--s) calc(var(--s) * 0.577);
}


.container-forms {
    display: flex;
    justify-content: space-around;
    height: auto;
    width: 52rem;
    /* margin-top: 33%; */
}

.form-container {
    padding: 2rem;
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    height: 33.0625rem;
    /*529px*/
    /* max-height: 401.69px; */
    overflow-y: auto;
    border-radius: 1rem;
}

.panel {
    width: 25rem;
    height: 100%;
}

.panel-oculta {
    width: 25rem;
    height: 33.0625rem;
    /*401.7px*/
    position: absolute;
    z-index: 1;
    left: 60.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    transition: transform 0.6s ease-in-out;
}

.e-card {
    box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
    position: relative;
    width: 25rem;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 550px;
    height: 700px;
    opacity: 0.5;
    left: 0;
    top: 0;
    margin-left: -18%;
    margin-top: -38%;
    background: linear-gradient(238deg, #005E73, #003973 70%, #8CCB75);
}

.infotop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wave:nth-child(2) {
    top: 210px;
}

.wave:nth-child(3) {
    top: 266px;
}

/* body div div.container-forms-desktop div div.panel-oculta div div:nth-child(4) {
    top: -1;
} */

.playing .wave {
    border-radius: 40%;
    animation: wave 5000ms infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 4000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.playing .wave:nth-child(3) {
    animation-duration: 9000ms;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.panel-oculta button {
    width: auto;
}


.form-container::-webkit-scrollbar {
    width: 6px;
    height: 3rem;
    margin-right: 1rem;
    /* width of the entire scrollbar */
}

.form-container::-webkit-scrollbar-track {
    background: #cacaca94;
    /* color of the tracking area */
}

.form-container::-webkit-scrollbar-thumb {
    background-color: #0c619399;
    /* color of the scroll thumb */
    border-radius: 20px;
    /* roundness of the scroll thumb */
    /* border: 3px solid orange;  creates padding around scroll thumb */
}

.form-control:focus {
    border-color: #6FC0D7 !important;
    /* Cambia a tu color preferido */
    box-shadow: 0 0 0 0.2rem rgba(111, 192, 215, 0.25) !important;
}

.container .container-forms .form-container form div input {
    height: 38px;
}
.container .container-forms .form-container form div input:focus {
    border-color: var(--border-input-color) !important;
}
/* From Uiverse.io by Lokesh1379 */
#parent {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#parent .child {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
    border-radius: 50%;
    margin: 0 5px;
}

#parent .child:hover {
    background-color: white;
    background-position: -100px 100px, -100px 100px;
    transform: rotate3d(0.5, 1, 0, 30deg);
    transform: perspective(180px) rotateX(60deg) translateY(2px);
    box-shadow: 0px 10px 10px rgb(1, 49, 182);
}

#parent .child button {
    border: none;
    background-color: transparent;
    font-size: 25px;
}

#parent .child button:hover {
    width: inherit;
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate3d(0px, 0px, 15px) perspective(180px) rotateX(-35deg) translateY(2px);
    border-radius: 50%;
}

.content-login-options {
    margin: 1rem 0;
}

#loginForm div.content-login-options p::first-letter {
    text-transform: uppercase;
}

#footer-login {
    height: 5rem;
    width: 100%;
    background: #003973;
    margin: 0;
    position: absolute;
    z-index: 10;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-login div.container {
    display: flex;
    flex-direction: row;
}

#footer-login div img {
    height: 4rem;
    width: auto;
    margin-right: 1rem;
}

#footer-login div div {
    margin-left: 1rem;
}

#footer-login div div p {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-font);
}

#btn-register-mobile,
#btn-login-mobile {
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    body div.container div.container-forms-desktop {
        display: block;
    }

    /* Modificaciones opcionales con el mismo formulario (desktop) */
    .container-forms {
        width: 100%;
        justify-content: center;
    }

    .form-container {
        height: 35.25rem;
        /* 564px */
    }

    #panelRight,
    .panel-oculta {
        display: none;
    }

    #registrationForm {
        display: block;
    }

    #btn-register-mobile.btn-primary,
    #btn-login-mobile.btn-primary {
        display: block;
        background-color: var(--color-contrast-on-bgwhite);
        border: 1px solid var(--color-contrast-on-bgwhite) !important;
        color: var(--third-font);
        margin-top: 0.5rem;
    }

    #btn-register-mobile.btn-primary:hover,
    #btn-login-mobile.btn-primary:hover {
        background-color: var(--bg-whithe) !important;
        border: 1px solid var(--border-green) !important;
    }
}

@media screen and (max-width: 767px) {
    /* body div.container div.container-forms-desktop {
        display: none;
    } */
    .container {
        width: 90%;
    }
    #footer-login {
        bottom: 0;
    }
    /* Opción */
    .container-forms {
        width: 100%;
        justify-content: center;
    }

    .form-container {
        height: 31rem; /* 496px */
        margin-bottom: 1rem;
        padding: 1rem;
    }

    #panelRight,
    .panel-oculta {
        display: none;
    }

    #registrationForm {
        display: block;
    }

    #btn-register-mobile.btn-primary,
    #btn-login-mobile.btn-primary {
        display: block;
        background-color: var(--color-contrast-on-bgwhite);
        border: 1px solid var(--color-contrast-on-bgwhite) !important;
        color: var(--third-font);
        margin-top: 0.5rem;
    }

    #btn-register-mobile.btn-primary:hover,
    #btn-login-mobile.btn-primary:hover {
        background-color: var(--bg-whithe) !important;
        border: 1px solid var(--border-green) !important;
    }
}