@import url('https://fonts.googleapis.com/css2?family=Anton&family=Lobster&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* 
font-family: "Roboto", sans-serif;
font-family: "Anton", sans-serif;
font-family: "Lobster", sans-serif;
*/

body {
    font-family: "Roboto", sans-serif;
}

h2,h3,h4,h5,h6{
    font-family: "Lobster", sans-serif;
}

/*centralizar uma caixa que é um conteúdo central*/
.site {
    width: 100%;
    max-width: 1200px;
    /*máximo 1200*/
    margin: 0 auto;
    /*0 - superior e inferior; esquerda e direita*/
}

header {
    height: 150px;
    /*altura*/
    width: 100%;
    /*largura*/
    background: pink;

    .site {
        display: flex;
        justify-content: space-between;

        h1 {
            width: 280px;
            height: 100px;
            background: url(../img/logo1.png) no-repeat;
            background-size: 100% 100%; /*ajusta a imagem 100% na altura e largura*/
            text-indent: -9999px;
            /*indentação negativa para sumir da página*/
            margin: 15px 0;
        }

        article {
            margin: 15px 0;
            width: 70%;

            div {
                display: flex;
                justify-content: space-between;
                height: 55px;

                p {
                    margin: auto;
                }

                div {
                    img {
                        height: 40px;
                        width: 40px;
                        margin: 5px;
                    }
                    img:hover{
                        height: 41px;
                        width: 41px;
                    }
                }
            }

            nav {
                display: flex;
                justify-content: space-between;

            	ul {
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                	height: 65px;
                	font-family: "Anton", sans-serif;
                	font-size: 20px;
                	text-transform: uppercase;

                	li {
                    	margin: auto;

                        a {
                            color: #401334;
                            text-decoration: none;
                            /*decoração do link, nenhuma - tira o sublinhado*/
                        }

                        a:hover {
                            /*quando passar o mouse por cima*/
                            color: #8C3A67;
                        }
                    }
                }
                a {
                    .login {
                        height: 50px;
                    }
                }
            }
        }
    }
}

main{
    .banner{
        width: 100%;
        .slick-prev{
            left: 25px;
            z-index: 99;
        }
        img{
            height: 400px;
            width: 100%;
        }
        .slick-next{
            right: 25px;
        }

        .slick-prev:before,
        .slick-next:before
        {
            font-size: 30px;
            opacity: .5;
            color: #401334;
        }
    }

    
    /* SOBRE */
    .sobre{
        .site{
            margin: 50px auto; /*Superior e inferior , direita e esquerda segue o auto do .site anterior*/

            h2{
                text-align: center;
                font-size: 35px;
                text-decoration: underline wavy 2px; /*o underline vai ser com ondas*/
                margin-bottom: 40px;
            }
            >div{ /*> linkando dentro de .site, faz somente naquela div em específico, não vai fazer para todas as divs dentro de .site*/
                display: flex;
                justify-content: space-between;

                img{
                    width: 40%;
                    height: 300px;
                }

                div{
                    width: 60%;
                    display: flex; /*somente esse, vai fazer com que o saiba mais fique ao lado*/
                    flex-direction: column; /*muda para coluna, fazendo com que o saiba mais fique embaixo*/
                    justify-content: space-between;
                    align-items: end;

                    p{
                        font-size: 20px;
                        line-height: 30px; /*altura da linha*/
                        letter-spacing: 2px; /*espaçamento entre as letras*/
                        padding: 10px; /*margem interna de todos os lados*/
                    }

                    h3{
                        text-align: center;
                        font-size: 25px;
                        background: #8C3A6720;
                        width: 150px;
                        padding: 10px;
                        border-radius: 10px;

                        a{
                            color: #401334;
                            text-decoration: none;
                        }

                        :hover{
                            color: #8C3A67;
                        }                        
                    }
                }
            }
        }
    }

    /* EQUIPE */
    .equipe{
        background: pink;
        padding: 50px 0;

        .site{
            h2{
                text-align: center;
                font-size: 35px;
                text-decoration: underline wavy 2px;
                margin-bottom: 40px;
            }
            >div{
                display: flex;
                justify-content: space-around; /*mais central*/

                div{
                    width: 25%;
                    text-align: center;

                    img{
                        width: 200px;
                        height: 200px;
                        border-radius: 50%;
                    }
                    h3{
                        font-size: 30px;
                        letter-spacing: 2px;
                        line-height: 35px;
                    }
                    h4{
                        font-size: 25px;
                        letter-spacing: 2px;
                        line-height: 30px;
                    }
                }
            }
        }
    }

    /* SERVIÇO */
    .servico{
        padding: 50px 0;
        
        .site{
            h2{
                text-align: center;
                font-size: 35px;
                text-decoration: underline wavy 2px;
                margin-bottom: 40px;
            }
            >div{
                display: flex;
                justify-content: space-around;
                align-items: center;

                >div{
                    width: 30%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    >div{
                        text-align: center;
                        h3{
                            font-size: 30px;
                            letter-spacing: 2px;
                            line-height: 35px;
                        }

                        p{
                            font-size: 20px;
                            line-height: 25px; /*altura da linha*/
                            letter-spacing: 2px; /*espaçamento entre as letras*/
                            padding: 10px; /*margem interna de todos os lados*/
                        }
                    }
                }

                img{
                    width: 200px;
                    height: 300px;
                    border-radius: 30px;
                }
            }
        }
    }

    /* GALERIA */
    .galeria{
        background: pink;
        padding: 50px 0;
        display: flex;
        justify-content: space-around;

        img{
            width: 200px;
            height: 200px;
            border-radius: 15px;
        }
    }

    /* LOGIN */
    .tela-login{
        background: linear-gradient(135deg, #FADADD, #F7BFD1);
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 50px 0;

        .site{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;

            .mensagem-erro{
                padding: 10px;
                background: #FFDDDD;
                margin-bottom: 15px;
                border: 1px solid #B81414;
                color: #B81414;
                border-radius: 10px;
                font-size: 16px;
                max-width: 420px;
                width: 100%;
                text-align: center;
            }

            .mensagem-sucesso{
                padding: 10px;
                background: #E8F5E9;
                margin-bottom: 15px;
                border: 1px solid #2E7D32;
                color: #2E7D32;
                border-radius: 10px;
                font-size: 16px;
                max-width: 420px;
                width: 100%;
                text-align: center;
            }

            .card-login{
                background: #fff;
                width: 100%;
                max-width: 420px;
                padding: 40px 30px;
                border-radius: 25px;
                box-shadow: 0 10px 25px #4013344d;
                text-align: center;

                h2{
                    font-family: "Lobster", sans-serif;
                    font-size: 32px;
                    color: #401334;
                    margin-bottom: 10px;
                }

                p{
                    color: #8C3A67;
                    font-size: 18px;
                    margin-bottom: 30px;
                }

                form{
                    display: flex;
                    flex-direction: column;
                    align-items: stretch;

                    .campo{
                        text-align: left;
                        margin-bottom: 20px;

                        label{
                            font-family: "Anton", sans-serif;
                            color: #401334;
                            font-size: 18px;
                            margin-bottom: 8px;
                            display: block;
                        }

                        input{
                            width: 100%;
                            padding: 12px;
                            border: 2px solid #F2AFC4;
                            border-radius: 10px;
                            font-size: 16px;
                            font-family: "Roboto", sans-serif;
                            color: #401334;
                            transition: 0.3s;
                        }

                        input:focus{
                            outline: none;
                            border-color: #8C3A67;
                            box-shadow: 0 0 5px #F2AFC4;
                        }
                    }

                    .acoes{
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        margin-top: 15px;

                        button{
                            width: 100%;
                            padding: 12px;
                            background: #401334;
                            color: #fff;
                            font-family: "Anton", sans-serif;
                            font-size: 18px;
                            border: none;
                            border-radius: 10px;
                            cursor: pointer;
                            transition: 0.3s;
                        }

                        button:hover{
                            background: #8C3A67;
                        }
                        
                        a{
                            margin-top: 10px;
                            color: #8C3A67;
                            font-family: "Roboto", sans-serif;
                            font-size: 14px;
                            text-decoration: none;
                            transition: 0.3s;
                        }

                        a:hover{
                            color: #401334;
                            text-decoration: underline;
                        }
                    }
                }
            }
        }
    }
}

footer{
    padding-top: 50px;

    .info{
        .site{
            display: flex;
            justify-content: space-around;

            div{
                width: 30%;
                text-align: center;
                background: #8C3A6720;
                padding: 20px 0;
                border-radius: 25px;
                box-shadow: 10px 20px 20px #401334; /*lado direito, embaixo, proximidade dos pixels do borrado - mais intenso ou menos intenso*/
            }
            div:nth-child(1){
                color: #401334;

                img{
                    width: 90%;
                    margin-bottom: 50px;
                }
                h2{
                    font-size: 30px;
                    margin: 15px auto;
                }
                h3{
                    font-size: 25px;
                }
            }
            div:nth-child(2){
                nav{
                    ul{
                        li{
                            margin: 35px auto;
                            font-size: 25px;

                            a{
                                text-decoration: none;
                                color: #8C3A67;
                            }
                        }
                    }
                }
            }
            div:nth-child(3){
                iframe{
                    width: 90%;
                    height: 250px;
                    margin-bottom: 30px;
                }
                p{
                    font-size: 20px;
                    font-weight: bold;
                    color: #401334;
                }
            }
        }
    }
    .desenvolvedor{
        background: #8C3A67;
        margin: 20px 0 0 0;
        padding: 20px;

        p{
            text-align: center;
            font-family: "Lobster", sans-serif;
            color: #401334;
        }
    }
}

#contato{
    padding: 20px;

    h2{
        text-align: center;
        font-size: 35px;
    }

    .contato-form{
        display: flex;
        justify-content: space-around;
        font-family: "Anton", sans-serif;
        width: 100%;

        div:nth-child(1){
            display: flex;
            flex-direction: column;
            width: 40%;

            label{
                padding: 5px 0;
                font-size: 18px;
            }

            input{
                font-family: "Anton", sans-serif;
                width: 80%;
                font-size: 15px;
            }
        }

        div:nth-child(2){
            display: flex;
            flex-direction: column;
            width: 30%;

            label{
                padding: 5px 0;
                font-size: 18px;
            }

            textarea{
                font-family: "Anton", sans-serif;
                font-size: 15px;
            }

            div{
                button{
                    margin: 10px;
                    width: 40%;
                    font-family: "Anton", sans-serif;
                    background: #401334;
                    color: #FFFFFF;
                    font-size: 15px;
                    border: none;
                }
            }
        }
    }
}

@media (max-width: 1024px){
    main{
        .galeria{
            img{
                width: 150px;
                height: 150px;
            }
        }

        #contato{
            padding: 20px 0;
            .contato-form{
                flex-direction: column;
                align-items: center;

                div:nth-child(1){
                    width: 90%;

                    label{
                        padding: 8px 0;
                    }

                    input{
                        width: 100%;
                    }
                }

                div:nth-child(2){
                    width: 90%;

                    label{
                        padding: 8px 0;
                    }
                }
            }
        }
    }
}

