body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    position: relative;
  }
  
  header {
    background-color: #3b0700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    padding: 10px;
    height: 100px;
    
  }
  
  header img {
    height: 70px;
    margin-right: 20px;
  }
  
  nav {
    margin-left: auto;
  }
  
  nav ul {
    list-style: none;
    display: flex;
  }
  
  nav li {
    margin-right: 60px;
  }
  
  nav li a {
    text-decoration: none;
    color: #FFFFFF;
    transition: color 0.3s, transform 0.2s;
    font-size: 150%;
    display: inline-block;
  }
  
  nav li a:hover {
    color: #D0FF00;
    transform: scale(1.2);
  }
  
  .logo-container {
    flex: 1;
    display: flex-start;
    justify-content: center;
  }
  
  main {
    position: relative;
  }
  
  footer {
    /* Existing styles... */
    background-color: #3b0700;
    color: #FFFFFF;
    text-align: left;
    padding: 10px;
    width: 99%;
    height: 100px;
    position: relative; /* Use position relative */
    /* Add some space between the content-container2 and the footer */
    margin-top: 50px;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .image-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 150px); /* Subtrai a altura do header e do footer */
    overflow: hidden;
  }
  
  .footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center; /* Centraliza verticalmente o conteúdo */
    height: 100%;
  }
  
  .footer-content .address {
    font-size: 14px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
  }
  
  .footer-content .address h1,
  .footer-content .address h2,
  .footer-content .address h3 {
    margin: 0;
    padding: 0;
  }
  
  .footer-content .social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 30px;
  }
  
  
  
  .footer-content .social-links a {
    position: relative;
    width: 50px;
    transition: transform 0.3s; /* Adicione a animação de transição */
    margin-left: 10px; /* Espaçamento entre os ícones (alterado para margin-left) */
  }
  
  .footer-content .social-links a:hover {
    transform: scale(1.2); /* Aumenta o tamanho dos ícones em 200% ao passar o mouse por cima */
  }
  
  .copyright{
    font-size: 5;
    display: flex;
    margin-right: 15.5rem;
    align-items: center; /* Centraliza verticalmente */
    flex-direction: column;
  }
  .content-container {
    display: flex;
    flex-direction: column; /* Set flex-direction to column */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    margin-top: 375px;
  }
  



.image-container {
    /* Existing styles */
    position: relative;
    width: 100%;
    height: 300px; /* Ajuste a altura conforme necessário */
    overflow: hidden;
    text-align: center;
    margin-bottom: 100px;
    
}

.image-container img {
    width: 100%; /* Ajuste para ocupar toda a largura disponível */
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}


.image-title {
    /* New styles for the title */
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
}

.image-title2 {
  /* New styles for the title */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 10px;
}

/* Estilos da caixa de texto */
.info-box {
    /* Existing styles */

    background-color: #d1d1d1;
    border-radius: 10px;
    border-color: #3b0700;
    border-style: solid;
    border-width: 1.5rem;
    padding: 20px;
    width: 800px;
    height: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* New styles for centering */
    position: absolute; /* Remove the float and use position absolute */
    margin-top: 200px;
    left: 50%; /* Position from left */
    transform: translate(-50%, -50%); /* Center the element */
    font-size: 150%;
    
}


.info-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 150%;
}

.info-texte {
  text-align: center;
  margin-bottom: 10px;
}

.image-grid-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 50px;
}

.image-item {
  position: relative;
  overflow: hidden;
  width: 675px;
  height: 460px;
  border-radius: 10px;
  border-color: #3b0700;
  border-style: solid;
  border-width: .5rem;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

/* Hover animation */
.image-item:hover img {
  transform: scale(1.2);
}

/* New styles for the links */
.image-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.image-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the title */
  font-size: 42px; /* Increase font size by 50% */
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  opacity: 0.8; /* Reduced opacity to make the titles semi-transparent */
  border-radius: 10px; /* Rounded border */
  text-align: center;
}

/* Hover effect for the image titles */
.image-item:hover .image-title {
  opacity: 1; /* Show the title on hover */
}

.footer-content .address a {
  color: white;
  text-decoration: none;
}

/* responsividade */

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 999;
  position: relative;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: white;
}

/* Media query for small screens (e.g., smartphones) */
@media only screen and (max-width: 600px) {
  /* Hide the regular navigation links on small screens */
  nav ul {
    display: none;
  }

  /* Display the hamburger icon on small screens */
  .hamburger {
    display: block;
  }

  /* Show the navigation links as a vertical dropdown */
  nav ul.show {
    display: block;
    position: absolute;
    text-align: center;
    font-size: 16px;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3b0700;
    width: 50%;
    z-index: 998;
    animation-name: xxx;
    animation-duration: 0.5s;
  }
  @keyframes xxx { 
    20% { top: 20px;}
    30% { top: 30px;}
    40% { top: 40px; }
    50% { top: 50px; }
    60% { top: 60px; }
  }

  nav ul.show li {
    width: 100%;
    text-align: center;
    transform: translateX(-8%);
  }

  /* Optional: Style the dropdown links */
  nav ul.show li a {
    display: flex;
    position: relative;
    padding: 10px;
    color: #FFFFFF;
    text-decoration: none;
    margin: 0;
    align-items: center;
    justify-content: center;
  }

  /* Center align all footer content in a column layout */
  footer {
    padding: 20px 0;
    width: 100%;
    left: 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Remove "Designed by Arthur" text */
  .footer-content .copyright {
    display: none;
  }

  /* Adjust the size and alignment of the copyright text */
  .footer-content .address h1,
  .footer-content .address h2,
  .footer-content .address h3 {
    margin-top: -5px;
    margin-bottom: 7px;
    font-size: 12px;
    text-align: center; /* Center align the address text */
  }

  .footer-content .social-links a {
    width: 30px;
    height: 30px;
    margin-right: 15px;
  }

  .footer-content .social-links img {
    width: 100%;
    height: 100%;
  }

  header img {
    height: 55px;
  }

  header {
    height: 70px; /* Reduced height for mobile screens */
  }
  
  .info-box {
    width: 300px;
    border-width: 10px;
    margin-top: 300px;
    height: 160%;
}
.image-grid-container {
  flex-direction: column;
  margin-bottom: 0px;
  margin-top: 0px;
}

.image-item {
  width: 320px;
  height: 218px;
  border-width: 10px;
  margin-bottom: 50px;
  align-self: center;
}

.image-title2{
  text-align: center;
}

}

@media only screen and (max-width: 1600px){
  .image-grid-container {
  flex-direction: column;
  margin-bottom: 0px;
  margin-top: 0px;
}

.image-item {
  margin-bottom: 50px;
  align-self: center;
}

.image-title2{
  text-align: center;
}
}