
/* Reset de base */
@font-face {
  font-family: "MaPolicePerso"; /* nom que tu donnes à ta police */
  src: url("Pro\ Racing\ Slant.otf") format("woff2");
  font-weight: normal; /* ou bold si c’est une version grasse */
  font-style: normal;  /* ou italic si c’est une version italique */
}

body, html {
  margin: 0;
  padding: 0;
  height: 214.5
  rem;
  font-family: Arial, sans-serif;
  padding-top: 80px; /* espace pour header sticky */
  box-sizing: border-box;
  background-color: #111;
}

/* Sticky Header */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(2, 125, 23, 0.5);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sticky-header .logo {
  height: 50px;
  margin-right: 10px;
}

.sticky-header nav .menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sticky-header nav .menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  transition: 0.3s;
}

.sticky-header nav .menu a:hover {
  background-color: #ffffffcc;
  color: rgb(0, 61, 10);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgb(0, 61, 10);
}

.bandeauévènements {
  position: fixed;          /* reste visible même quand on scrolle */
  top: 100px;               /* distance depuis le haut de la page */
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  background: green;        /* couleur de fond */
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  z-index: 9999;            /* pour qu'il soit au-dessus de tout */
  border-radius: 20px;
}


/* Déclaration des keyframes en dehors de la classe */
@keyframes clignoter {
  0% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 1; }
}
/* Carrousel */
.header {
  position: relative;
  height: 65rem;
  overflow: hidden;
  color: white;
  margin-top: -6rem; /* Supprime l’espace blanc */
  padding-top: 0;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

/* Voile noir sur chaque slide */
.carousel-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* voile noir léger */
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
}

.slide1 {
  background-image: url('karting12-1.jpg');
}

.slide2 {
  background-image: url('flipper-4.jpg');
}

.slide3 {
  background-image: url('cosy-7.jpg');
}

.petittitre {
  position: absolute;
  top: 45vh; /* espace large en haut */
  left: 50%;
  text-align: center;
  color: white;
  z-index: 2;
  transform: translateX(-50%);
  font-size: clamp(2.5rem, 3vw, 2rem); /* responsive */
}

.titre {
  position: absolute;
  top: 60vh; /* écart plus petit par rapport à petittitre */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: "MaPolicePerso", sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: white;
  z-index: 2;
  white-space: nowrap;
}
.textecarousel {
  position: absolute;
  top: 85vh; /* écart plus petit par rapport à titre */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  font-size: clamp(0.8rem, 1.45vw, 1.1rem);
}

@media (max-width: 480px) {

  /* 2× plus bas qu’avant */
  .petittitre {
    top: auto;
    transform: translateX(-50%);
    text-align: center;
    margin-top: 100px; /* avant 100px → maintenant 2× */
    width: max-content;       /* 🔥 évite le wrap même si le conteneur est étroit */
  }

  .titre {
    top: auto;
    transform: translateX(-50%);
    text-align: center;
    margin-top: 90px; /* avant 110px → maintenant 2× */
    white-space: nowrap; /* 1 ligne */
    
    
  }

  .textecarousel {
    top: auto;
    transform: translateX(-50%);
    text-align: center;
    margin-top: 150px; /* avant 160px → maintenant 2× */
    max-width: 260px; /* 2 lignes propres */
    line-height: 1.3;
  }

}


.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr; /* assure la même hauteur pour chaque ligne */
  gap: 20px;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;      /* centre le texte sur plusieurs lignes */
  line-height: 1.2;        /* réduit l’espace entre les lignes */
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  top: 42rem;
}

@media (max-width: 480px) {
  .header {
    height: 100rem; /* prend toute la hauteur de l'écran */
    min-height: 600rem; /* s'assure qu'il ne soit pas trop petit */
  }

  .card {
    top: 42rem; /* décalage plus bas pour être entièrement visible */
  }
}




/* --- Images (à remplacer par les tiennes) --- */
.card:nth-child(1) { background-image: url('karting-18.jpg'); }
.card:nth-child(2) { background-image: url('simmulateur-2.jpg'); }
.card:nth-child(3) { background-image: url('flipper-4.jpg'); }
.card:nth-child(4) { background-image: url('billard-1.jpg'); }
.card:nth-child(5) { background-image: url('babyfoot-5.jpg'); }
.card:nth-child(6) { background-image: url('bar-1.jpg'); }
.card:nth-child(7) { background-image: url('cosy-8.jpg'); }
.card:nth-child(8) { background-image: url('IMG-20251204-WA0000.jpg'); }
.card:nth-child(9) { background-image: url('Capture\ d\'écran\ 2025-11-28\ 110346.png'); }
.card:nth-child(10) { background-image: url('Capture\ d\'écran\ 2025-11-28\ 110001.png'); }
.card:nth-child(11) { background-image: url('soirée.jpg'); }
.card:nth-child(12) { background-image: url('https://castres-olympique.com/wp-content/uploads/2025/03/1-4-min-scaled.jpg'); }


/* --- Filtre noir transparent --- */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.3s ease;
  border-radius: 15px;
}

.card:hover::after {
  background: rgba(0, 0, 0, 0.25);
}

