/* 
        Primary colors: 
        Secondary colors: 
        Typography: 
*/

/* General CSS */
@font-face {
  font-family: "Merriweather_24pt-Regular";
  src:
    url("../font/Merriweather_24pt-Regular.woff2") format("woff2"),
    url("../font/Merriweather_24pt-Regular.ttf") format("truetype");
  font-display: swap;

  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "RobotoSlab-Bold";
  src:
    url("../font/RobotoSlab-Bold.woff2") format("woff2"),
    url("../font/RobotoSlab-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;

  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --orange: #ff8000;
  --black: #100800;
  --white: #ffffff;
}
body {
  overflow-x: hidden;
  font-family: "Merriweather_24pt-Regular", sans;
  padding-top: 80px; /* adjust to your header height */
}
a {
  text-decoration: none;
  transition:
    color 1s,
    background-color 1s;
}
p {
  font-size: 15px;
  margin-bottom: 15px;
}
p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "RobotoSlab-Bold", sans;
}

.container {
  width: 90%;
  margin: 0 auto;
}
ul {
  list-style: none;
}
/* Buttons */

/* header */

.desktop-menu {
  display: none;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 20px;
  background: #111;
  color: var(--white);

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  /* Smooth transitions ONLY */
  transition:
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    padding 0.3s ease;
}

/* On scroll */
.header.scrolled {
  padding: 5px 10%;
  color: var(--white);
  background: rgba(17, 17, 17, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.header.scrolled > .desktop-menu a {
  color: var(--orange);
}
.header.scrolled > .desktop-menu a:hover {
  color: var(--white);
}
.menu-btn {
  font-size: 26px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}
.logo img {
  width: 100px;
}
/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--orange);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 9999;
  padding: 20px;
}

.mobile-menu ul {
  list-style: none;
  margin-top: 100px;
  display: grid;
  grid-gap: 30px;
}
.mobile-menu a {
  text-decoration: none;
  color: #111;
  font-size: 22px;
}
.desktop-menu a:hover {
  color: var(--white);
}

/* Close Button */
.close-btn {
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--black);
  color: var(--white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Active State */
.mobile-menu.active {
  transform: translateX(0);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Sections */
#boj {
  margin: 50px 0;
  padding: 30px 0;
  scroll-margin-top: 50px;
}
#fij {
  margin: 50px 0;
  padding: 30px 0;
  scroll-margin-top: 50px;
}
#vendre_jeu {
  margin: 50px 0;
  padding: 30px 0;
  scroll-margin-top: 50px;
}
#telecharger_app {
  margin: 100px 0 50px 0;
  padding: 30px 0;
  scroll-margin-top: 50px;
  background-color: var(--orange);
}
#acheter_jeu {
  margin: 50px 0;
  padding: 30px 0;
  scroll-margin-top: 50px;
}
#faq {
  margin: 50px 0;
  padding: 30px 0;
  scroll-margin-top: 50px;
}

/* General */
.sec_title {
  margin-bottom: 40px;
}
.sec_title h3 {
  font-size: 40px;
  text-align: center;
  -webkit-text-stroke-color: var(--white);
  -webkit-text-fill-color: var(--black);
  -webkit-text-stroke-width: 1px;
  text-shadow: 2px 2px 0 var(--orange);
  position: relative;
  padding-bottom: 8px;
}
.sec_title h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  background-color: var(--orange);
  margin: 15px auto 0 auto;
}

.square_img {
  display: block;
  width: 100%;
  height: 350px;
}

