/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and layout */
body {
  font-family: Arial, sans-serif;
  background-color: ;
  color: #333;
}

home-body {
      background-color: black;
      font-family: Arial,sans-serif;
      padding: 2rem;
}

header {
  background-color: #2c3e50;
  padding: 10px;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
}

header nav ul {
  list-style-type: none;

}

header nav ul li {
  display: inline;
  margin-right: 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;

}

header nav ul li a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 20px 0;
}

/* Section styling */
.section {
  padding: 40px;
  margin-bottom: 20px;
}

 /*
 #title {
 background-image: url('https://www.aroi.org/images/aroi-logo.png');

     /* background-size:30% 30% ; /*Ensures the image covers the entire section
      background-position:  center; /* Keeps the image centered
       background-repeat: no-repeat;
          height: 20vh; /* Makes the section take up the full viewport height
      color: black; /* Text color for readability
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: left;
}*/

#title {
   background: linear-gradient(to right, #2f5982,#bd0b0b );
     color: transparent;
    background-clip: text;
  background-color: black; /* sets the actual background */
  border: 1px solid #ddd;
  border-radius: 8px;

}



#uptop {
   background: linear-gradient(to right, #2f5982,#bd0b0b );
     color: transparent;
    background-clip: text;
  background-color: black; /* sets the actual background */
   border: 1px solid #ddd;
  border-radius: 8px;
  height: 17vh;

}


#home {
   background: linear-gradient(to right, #2f5982,#bd0b0b );
     color: transparent;
    background-clip: text;
  background-color: black; /* sets the actual background */
   border: 1px solid #ddd;
  border-radius: 8px;

}


#about, #agenda, #speakers, #venue, #committee, #contact {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.item1 {
  grid-column:  1; /* Items span 1 column */
}

.item2 {
  grid-column: 2; /* This item will take up 2 columns */
  /*grid-position : top;*/
  align-self : flex-start;
}

.button {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}


.button1 {
  background-color: white;
  color: black;
  border: 2px solid black;
}

.button1:hover {
  background-color: #04AA6D;
  color: white;
}


@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr; /* Stack items vertically on smaller screens */
  }
  .item1 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen */
  }

  .item2 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen */
  }

  .item1 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen */
  }

  .item2 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen */
  }

  .item3 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen */
  }

.h1 {
grid-column: span 1;
}

 .grid {
    grid-template-columns: 1fr;
  }

  .item1 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen */
  }

  .item2 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen */
  }

  .grid-item {
   grid-column: span 1;
   grid-template-columns: 1fr;
  }

  .header {
   grid-column: span 1;
  }



}


.grid-item {
  background-color: #f9f9f9;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.grid-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Footer styling */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 10px;
  text-align: center;
}

/* Media queriesmedia (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .item1 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen
  }

  .item2 {
    grid-column: span 1; /* Item 3 will only take up 1 column in smaller screen
  }

  .grid-item {
   grid-column: span 1;
   grid-template-columns: 1fr;
  }

  .header {
   grid-column: span 1;
  }
}
 */


.container {
  position: relative;
  width: 100%;
}

.image {
  display: block;
  width: 100%;
  height: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .1s ease;
  background-color: white;
}

.container:hover .overlay {
  opacity: 1;
}

.places-text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

@keyframes pulse {
  0% {
    opacity: 1; /* Start with full opacity */
  }
  50% {
    opacity: 0.8; /* Fade out to 30% opacity */
  }
  100% {
    opacity: 1; /* Return to full opacity */
  }
}


