@charset "UTF-8";


/* -------- ROOTS --------  */

:root{
  --blue: #80a0eb;
  --beige: #af956d;
  --green: #839175;
  --white: #f4f5f5;
  --black: #0b0100;

  --font-size-xs: clamp(0.56rem, 0.89vw + 0.34rem, 1.41rem);
  --font-size-sm: clamp(0.75rem, 1.18vw + 0.45rem, 1.88rem);
  --font-size-base: clamp(1rem, 1.58vw + 0.61rem, 2.5rem);
  --font-size-md: clamp(1.33rem, 2.1vw + 0.81rem, 3.33rem);
  --font-size-lg: clamp(1.78rem, 2.81vw + 1.08rem, 4.44rem);
  --font-size-xl: clamp(2.37rem, 3.74vw + 1.43rem, 5.92rem);
  --font-size-xxl: clamp(3.16rem, 4.99vw + 1.91rem, 7.89rem);

  --font-size-arabic-sm: clamp(1.2rem, 5.96vw + -0.29rem, 4.92rem);
  --font-size-arabic-base: clamp(1.5rem, 8.1vw + -0.52rem, 6.56rem);
  --font-size-arabic-md: clamp(1.88rem, 11vw + -0.87rem, 8.75rem);
  --font-size-arabic-lg: clamp(2.34rem, 14.91vw + -1.38rem, 11.66rem);
  --font-size-arabic-xl: clamp(2.93rem, 20.18vw + -2.12rem, 15.54rem);
  --font-size-arabic-xxl: clamp(3.66rem, 27.29vw + -3.16rem, 20.72rem);
  --font-size-arabic-xxxl: clamp(4.58rem, 36.87vw + -4.64rem, 27.62rem);
}
  

@font-face {
  font-family:'Inter';
  src: url('../fonts/InterTight-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family:'Inter-italic';
  src: url('../fonts/InterTight-Italic-VariableFont_wght.ttf') format('truetype');
 
}
@font-face {
  font-family:'NotoKufiArabic';
  src: url('/fonts/NotoKufiArabic-VariableFont_wght.ttf') format('truetype');
  font-family:'NotoNaskhArabic';
  src: url('/fonts/NotoNaskhArabic-VariableFont_wght.ttf') format('truetype'); 
}

@font-face {
  font-family:'Anybody-300-italic';
  src: url('/fonts/Anybody-300italic.ttf') format('truetype');
}
  /* font-family:'Anybody-500-italic';
  src: url('/fonts/Anybody-500italic.ttf') format('truetype'); 
  font-family:'Anybody-600-italic';
  src: url('/fonts/Anybody-600italic.ttf') format('truetype');
  font-family:'Anybody-700-italic';
  src: url('/fonts/Anybody-700italic.ttf') format('truetype'); 
  font-family:'Anybody-300';
  src: url('/fonts/Anybody-300.ttf') format('truetype');
  font-family:'Anybody-500';
  src: url('/fonts/Anybody-500.ttf') format('truetype'); 
  font-family:'Anybody-600';
  src: url('/fonts/Anybody-600.ttf') format('truetype');
  font-family:'Anybody-700';
  src: url('/fonts/Anybody-700.ttf') format('truetype');  */





.font, a, h1, h2, h3, h4, h5, li, p{
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
}


/* -------- BASICS --------  */


html, body {

  overflow-x: hidden;
  
  }

body{
  background-color: var(--white);
  font-family:'Inter';
}

article{
  width: 100vw;
 
}

.container{
  width: 100vw;
  display: flex;
 /* column-gap: 1%; */
}

.col{
  width: 50vw;
}



a{
  color: var(--blue)
}
a:hover{
  color: var(--beige);
}

.svg3{
  stroke: var(--white);
}

/* -------- HEADER --------  */

h1{
  font-family:'NotoNaskhArabic';
  font-weight: 800;
  font-size: var(--font-size-arabic-xxxl);
  margin-top: 20vh;
  margin-left: 6vw;
  color: var(--white);
  position: absolute;
}

h1:hover {
  cursor: pointer;
}

.header-p{
  width: 50vw;
  position: absolute;
  bottom: 0%;
  padding: 1%;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
}

i{
  font-style: italic;
  color: var(--beige);
}

b{
  color: var(--beige);
}


.header-img{
  width: 100%;
  display: block;
}
.header-btn{
  position: relative;
  width: 20%;
  left: 43%;
  top: 20%;
  fill: var(--blue)
}

.btn-svg{
fill: var(--blue);
}


.left, .right{
  height: 100vh;
  }

/* --- LEFT SIDE */
  
.left {
  background-color: var(--blue);
  color: var(--white);
  transition: background-color 0.7s ease-in-out, color 0.5s ease-in-out;
}


/* slide txt */

#Block{
  height: 6%;
  background: var(--white);
  width:50vw;
  overflow: hidden;
}