@media (max-width: 768px){
    main{
        .galeria{
            img:nth-child(5){
                display: none;
            }
            img:nth-child(6){
                display: none;
            }
        }
    }
    footer{
        .info{
            .site{
                div:nth-child(1){
                    h2{
                        font-size: 20px;
                    }
                    h3{
                        font-size: 15px;
                    }
                }
                div:nth-child(2){
                    nav{
                        ul{
                            li{
                                margin: 25px auto;
                                font-size: 20px;
                            }
                        }
                    }
                }
                div:nth-child(3){
                    iframe{
                        height: 160px;
                    }
                    p{
                        font-size: 17px;
                    }
                }
            }
        }
    }
}

@media (min-width: 481px){
    .abrirMenu, .fecharMenu{
        display: none;
    }
}

@media (max-width: 480px){
    .menuAtivo{
        header{
            nav{
                right: 0px !important; /*está forçando*/
            }
        }
    }

    header{
        height: auto;

        .site{
            h1{
                width: 200px;
                height: 70px;
                margin: 15px auto;
            }
            article {
                div{
                    display: none;
                }

                .abrirMenu{
                    background: url(../img/menu.png) no-repeat;
                    width: 50px;
                    height: 50px;
                    background-size: 100% 100%; /*100% da altura e 100% da largura*/
                    border: none;
                    right: 5%;
                    top: 3%;
                    position: fixed;
                }

                nav{
                    position: fixed;
                    height: 100%;
                    z-index: 9999;
                    background: #8C3A6720;
                    top: 0;
                    width: 50%;
                    padding: 10px;
                    max-width: 240px;
                    right: -300px;
                    transition: right 1s ease-out;

                    .fecharMenu{
                        background: url(../img/fechar.png) no-repeat;
                        width: 50px;
                        height: 50px;
                        background-size: 100% 100%; /*100% da altura e 100% da largura*/
                        border: none;
                    }

                    ul{
                        flex-direction: column;
                        height: auto;

                        li{
                            margin: 15px auto;
                            font-size: 1.5em; /*como se fosse porcentagem 1 - 100% e 5 aumenta em 50% o padrão que estamos usando para a fonte*/
                        }
                    }
                }
            }
        }
    }

    main{
        .banner{
            display: none;
        }

        .sobre{
            .site{
                margin: 20px auto;

                h2{
                    margin-bottom: 20px;
                }

                >div{
                    flex-direction: column;

                    img{
                        width: 80%;
                        height: 230px;
                        margin: 0 auto;
                    }

                    div{
                        width: 100%;

                        p{
                            font-size: 15px;
                            line-height: 18px;
                            letter-spacing: 1px;
                            padding: 0 10%;
                            text-align: justify;
                        }

                        h3{
                            font-size: 18px;
                            width: 100px;
                            margin-right: 30px;
                        }
                    }
                }
            }
        }

        .equipe{
            padding: 20px 0;

            .site{
                h2{
                    margin-bottom: 20px;
                }

                >div{
                    flex-direction: column;

                    div{
                        width: 100%;
                        margin-bottom: 5px;

                        img{
                            width: 150px;
                            height: 150p
                        }

                        h3{
                            font-size: 20px;
                            line-height: 25px;
                        }

                        h4{
                            font-size: 15px;
                            line-height: 20px;
                        }
                    }
                }
            }
        }

        .servico{
            padding: 20px 0;

            .site{
                h2{
                    margin-bottom: 20px;
                }

                >div{
                    >div{
                        display: none;
                    }
                }
            }
        }

        .galeria{
            img:nth-child(3){
                display: none;
            }
            img:nth-child(4){
                display: none;
            }
        }
    }

    footer{
        .info{
            .site{
                flex-direction: column;

                div:nth-child(1){
                    width: 90%;
                    margin: 0 auto;

                    img{
                        width: 70%;
                        margin-bottom: 5px;
                    }
                }

                div:nth-child(2){
                    display: none;
                }

                div:nth-child(3){
                    width: 90%;
                    margin: 20px auto;

                    iframe{
                        margin-bottom: 5px;
                    }
                }
            }
        }
    }
}