@font-face {
  font-family: "Ikaros Sans";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("images/Ikaros.ttf") format("woff"),
    url("images/Ikaros-Regular.otf") format("woff3");
}
@font-face {
  font-family: "Ikaros Sans";
  font-style: normal;
  font-weight: 200;
  src: local(""), url("images/Ikaros-Light.otf") format("woff2");
}

.horizon-page {
  font-family: "Ikaros Sans";
}
.iith-heading-hor {
  color: #1270ed;
  font-size: 2.3vw;
  font-weight: 400;
}
.hor-heading-hor {
  width: 100%;
  font-size: 10vw;
  font-weight: 400;
}
@media screen and (max-width:800px) {
  .iith-heading-hor {
    color: #1270ed;
    font-size: 1.2rem;
    font-weight: 400;
  }
  .hor-heading-hor {
    font-size: 4rem;
    font-weight: 400;
  }
  .hor-button button{
    margin: auto;
    align-self: center;
    width: 70%;
  }
  
}
.hor-button button {
  box-shadow: 0px 0px 20px rgba(36, 102, 250, 0.5);
}
.hor-button button:hover {
  box-shadow: 0px 0px 50px rgba(69, 115, 213, 0.6);
  cursor: pointer;
}
.about-section {
  margin-top: 10%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-section-sub {
  margin: auto;
  width: 90%;
}
.about-row {
  width: 100%;
  height: auto;
  
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.about-outcard {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Past Speakers Section */
.past-speakers{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  width: 100%;
  height: auto;
}
.speakers-heading{
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 90%;
}
.speakers-heading p{
  font-size: 5rem;
}
.speakers-grid{
  gap:10px;
}
.speaker-card{
  width:23%;
  height: auto;
}


/* Sponsors section */
.hor-sponsors {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  align-items: center;
  position: relative;
}

.hor-sponsor-heading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hor-sponsor-heading p {
  font-size: 5rem;
  text-align: center;
}

.hor-sponsors-carousel-1 {
  display: flex;
  width: 100%; /* Set to twice the width of the container */
  gap: 3%;
  animation: scroll-1 40s linear infinite;
  animation-play-state:running;
}

.sponsor-card {
  flex: 0 0 20%; /* Equal width for each sponsor card, adjust as needed */
}

.sponsor-card img {
  width: 100%;
  height: 100%;
}
.sponsor-card img:hover{
  transform: translateY(-20px);
  cursor: pointer;
}

@keyframes scroll-1 {
  0% {
    transform: translateX(-320%);
  }
  100% {
    transform: translateX(100%); /* Move back to the starting position */
  }
}

@media screen and (max-width:800px) {
  .speakers-heading p{
    font-size: 3rem;
    width: 100%;
    text-align: center;
  }
  .speaker-card{
    width: 40%;
    height: auto;
  }
  .about-row {
    width: 100%;
    height: auto;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .about-outcard {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .sponsor-card {
    flex: 0 0 25%; /* Equal width for each sponsor card, adjust as needed */
  }
}