@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;0,900;1,400&display=swap');

*  {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    border: none;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

html{
    width: 100vw;
    height: 100vh;
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #1f1e1f;

}

.itens-servicos .info button a {
    color: black;
    text-transform: uppercase;
    transition: all 200ms ease-in;
}

.first-section .btn button a {
    color: black;
    text-transform: uppercase;
    transition: all 200ms ease-in;
}

/*Menu*/

.content {
    width: 100vw;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #1f1f1f;
    position: fixed;
    padding-left: 30rem;


}

.logo{
    width: 60px;
    height: auto;
    cursor: pointer;
    display: flex;
    align-items: center;

}
.logo h3 {
    font-size: 1.6rem;
    color: white;
}

.logo h3 .destacado {
    color: rgb(255, 230, 0);
}


.logo img{
    width: 100%;
    height: 100%;
}


.content .list-menu{
    width: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content .list-menu li a {
    padding: 3rem 1rem 2rem 1rem;
    color: white;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 200ms ease-in;
}

.content .list-menu li a:hover{
    background-color: #3333;
    border-bottom: 4px solid rgb(255, 196, 0);
    color: rgb(255, 196, 0);
}


/*fistsection*/
.first-section {
    height: 100vh;
    background-image: linear-gradient(rgba(29, 29, 29, 0.8),rgba(29, 29, 29, 0.8)),url(./img/carros3.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.first-section.conteudo-principal{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}
.first-section h1 {
    color: #ffc506;
    font-size: 6rem;
    text-transform: uppercase;
    margin-bottom: 1rem;

}
.first-section h2{
    color: rgb(177, 177, 177);
    font-size: 3rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 3rem;

}

.btn button{
    width: 230px;
    height: 60px;
    cursor: pointer;
    text-transform: uppercase;
    background-color: #ffc506;
    border-radius: 10px;
    color: black;
    font-weight: 700;
    margin-top: 5rem;
    transition: all 400ms ease-in;
}

.btn button:hover{
    border: 1px solid #ffc506;
    background-color: transparent;
    color: #ffc;
}


/*sobrenos*/

.sobre-nos{
    background-color: #1f1e1f;
    width: 100%;
    padding-bottom: 5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;

}

.sobre-nos  img {
    width: 400px;
    height: 400px;
    margin-top: 10rem;
    margin-left: 10rem;
    border: 2px solid rgb(155, 155, 155);

}
.main{
    display: flex;
    justify-content: space-between;
}


.contentsobre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contentsobre h2 {
    font-size: 6rem;
    margin-bottom: 1rem;
    color: #ffc506;
}

.contentsobre p {
    text-align: center;
    font-size: 1.8rem;
    width: 600px;
}

/*servicos*/

.servicos {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(12, 12, 12, 0.9);
}

.servicos h2 {
    font-size: 6rem;
    color: #ffc506;
    text-transform: uppercase;
}

.itens-servicos {
    width: 90%;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 350px));
    justify-content: center;
    align-items: stretch; /* Alterado para 'stretch' para garantir que todos os itens tenham a mesma altura */
    gap: 40px;
}


.itens-servicos .info {
    background-color: #dfddd7;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: space-between; /* Ajuste para melhorar o espaçamento entre os elementos */
    padding: 1.5rem;
    min-height: 150px;
}

.itens-servicos .info h3 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-decoration: underline;
}

.itens-servicos .info h3 span {
    font-size: 2.3rem;
    color: black;
}

.itens-servicos .info h4 {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: auto auto; 
    gap: 10px; 
    margin-left: 0; 
    color: black;
}


.itens-servicos .info h4 span {
    font-size: 1.8rem;
    color: black;
    margin-left: 20rem;
    text-decoration: underline;
}

.itens-servicos img {
    width: 100%;
    height: auto;
    margin-bottom: -5px; 
    
}

.itens-servicos .info .marca-horario {
    width: 200px;
    height: 35px;
    margin-top: 0.5rem;
    background-color: #ffc506;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    color: black;
    transition: all 200ms ease-in;
}

.itens-servicos .info .marca-horario:hover {
    background-color: #5e5252;
    color: white;
}

/*contatos*/

.contatos {
    width: 100%;
    background-color: #1f1e1f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    padding-bottom: 3rem;
}

.contatos h3 {
    font-size: 4rem;
    margin-bottom: 3rem;
}

.contatos-secao {
    width: 400px;
    display: flex;
    justify-content: space-between;
    font-size: 2rem;
}



.contatos-secao i {
    margin-right: 1rem;
}

.contatos-secao i {
    cursor: pointer;
    transition: all 200ms ease-in;
}

.contatos-secao div:hover {
    color: #ffc506;
    
}


.maps {
    width: 100%;
    background-color: #1f1e1f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    padding-bottom: 3rem;
}

.maps h3 {
    font-size: 4rem;
    margin-bottom: 3rem;
}

footer {
    height: 25px;
    background-color: black;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

@media (max-width: 1200px) {
    .main{
        display: block;
    }
    .content{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 12%;
        padding-left: 0%;
    }

    .sobre-nos img {
        width: 600px;
        margin-left: -2px;
    }
    html {
        font-size: 45%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 45%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 40%;
    }
    .content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0px 40px;
    }

    .content .list-menu {
        display: none;
    }
    .one,
    .two,
    .three {
        width: 80%;
        height: 2px;
        background-color: white;
        margin: 6px auto;
        transition-duration: 0.5s;
    }

    .menu-toggle {
        height: 30px;
        width: 30px;
    }

    .content.on{
        position: fixed;
        top: 0;
        left: 0;
        border: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(30, 31, 30, 0.8);
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content.on .logo{
    display: none;
    }

    .content.on .menu-toggle{
        position: absolute;
        right: 40px;
        touch-action: 20;
        top: 20px;
    }


    .content.on .list-menu{
        display: block;
    }

    .content.on .list-menu li {
        display: flex;
        justify-content: center;
    }

    .content.on .list-menu li a {
        font-size: 2rem;
    }

    .content.on .menu-toggle .two {
        opacity: 0;
    }

    .content.on .menu-toggle .one {
        transform: rotate(45deg) translate(5px, -8px);  
    }

    .content.on .menu-toggle .three {
        transform: rotate(-45deg) translate(20px, -6px);  
    }


    .itens-servicos {
        grid-template-columns: repeat(2, minmax(50px, 350px));
    }
    .itens-servicos .info h4 {
        margin-left: 1rem;
    }

    .contatos-secao{
        display: block;
        text-align: center;
        font-size: 2rem;
    }

    .contatos-secao div {
        margin: 1rem;
    }
}

@media(max-width: 600px) {
    .conteudo-principal h1 {
        width: 500px;
        text-align: center;
        font-size: 4rem;
    }
    .conteudo-principal h2 {
        font-size: 2.5rem;
    }
    .itens-servicos {
        grid-template-columns: repeat(auto-fit, minmax(50px, 350px));
    }
    .sobre-nos img {
        width: 400px;
        height: 250px;
        margin-left: 10px;
    }

    .sobre-nos p {
        text-align: center;
        width: 400px;
    }

    .contatos-secao {
        width: 300px;
    }

}

@media(max-width: 500px) {
    .btn {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 150px;
        margin-left: 17rem;
    }
    .btn button {
        font-size: 1.5rem;
        width: 100%;
    }

    .conteudo-principal h1 {
        width: 350px;
        font-size: 3rem;
        text-align: center;
    }
    .conteudo-principal h2 {
        width: 200px;
        font-size: 2rem;
        text-align: center;
        margin-left: 13rem;
    }
}

@media(max-width: 395px) {
    .sobre-nos img {
        width: 250px;
        height: auto;
        margin-left: 10px;
    }

.contentsobre p {
    text-align: center;
    width: 250px;
}

}

