@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #ff0147;
  --secondary-color: #212429;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#headingimage {
  background-color: rgb(24,27,34);
  background-image: url("assets/bg1.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.nav__logo img {
  display: flex;
  max-width: 100%;
}

.nav__logo span {
  display: none;
}

#lgslc {
  display: inline;
  margin: 20px;
  border: none;
  background: none;
  color: white;
  background-color: red;
}


.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  top: 65px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--primary-color);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  font-size: 1.2rem;
  color: var(--white);
}

.nav__links a:hover {
  color: var(--secondary-color);
}

.header__container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-block: 5rem 2rem;
  padding-inline: 1rem;
  display: grid;
  gap: 2rem;
}

.header__image img {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  display: flex;
}

.header__content {
  overflow: hidden;
  text-align: center;
}

.header__content h2 {
  position: relative;
  isolation: isolate;
  max-width: fit-content;
  margin-left: auto;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-color);
  text-align: right;
}

.header__content h2::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translate(calc(-100% - 1rem), -50%);
  height: 2px;
  width: 150%;
  background-color: var(--white);
}

.header__content h1 {
  font-size: 5rem;
  font-weight: 600;
  color: var(--white);
  line-height: 5rem;
}

.h1__span-1 {
  font-size: 3rem;
  color: var(--primary-color);
}

.h1__span-2 {
  font-size: 2rem;
  font-weight: 400;
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.header__content .btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.header__content .btn:hover {
  color: var(--primary-color);
  background-color: var(--white);
}

.socials {
  padding-block: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.socials a {
  font-size: 1.5rem;
  color: var(--text-light);
}

.socials a:hover {
  color: var(--primary-color);
}

.header__bar {
  font-size: 0.9rem;
  color: var(--text-light);
}

.loadingpage{
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to right, #2c5364, #203a43, #0f2027);

  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  color: #191654;
}




@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__logo span {
    display: flex;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    gap: 3rem;
    background-color: transparent;
    transform: none;
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .header__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    padding-block: 2rem;
  }

  .header__image {
    grid-area: 1/2/2/3;
  }

  .header__content {
    text-align: left;
  }

  .socials {
    justify-content: flex-start;
  }
}

#svglogturn{
  width: 400px;
  opacity: 0;
  animation: draw 8s ease;
}

@keyframes draw {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 100;
  }
  100% {
    opacity: 0;
  }
}

.loadingnamecont {
  height: 60px;
  overflow: hidden;
}

.logoname {
  color: #fff;
  font-size: 50px;
  letter-spacing: 35px;
  text-transform: uppercase;
  margin-left: 20px;
  font-weight: bolder;
}

#headmainseperator{
  height: 450px;
  background: rgb(24,27,34); 
  background-image: linear-gradient(#181b22 19%, white);
}

#titrehistorique {
  font-size: 75px;
  text-align: center;
  overflow: hidden;
  position: sticky;
}

.sticky-parent {
  /* Keep substantial scroll room */
  height: 500vh;
}

.sticky {
  overflow: hidden;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
}

.scroll-selection {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 100vh;
  /* Ensure enough width for the large image */
  width: auto;
  will-change: transform;
  display: flex;
  align-items: center;
}

.scroll-selection img {
  /* Set a minimum width for desktop */
  min-width: 300vw;
  height: 90vh;
  object-fit: contain;
  /* Preserve image quality */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  margin-left: 50px;
}

/* Media queries for different screen sizes */
@media (max-width: 768px) {
  .scroll-selection img {
    /* Adjust size for mobile - still keep it large */
    min-width: 150vw;
    height: 70vh;
  }
  
  .sticky-parent {
    /* Adjust scroll distance for mobile */
    height: 250vh;
  }
}

#comedtopseperator {
  height: 250px;
  background: rgb(24,27,34); 
  background-image: linear-gradient(white 19%, #f5e3e4);
}

#musicaldiv {
  background-color: #f5e3e4;
}

#musicaldiv h1 {
  font-size: 75px;
  text-align: center;
  vertical-align: top;
  color: #ff0147;
}

#comedyshowcase {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5e3e4;
  min-height: 700px;
}

#containpalets {
  display: block;
}

.card_list {
  display: flex;
  justify-content: center;
  align-content: center;
}

