@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/*==========================
RESET
==========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Press Start 2P',cursive;
    margin: 0;
    overflow-x: hidden;
}

/*==========================
FUNDO
==========================*/

.login-body{
   width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;

    background: linear-gradient(#58bb53, #2d7b30);

    overflow-x: hidden;
    overflow-y: auto;

    position: relative;

    padding: 110px 20px 40px;
}

/*==========================
FOLHAS
==========================*/

.folha{
    position:absolute;
    color:#9be79c;
    top: -50px;
    font-size:24px;
    opacity:.75;
    animation:cair 8s linear infinite;
}

.f1{left:8%;animation-delay:0s;}
.f2{left:27%;animation-delay:2s;}
.f3{left:70%;animation-delay:5s;}
.f4{left:90%;animation-delay:1s;}
.f5{left:15%;animation-delay:11s;}
.f6{left:67%;animation-delay:4s;}
.f7{left:89%;animation-delay:7s;}
.f8{left:53%;animation-delay:3s;}

/*==========================
ANIMAÇÕES
==========================*/

@keyframes cair{

    from{
        transform:translateY(-100px) rotate(0);
    }

    to{
        transform:translateY(110vh) rotate(360deg);
    }
}

/*==========================
CONTAINER DA TELA
==========================*/

.tela-container{

    position: relative;

    width: 100%;
    max-width: 1050px;

    display: flex;
    flex-direction: column;
    align-items: center;

    z-index: 10;

    margin: 0 auto;
}

.tela-container form {
    width: 100%;
}

/*==========================
PLACA PRINCIPAL
==========================*/

.index-card{

    position:relative;

    width:100%;

    padding:45px 55px 35px;
    margin-bottom:60px;

    background:
    linear-gradient(
        #c89252,
        #b57a3f,
        #9a6332,
        #7d4924
    );

    border:8px solid #4d2913;

    border-radius:12px;

    box-shadow:
        inset 0 0 0 5px #dba76d,
        inset 0 0 0 10px #7d4924,
        0 18px 35px rgba(0,0,0,.45);
}

/*==========================
PREGOS
==========================*/

.prego{

    position:absolute;

    width:18px;
    height:18px;

    background:#555;

    border:3px solid #222;

    border-radius:50%;
}

.prego::after{

    content:"";

    position:absolute;

    width:8px;
    height:2px;

    background:#222;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);
}

.prego1{
    top:18px;
    left:18px;
}

.prego2{
    top:18px;
    right:18px;
}

.prego3{
    bottom:18px;
    left:18px;
}

.prego4{
    bottom:18px;
    right:18px;
}

/*==========================
CONTEÚDO
==========================*/

.conteudo{

    width:100%;

    padding:0 10px;
}

/*==========================
TEXTO
==========================*/

.texto{

    color:#fff6c7;

    font-size:12px;

    line-height:19px;

    text-align:justify;

    text-shadow:2px 2px #5b3214;
}

/*==========================
BOTÃO
==========================*/

.botao{

    margin-top:30px;

    width:100%;

    padding:18px;

    background:
    linear-gradient(
        #9be75f,
        #79c647,
        #5ca534
    );

    border:5px solid #315b1c;

    border-radius:8px;

    color:#173719;

    font-family:'Press Start 2P';

    font-size:12px;

    cursor:pointer;

    transition:.15s;
}

.botao:hover{

    transform:translateY(-4px);

    box-shadow:0 7px 0 #315b1c;
}

.botao:active{

    transform:translateY(4px);

    box-shadow:none;
}

/*==========================
LOGOS
==========================*/

.logos{

    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 40px;

    padding-bottom: 30px;

    position: relative;
}


.logo {
    width: 186px;
    height: 186px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px;

    flex-shrink: 0;

    background:
        linear-gradient(
            #c89252,
            #b57a3f,
            #9a6332,
            #7d4924
        );

    border: 8px solid #4d2913;
    border-radius: 12px;

    box-shadow:
        inset 0 0 0 5px #dba76d,
        inset 0 0 0 10px #7d4924,
        0 18px 35px rgba(0,0,0,.45);
}

.logo img{

    width:9rem;

    height:9rem;

    object-fit:contain;
}

@media (max-width: 700px) {

    .login-body {
        padding: 20px 10px;
    }

    .tela-container {
        width: 100%;
    }

    .index-card {
        width: 100%;

        padding: 35px 25px 25px;

        margin-bottom: 50px;
    }

    .conteudo {
        width: 100%;
        padding: 0;
    }

    .texto {
        font-size: 10px;
        line-height: 16px;
    }

    .botao {
        width: 100%;

        font-size: 10px;
        padding: 15px;
    }

    /*
     * Aqui as logos deixam de ficar lado a lado.
     * Elas passam a ocupar uma coluna.
     */
    .logos {
        flex-direction: column;
        gap: 40px;

        width: 100%;
    }

    .logo {
        width: 160px;
        height: 160px;
    }

    .logo img {
        width: 130px;
        height: 130px;
    }
}