html {
    height: 100%;
    background-color: #c0c0c0;
}

/* body {
    height: 100%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-color: #fff;
    padding: 0;
    margin: 0;
    overflow: hidden;
} */

form {
    border: none;
}

/**
    Reference:
    http://www.bootstrapzen.com/item/135/simple-login-form-logo/
*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

.form-control {
    font-size: 1em;
    position: relative;
    height: auto;
    padding: 10px;
}

.login-form {
    margin: auto;
    width: 450px;
    height: auto;
    border-radius: 3px;
    animation: loginEntering 0.6s 1 cubic-bezier(0.5, 0.9, 0.7, 1);
    -ms-animation: loginEntering 0.6s 1 cubic-bezier(0.5, 0.9, 0.7, 1);
    -webkit-animation: loginEntering 0.6s 1 cubic-bezier(0.5, 0.9, 0.7, 1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-links a {
    color: #415c69;
}

div[role=login],
form[role=login] {
    color: #5d5d5d;
    background: #f2f2f2;
    padding: 26px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
    width: 450px;
    max-width: 100%;
    min-height: 445px;
}

div[role=login] img,
form[role=login] img {
    display: block;
    margin: 0 auto;
}

div[role=login] input,
div[role=login] button,
form[role=login] input,
form[role=login] button {
    font-size: 18px;
    margin: 16px 0;
}

div[role=login]>div,
form[role=login]>div {
    text-align: center;
}

div[role=login]>h1,
div[role=login]>h2,
div[role=login]>h3,
div[role=login]>h4,
div[role=login]>h5,
div[role=login]>h6 form[role=login]>h1,
form[role=login]>h2,
form[role=login]>h3,
form[role=login]>h4,
form[role=login]>h5,
form[role=login]>h6 {
    margin-top: 0;
}

form[role=login] input {
    margin-top: 0;
}

form[role=login] .input-group {
    margin-bottom: 16px;
}

/**
 * Estilos específicos
 */
.login-admin,
.login-contentus {
    background-color: transparent;
}

