/* Estilo geral do body */
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 para a página inteira */
    color: white;
    height: 100vh;
}

/* mensagem de confirmação da matrícula*/
.message {
    padding: 19px 60px;
    position: fixed;
    top: 20px;
    right: 105px;
    background-color: chocolate;
    border-radius: 3px;
    color: #fff;
    animation: slidein 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  
  @keyframes slidein {
    0% {
      transform: translateX(1000px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .message::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    animation: time 3s forwards;
  }
  @keyframes time {
    0% {
      width: 0;
    }
    100% {
      width: 100%;
    }
  }  

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 */
}

/* Estilo para a section "teimosa" */
.teimosa {
    background: url('https://ironberg.com.br/assets/images/unidade-sao-caetano-4.jpg') no-repeat center center fixed; /* Imagem de fundo */
    background-size: cover;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Muda de height para min-height, permitindo que a section se expanda */
}

/* Formulário */
form {
    background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro com transparência */
    border-radius: 10px;
    margin-top: 60px;  /* Ajuste no margin-top para garantir um bom espaçamento */
    padding: 40px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}


/* Título e mensagem */
.title {
    font-size: 36px;
    font-weight: 700;
    color: rgb(255, 0, 0);
    margin-bottom: 10px;
}

.mensagem {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 30px;
}

/* Formulário flexível */
.flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Estilo dos inputs e selects */
input[type="text"], input[type="tel"], select, input[type="text"]#observacao {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}

/* Foco nos campos */
input[type="text"]:focus, input[type="tel"]:focus, select:focus, input[type="text"]#observacao:focus {
    border-color: #d32f2f; /* Vermelho no foco */
    outline: none;
}

/* Botão */
button {
    background-color: #b00404; /* Vermelho */
    color: white;
    font-size: 18px;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    width: 100%;
}

button:hover {
    background-color: #6b0000; /* Efeito hover mais escuro */
}

/* Ajustes de Responsividade */
@media (max-width: 768px) {
    form {
        padding: 20px;
        width: 90%;
    }

    .title {
        font-size: 30px;
    }
}

/* 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: 24px;
    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;
    width: 20%;
}

.cta button:hover {
    background-color: #6b0000;
    transition: background-color 0.3s;
    
}

/* Rodapé */
.footer-topo {
    
    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: 60px;
}
  
.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;
}
