/* Anton */
@font-face {
  font-family: 'Anton';
  src: url('./fonts/Anton-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Changa One */
@font-face {
  font-family: 'Changa One';
  src: url('./fonts/ChangaOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Changa One';
  src: url('./fonts/ChangaOne-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* IBM Plex Sans */
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'IBM Plex Sans';
  font-size: 0.9rem;
  /*   background-image: linear-gradient(90deg, rgb(238, 238, 238), white 50%, rgb(238, 238, 238)); */
  /* background-image: url(img/background.png);
     background-size: 100%; */
}

html {
  font-size: 2.5vh;
}

.main-container {
  min-height: 100vh;
  height: 100%;
}

#main-content {
  height: 100%;
}

.title-tile {
  position: absolute;
}

.title-tile h3,
.title-tile h5 {
  font-family: "Anton";
  margin-bottom: -0.3rem;
}

.title-tile span {
  font-size: 0.7rem;
}

.countdown-container {
  width: 100%;
}

/* Pour que align-items et justify-content fonctionnent, il faut définir display: flex */
.countdown-case {
  display: flex;
  margin: 0 0.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 2px;
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  width: 3rem;
  height: 3.4rem;
  background: #f4f4f4;
}

#countdown span {
  font-family: "Anton";
  /* font-size: 0.9rem; */
  letter-spacing: 0.1rem;
}

.countdown-text {
  /* writing-mode: vertical-lr;
     text-orientation: upright;
     margin: 0.5rem 0 0 0; */
  font-size: 0.5rem;
  margin: 0;
}

#waibee-content .title-wrapper {
  margin-top: 14.3rem;
}

/* Animation bouton waibee heybee */
.wrapper {
  position: relative;
  height: 2rem;
}

.hex-container {
  width: 2.5rem;
  height: 2.9rem;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.hex-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wrapper::before,
.wrapper::after {
  content: "";
  position: absolute;
  top: -0.2rem;
  left: -0.1rem;
  width: 1.9rem;
  height: 3.3rem;
  z-index: -1;
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1.4rem solid rgba(154, 154, 154, 0.22);
  pointer-events: none;
  -webkit-animation: pulse 3s infinite;
  animation: pulse 3s infinite;
  transform-origin: center center;
}

/* Préfixes pour les animations */
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  80% {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
    opacity: 0.3;
  }
  100% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  80% {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
    opacity: 0.3;
  }
  100% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Animation transition waibee heybee */

.wrapper::after {
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}

.fade-transition {
  transition: opacity 0.5s ease;
  -webkit-transition: opacity 0.5s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.visible {
  opacity: 1;
  pointer-events: auto;
}

/*SM*/
@media only screen and (max-width: 576px) {
  .firm-infos h2 {
    margin-top: 1.9rem;
    margin-left: 0.2rem !important;
  } 

  .phone-mail {
    margin-left: 0 !important;
  }

}

/*MD*/
@media only screen and (max-width: 980px) {
  #main-content {}

  .firm-infos {
    margin-left: 0 !important;
  }

  /* 
  .firm-infos a {
    margin-top: 4rem;
  } */

  #tiles-top-center {
    margin-left: -8.2rem !important;
    margin-top: 0 !important;
  }

  .title-wrapper {
    margin-top: -1.8rem !important;
  }

  #waibee-content .title-wrapper {
    margin-top: -6.9rem;
  }

  .title {
    margin-top: 0 !important;
    margin-left: -1.2rem;
    margin-bottom: 0.7rem;
  }

  

  .phone-mail p {
    margin-left: 0 !important;
  }

  #countdown {
    margin-bottom: 1rem;
  }

  .countdown-container {
    position: inherit !important;
    width: 100%;
  }

  #tiles-bottom-center {}

  #heybee-content,
  #waibee-content {
    margin-top: 10.3rem;
  }

  .tiles-center-left-wb {
    bottom: -19rem !important;
  }

  .wrapper {
    margin: 1rem 0;
  }

  .img-qrcode {
    display: none;
  }
}
