@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400&display=swap');

*{
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    position: relative;
    height: 380px;
    font-size: 20px;
}
  
.header::before {
    content: "";
    position: absolute;
    top: 60%; /* Posição vertical ajustável */
    transform: translateY(-60%);
    height: 380px;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("../images/image1.jpeg");
    background-size: cover;
    background-position: center 70%; /* Posição vertical ajustável */
    z-index: -1;
}

.header-cover{
    width: 100%;
    height: 380px;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.header-content{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.header-title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    padding: 30px;
    z-index: 3;
}

@media (min-width: 325px) and (max-width: 425px){
    .title{
        padding: 20px;
    }
}

.botao-fale-conosco{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.botao{
    border-radius: 40px 40px 40px 40px;
    background-color: #02A112;
    color: white;
    z-index: 2;
    padding: 10px 20px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .5s ease;
}

.botao > svg{
    margin-left: 10px;
}

.botao:hover{
    background-color: #006d0b;
}
  
#sobre{
    background-color: #f5f5f5;
    font-size: 20px;
}

.sobre-mim{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-left: 120px;
    padding-right: 120px;
    padding-top: 50px;
    padding-bottom: 20px;
}

.texto{
    width: 50%;
    text-align: justify;
}

.barra{
    height: 200px;
    width: 2px;
    background-color: #8f8f8f;
    margin-right: 20px;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo{
    width: 220px;
    height: 350px;
    background-color: #f5f5f5;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-right: 20px;
}

.servicos {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.servicos::before {
    content: "";
    position: absolute;
    top: 60%; /* Posição vertical ajustável */
    transform: translateY(-60%);
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("../images/image2.jpeg");
    background-size: cover;
    background-position: center 70%; /* Posição vertical ajustável */
    z-index: -1;
}

.servicos-cover{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.servicos-title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicos-titleh2{
    color: white;
    z-index: 3;
    font-weight: bold;
}

#servicos{
    /* display: flex; */
    font-size: 20px;
}

.card-teste{
    padding: 20px;
    width: 60%;
    height: 300px;
    background-color: white;
    border-radius: 30px;
    box-shadow: rgba(0,0,0, 0.25) 0px 0px 0px 8px;
    transition: all .5s ease;
    cursor: pointer;
}

@media screen and (max-width: 1024px){
    .card-teste{
        width: 102%;
        height: 380px;
    }
}

@media screen and (max-width: 1440px){
    .card-teste{
        width: 100%;
        height: 450px;
    }
}

@media screen and (min-width: 1441px){
    .card-teste{
        width: 85%;
        height: 460px;
    }
}

.card-teste:hover {
    box-shadow: rgba(0,0,0, 0.35) 0px 0px 0px 8px;
}

.card-teste__header{
    display: flex;
    align-items: flex-start;
    justify-self: center;
}

.card-teste__header > span{
    font-size: 38px;
}

.servicos-cards{
    background-color: #EFEFEF;
    padding: 30px;
    overflow: hidden;
}

#diferenciais{
    background-color: #202020;
    font-size: 20px;
}

.card-diferencial{
    display: flex;
    justify-content: space-around;
    width: 300px;
    height: 150px;
    background-color: #810000;
    border-radius: 30px;
    box-shadow: rgba(129,0,0, 0.3) 0px 0px 0px 8px;
    padding: 30px;
    flex-wrap: wrap;
    align-content: center;
    color: white;
    cursor: pointer;
    transition: all .5s ease;
}

.card-diferencial:hover{
    box-shadow: rgba(129,0,0, 0.6) 0px 0px 0px 8px;
}

.card-diferencial__icon{
   display: flex !important;
    justify-content: center;
    align-content: center;
    font-size: 40px !important;
}

.card-diferencial__span{
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-content: center;
    font-weight: 600;
}

#rodape{
    background-color: #EFEFEF;
    font-size: 20px;
}

.photo > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    object-position: 68% center;
}

@media (min-width: 325px) and (max-width: 769px){
    .photo__responsive{
        justify-content: center !important;
    }

    .photo{
        margin-right: 0;
        margin-bottom: 30px;
    }

    .barra__responsive{
        display: none;
    }

    .botao-fale-conosco{
        font-size: 16px;
    }
    .servicos::before{
        background-image: unset;
    }
    .servicos-cover{
        display: none;
    }
    .servicos{
        background-color: #202020;
        padding: 2rem;
    }
    .servicos-cards{
        margin: 0;
    }
    .card__responsive{
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        height: 500px;
    }
    .card-diferencial__responsive{
        margin-bottom: 50px;
    }
    #rodape{
        padding: 1rem !important;
    }

    .card-teste{
        width: 90%;
    }
}