html {
	height: 100%;
	scroll-behavior: smooth;
}

body {
	background-color: white;
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: 'EB Garamond';
	font-size: 21px;
	line-height: 26px;
    opacity: 0;
    transition: opacity 0.5s ease; 	
}

  body.fade-in {
    opacity: 1;
  }

  body.fade-out {
    opacity: 0;
  }

/*@media (hover: hover) {
  .image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
  }
}*/

.a-w-m {
	background-color: transparent;
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: 'EB Garamond';
	font-size: 21px;
	line-height: 26px;
}

@font-face {
    font-family: 'EB Garamond';
    src: url('fonts/EBGaramond-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/EBGaramond-Regular.woff2') format('woff2'),
        url('fonts/EBGaramond-Regular.woff') format('woff'),
        url('fonts/EBGaramond-Regular.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EB Garamond';
    src: url('EBGaramond-Italic.eot?#iefix') format('embedded-opentype'),
        url('EBGaramond-Italic.woff2') format('woff2'),
        url('EBGaramond-Italic.woff') format('woff'),
        url('EBGaramond-Italic.ttf') format('truetype'),
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Vercetti-Regular';
    src: url('fonts/Vercetti-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Vercetti-Regular.woff2') format('woff2'),
        url('fonts/Vercetti-Regular.woff') format('woff'),
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


a.general:link {
	color: black;
	text-decoration: none;
	cursor: pointer;
	-webkit-transition: color 1s; 
    transition: color 1s; 
}

a.general:visited {
	color: black;
}

a.general:hover {
	color: #ad8b3b;
	cursor: pointer;
}

#title-home {
	font-size: 21px;
	color: black;
	padding: 10px;
	margin-top: 30px;
	margin-left: 30px;
	position: fixed;
}

    @media screen and (max-width: 825px) {
    #title-home {
position: relative;
    }
    }

#title {
	font-size: 21px;
	color: black;
	padding: 10px;
	margin-top: 30px;
	margin-left: 30px;
	position: fixed;
  z-index: 10000;
}



.menu {
	font-size: 21px;
	line-height: 26px;
	color: black;
	padding: 10px;
	margin-left: 30px;
	top: 150px;
	width: 400px;
	position: fixed;
    z-index: 100000;
}

    @media screen and (max-width: 1150px) {
    .menu {
width: 300px;
position: relative;
top: 30px;
    font-size: 21px;
    line-height: 26px;
    }
    }




#about {
	-webkit-transition: color 1s; 
    transition: color 1s; 
    z-index: 100000;
}

#about:hover {
	color: #ad8b3b;
	cursor: pointer;
}


.about-content {
	display: none;
	left: 38%;
	top: 160px;
	margin-right: 20px;
	width: 55%;
	position: absolute;
	font-size: 28px;
	line-height: 34px;

}

    @media screen and (max-width: 1150px) {
    .about-content {
    font-size: 21px;
    line-height: 26px;
    top: 30px;
    left: 25px;
    width: 84%;
    padding: 15px;
    position: relative;
    overflow-x: hidden;

    }
    }



#research {
	-webkit-transition: color 1s; 
    transition: color 1s; 
    z-index: 100000;

}

#research:hover {
	cursor: pointer;
	color: #ad8b3b;
}

#research1 {
	cursor: pointer;
	margin-left: 35px;
}

#research2 {
	cursor: pointer;
	margin-left: 35px;
}



.spage-img {
  width: 60%;
  height: auto;
  margin-top: 50px;
  margin-right: 80px;
  float: right;
  pointer-events: none;
}

@media screen and (max-width: 825px) {
  .spage-main {
  text-align: center;
	padding-top: 60px;
  }

  .spage-img {
    float: none;
    display: block;
    margin: 20px auto;
    width: 85%;
  }
}


.spage-credits-click {
  	line-height: 17px;
  	font-size: 14px;
  	position: fixed;
  	right: 30px;
  	bottom: 25px;
  	cursor: pointer;
  	-webkit-transition: color 1s; 
    transition: color 1s; 
    z-index: 10000;
}

