@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');

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

* {
    padding: 0;
    margin: 0;
    --verde-carro: #00464d;
    --laranja-carro: #f37a17;
    --azul-carro: #2e7fdb;
}

body {
    background-image: url(imagens/parede-preta-pontilhada.jpg);
    
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 1100px;
    height: 100px;
    background-color: #000000;
}

.logo {
    margin-left: 40px;
    color: #FFFFFF;
}

.menu nav ul {
    display: flex; 
    flex-wrap: wrap;
}

nav ul li{
    margin-right: 30px;
    list-style-type: none;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px;
}

nav ul li:hover {
    background-color: var(--azul-carro);
    color: var(--laranja-carro);
    border-radius: 8px;
    transition: background-color 1.2s ease;
    cursor: pointer;
}

.container {
    display: flex;
    max-width: 1100px;
    margin:auto;
    background-color: var(--verde-carro);
}

.textoPromocional {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    width: 100%;
    margin: 100px 50px 100px 50px;
}

.textoPromocional h1 {
    font-size: 6vw;
    color: var(--azul-carro);
    text-align: center;
}

.textoPromocional h2 {
    font-size: 3vw;
    color: var(--laranja-carro);
    text-align: center;
    margin-left: 6vw;
    padding-left: 60px;
}

.caracteristicas {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.caracteristicas img {
    max-width: 60px;
}

.fichaTecnica {
    margin-bottom: 30px;
}

.fichaTecnica h3 {
    margin-bottom: 20px;
    font-family: 'Abel', sans-serif;
}

.fichaTecnica p {
    font-family: 'Abel', sans-serif;
    margin-bottom: 10px;
}

.atributos {
    display: flex;
    flex-wrap: wrap;
    
}

.atributos div {
    display: flex;
    max-width: 180px;
}

.atributos h3 {
    font-family: 'Abel', sans-serif;
    display: flex;
    align-items: center;
    margin: 0px 30px 10px 10px;
}

.atributos h3:hover {
    color: var(--laranja-carro);
    transition: 0.5s;
}

.atributos img {
    margin: 8px;
}

.imagemDoCarro {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: auto;
    margin: 40px;
}

.imagemDoCarro img{
    border-radius: 8px;
}

.textoTecnico1, .textoTecnico2 {
    margin: 60px 20px 80px 20px;
}
.descricao {
    margin: 20px 40px 60px 40px;
}

.descricao h2 {
    margin-bottom: 15px;
    color: var(--laranja-carro);
}

.descricao h2:hover {
    color: var(--azul-carro);
    transition: 0.8s;
}

.descricao p {
    font-family: 'Abel', sans-serif;
    color: #FFFFFF;
}

.descricao:hover {
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    padding: 15px;
    transition: 0.8s ease;
}

footer {
    max-width: 1100px;
    margin:auto;
}

.redesSociais {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--azul-carro);
    height: 50px;
    font-family: 'Abel', sans-serif;
    font-weight: bold;
}

.redesSociais a {
    text-decoration: none;
}

.redesSociais img {
    margin-left: 20px;
}

.footerLinks {
    display: flex;
    justify-content: space-around;
    background-color: #000000;
    color: #FFFFFF;
}

.footerLinks h3{
    margin: 80px 0px 50px 0px;
}

.footerLinks div {
    max-width: 200px;
}

.footerLinks h3 {
    font-family: 'Bruno Ace', cursive;
}

.mudarCor {
    animation: mudar-cor 8s infinite;

}

.footerLinks p {
    font-family: 'Abel', sans-serif;
    line-height: 1.2;
    margin-bottom: 40px;
}

.footerLinks a {
    text-decoration: none;
    color: #FFFFFF;
    display: block;
    margin-bottom: 5px;
}

.copyRight {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #141B29;
    height: 30px;
    color: #FFFFFF;
}

.copyRight a {
    text-decoration: none;
    color: #FFFFFF;
}

.menuMobile {
    display: none;
    width: 40px;
    height: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-right: 20px;
}

.mm_line {
    height: 3px;
    background-color: #39aae1;
}

@keyframes mudar-cor {
    0% {
        color: #FFFFFF;
    }

    25% {
        color: var(--azul-carro);
    }

    50% {
        color: var(--laranja-carro);
    }

    75% {
        color: var(--verde-carro);
    }

    100% {
        color: var(--azul-carro);
    }
}

@media (max-width: 900px) {
    .atributos {
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    header {
        flex-direction: row;
        height: auto;
    }

    nav {
        display: flex;
    }
    .menu {
        margin-right: 20px;
    }

    .container {
        flex-direction: column;
    }
    
    .imagemDoCarro {
        display: none;
    }

    .textoPromocional {
        width: auto;
    }

    .textoPromocional h1 {
        font-size: 70px;
    }

    .textoPromocional h2 {
        font-size: 40px;
        margin-right: 60px;
    }

    .atributos {
        flex-direction: row;
    }

    .redesSociais {
        flex-wrap: wrap;
        height: 100px;
    }

    .redesSociais div {
        padding: 10px;
    }

    .footerLinks {
        flex-wrap: wrap;
        
    }

    .footerLinks div {
        margin-left: 20px;
        padding: 20px;
        
    }

    .menuMobile {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

}