.line-header-l{
  position: relative;
  top: 70%;
  width: 90%;
  color: var(--white);
}

.slidetxt {
  padding-top: 1.3%;
  padding-bottom: 1.3%;
  margin:0 auto;
  font-size: 30px;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue);
}/*remove p*/

.slidetxt-txt {
  display:inline-block;
  /* Apply animation to this element */
  -webkit-animation: scrolling-left1 20s linear infinite;
  animation: scrolling-left1 20s linear infinite;
}

/* scrolling-left is continuous/repeatly text */
@keyframes scrolling-left1 {
    0% {transform: translateX(50%);
        -webkit-transform: translateX(50%);}
      100% {transform: translateX(-100%);
          -webkit-transform: translateX(-100%);}
}

@-webkit-keyframes scrolling-left1 {
    0% {-webkit-transform: translateX(50%);}
      100% {-webkit-transform: translateX(-100%);}
}



/* nav btn */

.nav, .nav-l{
  cursor: pointer;
  height: auto;
  width: 90%;
  display: flex;
  justify-content: space-between;
  margin: 2% 5%;
  font-size: var(--font-size-sm);
}

.nav-l{
  position: absolute;
  width: 50vw;
  left: 0%;
  bottom: 7%;
  margin: 0;
  padding: 1%;
}

.nav-l a{
  font-size: var(--font-size-base);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-l a{
  font-weight: 400;
  transition: all .4s ease-in-out;
}

.nav-l a:hover{
  font-weight: 600;
  transition: all .2s ease-in-out;
}




/* --- RIGHT SIDE */

.right{
  overflow-y: scroll;
  background-color: var(--white);
  color: var(--blue);
  transition: background-color 0.7s ease-in-out, color 0.5s ease-in-out;
}

.section {
  padding: 0.5em;
  font-size: var(--font-size-md);
}

.section-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5%;
  margin-top: 50%;
}



/* --- COLOR ANIMATION */

.theme-toggle-dark {
  font-family: 'NotoKufiArabic';
}





/* -------- ARTICLE 1 --------  */


/* --- MOSAIC GRID */

.art1{
  /* height: 100vh; */
  background-color: var(--blue);
  overflow: hidden;
}

.grid-container{
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10vw, 1fr)); /* auto-fit : remplir la largeur disponible avec des colonnes de largeur minimale de 10vw */
  grid-template-rows: repeat(auto-fit, minmax(10vw, 1fr)); /* même chose pour les rangées */
  gap: none; 
  align-items: center; 
  justify-items: center; 
  flex-wrap: wrap;
  height: fit-content;
  overflow: hidden;
}

svg {
  width: 10vw; 
  height: auto;
  transition: transform 0.7s ease-out; 
  fill:var(--white);
}

.grid-item{
  transition: transform 0.7s ease-out; 
}
.grid-item:hover svg, .grid-item:focus svg, .grid-item:active svg{
  transform: rotate(90deg);
  transition: transform 0.3s ease-out; 
}

.svg2{
   transform: 0.7s ease-in-out;
}
.svg2:hover, .svg2:active{
   transform: rotate(180deg);
 transform: 1s ease-in-out;
}