.two_box {
  display: grid;
  grid-gap: 30px;
}
.pre_title {
  display: block;
  color: var(--orange);
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 4px;
}
.title_h4 {
  color: var(--black);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-align: center;
}
.title_h4_cstm {
  font-size: 30px;
}
.b_inner_cntr {
  text-align: center;
}
.title_h5 {
  font-size: 15px;
  text-align: center;
  margin-bottom: 15px;
}
.four_each p {
  font-size: 13px;
}
.four_each {
  text-align: center;
}
.four_each h5 {
  font-size: 18px;
  color: var(--orange);
  text-transform: capitalize;
  margin-bottom: 10px;
}
/* A propos */
.b_inner_pc {
  position: relative;
  -webkit-clip-path: polygon(0 10%, 10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
  clip-path: polygon(0 10%, 10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}
.border_pc {
  background-color: var(--orange);
  width: 5px;
  height: 70%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-0%, -50%);
}

/* Vendre */
.four_steps {
  display: grid;
  grid-gap: 30px;
}
.vendre_img {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 10px auto;
}
.h_inner {
  display: grid;
  grid-gap: 7px;
}
.h_each {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.h_heure {
  display: flex;
  grid-gap: 10px;
}
.horaires {
  margin-top: 40px;
}
.h_head {
  background-color: var(--orange);
  padding: 20px;
  -webkit-clip-path: polygon(0 20%, 5% 0, 100% 0, 100% 80%, 95% 100%, 0 100%);
  clip-path: polygon(0 20%, 5% 0, 100% 0, 100% 80%, 95% 100%, 0 100%);
}
.head_horaire {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}
.hr_divider {
  width: 70%;
  height: 1px;
  background-color: #ff800061;
  margin: 0 auto;
}
.s_jour {
  font-size: 19px;
  text-transform: capitalize;
  color: var(--orange);
  font-weight: 700;
}
.s_heure {
  font-size: 20px;
  color: var(--orange);
  font-weight: 700;
}
.s_heure_h {
  font-size: 14px;
  color: var(--orange);
  font-weight: 100;
  margin-left: 5px;
}
.hh_inner {
  display: flex;
}
.s_divider {
  color: #ff800054;
}

.fij_img {
  display: block;
  margin: 50px auto 30px auto;
}
/* Accordion */
.faq-accordion {
  display: grid;
  align-content: center;
  padding: 100px 0;
}

.faq-accordion-inner {
  display: grid;
  row-gap: 0.5rem;
}

.faq-accordion-title {
  transition: 0.2s;
  font-size: 17px;
  color: var(--black);
}

.faq-accordion-header {
  display: flex;
  column-gap: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
  align-items: baseline;
  justify-content: space-between;
}

.faq-accordion-desc {
  padding: 0.1rem 1rem;
}
.faq-accordion-desc:last-child {
  margin-bottom: 1rem;
}

.acc-icon {
  width: 15px;
  height: 15px;
  transition: 1s ease;
}

.faq-accordion-item {
  box-shadow: 0 2px 6px rgba(38, 38, 38, 0.1);
  border-radius: 0.25rem;
  position: relative;
  transition: all 1s ease;
}

.faq-accordion-item::after {
  content: "";
  width: 5px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0.25rem 0 0 0.25rem;
}

.faq-accordion-content {
  overflow: hidden;
  height: 0;
  transition: all 1s ease;
}

/*Rotate icon and add font weight to titles*/
.faq-accordion-open .acc-icon {
  transform: rotate(180deg);
  color: var(--orange);
}

.faq-accordion-open .faq-accordion-title {
  color: var(--orange);
}

/* Telcharger app */
.te_box {
  background-color: var(--orange);
  padding: 0px;
  width: 100%;
  padding: 130px 20px 100px 20px;
  display: grid;
  grid-gap: 30px;

  position: relative;
}
.te_box h6 {
  font-size: 25px;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
}
.img_phone {
  width: 100px;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pre_title_2 {
  color: var(--black);
}

.btns-store {
  display: grid;
  grid-gap: 10px;
  justify-content: center;
}
.btns-store img {
  width: 200px;
  transition: 0.5s ease;
}
/* Footer */
footer {
  background-color: #121010;
  padding: 70px 0 30px 0;
}
.s_hidden {
  display: none;
}
.logo_footer img {
  display: block;
  width: 150px;
}
.foo_inner p {
  color: #787878;
  padding-top: 20px;
  padding-bottom: 20px;
}
.sm_ul {
  display: flex;
  grid-gap: 30px;
}
.sm_ul li a {
  background-color: #292929;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}
.sm_ul li a i {
  color: var(--white);
  font-size: 17px;
}
.foo_inner2 {
  margin: 40px 0;
}
.foo_inner2:last-child {
  margin: 40px 0 0 0;
}
.foo_inner2 h6 {
  font-size: 23px;
  color: var(--white);
  text-transform: capitalize;
  margin-bottom: 10px;
}
.foo_link li a {
  color: #787878;
}

.foo_link li {
  margin-bottom: 10px;
}
.hr_divider_f {
  width: 75%;
  height: 1px;
  background-color: #292929;
  margin: 50px auto;
}
.footer_inner_l p {
  color: #787878;
}
.footer_inner_l {
  text-align: center;
}
.footer_inner_l p a {
  color: var(--white);
  margin-top: 13px;
  display: inline-block;
}

.foo_link li a:hover,
.sm_ul li a:hover > i {
  color: var(--orange);
}
.sm_ul li a i {
  transition: color 1s;
}
.ach_box,
.fij_content {
  text-align: center;
}
.home_b h4,
.home_b h5 {
  text-align: left;
}
.te_box_b {
  display: grid;
  grid-gap: 20px;
}

.email_box {
  margin-top: 40px;
  color: #ffffff;
}
.email_box a {
  margin-left: 5px;
  color: var(--orange);
}
.email_box a:hover {
  color: var(--white);
}
#fij h4.title_h4 {
  min-height: 2em; /* ensures space even if font loads late */
}
.btn_store img:hover {
  transform: scale(1.05);
}
.sm_footer {
  margin: 20px 0 0 0;
}
.sm_footer ul {
  list-style: none;
  display: flex;
  grid-gap: 15px;
}
.sm_footer ul li a img:hover {
  transform: translateY(-2px);
}
.sm_footer ul li a img {
  width: 25px;
}
/*==================================================
			     Media Queries         
==================================================*/

/* Large Devices (Desktops & Laptops) */

@media (min-width: 1200px) {
  .header.scrolled > .logo img {
    width: 100px;
  }
  .foo_inner2:last-child {
    margin: 0;
  }
  .foo_inner2 {
    margin: 0;
  }
  .menu-btn {
    display: none;
  }

  .desktop-menu {
    display: block;
  }

  .mobile-menu,
  .overlay {
    display: none;
  }
  .desktop-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
  }

  .desktop-menu a {
    color: var(--black);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
  }
  .logo img {
    width: 150px;
  }
  .square_img {
    height: 450px;
    object-fit: cover;
  }
  .header {
    padding: 10px 10%;
    margin: 0 auto;
    background-color: var(--orange);
  }
  .mobile-menu {
    width: 600px;
  }
  .hor_box {
    display: flex;
    grid-gap: 30px;
  }
  .horaires {
    width: 100%;
  }
  .four_each {
    width: 50%;
    margin: 0 auto;
  }
  .mobile-menu {
    padding: 0 40px;
  }
  .footer_inner {
    display: flex;
    justify-content: space-between;
  }
  .footer_1 {
    width: 40%;
  }
  .footer_2 {
    width: 30%;
  }
  .faq-accordion-inner {
    width: 60%;
    margin: 0 auto;
  }
  .four_steps {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
  }
  .b_inner_pc {
    width: 70%;
    margin: 0 auto;
  }
  .container {
    width: 70%;
    margin: 0 auto;
  }
  .te_box_b {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-gap: 20px;
    height: auto;
  }
  .b_inner_pc {
    -webkit-clip-path: polygon(0 5%, 5% 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    clip-path: polygon(0 5%, 5% 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
  }
  .h_head {
    -webkit-clip-path: polygon(0 15%, 2% 0, 100% 0, 100% 85%, 98% 100%, 0 100%);
    clip-path: polygon(0 15%, 2% 0, 100% 0, 100% 85%, 98% 100%, 0 100%);
  }
  .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: #ffffffb8;
    background-color: rgba(0, 0, 0, 0.23);
  }
  .slide_info {
    width: 80%;
    z-index: 99;
  }
  .h_each {
    padding: 10px 50px;
  }
  .fij_img {
    width: 150px;
  }
  .img_phone {
    width: 250px;
    height: 450px;
    position: relative;
    top: unset;
    left: unset;
    transform: unset;
  }
  .te_box {
    padding: 70px 0;
    display: flex;
    align-items: center;
    width: 80%;
    height: 320px;
    margin: 0 auto;
  }
  .te_box h6 {
    font-size: 25px;
    display: block;
    line-height: 1.2;
    height: 50%;
  }
  #telecharger_app {
    padding: 0;
    margin: 150px 0 150px 0;
  }
  .btns-store {
    display: flex;
    height: 50%;
  }
  #faq,
  #vendre_jeu,
  #fij {
    margin: 100px 0;
  }
  #boj {
    margin: 50px 0;
  }
}

