body {
    margin: 0;
    padding: 0;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    background-color: #121212; /* Fundo escuro */
    color: #ffffff; /* Texto branco para contraste */
}

/* Cabeçalho */
header {
    background-color:#121212;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
  
header .logo {
    flex: 0 1 auto; /* A logo ocupa apenas o espaço necessário */
}
  
header .logo img {
    width: 200px;  /* Tamanho da logo */
    height: auto;
}
  
/* Menu de navegação */
header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Centraliza o menu */
}
  
header nav ul {
    display: flex;
    list-style: none;
}
  
header nav ul li {
    margin-left: 30px; /* Espaço entre os itens */
}
  
header nav ul li a {
    font-family: Arial, sans-serif;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s;
}
  
header nav ul li a:hover {
    color: #d32f2f; /* Cor do hover */
}

/* Container das modalidades */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px;
    margin-top: 30px;
}

.card {
    background-color: #1c1c1c; /* Fundo escuro para os cards */
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #333; /* Borda mais escura para separar a imagem */
}

.card h3 {
    font-size: 24px;
    color: rgb(255, 0, 0); /* Título em vermelho */
    margin: 20px 0 10px;
}

.card p {
    font-size: 16px;
    color: #ffffff; /* Texto mais suave para descrição */
    padding: 0 15px 20px;
    line-height: 1.6;
}

/* CTA - Call to Action */
.cta {
    text-align: center;
    padding: 40px;
    background-color: black;
    color: #fff; /* A cor do texto precisa ser visível sobre a imagem */
}

.cta h2 {
    font-size: 28px;
    color: #ff0606;  
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
}


.cta button {
    padding: 15px 30px;
    background-color: #b00404;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta button:hover {
    background-color: #6b0000;
    transition: background-color 0.3s;
    
}

/* Estilo do rodapé */
.footer-topo {
    background-image: url('https://ironberg.com.br/assets/images/mbr.jpg');
    background-size: cover; 
    background-position: center;    
    background-repeat: no-repeat; 
    height: 70vh; 
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center;     
    color: #fff; 
}
  
footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 50px;
}
  
.midias-sociais {
    display: flex;
    height: 70px;
    width: 300px;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}
  
.midias-sociais img {
    width: 40px;
    height: auto;
}
  
.midias-sociais svg {
    position: absolute;
    display: flex;
    width: 60%;
    height: 100%;
    font-size: 24px;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.25s;
    z-index: 2;
    cursor: pointer;
}
  
.midias-sociais .social-link1,.midias-sociais .social-link2,.midias-sociais .social-link3,.midias-sociais .social-link4 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    color: whitesmoke;
    font-size: 24px;
    text-decoration: none;
    transition: 0.25s;
    border-radius: 50px;
}
  
.midias svg {
    transform: scale(1);
}
  
.midias-sociais .social-link1:hover {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
    animation: bounce_613 0.4s linear;
}
  
.midias-sociais .social-link2:hover {
    background-color: #00ccff;
    animation: bounce_613 0.4s linear;
}
  
.midias-sociais .social-link3:hover {
    background-color: #5865f2;
    animation: bounce_613 0.4s linear;
}
  
.midias-sociais .social-link4:hover {
    background-color: #12a50b;
    animation: bounce_613 0.4s linear;
}

section h2 {
    text-align: center;
    font-size: 20px;
    color: rgb(255, 0, 0);
    padding: 10px;
}

.footer-text {
    text-align: center;
    font-size: 14px;
    color: rgb(255, 255, 255);
    padding: 10px;
}