.card:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.card span {
  position: relative;
  z-index: 1;
}


/* --- Réinitialisation globale --- */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* empêche la page de glisser sur le côté */
}

/* --- Bandeau club --- */
.club-banner {
  width: 100%;
  max-width: 100vw; /* limite à la largeur de la fenêtre */
  max-height: 600px; /* adapte selon ton design */
  overflow: hidden;
  box-sizing: border-box; /* évite les débordements avec le padding */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url("https://media.foot-national.com/18/2023/12/photo_article/849139/340567/1200-L-revel-psg-la-rencontre-se-jouera-au-stade-pierre-fabre-de-castres-off.jpg") 
              no-repeat center center;
  background-size: cover;
  color: white;
  padding: 40px 20px;
}

/* --- Contenu interne du bandeau --- */
.club-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  overflow: hidden; /* coupe tout dépassement interne */
}

/* --- Logo du club --- */
.club-logo img {
  max-width: 100%; /* empêche le dépassement */
  height: auto;
  display: block;
}

/* --- Texte du club --- */
.club-text {
  text-align: center;
  flex: 1;
}

.club-text h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.club-text p {
  font-size: 1rem;
  margin: 5px 0;
}

.club-text .extra {
  font-weight: bold;
  margin-top: 15px;
}

/* --- Logos des sports associés --- */
.sports-logos {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.sports-logos img {
  max-height: 50px;   /* limite en hauteur */
  width: auto;        /* garde les proportions */
  filter: none;       /* enlève le filtre qui les rend blancs */
  transition: transform 0.3s ease;
}

.sports-logos img:hover {
  transform: scale(1.1);
}


/* ==============================
   SECTION GLOBALE EN DEUX BLOCS
============================== */
.section-horaires {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ==============================
   STYLE DES BLOCS VISUELS
============================== */
.bloc.visuel {
  position: relative;
  flex: 1;
  min-width: 350px;
  max-width: 550px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bloc.visuel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  transition: transform 0.5s ease;
}

.bloc.visuel:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
}

/* ==============================
   CONTENU DU BLOC GAUCHE : HORAIRES
============================== */
.horaires-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  text-align: center;
}

.horaires-header {
  margin-bottom: 25px;
}

.horaires-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Bouton switch - même style que promo-btn */
#switch-btn {
  background: #ffeb3b;
  color: #111;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
#switch-btn:hover {
  background: #fdd835;
  transform: scale(1.05);
}

/* Listes horaires */
.horaires-container {
  overflow: hidden;
  position: relative;
}

.horaires-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  transition: all 0.6s ease;
  opacity: 0;
  transform: translateX(100%);
  text-align: center;
}

.horaires-container li {
  background: rgba(255, 255, 255, 0.15);
  margin: 8px 0;
  padding: 12px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  font-size: 1.1rem;
}

.horaires-container li strong {
  color: #ffeb3b;
}

.horaires-container ul.active {
  opacity: 1;
  transform: translateX(0);
}

.horaires-container ul.exit {
  opacity: 0;
  transform: translateX(-100%);
}

.hidden {
  display: none;
}

/* ==============================
   CONTENU DU BLOC DROIT : PROMO
============================== */
.promo-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  text-align: center;
}

.promo-content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.promo-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.promo-btn {
  background: #ffeb3b;
  color: #111;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.promo-btn:hover {
  background: #fdd835;
  transform: scale(1.05);
}

/* ==============================
   STYLE GLOBAL
============================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #111;
  color: #222;
}

/* ==============================
   SECTION CONTACT
============================== */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

/* ==============================
   FORMULAIRE (GAUCHE)
============================== */
.contact-form {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
  background: #111;

  /* Bordure */
  border: 2px solid #fff; /* 20px d'épaisseur, couleur blanche */
  border-radius: 20px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.contact-form h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 10px;
  color: green;
}

.subtitle {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

select,
input,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

select:focus,
input:focus,
textarea:focus {
  border-color: #ffeb3b;
  box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.3);
}

.input-row {
  display: flex;
  gap: 10px;
}

select,
input,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box; /* IMPORTANT */
}

textarea {
  height: 120px;
  resize: none;
}
/* ==============================
   BOUTON ENVOYER
============================== */
.submit-btn {
  background: green;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  align-self:center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
  background: #ffffff;
  transform: scale(1.05);
  color: green;
}

/* ==============================
   CARTE (DROITE)
============================== */
.contact-map {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 600px;
  border: none;
}



/* Footer global */
footer {
  background-color: rgb(0, 37, 0);
  color: white;
  font-family: Arial, sans-serif;
  padding: 50px 100px 50px 100px;
}

/* Conteneur principal */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px; /* espace entre blocs */
}

/* Bloc commun */
.footer-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Bloc logo centré */
.footer-logo {
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement */
}

.footer-logo img {
  width: 400px;
  height: auto;
}

/* Bloc Pages */
.footer-pages h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
  text-decoration: underline;
}

.footer-pages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-pages li {
  margin-bottom: 10px;
}

.footer-pages a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-pages a:hover {
  text-decoration: underline;
}

