body{
    width: auto;
    margin: 0%;
    font-family: 'Open-sans', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #000000, #0f2027, #2c5364);
    color: white;
}

/*Estilização header*/
header{
    background: linear-gradient(185deg, #0f0f0f, #2c2c2c);
}

/*Estilização do logo*/
.logo{
    width: 25%;
    padding: 2% 0 2% 2%;
}

/*Estilização menu*/
nav{
    position: absolute;
    color: white;
    top: 50px;
    right: 75px;
    font-size: 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

nav li{
    display: inline;
    margin-right: 15px;
}

nav a{
    text-decoration: none;
    color: white;
    font-weight: bold;
}

nav a:hover{
    color: lightblue;
}

.divHeader{
    position: relative;
}

.banner{
    width: 100%;
    display: block;
    object-fit: cover;
}

/*Estilização de títulos*/
.titulos {
    text-align: center;
    color: lightblue;
    font-family: 'Playfair Display', serif;
}

/*Estilização da sessão sobre nós*/
.sobre_nos{
    text-align: justify;
    line-height: 2;
}

.img_sobre_nos{
    width: 250px;
    float: left;   
    margin-right: 2%;
}
.titulo_sobre_nos{
    clear: left;
}

.mapa{
    text-align: center;
}

.modelos{
    max-width:800px;
    margin: 0 auto; 
    text-align: justify;
    border-radius: 10px;
    opacity: 1;
    transition: 300ms;
    line-height: 2.25;
    font-size: 20px
}

.video{
    text-align: center;
}
/*Estilização do FOOTER*/
/* FOOTER */
footer{
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(to top, #000000, #1c1c1c);
    text-align: center;
}

.logo_footer{
    width: 240px;
    margin-bottom: 10px;
}

footer p{
    font-size: 16px;
}

footer a{
    color: #4da6ff;
    text-decoration: none;
    margin-left: 10px;
    transition: 0.3s;
}

footer a:hover{
    color: #ffffff;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

p, li, h2{
    color: #f0f0f0;
};

/* Section dos Modelos */
.modelos {
    max-width: 800px;
    margin: 0 auto; 
    padding-bottom: 20px;
}

/* Novo container que fará as duas colunas */
.container-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Cria exatamente 2 colunas do mesmo tamanho */
    gap: 30px; /* Espaço entre os cards */
    justify-items: center; /* Centraliza os cards dentro de cada coluna */
}

/* Estilização do card */
.card {
    background: #000000;
    width: 100%; /* Faz o card se adaptar à coluna */
    max-width: 350px; /* Evita que o card fique gigante em telas grandes */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Corrigido de 8ox para 8px e opacidade */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
}

.card:hover {
    transform: scale(1.05);
}

/* Imagens do Card */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

/* Título do Card */
.card h2 {
    margin: 10px 0;
    font-size: 18px;
}

.link-do-card {
    text-decoration: none; /* Tira o sublinhado */
    color: inherit; /* Faz o texto herdar a cor que já estava na div, em vez de ficar azul */
    display: block; /* Garante que o link ocupe o espaço correto no layout */
}

.titulos_modelos {
    transition: 90ms;
}

.titulos_modelos:hover {
    transform: scale(1.05);
}