* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'DM Mono', monospace, Arial, Helvetica, sans-serif;
} 

html{
    background-repeat: no-repeat;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

body{
    background-image: linear-gradient(to bottom, rgb(49, 6, 6), rgb(104, 12, 12));
    color: rgb(247, 253, 138);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    height: 100vh;
}

.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%
}

.logo img{
    display: block;
    animation: imagem 2s;
}
@keyframes imagem{
    0%{transform: translateY(-100%)};
    100%{transform: translateY(100%)}
}

.logo h1{
    text-align: center;
    font-family: 'DM Mono', cursive;
    margin-top: -50px;
    margin-bottom: 50px;
    font-size: 50px;
    text-shadow: 1px 1px 5px rgb(170, 54, 54);
    animation: titulo 2s;
}
@keyframes titulo{
    0%{transform: translateX(-100%)};
    100%{transform: translateX(100%)}
}


.main-form{
    align-items: center;
    align-content: center;
    background: rgb(70, 15, 15);
    border: 1px solid;
    border-radius: 20px;
    box-shadow: 5px 5px 5px rgb(100, 55, 55);
    display: flex;
    padding: 15px;
    width: 350px;
    height: 40%;
    animation: formulario 2s;
}
@keyframes formulario{
    0%{transform: translateX(200%)};
    100%{transform: translateX(100%)}
}

.main-form h2{
    position: relative;
    text-align: center;
}

.main-form form{
    padding: 10px;
    width: 100%;
}

.main-form label{
    font-family: 'Indie Flower', cursive;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}


.main-form input{
    background: rgb(194, 199, 106);
    border: 1px solid  rgb(24, 2, 2);
    border-radius: 5px;
    font-family: 'DM Mono', cursive;
    color: black;
    padding: 5px;
    height: 20px;
    margin-bottom: 20px;
    margin-top: 3px;
    width: 100%;
}
.main-form input:focus{
    box-shadow: 3px 3px 5px rgb(116, 85, 85);
}

.entrar{
    background:rgb(24, 180, 10);
    border: 1px solid black;
    border-radius: 20px;
    color: white;
    text-shadow: 1px 1px 5px black;
    font-size: 16px;
    margin: 0 auto;
    margin-left: 10%;
    margin-top: 10px;
    padding: 7px 35px;
    width: 80%;
    cursor: pointer;    
}

.facebook{
    background-color: #3b5998;
    border: 1px solid black;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    margin-left: 10%;
    margin-top: 10px;
    padding: 7px 0;
    width: 80%;
    cursor: pointer;
}
.facebook i{
    margin-right: 15px;
}

.facebook:hover, .facebook:active{
    background-color: #213155;
    box-shadow: 0 0 5px white;
    transition: .3s;
}

.entrar:hover, .entrar:active{
    background:rgb(25, 114, 17);
    box-shadow: 0 0 5px white;
    transition: .3s;
}

footer{
    position: absolute;
    bottom: 0;
    color: black;
    height: 35px;
    width: 100vw;
    font-size: 10px;
    background: #eee;
    text-align: center;
    padding-top: 5px;
}

@media (min-width: 1200px){
    body{
        background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.774) 100%, transparent), url(../imagens/lanche-frontend.jpg);
        background-size: cover;
        align-items: flex-end;
        background-position: center;
    }

    .content{
        background: rgb(27, 8, 8);
        border-left: 1px solid rgb(90, 25, 25);
    }

    .main-form{
        animation: none;
    }

    .logo h1{
        animation: title 2s;
    }
    @keyframes title{
        0%{
            transform: rotate(180deg) translateX(800%);
        };
        100%{
            transform: rotate(0deg);
        };
    }

    .logo img{
        animation: empinar 5s;
    }
    @keyframes empinar{
        0%{
            transform: translateX(-500%) rotate(-90deg);
        };
        100%{
            transform: rotate(0deg);
        };
    }
    
}

@media (min-width: 1600px){
    .content{
        width: 700px;
    }

    .main-form input{
        height: 30px
    }

    .main-form{
        font-size: 20px}
}

@media (min-width: 1800px){
    .content{
        width: 700px;
    }

    .main-form input{
        height: 30px
    }

    .main-form{
        font-size: 20px;
    }
}

@media (max-width: 520px){
    .content{
        margin: 0 auto;
    }

    .content h1{
        text-align: center;
    }

    .content img{
        display: block;
        margin: 0 auto;
        width: 100%;
    }

    .main-form{
        width: 80%;
    }
}

@media (max-height: 700px){
    .logo h1{
        font-size: 30px;
    }
    .main-form h2{
        display: none;
    }

    .main-form{
        margin-top: -30px;
        height: 300px
    }

    .facebook{
        font-size: 12px;
    }

    footer{
        height: 40px;
        font-size: 8px;
    }
}

@media (max-height: 870px){
    .logo{
        margin-top: -30px;
    }

    .main-form{
        margin-top: -30px;
        height: 48%;
    }

    .main-form input{
        height: 25px;
    }

    .facebook{
        margin-top: 20px;
        height: 40px;
    }

    .main-form h2{
        margin-top: -3%;
    }
}
