html {
    font-size: 62, 5%;
}

body {
    display: grid;
    grid-template-areas: "header header header header"
        "hero hero hero hero"
        "about about about about"
        "services services services services"
        "projects projects projects projects"
        "footer footer footer footer";
    grid-template-columns: repeat(4, 1fr);
    font-size: 1.6rem;
    font-family: Roboto, sans-serif;
    font-weight: 400;

}


/*HEADER*/

.header {
    grid-area: header;
    background-color: black;

}

.header .header-container {
    display: flex;
    padding: 20px 40px;
    justify-content: space-between;
    align-items: center;
    min-height: 75px;


}

.header h1 {

    font-size: 3rem;
    font-weight: 700;
    transition: 0.3s;

}

.header a{
    color: white
}


.header a:hover h1 {
    color: red
}

/*hero*/

.hero {
    grid-area: hero;
    height: 89vh;
    background: url('../images/convite\ 2.jpg') center center no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.destaque{
    color:black
}

.hero .textoinicial{
    text-transform: uppercase;
  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    text-align: center;
    color: white;
    font-weight: 600;
    color: white;
    font-size: 3rem;
    text-align:right;

}

.hero:after {
    content: url(../images/seta_preta.png);
    position: absolute;
    height: 30px;
    bottom: 40px;
    position: absolute;
    animation: down 0.6s infinite alternate ease-in-out;
}

@-webkit-keyframes down {
    0% {
        transform: translateY(0);
        opacity: 0.4;
    }

    100% {
        transform: translateY(0.5em);
        opacity: 0.9;
    }
}

@keyframes down {
    0% {
        transform: translateY(0);
        opacity: 0.4;
    }

    100% {
        transform: translateY(0.5em);
        opacity: 0.9;
    }
}

@media (max-width:768px) {

    .hero {
        height: 40vh;
    }
.textoinicial p {
font-size: 1rem;
            }
    .hero h2 {
        font-size: 1.8rem;
        ;
    }
}

@media (max-width: 425px) {
    .hero {
        height: 85vh;
        text-align:right;
    color: white;
    font-weight: 600;
    font-size: 6rem;
background-image: url(../images/mobile-fundo-laços.jpg);
    }

    .hero .textoinicial {
        font-size: 1.2rem;
        text-align: center;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero:after {
        bottom: 20px;
    }
}


/*ABOUT*/

.about {
    grid-area: about;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #ffffff;
    max-width: var(--max-width-size);
    margin: 0 auto;

}

.about .item {
    padding: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.about .item h3 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about .item p {
    font-weight: 400;
    font-size: 1.6rem;
    margin: 30px 0;
    ;
}

.about .item .btn-know-more {
    font-size: 1.6rem;
    align-self: flex-start;

}

.about .item .btn-know-more:hover {
    font-weight: 700;

}

.about .image {
    height: 100%;
    width: 100%;
}

.about .image.right {
    background: url(../images/mapa\ guliguli.png) center center no-repeat;
    background-size: cover;


}

.about .image.left {
    background: url(../images/sky.jpg) center center no-repeat;
    background-size: cover;


}

@media(max-width:425px) {
    .about .item {
        text-align: center;

    }

    .about {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
}

/*SERVICES*/

.services {
    display: grid;
    grid-area: services;
    grid-template-columns: 1fr 1fr;
    text-align: center;


}

.services .service {
    padding: 70px 20px;
    ;
}

.services .service img {
    width: 250px;
    margin-bottom: 30px;
    ;
}

.services .service h3 {
    font-size: 1.8rem;
    font-weight: 700;

}

.services .service p {

    font-size: 2rem;
    font-weight: 400;
    max-width: 400px;
    margin: 20px auto 0;
    line-height: 40px;
}

.services .service:nth-child(1) {
    background-color: lightskyblue;

}

.services .service:nth-child(2) {
    background-color: lightpink;
}

@media (max-width:425px) {
    .services {
        grid-template-columns: 1fr;
    }

}

/*PROJECTS*/

.projects {
    grid-area: projects;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    
}
.projects img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.projects a:hover img{
    opacity: 0.8;
    transition: 0.3s;

}

@media (max-width: 768px) {
    .projects {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(2,1fr);
    }

    }
    @media (max-width: 425px) {
    .projects {
        grid-template-columns:1fr;
        grid-template-rows: repeat(4,1fr);
    }
    }
/*FOOTER*/


.footer {
    grid-area: footer;
    display: flex;
    background-color: lightgreen;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;;



}
.footer h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer nav{
    margin: 50px 0;;
}
.footer nav ul{

    display: flex;
    justify-content: center;
    max-width: 300px;
    margin:0 auto;


}

.footer nav ul li a {

     font-size:2rem;
     font-weight:400;

    margin:20px;
    transition: 0.3s;

}
.footer nav ul li a:hover{

    font-weight: 400;
    color:#fff;
}
.footer .social i{
    font-size: 2rem;
    transition: 0.3s;

}
.footer .social a:hover{
    color: #fff;
}
.footer .social a {
    margin: 20px;
}
@media (max-width:436px){
    .footer nav ul li a{
        font-size: 1.3rem;
    }

}