@charset "UTF-8";
html {
  overflow-x: hidden;
}

body {
  color: #ccc;
  font-family: "Oswald", sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.625em;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  background-color: #222222;
  overflow-x: hidden;
}

.countdown {
  display: flex;
  justify-content: center;
  background-color: #333; /* Fond sombre comme sur l'image */
  padding: 20px;
  border-radius: 10px;
  color: #fff;
}
@media (max-width: 900px) {
  .countdown {
    margin: 2rem;
  }
}

.time-segment {
  text-align: center;
  margin: 0 10px;
}

.time {
  background-color: #444; /* Fond des cercles pour les nombres */
  border: 3px solid white; /* Bordure jaune */
  border-radius: 50%; /* Rend les divs circulaires */
  display: inline-block;
  width: 80px; /* Taille des cercles */
  height: 80px;
  line-height: 74px; /* Centrage vertical du texte */
}
@media (max-width: 900px) {
  .time {
    width: 40px;
    height: 40px;
    line-height: 35px;
  }
}

.countdown-wrapper {
  display: flex;
  flex-direction: column;
  background-color: #333;
  justify-content: flex-start;
  padding: 5rem;
}

.countdown-wrapper h1 {
  color: white; /* Couleur du texte pour le titre */
  font-weight: 400;
  text-transform: uppercase;
  background-color: #333;
  padding: 1rem;
  border-radius: 20px;
  margin-bottom: 20px; /* Espace en dessous du titre */
}

.gridHeroe {
  background-image: url(../img/CANIK-MC9-PRIME.jpg) !important;
}

#header {
  height: max-content;
  background: none;
}
#header .imgcontainer {
  width: 100vw;
  display: flex;
  flex-direction: column;
}
#header .imgcontainer img {
  width: 20rem;
  padding: 2rem;
}
@media (max-width: 900px) {
  #header .imgcontainer {
    align-items: center;
  }
  #header .imgcontainer img {
    width: 50%;
    padding: 1rem;
  }
}

#dates {
  display: flex;
  width: 100vw;
  flex-direction: column;
  background-color: black;
}

.Dates .event-list {
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  transform: translateX(50px);
  gap: 6em;
  padding: 2em;
  margin-bottom: 5rem;
}

.Dates .eventDone::after {
  content: "UN SUCCÈS !";
  background-color: #b60000;
  font-size: 1.25em;
  color: white;
  position: absolute;
  transform: rotate(-8deg) translate(-2em, -0.5em);
  padding: 0.25em 1em;
  border-radius: 1em;
  z-index: 999;
}

.Dates .event-info::before {
  content: "";
  background: url(../img/DemieCarte_blanche.png);
  width: 90px;
  height: 150px;
  position: absolute;
  z-index: -1;
  margin-left: -65px;
  margin-top: -25px;
}

.Dates .event-info h1 {
  font-size: 1.5em;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: white;
  margin-top: -0.15em;
  margin-left: 2rem;
}

.Dates .event-info h2 {
  font-size: 1.25em;
  font-weight: 600;
  color: grey;
  margin-left: 2rem;
}

.Dates .event-info p {
  font-size: 1.25em;
  font-weight: 400;
  margin-top: -0.15em;
  color: red;
  margin-left: 2rem;
}

.Dates .toCome h2,
.Dates .toCome h1,
.Dates .toCome p {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-bottom: 7px;
}

.Dates > h1 {
  color: white;
  font-weight: 600;
  text-align: center;
  margin: 2em 0 0.5em 1.2em;
}

footer {
  background-color: black;
  width: 80vw;
  height: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  border-radius: 20px 20px 0px 0px;
}
footer a {
  color: white;
}

#caniktourexplain {
  background-color: #222222;
  display: flex;
  padding: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  #caniktourexplain {
    display: flex;
    flex-direction: column;
  }
}
#caniktourexplain .right-text {
  padding: 20px;
}
@media (max-width: 900px) {
  #caniktourexplain iframe {
    width: 80vw;
    border-radius: 1rem;
  }
}

#partners {
  background: none;
  padding: 5em 0;
  display: flex;
  flex-direction: row;
  width: 100vw;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  background-color: black;
}
#partners .title {
  margin-bottom: 2rem;
}
#partners .title h4 {
  color: grey;
}
#partners .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#partners .container .logocontainer {
  display: grid;
  grid-template-columns: 50% 50%;
}
#partners .container .logocontainer a {
  display: flex;
  align-items: center;
  justify-content: center;
}

#logocanik {
  width: 53%;
}

#logocolombi {
  width: 60%;
}

#canik .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}
#canik h1 {
  margin: 2rem;
  text-align: center;
}
#canik p {
  padding: 2rem;
  font-size: 16px;
  text-align: center;
}
#canik a {
  display: flex;
  border-radius: 20px;
  color: white;
  font-size: 1rem;
  width: 8rem;
  height: 2rem;
  margin-bottom: 3rem;
  background-color: red;
  align-items: center;
  justify-content: center;
}