@font-face {
  font-family: 'Anton';
  src: url('./assets/fonts/Anton/Anton-Regular.ttf') format('truetype');
  /* font-weight: normal;
  font-style: normal; */
}

@font-face {
  font-family: 'Inria Sans';
  src: url('./assets/fonts/Inria_Sans/InriaSans-Light.ttf') format('truetype');
  font-weight: 300; /* or 'light' */
  font-style: normal;
}

@font-face {
  font-family: 'Inria Sans';
  src: url('./assets/fonts/Inria_Sans/InriaSans-Bold.ttf') format('truetype');
  font-weight: 700; /* or 'bold' */
  font-style: normal;
}

html, body {
  height: 100%;
  overflow: hidden;
  margin: 0;
  background-color: #E76C43;
}

body {
  display: flex;
  margin: 0;
  height: 100vh;
  flex-direction: row;
}

iframe {
  height: 100vh;
  flex: 1;
}

h1 {
  font-family: 'Anton';
  font-size: clamp(2rem, 4vw, 5rem); /* Responsive between 3rem and 8rem */
  letter-spacing: 0.03em; /* Adjust as needed */
  margin: 0;
  color: #FF9D00;
}

.text-center {
  text-align: center;
  width: 100%;
}

h2 {
  margin: 0;
  font-family: 'Inria Sans';
  font-size: 2rem;
}

h3 {
  margin: 0;
  font-family: 'Inria Sans';
  font-size: clamp(1.3rem, 1.5vw, 1.8rem);
}

p {
  font-family: 'Inria Sans';
  margin: 0;
}

.description {
  font-size: large;
}

.desc-center {
  display: flex;
  text-align: center;
  justify-content: center;
}

.list-description {
  text-align: justify;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.bold {
  font-weight: bold;
}

.small-text {
  font-size: smaller;
}

.same-line {
  white-space: nowrap;
}

.portrait {
  flex: 1;
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  height: 100vh;
}

.box {
  flex: 1; /* take equal space */
}

.info-board {
  background-color: #FDF0EC;
  flex: 1; /* take equal space */
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 2.5vh 4vw;
  gap: 3vh;
  max-width: 50vw;
  box-sizing: border-box;
}

.info-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 5vh;
  justify-content: space-around;
}

.about-us {
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
}

.info-section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 3vh;
  height:max-content;
}

.info-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

#info-title-1 {
  display: block;
  opacity: 1;
  cursor: pointer;
}

#info-title-2 {
  display: block;
  opacity: 0.4;
  cursor: pointer;
}

#info-2 {
  display: none;
}

.info-list {
  display: flex;
  gap: 3vh;
  flex-direction: column;
  padding: 0 5vw;
}

.achievements-section {
  display: flex;
  flex-direction: column;
  gap: 3vh;
  justify-content: start;
  align-items: center;
  height: 250px;
  overflow: hidden;
}

.referral-section {
  display: flex;
  flex-direction: column;
  gap: 3vh;
  justify-content: center;
  align-items: center;
  justify-content: center;
  height: 250px;
}

.carousel {
  padding: 0;
  display: flex;
  justify-content: left;
  position: relative;
  width: 100%;
  max-width: 42vw;
  overflow: visible;
}

.carousel-track {
  display: flex;
  padding: 0;
  margin: 0;
  gap: 25px;
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.carousel-item {
  width: 250px;
  height: 200px;
  padding: 2vh 2vw;
  border-radius: 15px;
  gap: 1.5vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: white;
  position: absolute;
  visibility: none;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-active {
  position: relative;
  z-index: 100;
}

.carousel-left {
  position: absolute;
  right: 35%;
  height: 70%;
  opacity: 0.5;
  -webkit-filter: blur(1px);
  -moz-filter: blur(1px);
  -o-filter: blur(1px);
  -ms-filter: blur(1px);
  filter: blur(1px);
  overflow: hidden;
  font-size: smaller;
  cursor: pointer;
}

.carousel-right {
  position: absolute;
  left: 35%;
  height: 70%;
  opacity: 0.5;
  -webkit-filter: blur(1px);
  -moz-filter: blur(1px);
  -o-filter: blur(1px);
  -ms-filter: blur(1px);
  filter: blur(1px);
  overflow: hidden;
  font-size: smaller;
  cursor: pointer;
}

.referral-user {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 1vw;
}

.referral-user-img {
  width: 50px;
  height: 50px;   
  border-radius: 50px;
  object-fit: cover;
}

.referral-user-info{
  display: flex;
  flex-direction: column;
}

.referral-description {
  display: flex;
  flex-direction: column;
  gap: 0.5vh;
}

.referral-source {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.contact-us-section {
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
}

.contact-options {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 2vh 0;
  gap: 3vw;
}

.contact-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100px;
}

.contact-option-link {
  padding: 1vh 1vw;
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: black;
}

.icon-img {
  width: 75px;
  height: 75px;
  border-radius: 10px;
}

@media (orientation: portrait) {

  html,body {
      overflow-y: visible;
  }

  body {
    flex-direction: column;
  }

  iframe {
    height: 50vh;
    flex: 1;
  }

  .portrait {
    height:50vh;
    position: fixed;
    width: 100vw;
  }

  h1 {
      font-size: clamp(2.5rem, 7vw, 10rem);
      white-space: nowrap;
  }

  h3 {
    margin: 0;
    font-family: 'Inria Sans';
    font-size: clamp(1rem, 2vw, 1.4rem);
  }

  .list-description {
    text-align: justify;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
  }

  .info-board {
      max-width: 100vw;
      margin-top: 50vh;
      z-index: 100;
  }

  .info-box {
      gap: 5vh;
      padding: 2.5vh 5vw;
  }


  .achievements-section {
    height: fit-content;
  }

  .referral-section {
    padding: 5vh 0;
  }

  .carousel {
      max-width: 92vw;
  }

  .carousel-left {
      right: 20%;
  }
  
  .carousel-right {
      left: 20%;
  }
  
}