.spage-credits-click:hover {
	color: #ad8b3b;

}


    @media screen and (max-width: 825px) {
    .spage-credits-click {
display: none;

    }
    }


.spage-credits-container {
   border-radius: 15px;
	 background-color: #f7f6f6;
	 width: 400px;
	 height: 300px;
	 padding: 30px;
	 bottom: 10%;
	 left: 40px;
	 overflow-y: auto;
	 box-sizing: border-box;
   visibility: hidden;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.5s ease, visibility 0.5s ease;
   position: fixed;
   cursor: move;
   z-index: 9999;
}

.spage-credits-container.show {
  opacity: 1;
  visibility: visible;
}


    @media screen and (max-width: 825px) {
    .spage-credits-container {
display: none;

    }
    }


.spage-credits {
	position: relative;
	font-size: 1rem;
	line-height: 1.3rem;
	color: #a8a8a8;
	-webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}



.spage-credits-container2 {
	display: none;
	z-index: 1000;
	position: absolute;
	background-color: #f7f6f6;
	padding: 25px;
	border-bottom: 1px solid;
	padding-bottom: 0.15em;
    width: auto;
	bottom: 0;
	position: relative;
	right: 0;
	margin: 0;
 }

    @media screen and (max-width: 825px) {
    .spage-credits-container2 {
	display: block;

    }
    }

.spage-credits2 {
	position: relative;
	font-size: 1rem;
	line-height: 1.3rem;
	color: #a8a8a8;
	-webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

    @media screen and (max-width: 825px) {
 .spage-credits2 {
display: none;

    }
    }

#spage-credits-show {
	position: relative;
	font-size: 1rem;
	line-height: 1.3rem;
	color: #a8a8a8;
	display: none;
	cursor: pointer;
}


    @media screen and (max-width: 825px) {
 #spage-credits-show {
display: block;

    }
    }






#projects {
	cursor: pointer;
	-webkit-transition: color 1s; 
    transition: color 1s; 
}

#projects:hover {
	color: #ad8b3b;
	cursor: pointer;
}

.projects-content {
	display: none;
	left: 38%;
	top: 160px;
	margin-right: 20px;
	width: 55%;
	position: absolute;
	font-size: 21px;
	line-height: 26px;
}

    @media screen and (max-width: 1150px) {
    .projects-content {
    font-size: 21px;
    line-height: 26px;
    top: 30px;
    left: 25px;
    width: 85%;
    padding: 15px;
    position: relative;
    overflow-x: hidden;

    }
    }

.f-variant {
	font-variant-caps: all-small-caps;
}

.f-border span {
	border-bottom: 1px solid black;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/*figure {
  float: center;
  width: 100%;
  text-align: center;
  line-height: 15px;
  font-size: 14px;
  color: gray;
  text-indent: 0;
  padding: 2px;
}*/


.royal {
	background-color: transparent;
	height: 100%;
	margin: 0;
	font-family: 'EB Garamond';
    opacity: 0;
    transition: opacity 0.5s ease;
 	
}

  .royal.fade-in {
    opacity: 1;
  }

 .royal.fade-out {
    opacity: 0;
  }

.top-banner-watan {
	width: 100%;
	height: auto;
	z-index: 100000;
}




.menu-watan {
	color: black;
	font-size: 21px;
	position: fixed;
	top: 45px;
  	left: 50.5%;
  	transform: translate(-50%, -50%);
  	z-index: 10000;
  	text-align: center;

}

    @media screen and (max-width: 825px) {
    .menu-watan {
  margin-top: 60px;
	font-size: 19px;
	position: absolute;
	line-height: 9px;
  padding-top: 55px;
  padding-bottom: 40px;
    }
    }

span a {
    	display:inline-block;
    	margin:15px 15px 0 0;
}

#title2 {
	display: none;
	font-size: 19px;
	color: black;
	padding: 10px;
	margin-top: 30px;
	margin-left: 30px;
	position: absolute;
  z-index: 100000;
}


    @media screen and (max-width: 825px) {
    #title2 {
    display: block;
z-index: 100000;
    }
    }

    @media screen and (max-width: 825px) {
    #title {
    display: none;
z-index: 100000;
    }
    }


