/* Slideshow de fundo com animação - Ajustado conforme tutorial */
.slideshow-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
  }
  
  .slideshow-images {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: slideShow 24s infinite;
  }
  
  .slideshow-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeAnimation 32s infinite;
  }
  
  .slideshow-image:nth-child(1) {
    animation-delay: 0s;
  }
  .slideshow-image:nth-child(2) {
    animation-delay: 8s;
  }
  .slideshow-image:nth-child(3) {
    animation-delay: 16s;
  }
  .slideshow-image:nth-child(4) {
    animation-delay: 24s;
  }
  
  @keyframes fadeAnimation {
    0% { opacity: 0; }
    5% { opacity: 1; }  /* A opacidade será 100% logo no início */
    50% { opacity: 1; }  /* Mantém 100% durante a maior parte da animação */
    55% { opacity: 0; }  /* Começa a desaparecer depois de 55% */
    100% { opacity: 0; }
  }
  
  /* Estilo global - Mantido igual */
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    position: relative;
  }
  
  .container {
    display: flex;
    height: 100vh;
    flex-direction: row;
    position: relative;
    z-index: 1;
  }
  
  .left-section, .right-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .left-section {
    background-color: rgba(0, 102, 60, 0.8); /* Adicionado transparência */
    color: white;
  }
  
  .highlight {
    background-color: #c62828;
    padding: 2px 6px;
    border-radius: 4px;
  }
  
  .icons {
    margin-top: 20px;
  }
  
  .right-section {
    background-color: rgba(245, 245, 245, 0.9); /* Adicionado transparência */
    align-items: center;
    text-align: center;
  }
  
  .logo-ifam {
    width: 150px;
    margin-bottom: 20px;
  }
  
  .btn {
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
  }
  
  .btn.green {
    background-color: #00663c;
    color: white;
    padding: 12px 24px;
    margin-bottom: 30px;
  }
  
  .grid-buttons {
    display: grid;
    grid-template-columns: repeat(2, 180px);
    gap: 15px;
    justify-content: center;
  }
  
  .btn.light {
    background-color: #a5d6a7;
    color: #000;
    height: 60px;
    width: 180px;
    text-align: center;
  }
  
  .logo-left {
    width: 125px;
    margin: 0 auto 20px;
    display: block;
  }
  
  .btn.light:hover {
    background-color: #388e3c;
    color: white;
    transition: background-color 0.3s, color 0.3s;
  }
  
  /* Estilos para o seletor de campus */
  .campus-selector {
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
  }
  
  .campus-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
  }
  
  .campus-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #00663c;
    border-radius: 5px;
    background-color: white;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
  }
  
  .campus-select:focus {
    outline: none;
    border-color: #388e3c;
    box-shadow: 0 0 5px rgba(56, 142, 60, 0.5);
  }
  
  /* Responsivo: telas pequenas (mobile) */
  @media (max-width: 767px) {
    .container {
      flex-direction: column-reverse;
      height: auto;
      min-height: 100vh;
    }
  
    .left-section, .right-section {
      padding: 30px 20px;
      flex: none;
    }
  
    .left-section {
      text-align: center;
    }
  
    .logo-left {
      margin: 0 auto 20px;
    }
  
    .grid-buttons {
      grid-template-columns: 1fr;
      width: 100%;
    }
  
    .btn.light {
      width: 100%;
    }
  
    .btn.green {
      width: 100%;
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
    }
  
    .icons i {
      margin: 0 10px;
      font-size: 1.5rem;
    }
  
    .campus-selector {
      max-width: 100%;
    }
  }