/* Medium Devices (Landscape Tablets & Medium Desktops) */

@media (min-width: 992px) and (max-width: 1199px) {
  .header.scrolled > .logo img {
    width: 100px;
  }
  .foo_inner2:last-child {
    margin: 0;
  }
  .foo_inner2 {
    margin: 0;
  }
  .menu-btn {
    display: none;
  }
  .desktop-menu {
    display: block;
  }
  .mobile-menu,
  .overlay {
    display: none;
  }
  .desktop-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
  }

  .desktop-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
  }
  .logo img {
    width: 150px;
  }
  .square_img {
    height: 450px;
    object-fit: cover;
  }
  .header {
    padding: 10px 5%;
    margin: 0 auto;
    background-color: var(--orange);
  }
  .mobile-menu {
    width: 600px;
  }
  .hor_box {
    display: flex;
    grid-gap: 30px;
  }
  .horaires {
    width: 100%;
  }
  .four_each {
    width: 50%;
    margin: 0 auto;
  }
  .mobile-menu {
    padding: 0 40px;
  }

  .b_inner_pc,
  .te_box {
    -webkit-clip-path: polygon(0 5%, 5% 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    clip-path: polygon(0 5%, 5% 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
  }
  .h_head {
    -webkit-clip-path: polygon(0 15%, 2% 0, 100% 0, 100% 85%, 98% 100%, 0 100%);
    clip-path: polygon(0 15%, 2% 0, 100% 0, 100% 85%, 98% 100%, 0 100%);
  }
  .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: #ffffffb8;
    background-color: rgba(0, 0, 0, 0.23);
  }
  .slide_info {
    width: 80%;
    z-index: 99;
  }
  .h_each {
    padding: 10px 50px;
  }
  .fij_img {
    width: 150px;
  }
}

/* Small Devices (Portrait Tablets & Small Desktops) */

@media (min-width: 768px) and (max-width: 991px) {
  .header.scrolled > .logo img {
    width: 100px;
  }
  .foo_inner2:last-child {
    margin: 0;
  }
  .foo_inner2 {
    margin: 0;
  }

  .desktop-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
  }
  /* .mobile-menu,
  .overlay {
    display: none;
  } */
  body {
    padding-top: 78px;
  }
  .logo img {
    width: 120px;
  }
  .square_img {
    height: 450px;
    object-fit: cover;
  }
  .header {
    padding: 10px 20px;
  }
  .mobile-menu {
    width: 400px;
  }
  .h_each {
    padding: 10px 50px;
  }
  .fij_img {
    width: 150px;
  }
}