.back-menu {
	position: fixed;
	font-size: 21px;
	margin-top: 40px;
	right: 30px;
	text-align: right;
	z-index: 10000;
}

    @media screen and (max-width: 825px) {
    .back-menu {
display: none;
    }
    }

.back-menu2{
  display: none;
}

    @media screen and (max-width: 825px) {
    .back-menu2 {
      display: block;
	font-size: 19px;
	position: absolute;
	margin-top: 40px;
	right: 3%;
	text-align: right;
	z-index: 10000;
	margin-right: 30px;
    }
    }


  video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
  }

    @media screen and (max-width: 825px) {
    #typing-vid {
    display: none;

    }
    }


/* The banner that acts as a background under .top-banner-watan */
.scroll-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; 
  z-index: 1; 
  pointer-events: none; /* allow clicks through it */
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
}

.scroll-banner-content {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8); 
  backdrop-filter: blur(6px); 

}

/* Hidden state on scroll */
.scroll-banner.hide {
  opacity: 0;
  visibility: hidden;
}

#scroll-down-arrow {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 50;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: pointer;
}

#scroll-down-arrow.hide {
  opacity: 0;
  visibility: hidden;
}



#title-abstract {
	text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  scroll-margin-top: 140px;
}

    @media screen and (max-width: 825px) {
    #title-abstract {
    padding-top: 50px;

    }
    }

.main-text {
  margin-left: auto;
  margin-right: auto;
	color: #ad8b3b;
	background-color: transparent;
	padding: 10px;
	padding-top: 140px;
	padding-bottom: 8%;
	font-size: 1.5rem;
	line-height: 1.8rem;
	text-align: justify;
	text-rendering: optimizeLegibility;
	width: 600px;
}


    @media screen and (max-width: 825px) {
    .main-text {
    font-size: 20px;
    line-height: 24px;
    padding-top: 180px;
    width: 80%;

    }
    }


.images-ab {
  text-align: center;

}

.caption {
	text-align: center;
	font-size: 1rem;
	line-height: 1.3rem;
}

#title-visual {
	text-transform: uppercase;
    letter-spacing: 2.8px;
    text-align: center;
  	scroll-margin-top: 90px;
}

#title-visual-wip {
	margin-top: -20px;
    text-align: center;
    font-size: 1.2rem;
}

#visual-table {
	padding: 38px;
}

#visual-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

table.table1, table.table1 th, table.table1 td {
  font-family: 'Vercetti-Regular';
  font-size: 13px;
  font-weight: normal;
  padding-bottom: 2px;
  border-collapse: collapse;
  border-bottom: 1px solid black;
  line-height: 14px;
}

table.table1 th, table.table1 td {
  padding: 5px;
  text-align: left;
  vertical-align: bottom;
}


.table-img {
  padding-top: 4px;
  height: 200px;
  display: inline-block;
}


.table-img2 {
  padding: 4px;
  height: 350px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}


@media screen and (max-width: 825px) {

  .table-img2 {
  height: 27vh;
  width: auto; 
  display: inline-block;
  }
}

.table-img3 {
  padding-top: 4px;
  height: 200px;
}


@media screen and (max-width: 825px) {

  .table-img3 {
  height: 27vh;
  width: auto; 
  display: inline-block;
  }
}

@media screen and (max-width: 1178px) {

  #visual-table {
    padding: 20px 10px;
    overflow-x: auto;
  }

  table.table1 {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 11px;
  }

  table.table1 th,
  table.table1 td {
    display: table-cell;
    padding: 5px;
    text-align: center;
    vertical-align: top;
  }

  table.table1 tr {
    display: table-row;
    border-bottom: 1px solid black;
  }

  table.table1 th {
    border-bottom: 1px solid black;
    text-align: left;
  }

  .table-img,
  .table-vid {
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }

  #visual-table tr.no-media {
    border-bottom: none !important;
  }
}


