/*Inicio de sesión*/
.maininicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--colortexto);
    margin-top: 0;
}

.maininicio .btnolvidolacontrasena label {
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

.box-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

@media screen and (min-width: 1380px) {
    .box-container {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

.box-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 400px;
    max-width: 100%;
}

.flip-box {
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

body.dark .flip-box-front,
body.dark .flip-box-back {
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    /* Glassmorphims */
    border-radius: 16px;
    box-shadow: inset 0 0 10px rgba(255, 255, 0, 0.1), inset 0 0 20px rgba(255, 255, 0, 0.1), inset 0 0 40px rgba(255, 255, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* ---------------- */
}

.flip-box-front,
.flip-box-back {
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    /* Glassmorphims */
    border-radius: 16px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.1), inset 0 0 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* ---------------- */
}

.flip-box-front {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.flip-box-front>* {
    backface-visibility: hidden;
}

.flip-box.active .flip-box-front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-box-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.flip-box-back>* {
    backface-visibility: hidden;
}

.flip-box.active .flip-box-back {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-box .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.flip-box .inner hr {
    border-color: var(--colortexto);
    width: 90%;
    height: 1px;
    border-radius: 50px;
    background-color: var(--colortexto);
    margin: 10px auto 0 auto;
}

.flip-box .inner form {
    width: 90%;
    margin: auto;
}

.flip-box-header {
    font-size: 34px;
}

.flip-box p {
    font-size: 20px;
    line-height: 1.5em;
}

.flip-box-img {
    margin-top: 25px;
}

.flip-box-button {
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    margin-top: 25px;
    padding: 15px 20px;
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .box-item {
        max-width: 90%;
        margin: auto;
    }
}