@font-face {
  font-family: "Poppins";
  src: url(../../../asets/fonts/Poppins-Medium.ttf);
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Poppins, Helvetica, sans-serif;
}

body {
  background: #111;
}

.tabs {
  background: #070707;
  max-width: 1200px;
  height: 800px;
  margin: 20px auto 0;
  border-radius: 10px 10px 0 0;
  border: 1px solid #ffffff3e;
  color: #b7b2b2;
  display: grid;
  grid-template-rows: min-content 1fr;
}

.tabs-btn-container {
  display: flex;
  border-bottom: 1px solid #ffffff3e;
}

.tab {
  border: none;
  background: transparent;
  color: #b4b2b2;
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  align-items: center;
  padding: 30px 0;
  cursor: pointer;
}

/* le format s'applique à tous les tab sauf le 3e et le tab actif*/
.tab:not(:nth-child(4), .tab.active-tab) {
  border-right: 1px solid #ffffff3e;
}
.tab:nth-child(1) {
  border-top-left-radius: 9px;
}
.tab:nth-child(3) {
  border-top-right-radius: 9px;
}

.tab-content {
  grid-area: 2 / 1 / 3 / 2;
  padding: clamp(10px, 3vw, 20px);
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-out;
}
.tab-content h3 {
  font-size: clamp(20px, 2vw, 25px);
}
.tab-content p {
  margin-top: 20px;
  line-height: 1.6;
}

.tab-content #content-iframe {
  height: 100%;
  width: 100%;
  align-items: center;
  border: none;
}

/* ANIMATIONS */
.active-tab {
  background: linear-gradient(45deg, rgb(95, 16, 110), rgb(207, 134, 195));
  font-weight: bolder;
  color: #fff;
}

.active-tab-content {
  visibility: visible;
  opacity: 1;
}

/* video = 16:00 */
