/* Background */
html, body{ 
    overflow:hidden;
    height:100%;
}
body {
  background-image: url('../images/foot.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  font-family: "Teko", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;

}
/* ========== API SLIDE ========== */
.slide.api {
  display: flex;
  align-items: flex-end;         /* position slightly above bottom */
  justify-content: center;
  min-height: 100vh;
  padding-bottom: 8vh;           /* lift the boxes a bit from the bottom */
}

.slide.api .api-container {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 90%;
  width: 100%;
  align-items: stretch; /* make all boxes equal height */
}


/* API boxes */
.slide.api .api-box {
  background: none;
  padding: 1.5rem;
  width: 43vw;
  height: 66vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box; /* ensures padding doesn’t break size */
  overflow: hidden;
}

/* API name/title */
.slide.api .api-name {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

/* Actual API content */
.slide.api .api-content {
  font-size: 1rem;
  white-space: pre-wrap;
  flex: 1;                     /* take remaining height */
  overflow: hidden;
  color: #fff;
}

.slide.api .api-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex-grow: 1;
  object-fit: contain;
  overflow: hidden;
}

/* make .api-content establish a 16:9 aspect‐ratio box */
.slide.api .api-box .api-content {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background: #fff;           /* ✅ white background for iframe section */
  border-radius: 0.5rem;      /* optional: rounded corners */
  box-shadow: 0 0 8px rgba(0,0,0,0.2); /* optional: subtle shadow */
}

/* then force the iframe in there to absolutely fill that box */
.slide.api .api-box .api-content iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ===================== ANNONCE SLIDE ===================== */
.slide.annonce {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.slide.annonce h1 {
  margin-top: 5rem;
  font-size: 5.0rem;
  color: #fff;
  margin-bottom: 2.5rem;
}

.annonce-text {
  max-width: 1000px;
  padding: 1.5rem 2rem;
  border-left: 4px solid #fff;
  font-size: 2.5rem;
  color: #fff !important;
  text-align: left;
}

/* ===================== SPONSOR SLIDE ===================== */
.sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.sponsor h2 {
  font-size: 5rem;
  color: #fff;
  margin-top: 13rem;
}

.sponsor-box {
  display: flex;
  align-items: center;  
  gap: 2rem;
  padding: 1rem 2rem;
  margin-bottom: 3rem;
}

.sponsor-box img {
  width: 200px;
  height: auto;
}

.sponsor-box span {
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
}

.titre-box {
  position: absolute; /* take it out of normal flow */
  top: 5rem;           /* adjust vertical position */
  right: 7rem;         
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 10;         /* make sure it's on top */
}

.titre-box h1 {
  font-size: 5rem;
  color: #fff;
  margin: 0; /* remove default margin */
}