.login-admin:after,
.login-contentus:after {
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.login-contentus:after {
    background-image: url("../images/login-bg-1.jpg");
}

.login-contentus.none-bkg:after {
    background: none;
}

.login-admin:after {
    background-image: url("../images/login-bg-gray.jpg");
    opacity: 0.8;
}

.login-admin form {
    border: 1px solid #cbd4dc;
}

.btn {
    background: #98C348 !important;
    color: white;
    border-radius: 120px;
    width: 60% !important;
    margin-left: 20% !important;
}

/**
 * ANIMAÇÃO
 */
@keyframes loginEntering {
    00% {
        opacity: 0;
        transform: translateY(170px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

@-o-keyframes loginEntering {
    00% {
        opacity: 0;
        -o-transform: translateY(170px);
    }

    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

@-ms-keyframes loginEntering {
    00% {
        opacity: 0;
        -ms-transform: translateY(170px);
    }

    100% {
        opacity: 1;
        -ms-transform: translateY(0);
    }
}

@-webkit-keyframes loginEntering {
    00% {
        opacity: 0;
        -webkit-transform: translateY(170px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .login-form {
        width: 92% !important;
    }
}

@media (min-width: 992px) {
    /* .login-form {
        margin-top: 120px !important;
    } */
}

/*MODAL CONTENTUS*/
.modal-contentus {
    display: none;
    position: fixed;
    z-index: 3;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-contentus-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 745px;
    max-width: 100%;
    background: linear-gradient(133deg, #343A40 0.06%, #653F99 100%);
    position: relative;
}

.modal-contentus-content h2 {
    font-family: "Lato", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    color: #fff;
    margin-bottom: 48px;
}

.modal-contentus-content p {
    font-family: "Lato", sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
}

a.btn-google-play {
    width: fit-content;
    display: block;
    margin: auto;

    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

a.btn-google-play:before {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 0;
    background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    /* W3C */
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform, opacity;
    transition-property: transform, opacity;
}

a.btn-google-play:hover,
a.btn-google-play:focus,
a.btn-google-play:active {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    /* move the element up by 5px */
}

a.btn-google-play:hover:before,
a.btn-google-play:focus:before,
a.btn-google-play:active:before {
    opacity: 1;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}

.modal-contentus-close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    opacity: .5;
    position: absolute;
    right: 20px;
    top: 8px;
    z-index: 99999;
}

.modal-contentus-close:hover,
.modal-contentus-close:focus {
    opacity: 1;
    text-decoration: none;
    cursor: pointer;
}

/* NOVO LOGIN */
section.login-form.remove-animation {
    animation: none !important;
}

.box-escolher {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
    width: 450px;
    max-width: 100%;
    min-height: 445px;
    backface-visibility: hidden;
}

.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    animation: flip 1.5s ease-in-out forwards;
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(180deg);
    }
}

.flip-card-front {
    position: absolute;
    color: #5d5d5d;
    background: #f2f2f2;
    padding: 26px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

/* .flip-card-front::before {
    position: absolute;
    background: url("../images/screen-login.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: '';
    width: 100%;
    height: 100%;
    opacity: .5;
    filter: blur(1px);
} */

.flip-card-back {
    transform: rotateY(180deg);
    /* Inicialmente, o verso está virado */
}

.fancy-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 15%);
}

.fancy-spinner div {
    position: absolute;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
}

.fancy-spinner div.ring {
    border-width: 0.7rem;
    border-style: solid;
    border-color: transparent;
    animation: 2s fancy infinite alternate;
}

.fancy-spinner div.ring:nth-child(1) {
    border-left-color: #98C348;
    border-right-color: #98C348;
}

.fancy-spinner div.ring:nth-child(2) {
    border-top-color: #98C348;
    border-bottom-color: #98C348;
    animation-delay: 1s;
}

.fancy-spinner div.dot {
    width: 1rem;
    height: 1rem;
    background: #98C348;
    /* Substitua $bluebell pelo valor real da cor */
}

@keyframes fancy {
    to {
        transform: rotate(360deg) scale(0.5);
    }
}

.btn-logo-intersaberes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    gap: 8px;
    color: #fff !important;
    padding: 8px;
    width: 110px;
    border-radius: 15px;

    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;

    background: #98C348;
    background: linear-gradient(110deg, #98C348, #769738, #98C348, #769738);
    background-size: 400% 400%;
}

.btn-logo-intersaberes.bkg-biblioteca {
    background: #43b7b3;
    background: linear-gradient(110deg, #43b7b3, #348D8A, #43b7b3, #348D8A);
    background-size: 400% 400%;
}

.btn-logo-intersaberes::before {
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Camada_2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 95.54 95.41"><defs><style> .cls-1 { fill: white; } </style></defs><g id="Camada_1-2" data-name="Camada_1"><g><path class="cls-1" d="M95,60.69c-4.18-1.73-7.35-5.33-8.5-9.8-.14-.29-.43-.58-.72-.58h-29.25c-.43,0-.86.43-.72.86,0,.14.14.43.29.58l20.17,20.17c0,.14.29.14.43.14h.43c4.18-2.45,9.22-2.74,13.54-.58.43.14.86,0,1.01-.29,1.58-3.03,2.88-6.2,3.75-9.36.29-.58,0-1.01-.43-1.15Z"/><path class="cls-1" d="M43.27,39.23c.14.14.29.29.58.29h.29c.29-.14.43-.43.43-.72V9.98c.29-.29,0-.72-.43-.72-4.47-1.15-8.07-4.32-9.8-8.64-.14-.43-.58-.72-1.01-.58-3.31,1.01-6.34,2.31-9.36,3.89-.29.14-.58.58-.43,1.01,1.58,4.18,1.3,8.79-1.01,12.68-.14.29-.14.72.14,1.01l20.6,20.6Z"/><path class="cls-1" d="M.49,34.18c4.32,1.58,7.64,5.33,8.79,9.8.14.29.43.58.72.58h28.81c.43,0,.72-.29.72-.72,0-.14-.14-.43-.29-.58l-20.46-20.6c-.29-.29-.72-.29-1.01-.14-3.89,2.31-8.5,2.59-12.68,1.01-.43-.14-.86,0-1.01.29-1.58,3.03-3.03,6.19-4.03,9.36-.14.43.14.86.43,1.01Z"/><path class="cls-1" d="M51.05,39.23h.29c.14,0,.43-.14.58-.29l20.6-20.6c.29,0,.29-.43.14-.72-2.31-3.89-2.59-8.5-1.01-12.68.14-.43,0-.86-.29-1.01-3.03-1.58-6.2-2.88-9.36-3.89-.43-.14-.86.14-1.01.43-1.73,4.32-5.33,7.49-9.8,8.64-.29.14-.58.43-.58.72v28.67c0,.29.14.58.43.72Z"/><path class="cls-1" d="M55.81,44.12c.14.29.43.43.72.43h29.25c.43,0,.72-.29.72-.58,1.15-4.32,4.18-7.92,8.36-9.65.43-.14.58-.58.43-1.01-1.01-3.31-2.31-6.48-4.03-9.51-.14-.43-.58-.58-1.01-.29-4.18,1.73-8.79,1.3-12.68-1.01-.29-.14-.72-.14-1.01.14l-20.6,20.6c-.29.29-.29.58-.14.86Z"/><path class="cls-1" d="M39.53,50.89c-.14-.29-.43-.43-.72-.43H10.14c-.43,0-.72.29-.72.58-1.15,4.61-4.47,8.36-8.93,9.94-.43.14-.58.58-.43,1.01,1.01,3.17,2.16,6.34,3.75,9.22.14.43.72.58,1.01.29,4.32-2.02,9.36-1.73,13.4.72.29.14.72.14,1.01-.14l20.17-20.17c.14-.29.29-.72.14-1.01Z"/><path class="cls-1" d="M44.28,55.65c-.29-.14-.58,0-.86.14l-20.17,20.17c-.29.29-.29.72-.14,1.01,2.45,4.18,2.74,9.22.58,13.54-.14.43,0,.86.29,1.01,3.03,1.58,6.19,2.88,9.36,3.89h.29c.29,0,.58-.14.72-.58,1.73-4.32,5.33-7.49,9.8-8.64.29-.14.58-.43.58-.72v-29.1c.14-.43-.14-.72-.43-.72Z"/><path class="cls-1" d="M47.6,44.12c-2.02,0-3.6,1.58-3.6,3.6s1.73,3.75,3.6,3.6c2.02,0,3.6-1.58,3.6-3.6s-1.58-3.6-3.6-3.6Z"/><path class="cls-1" d="M51.92,55.79c-.14-.14-.43-.29-.58-.29h-.29c-.29.14-.43.43-.43.72v29.25c0,.43.29.72.58.72,4.47,1.15,8.07,4.32,9.8,8.64.14.29.43.58.72.58h.29c3.31-1.01,6.34-2.31,9.36-3.89.43-.14.58-.72.29-1.01-2.16-4.32-1.87-9.36.58-13.54.29-.29.14-.72-.14-1.01l-20.17-20.17ZM67.48,89.51c-1.44.72-2.74,1.15-4.18,1.73-2.02-3.6-5.19-6.34-9.08-7.78v-20.31l13.97,13.97c-1.73,4.03-2.02,8.36-.72,12.39Z"/></g></g></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
    width: 64px;
    height: 64px;
    content: '';
}

.btn-logo-intersaberes:hover {
    animation: gradient 3s ease infinite;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

a.btn-instituicoes-play {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    color: #41531F !important;
    text-decoration: none !important;

    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

a.btn-instituicoes-play:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

#login-body {
    background: #34B9AF;
    background: linear-gradient(45deg, #C5FD5E, #57C5BD, #90B945, #01A79B);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.login-body {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-body::before {
    background-repeat: no-repeat;
    background-position: left bottom;
    animation: ripple 5s linear infinite;
    content: '';
    display: block;
    position: absolute;
    bottom: -5em;
    right: -5em;
    width: 22em;
    height: 22em;
    border-radius: 50%;
}

.login-body::after {
    background-repeat: no-repeat;
    background-position: left bottom;
    animation: ripple 5s linear infinite;
    content: '';
    display: block;
    position: absolute;
    top: -7em;
    left: -4em;
    width: 30em;
    height: 30em;
    border-radius: 50%;
    z-index: 1;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(237, 237, 237, 0.3), 0 0 0 10px rgba(237, 237, 237, 0.3), 0 0 0 30px rgba(237, 237, 237, 0.3), 0 0 0 50px rgba(237, 237, 237, 0.3);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(237, 237, 237, 0.3), 0 0 0 40px rgba(237, 237, 237, 0.3), 0 0 0 200px rgba(237, 237, 237, 0), 0 0 0 300px rgba(237, 237, 237, 0);
    }
}

/*APP LOGIN*/
.box-baixar-app {
    display: flex;
    margin: 30px auto 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.box-baixar-app p {
    margin: 0;
    text-align: center;
}

.btn-link-aplicativo {
    display: block;
    width: 150px;
    height: 45px;
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../images/google-play-badge.png');

    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.btn-link-aplicativo:before {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 0;
    background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    /* W3C */
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform, opacity;
    transition-property: transform, opacity;
}

.btn-link-aplicativo:hover,
.btn-link-aplicativo:focus,
.btn-link-aplicativo:active {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

.btn-link-aplicativo:hover:before,
.btn-link-aplicativo:focus:before,
.btn-link-aplicativo:active:before {
    opacity: 1;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
}

/*BOTAO CADASTRO*/
.text-cadastro-login {
    margin: 30px 0;
    text-align: center;
}

.text-cadastro-login a {
    color: #34B9AF !important;
    font-weight: bold;
    cursor: pointer;
}

.text-cadastro-login a:hover {
    text-decoration: underline !important;
}

@media(max-width:767px) {
    .modal-contentus {
        padding-top: 0;
    }

    .modal-contentus-content {
        width: 100%;
    }

    div[role=login], 
    form[role=login] {
        width: 100%;
    }

    #login-body::before,
    #login-body::after {
        height: 50%;
    }

    #login-body>div::after {
        width: 15em;
        height: 15em;
    }

    #login-body>div::before {
        width: 11em;
        height: 11em;
    }
}