.clicked {
  transform: scale(2.6);
}


.mosaictwo{
  background-color: var(--beige);
}



/* -------- ARTICLE 2 --------  */


.art2{
  height: 100vh;
}

.art2-ttl{
  height:19.6vh;
  display:flex;
  align-items:center;
  color: var(--white);
  justify-content:space-between;
}

header h1,header h2{
  font-size: calc(3vw + 2em);
  line-height:19.6vh;
  position:relative;
  top:.12em;
  color: var(--black);
}

.col4 {
  display: flex;
  flex-direction: row;
  width: 100%;
}

h2{
  font-family:'Inter';
  font-size: var(--font-size-xxl);
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  padding-left: 2%;
}

.art2-box {
  display: flex;
  flex-direction: column;
  transition: .3s;
  flex-grow: 1;
  flex-basis: 0;
  border-right: solid 2px var(--blue);
  flex-basis: 100%;
  flex: 1;
  height: calc(100vh - 19.6vh);
  padding: 10px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  word-break:break-all;
  color: var(--blue);
}

.art2-box:hover, .art2-box:active, .art2-box:focus {
  color: var(--white);
  max-width: 60% !important;
  flex-grow: 5;
  border-right: solid 2px var(--white);
}

.blue:hover{
  background: var(--blue);

}
.white:hover{
  background: var(--beige);
  
}

.art2-box:last-child {
  border-right: none;
}

h3{
  margin:0;
  font-size: 5.5rem;
  line-height: auto;
  letter-spacing: -.2vw;
  text-transform: uppercase;
  font-weight: 600;
}


.art2-box:hover h3 {
  font-size: 7.0vh;
  line-height: 6.8vh;
  word-break:normal;
}
.art2-box  h4 {
  word-break: break-all;
  font-size: 2.5vh;
  line-height: 1;
  display:none;
}
.art2-box:hover h4{
  font-size: 4rem;
  display: block;
  margin-top: 4%;
}

.art2-box:hover .img-open{
 display: inherit;
}
.img-open{
  display: none;
  width: 30%;
  position: relative;
  left: 65%;
  top: 5%;
}



/* -------- ARTICLE 3 --------  */

.container-history{
  width: 100%;
  display: flex;
}
.art3{
  margin-top: 5%;
  height: 100vh;
}

.col-art3-l{
  width: 40vw;

}
.col-art3-r{
  width: 75vw;
  margin-top: 9%;
  padding-left: 19%;
}

.art3-history{
 padding: 1% 5%;
  height: 40%;
  color: var(--blue);
}

.art3-nbr{
  font-size: var(--font-size-base);
}

.art3-txt{
  width: 100%;
  padding: 0% 1%;
  font-size: 2rem;
}

.mosaicthree{
      margin-top: 0%;
}

.svg-desktop{
  display: none;
}
/* -------- RESPONSIVE --------  */



@media (max-width: 400px) { 
  .mosaic-dessktop{
    display: initial;
  }
.container{
  flex-direction: column;
}

.art3-ttl {
    margin-top: 5%;
}
 .left {
    height: 25vh!important;
}

.mosaic{
      margin-top: 20%;
}

/* header */

.nav{
  margin-top: 5%;
}
.nav, .nav-l {
  font-size: var(--font-size-base);
}

.right {
  height: 77vh;
}

.nav-l {
  bottom: 59% !important;
}


.section-top {
  margin-top: 25%!important; 
}

.header-btn {
  top: 5%;
}


/* art2 */

.art2{
  height: 100vh;
}

.col4{
  flex-direction: column;
  height: 73vh;
}
h2{
  font-size: var(--font-size-lg);
}
h3{
  font-size: 1.5rem;
}

.art2-ttl {
  height: 22vh;
}
.art2-box:hover h3 {
  font-size: 1.3rem;
  line-height: 1.5rem;
}
.art2-box:hover {
  max-width: 100% !important;
  height: 20%;
}
.art2-box:hover h4 {
  font-size: 2rem;
}

.img-open{
  width: 30%;
  left: 60%;
  top: 2%;
  rotate: 90deg;
}

/* art3 */

.art3-txt{
    width: 54% !important;
    font-size: var(--font-size-s)!important;
}
.art3-history {
  padding: 5% 5%;
  height: 40%;
}

.art3-nbr {
  margin-bottom: 2%;
}
.col-art3-r {
  width: 100vw;
  padding-left: 0%!important;
}
.container-history {
  width: 160%;
}
.art3 {
    margin-top: 0%;
    height: auto;
}

.art1{
  height: 50vh;
}


}