.card_list .card_item {
  display: inline-block;
  padding: 10px;
}
.card_list .card_item .itemcontent {
  color: #171212;
  width: 315px;
  padding-top: 5px;
  padding-bottom: 25;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-radius: 14px;
  backdrop-filter: blur(44px);
  background: rgba(187, 187, 187, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card_list .card_item .comdimg {
  width: 305px;
  height: 420.062px;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 4px;


}

.card_list .card_item .timedatecomed {
  padding-bottom: 10px;
}

#comedbotseperator {
  height: 180px;
  background-image: linear-gradient(#f5e3e4 19%, #ff011a);
}

#comedmore{
  font-size: 45px;
  text-align: center;
  vertical-align: top;
}

#bigtg{
  background-color: #ff011a;
  display: flex;
  
  align-items: center;
  justify-content: center;
}

#bigthingcontent {
  display: flex;
  flex-direction: column;
}

#bigtgtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 55px;
  font-size: 75px;
  text-align: center;
}

#instaembed {
  display: flex;
  justify-content: center;
  align-items: center;
}

#bigtgseperator {
  height: 300px;
  background-image: linear-gradient(#ff011a, white 19%);
}

#staffcontainer {
  display: flex;
  justify-content: center;
  align-content: center;
  height: 80vh;

}

#kmtit {
  font-size: 4vw;
  vertical-align: top;
  border-radius: 14px;  
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding-left: 5px;
}

#jddesc {
  margin-top: 10px;
  min-width: 30vw;
  max-width: 50vw;
  backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#doumaimages {
  position : relative;
}

#doumaimages #dmg1 {
  position: absolute;
  z-index: -1;
  right: 58vw;  
  width: 20vw;
  bottom: -65vh;
} 

#doumaimages #dmg2 {
  position: absolute;
  width: 25.5vw;
  left: 55vw;
  bottom: -12vh;
  z-index: -1;
}
#doumaimages #dmg3 {
  position: absolute;
  width: 25.5vw;
  right: -2vw;
  top: 18.5vh;
  z-index: -1;
}
#doumaimages #dmg4 {
  position: absolute;
  width: 25.5vw;
  bottom: 20vh;
  left: -5vw;
  z-index: -1;
}

#seperator5 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#dmg5 {
  position: absolute;
  width: 20vw;
  bottom: -37vh;
  left: 10vw;
  
}

#historysep {
  height: 450px;
  background-image: linear-gradient(white, #181b22 80%);
}

#mapcontent {
  
  background-color: #181b22;
  padding-bottom: 30px;


}


@media screen and (orientation: portrait){
  #mapbox {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    min-height: 800px;
    margin-bottom: 100px;
    
  }
  }

@media screen and (orientation: landscape){
#mapbox {
  display: flex;
  align-content: center;
  justify-content: center;
  
}
}



@media screen and (orientation: portrait){
  #map { 
    margin-left: 25px;
    height: 300px; 
    width: 300px;
    z-index: 0;
  }
}

@media screen and (orientation: landscape){
  #map { 
    height: 350px; 
    width: 360px;
  }
}



@media screen and (orientation: portrait){
  #mapdivider hr{
  height:  5px;
  width: 340px;
  margin-top: 15px;
  background-color: red;
  color: red;
  border-color: transparent;
  margin-left: 20px;

  }
  }

@media screen and (orientation: landscape){
#mapdivider hr{
  margin-top: 8px;
  margin-left: 45px;
  margin-right: 45px;
  height: 340px;
  width: 5px;
  background-color: red;
  color: red;
  border-color: transparent;
}
}

#maptext {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  overflow: hidden;
  margin-bottom: 2rem;
  color: var(--text-light);
  max-width: 700px;
}

@media screen and (orientation: portrait){
  #maptitlevert {

    color: white;

    margin-bottom: 15px;
    margin-left: 15px;
  } 
}

@media screen and (orientation: portrait){
  #maptithorz{
    display: none;
  }
}


@media screen and (orientation: landscape){
  #maptitlevert{
    display: none;
  }

}

@media screen and (orientation: landscapee){
  #maptithorz{
    color: white;
  }
}

#maptext p {
  margin: 10px;
}

#contactformcontainer {
  background-color: #181b22;
  display: flex;
  justify-content: center;
  align-content: center;
}

#contactform {
  margin: 43px;
}

#contactformitems h1 {
  color : white;
  display: flex;
  justify-content: center;
  align-content: center;
}

#contactformitems form {
  max-width: 50vw;
}

#contactformitems form button {
  font-size: 32px;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}


#submitctnbtn {
  background: none;
  border: none;
  color: #ea1d6f;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

#submitctnbtn:hover {
  color: #b9134f;
}

footer {
  background-color: #14171f;
  padding: 15px;
  color: white;
}