#title-poster {
	text-align: center;
	color: #ad8b3b;
	box-sizing: border-box;
	padding-bottom: 5px;
    border-bottom: 1px solid #ad8b3b;
    font-variant-caps: all-small-caps;
}

.title-wrapper {
  text-align: center; 
}

#title-staging {
  font-family: 'Vercetti-Regular';
  color: black;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  font-variant-caps: all-small-caps;
  display: inline-block; 
  border-bottom: 1px solid black;
  padding-bottom: 2px;
}

table.table2, table.table2 th, table.table2 td {
  font-family: 'Vercetti-Regular';
  font-size: 13px;
  font-weight: normal;
  padding-bottom: 2px;
  border-collapse: collapse;
  border: 1px solid #ababab;
  line-height: 16px;
}

table.table2 th, table.table2 td {
  padding: 8px;
  text-align: left;
  vertical-align: bottom;
}


@media screen and (max-width: 825px) {

  #visual-table {
    padding: 20px 10px;
    overflow-x: auto;
  }

  table.table2 {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 11px;
  }

  table.table2 th,
  table.table2 td {
    display: table-cell;
    padding: 5px;
    text-align: center;
    vertical-align: top;
  }

  table.table2 tr {
    display: table-row;
    border-bottom: 1px solid #ddd;
  }

  table.table2 th {
    border-bottom: 1px solid #bbb;
    text-align: left;
  }

  .table-img3 {
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }

  /* Pour masquer bordure des lignes sans média */
  #visual-table tr.no-media {
    border-bottom: none !important;
  }
}

  .image-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }


/* Le fond d’image qui s’affiche derrière tout */
#hover-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #ad8b3b;
  z-index: -1000;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}


#hover-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover; 
  background-color: #ad8b3b;
  z-index: -1000;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}


.table-img.hovered {
  filter: brightness(0.5);
  transition: filter 0.5s ease-in-out;
}

.table-vid.hovered {
  filter: brightness(0.5);
  transition: filter 0.5s ease-in-out;
}


.img-caption {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ad8b3b;
  padding: 12px 16px;
  font-family: 'Vercetti-Regular';
  color: white;
  font-size: 13px;
  font-weight: normal;
  line-height: 17px;
  width: 100%; 
  box-sizing: border-box;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

@media screen and (max-width: 825px) {

  .table-img2 {
font-size: 11px;
padding: 5px 5px;
}

}

.image-container:hover .img-caption {
    opacity: 1;
    transform: translateY(0);
  }


.resources {
	background-color: #ad8b3b;
	width: 100%;
	margin: 0;
	padding: 0;
}

#title-resources {
	text-transform: uppercase;
    letter-spacing: 2.8px;
    text-align: center;
  	scroll-margin-top: 90px;
}

#title-abstract {
	text-transform: uppercase;
    letter-spacing: 2.8px;
    text-align: center;
  	scroll-margin-top: 140px;
}

#title-guerrab {
	text-transform: uppercase;
    letter-spacing: 2.8px;
    text-align: center;
  	scroll-margin-top: 140px;
  	padding-bottom: 45px;
}

.footnote-gu {
	font-size: 1rem;
	line-height: 1.3rem;
	color: #a8a8a8;
}

footer {
	line-height: 17px;
	font-size: 14px;
	position: fixed;
	left: 40px;
	bottom: 25px;
}

@media screen and (max-width: 825px) {
  footer {
display: none;
  }
}

.secondfooter {
  display: none; 
  text-align: left; 
  margin: 0;
  padding: 20px 1.5px;
  background-color: white;
  line-height: 17px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 825px) {
  .secondfooter {
    display: block;
    position: relative;
    z-index: 10000;
  }
}