@media (max-width: 576px) { 

.left {
    height: 37vh !important;
}
.right{
   height: 110vh;
}
.section-top {
    margin-top: 30%;
}
#Block {
    height: 9% !important;
}
.nav {
    margin-top: 20%;
    font-size: var(--font-size-base);
}
.art3 {
  margin-top: 0%;
  height: auto;
}
h3{
  font-size: 1.5rem;
}
.art1{
  height:47vh !important;
}
.svg-desktop{
  display: inherit;
}

.section {
    font-size: 1.5rem !important;
    padding: 0.5em 1em !important;
}
.col4{
  flex-direction: column;
  height: 73vh;
}
.art2-ttl {
  height: 22vh;
}
.art2-box:hover h3 {
  font-size: 1.3rem;
  line-height: 1.5rem;
}
.art2-box:hover {
  max-width: 100% !important;
  height: 20%;
}
.art2-box:hover h4 {
  font-size: 2rem;
}
svg {
  width: 19.5vw; 
  height: auto;
  transition: transform 0.7s ease-out; 
  fill:var(--white);
}

.svg2{
  width: 100%;
}

.svg3{
  width: 100%;

}

.grid-container{
  gap: 10vw;
  padding: 5vw;
}

.mosaictwo .grid-container, .mosaicthree .grid-container {
  gap: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(25vw, 1fr));
  grid-template-rows: repeat(auto-fit, minmax(25vw, 1fr));
}
b{
  display: none;
}
}

@media (max-width: 768px) { 

.col-art3-r {
    width: 100vw !important;
    margin-top: 9%!important;
    padding-left: 0%!important;
}
.left{
  height: 60vh;
}
.slidetxt {
    font-size: 19px;
}
.art3-txt{
  width: 100%;
  font-size: var(--font-size-md);
}
.art3-ttl{
      margin-top: 17%;
}
.art3-history {
  padding: 5% 5%;
  height: 40%;
}

.art3-nbr {
  margin-bottom: 2%;
}
.mosaicthree{
      margin-top: 20%;
}
.header-btn {
    top: 8%;
}
.left{
  height:46vh;
  
}

.nav-l{
  display: none;;
}
}


 @media (max-width: 992px) { 
  .col{
    width: 100vw;
  }
  .container{
    flex-wrap: wrap;
  }

  .nav-l {
    position: absolute;
    width: 100vw;
    left: 0%;
    bottom: 5%;
    margin: 0;
    padding: 0% 5%;
}
 .col-art3-r {
    width: 60vw;
    margin-top: 9%;
    padding-left: 5%;
}

.section-top {
    margin-top: 38%;
}

#Block {
  height: 9%;
  padding: 1% 0%;
  background: var(--white);
  width: 100vw;
  overflow: hidden;
}
  
.img-open{
  width: 33%;
  left: 60%;
  top: 2%;
}
.mosaicthree{
   margin-top: 20%;
}
}


@media (max-width: 1200px) { 
  .col-art3-r {
    width: 60vw;
    margin-top: 9%;
    padding-left: 10%;
}

.art3-txt{
  font-size: 1.5rem;
}

.nav-l{
    bottom: 1%;
}

}


@media (max-width: 1400px) { 
.col-art3-r {
    width: 70vw;
    margin-top: 9%;
    padding-left: 0%;
}

}