/* Bloc Contact / Réseaux */
.footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* espace entre icônes et image */
  height: 100%; /* prend toute la hauteur disponible */
}

.footer-contact .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-contact .social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.footer-contact .social-icons img:hover {
  transform: scale(1.2);
}

/* Image de karting dans le bloc contact */
.footer-karting img {
  width: 100%;       /* s’adapte à la largeur du bloc */
  max-width: 400px;  /* limite pour ne pas dépasser */
  height: auto;
  object-fit: contain;
  margin-top: 10px;
}

.footer-bottom{
  margin-top: 30px;
  text-align: center;
}

/* --------------------- */
/*      RESPONSIVE       */
/* --------------------- */

@media (max-width: 480px) {

  footer {
    padding: 30px 20px;
  }

  /* On empile les blocs */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  /* Bloc Logo */
  .footer-logo img {
    width: 250px;  /* taille réduite pour mobile */
  }

  /* Titres */
  .footer-pages h3,
  .footer-contact h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  /* Pages */
  .footer-pages ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-pages a {
    font-size: 14px;
  }

  /* Bloc contact */
  .footer-contact {
    align-items: center;
  }

  /* Icônes réseaux : centrées */
  .footer-contact .social-icons {
    justify-content: center;
    gap: 12px;
  }

  .footer-contact .social-icons img {
    width: 28px;
    height: 28px;
  }

  /* Image karting : centrée et réduite */
  .footer-karting img {
    max-width: 260px;
    margin-top: 20px;
  }

  /* Bas de page */
  .footer-bottom {
    margin-top: 20px;
    font-size: 12px;
  }
}


/* Burger menu - mobile */
.burger {
  display: none; /* desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1200;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Menu mobile */
@media (max-width: 768px) {
  .burger { display: flex; }

  .sticky-header nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 220px;
    height: 100%;
    background-color: rgba(2,125,23,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    transform: translateX(100%); /* caché à droite */
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
  }

  .sticky-header nav.show {
    transform: translateX(0); /* visible */
  }

  .sticky-header nav ul.menu {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
  }

  /* Burger ↔ croix */
  .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}


@media (max-width: 768px) {
  /* Header plus compact */
  .header {
    height: 100vh;
    min-height: 600px;
  }
  
  .titre {
    font-size: 1.5rem;
    white-space: normal;
    padding: 0 20px;
  }
  
  .petittitre {
    font-size: 1.2rem;
    top: 25%;
  }
  
  .titre {
    top: 35%;
  }
  
  .textecarousel {
    top: 50%;
    padding: 0 20px;
  }
  
  .textecarousel h1 {
    font-size: 1.1rem;
  }
  
  .decouvrir {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  
  /* Gallery 2 colonnes */
  .gallery {
        display: none; /* La galerie disparaît */
  }
  
  .card {
    font-size: 0.9rem;
  }
  
  /* Bandeau événements */
  .bandeauévènements {
    width: 90%;
    font-size: 0.9rem;
    padding: 8px;
    top: 80px;
  }
  
  /* Sticky header mobile */
  .sticky-header {
    padding: 10px 15px;
  }
  
  .sticky-header .logo {
    height: 40px;
  }
  
  /* Navigation mobile */
  .sticky-header nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: rgba(0, 61, 10, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  }
  
  .sticky-header nav.show {
    transform: translateX(0);
  }
  
  .sticky-header nav ul.menu {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .sticky-header nav .menu li {
    width: 100%;
  }
  
  .sticky-header nav .menu a {
    display: block;
    padding: 12px 20px;
    font-size: 1.1rem;
    width: 100%;
    border-radius: 12px;
  }
  
  /* Burger menu visible */
  .burger {
    display: flex;
    position: relative;
    z-index: 1200;
  }
  
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media (max-width: 480px) {
  .header {
    height: 90vh;
    min-height: 550px;
  }
  
  .titre {
    font-size: 1.3rem;
  }
  
  .petittitre {
    font-size: 1rem;
  }
  
  .textecarousel h1 {
    font-size: 0.95rem;
  }
  
  .gallery {
    top: 32rem;
    gap: 10px;
  }
  
  .card {
    font-size: 0.8rem;
    padding: 8px;
  }
  
  .bandeauévènements {
    width: 95%;
    font-size: 0.8rem;
    padding: 6px;
  }
  
  .sticky-header nav {
    width: 100%;
    padding: 15px;
  }
}

/* ==============================
   BLOC VUE 3D
============================== */
.section-3d {
  width: 100%;
  max-width: 1100px;
  margin: 100px auto; /* espace haut/bas */
  text-align: center;
  padding: 0 20px;
}

.titre-3d {
  color: green;
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Conteneur style "comme les autres trucs" */
.iframe-3d-container {
  background: #111;

  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

  display: flex;
  justify-content: center;
  align-items: center;
}

.iframe-3d-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 15px;
}


@media (max-width: 480px) {

  .section-3d {
    padding: 0 10px;
    margin: 50px auto;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .iframe-3d-container {
    padding: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .iframe-3d-container iframe {
    width: 100%;
    height: 260px;
    border: none;
    border-radius: 12px;
    display: block;
  }

}





