@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit";
}

body {
  max-width: 100%;
  background-color: #e3f2fd;
}

#header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo img {
  width: 100px;
  object-fit: contain;
}

.head_title h1 {
  font-size: min(10vw, 48px);
  color: #333;
  text-align: center;
}

.head_title p {
  font-size: min(5vw, 18px);
  color: #555;
  text-align: center;
}
.nav-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.nav-links a {
  text-decoration: none;
  color: black;
}

.nav-links a:hover{
  text-decoration: underline;
  color: #555;
}


/*  details section */

#details h2{
  text-align: center;
  margin: 20px;
}

.about{
padding: 10px;
/* border: 2px solid black; */
text-align: justify;
}


#details,
#schedule,#speakers,#poster,
#location {
  width: 60%;
  background-color: #fff;
  border-radius: 8px;
  margin: 20px 0;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Schedule section */
.schedule_info {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 90%;
}
.title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table th,
table td {
  border: 1px solid #ddd;
  padding: 8px;
}
table th {
  background-color: #f2f2f2;
  color: #333;
}
table tr:nth-child(even) {
  background-color: #f9f9f9;
}
table tr:hover {
  background-color: #f1f1f1;
}
table th,
table td {
  padding: 12px 15px;
}
table th:first-child,
table td:first-child {
  text-align: left;
}
table .break td{
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
}



/* speakers section */
#speakers .speaker_box{
  width: 80%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  /* border: 2px solid black; */
}

#speakers .speaker_box h3,.affiliation{
  text-align: center;
  margin: 10px;
}
.bio{
  margin: 10px;
  padding: 10px;
}

.talk_abstract span, .talk_title span{
  color: rgba(255, 0, 0, 0.719);
  padding-right: 10px;
}
.talk_abstract,.talk_title{
  text-align: justify;
  margin-left: 10px;
}

/*  location Section */
#location h2,
.address {
  text-align: center;
  line-height: 40px;
}

.map-container {
  position: relative;
  max-width: 800px; /* Adjust as needed */
  width: 90%;
  padding-bottom: 45.25%;
  overflow: hidden;
  margin: 0 auto;
  /* border: 2px solid black; */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border: 0;
}

/* Mobile view adjustment */

@media screen and (max-width: 768px) {
  #header_container {
    flex-direction: column;
    text-align: center;
  }

  .logo img {
    width: 80px;
  }

  .head_title h1 {
    font-size: min(12vw, 36px);
  }

  .head_title p {
    font-size: min(6vw, 16px);
  }
  
  /*.nav-links a{
     font-size: min(6vw, 10px);
  }*/
  .schedule_info {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 100%;
}
.schedule_info {
    padding: 15px 10px;
  }

  thead th {
    font-size: 12px;
    line-height: 25px;
  }

  td {
    font-size: 10px;
  }

  .break{
    font-size: 14px;
    padding: 3px;
  }
}
