/** @format */
@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@700&family=Montserrat: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");


@font-face {
  font-family : "ChemyRetro";
  src : url("../fonts/chemyretro.otf");
}


@keyframes liveAnimation {
  0% {
    background-color: #E76B3A;
    color: #141413;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 20px 5px #E76B3A;
  }
  100% {
    border: 1px solid #E76B3A;
    padding: 0.8vw;
    color: #E76B3A;
    border-radius: 10px;
    margin-left: 1vw;
  }
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5vw;
  padding: 0 4vw 0 4vw;
}

.header svg {
  width: 9vw;
  margin: 0.5vw 0 0.5vw 1vw;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
}

a {
  text-decoration: none;
}

nav > ul > li,
.nav-btn > ul > li {
  display: inline-flex;
}

.menu > nav > ul > li > a {
  color: #ffffff;
  font-size: 16px;
  font-family: 'Celebes', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  word-wrap: break-word;
  margin: 0 1vw 0 1vw;
  display: inline-block;
  line-height: 18.43px;
}

.menu > nav > ul > li > a:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #1c1c1c;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.menu > nav > ul > li > a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-btn > ul > li > a {
  font-size: 16px;
  font-family: 'Celebes';
  font-weight: 600;
  text-transform: uppercase;
  word-wrap: break-word;
  line-height: 18.43px;
  margin: 0.1vw;
}

#connexion {
  border: 1px solid #FCE8C3;
  padding: 0.8vw;
  color: #FCE8C3;
  border-radius : 10px;
}

#connexion:hover {
  background-color: #FCE8C3;
  color: #141413;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 20px 5px #FCE8C3;
}

#deconnexion {
  border: 1px solid #FCE8C3;
  padding: 0.8vw;
  color: #FCE8C3;
}

#deconnexion:hover {
  background-color: #FCE8C3;
  color: #FCE8C3;
  transition: all 0.3s ease-in-out;
}

#live {
  border: 1px solid #E76B3A;
  padding: 0.8vw;
  color: #E76B3A;
  border-radius: 10px;
  margin-left: 1vw;
  animation: 1s ease-in-out 1s 2 liveAnimation;
}

#live:hover {
  background-color: #E76B3A;
  color: #141413;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 20px 5px #E76B3A;
}

#live:hover::after {
  content: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' width='20'%3E%3Ccircle cx='10' cy='10' r='8' fill='%23141413' /%3E%3C/svg%3E");
  display: inline-block;
  margin-left: 10px;
  margin-top: -2px;
  vertical-align: middle;
  transition: all 0.3s ease-in-out;
}

#live::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' width='20'%3E%3Ccircle cx='10' cy='10' r='8' fill='%23E76B3A' /%3E%3C/svg%3E");
  display: inline-block;
  margin-left: 10px;
  margin-top: -2px;
  vertical-align: middle;
}

/* Dropdown Button */
.dropbtn {
  background-color: transparent;
  border: 1px solid #FCE8C3;
  padding: 0.8vw;
  color: #FCE8C3;
  border-radius : 10px;
  font-size: 16px;
  font-family: 'Celebes';
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.dropbtn:hover,
.dropbtn:focus {
  background-color: #FCE8C3;
  color: #141413;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 20px 5px #FCE8C3;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  /* background-color: #f1f1f1; */
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border: solid 1px #FCE8C3;
  border-radius: 15px;
  margin-top: 5px;
  margin-left: -35px;
}

.dropdown-content a {
  color: #FCE8C3;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: 'Celebes', sans-serif;
}

.dropdown a:hover {
  background-color: #FCE8C3;
  color: #141413;
  transition: all 0.3s ease-in-out;
}

.show {
  display: block;
}

#btndeco {
  background-color: #E76B3A;
  color: white;
}


@media screen and (max-width: 767px) {
    .header {
        flex-direction: column;
        padding: 0;
        background-color: #1c1c1c;
        height: auto;
        padding-bottom: 2vw;
        position: absolute;
        width: 100%;
        top: 0;
        z-index: 10;
    }

    .menu, .nav-btn {
        display: none;
    }

    #icons {
        display: block;
    }

    #icons::before {
        content: "\2630";
        color: #FCE8C3;
        font-size: 24px;
    }

    .display {
        display: flex;
    }

    .logo svg{
        width: 20vw;
    }

    .dropdown-content {
        background-color: #1c1c1c;
    }




        /*   ******************     */
        /*   *                *     */
        /*   * ON CLICK  MENU *     */
        /*   *                *     */
        /*   ******************     */

    .active .menu {
        display: flex;
        margin-top: 2vw;
    }

    .active .menu, .active .menu nav {
        width: 100%;
    }

    .active .menu nav ul{
        display: flex;
        flex-direction: column;
        gap: 5vw;
        width: 100%;
    }

    .active .menu li {
        width: 100%;
    }

    .active .menu ul li a {
        width: 100%;
        text-align: center;
        font-size: 24px;
    }

    .active .nav-btn {
        width: 100%;
        margin: 5vw 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .active .nav-btn ul li:last-of-type {
        margin-left: 2vw;
    }

    .active .nav-btn ul li:first-of-type div {
        margin-left: 1vw;
    }

    .active .nav-btn a, .active .nav-btn button {
        padding: 3vw 2vw !important;
        font-size: 24px !important;
        width: 100% !important;
    }

    .active #icons::before {
        content: "\2715";
    }


}