/* Fonts */
:root {
  --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

/* Color */
:root {
  --color-rouge: #e70000;
}

html {
  height: 100%;
  background-color: #353535;
}

/*Scroll Bar Général*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #b1b1b1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8c8c8c;
}

body {
  margin: 0;
  height: 100%;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.9;
  color: #646464;

  background-image: url("/assets/img/wallpaper/fondRhone.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

main {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  background-image: url("/assets/img/wallpaper/fondRhone.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

main:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

main .fxt-main-content {
  padding: 20px 30px;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  justify-content: space-around;
  /*A REVOIR
  PROBLEM : WHITE BAR sur téléphone à cause de la navbar
  Solution : utiliser vh ICI mais cela fait du scroll...
  SINON : mettre un background au html*/
  min-height: 95vh;
}

/********************************
-------- DIV DANS LA PAGE -------
*********************************/
.logo {
  margin-bottom: 25px;
  width: 350px;
}

.logo img{
  width: 100%;
}

h2{
  margin: 0;
  margin-bottom: 5px;
  font-family: var(--font-secondary);
  font-size: 28px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-rouge);
  letter-spacing: 10px;  
}

h1.h1bis{
  font-size: 45px;
}

h1{
  margin: 0;
  margin-bottom: 5px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.4;
  color: #fff;
}

p{
  margin: 0;
  margin-top: 10px;
  color: #fff;
  width: 90vw;
}

p.copyright{
  color:#818181;
}

p.subtitle span{
  font-weight: 600;
  color: #ff7d7d;
}

p.subtitle span.blue{
  font-weight: 600;
  color: #55c7ff;
}
/********************************
-------- COUNTDOWN -------
*********************************/
ul{
  padding: 0;
  margin-bottom: 0;
}

li {
  display: inline-block;
  font-size: 1.5em;
  list-style-type: none;
  padding: 1em;
  text-transform: uppercase;
  color: #ffffff;
}

li span.bis{
  font-size: 45px;
}

li span {
  display: block;
  font-size: 68px;
  line-height: 1;
  font-weight: 600;
  color: #ffe25e;
  font-family: var(--font-secondary);
  text-align: center;
}

.chiffre5{
  color: #ffc75e;
  transform: scale(1.5);
  transition: transform 4.5s ease-in-out !important;

}

.chiffre4{
  color: #ff7c35;
}

.chiffre3{
  color: #ff6135;
}

.chiffre2{
  color: rgb(255, 53, 53);
}

.chiffre1{
  color: #ff0000;
}

.emoji {
  display: none;
  padding: 1rem;
}

.emoji span {
  font-size: 4rem;
  padding: 0 .5rem;
}

form{
  margin-bottom: 36px;
  /*width: 90vw;*/
}

form .mdpField{
  border: 1px solid #353535;
  max-width: 300px;  
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 15px;
  color: #fff;
  padding: 10px 20px;
  border-radius: 2px;
  margin-right: 20px;
}

form .mdpField:focus{
  outline: none;
  border: 1px solid var(--color-rouge);
}

form .mdpField:active{
  border: 1px solid var(--color-rouge);
}

form .password-toggle-icon {
  position: relative;
  top: 2px;
  right: 53px;
  cursor: pointer;
  user-select: none;
}

form .password-toggle-icon i {
  font-size: 18px;
  line-height: 1;
  color: #565656;
  transition: color 0.3s ease-in-out;
  margin-bottom: 20px;
  user-select: none;
}

form .password-toggle-icon i:hover {
  color: #fff;
}

form .submit, a.entrerBtn{
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  box-shadow: none;
  border: 1px solid var(--color-rouge);
  border-radius: 2px;
  background-color: transparent;
  padding: 9px 35px;
  min-width: 180px;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

form .submit:hover, a.entrerBtn:hover{
  background-color: #e70000;
  color: #000000;
}

form .submit:focus, a.entrerBtn{
  outline: none;
}

a.entrerBtn{
  text-decoration: none;
  display: none;
  margin: auto;
  margin-bottom: 30px;
  width: 200px;
}

.deaff{
  opacity: 0 !important;
}

.cache{
  display:none;
}

.active{
  display: block !important;
  opacity: 0 !important;  
}

.aff{
  opacity: 1 !important;
  transition: opacity 2s ease-in-out !important;
}

iframe{
  width: 460;
  height: 255;
}


/********************************
-------- RESPONSIVE -------
*********************************/
@media only screen and (max-width: 1199px) {
  h2 {
    font-size: 26px;
    letter-spacing: 10px;
  }

  h1 {
    font-size: 46px;
  }

  li span{
    font-size: 58px;
  }
}

@media only screen and (max-width: 991px) {
  h2 {
    font-size: 22px;
    letter-spacing: 8px;
  }

  h1, h1.h1bis {
    font-size: 41px;
  }

  li span{
    font-size: 52px;
  }
}

@media only screen and (max-width: 767px) {
  .logo{
    margin-bottom: 20px;
  }
  h2 {
    font-size: 20px;
    letter-spacing: 6px;
  }

  h1, h1.h1bis {
    font-size: 36px;
  }

  p.subtitle{
    margin-bottom: 20px;
  }

  ul{
    margin-bottom: 15px;
  }

  li{
    font-size: 1.2rem;
  }

  li span{
    font-size: 50px;
  }

  form{
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 575px) {
  main .fxt-main-content {
    padding: 20px 10px;
  }

  h2 {
    font-size: 18px;
    letter-spacing: 4px;
  }

  h1, h1.h1bis {
    font-size: 32px;
  }

  ul{
    margin-bottom: 18px;
  }
  
  li{
    font-size: 1rem;
  }

  li span, li span.bis{
    font-size: 41px;
  }
}

@media only screen and (max-width: 484px) {
  h1, h1.h1bis {
    font-size: 26px;
  }  

  p{
    font-size: 14px;
  }

  .logo {
    margin-bottom: 25px;
    width: 80%;
  }

  form .mdpField{
    font-size: 13px;
    padding: 10px 15px;
    max-width: 30vw;
    margin-right: 20px;
  }

  form .submit{
    font-size: 13px;
    padding: 10px 15px;
    min-width: 30vw;
  }

  li{
    font-size: 3.3vw;
  }

  li span, li span.bis{
    font-size: 8.6vw;
  }

  a.entrerBtn{
    margin-bottom: 50px;
  }

}

@media only screen and (max-width: 320px) {
  h1,h1.h1bis {
    font-size: 8vw;
  }

  p{
    font-size: 4.5vw;
  }

  .logo {
    margin-bottom: 25px;
    width: 90%;
  }

  form .mdpField{
    font-size: 3.6vw;
    padding: 10px 15px;
    max-width: 22vw;
    margin-right: 20px;
  }

  form .submit{
    font-size: 3.6vw;
    padding: 10px 15px;
    min-width: 22vw;
  }

  li{
    font-size: 3vw;
  }

  li span, li span.bis{
    font-size: 8vw;
  }

  .video{
    width: 90%;
  }
}

/*****
/* FIREWORKS
/**************/

.fireworks{
  position: fixed;
  top: 0;
  width: 100vw;
  height: 93vh;
}

#teaser{
  margin: auto;
  width: min(60vh,90vw);
  margin-bottom: 30px;
} 

@media only screen and (min-width: 290px) {
  #teaser iframe{
    aspect-ratio: 16 / 9;
  } 
}