@font-face { font-family: IBMPlexMono-Regular; src: url('../fonts/IBMPlexMono-Regular.ttf'); } 

@font-face { font-family: IBMPlexMono-Bold; src: url('../fonts/IBMPlexMono-Bold.ttf'); } 

@font-face { font-family: PlayfairDisplay-Regular; src: url('../fonts/PlayfairDisplay-Regular.ttf'); } 

/* Remove the default triangle */
summary {
  display: block;
}

/* Create a new custom triangle on the right side */
summary::after {
  margin-left: 1ch;
  display: inline-block;
  content: '▶';
  transition: 0.2s;
}

details[open] > summary::after {
  transform: rotate(90deg);
}

span{  
  /* -- reduce the width of the h1 element to the size of it's content -- */
  
  /* -- add extra length to each side -- */
  font-family: "PlayfairDisplay-Regular";
  font-size: 30pt;
  font-weight: 300;
}
svg {
  height: 2em;
  width: 1em;
  font-size: 20px;
}
.smallunderline{position:relative;display: inline-block}
.smallunderline::after{
  content:'';
  height:1.5px;
  width: 90%;
  position: absolute;
  background: black;
  left: 10px;
  bottom:3px;
}
body,html{
  max-height: 100vh;
  width: 100%;
  background-color: #fffdf7;

  display:flex;
  flex-direction: column;
  margin: 0 !important;
}
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
scrollbar-width: none;  /* Firefox */
}
button{
  border:none;
  outline:none;
  align-items: center;
  padding: 0 0 0;
}
.open-btn{
  display:flex;
  flex-direction: column;
  height:32px;
  width:32px;
  align-items: center;
  justify-content:space-evenly;
  overflow:hidden;
}

#sidebar{
  display:none;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #fffdf7;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  font-family: "IBMPlexMono-Regular";
  font-size: 12pt;
  vertical-align: sub;
  text-decoration:none;
  white-space: nowrap;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
h1{
  font-family: "PlayfairDisplay-Regular";
  font-size: 30pt;
  font-weight: 300;
}
h2{
  font-family: "PlayfairDisplay-Regular";
  font-size: 30pt;
  font-weight: 300;
}
h3{
  font-family: "PlayfairDisplay-Regular";
  font-size: 30pt;
  font-weight: 300;
}
p{
  font-family: "IBMPlexMono-Regular";
  font-size: 12pt;
}


popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.popup {
font-family: Arial, sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fffdf7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    
}

.popup-content {
    
    text-align: center;
    justify-content: space-between;
    
}

.popup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}


.popup button {
    background-color: #808fba;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}


#main{
  max-width: 100vw;
  max-height: 100vh;
    margin: 0 !important;
    padding: 0;
  background-color: #fffdf7;
}
#header{
  max-width: 100vw;
  min-height: 34px;
  max-height: 34px;
  border-bottom: solid 1px black;
  padding: 10px 2% 10px 2%;
  background-color: #fffdf7;
  display:flex;
  flex-direction: row;
  justify-content:space-between;
  align-items: center;
}
#title{
 background-color: none;
 display:flex;
 align-items: center;
  font-weight: 300;
  font-size: 16pt;
  border:none;
  outline:none;
  align-items: center;
  padding: 0 0 0;
 justify-content: left;
 font-family: "IBMPlexMono-Regular";
}
#subsummary{
  margin-left: 10pt;
  max-width: 300pt;
}
#navbox{
  text-align: right;
  background-color: #fffdf7;
  font-family: "IBMPlexMono-Regular";
  font-size: 12pt;
  display:flex;
  vertical-align: center;
}
#navbox li {
  display: inline;
  margin-right: 12pt;
}
#mobilebutton{display:none;}
#cross {
  display:none;
}
#researchtext {
  margin-left: 10vw;
  margin-right:10vw;
  vertical-align: center;
  text-align: left;
  font-family: "IBMPlexMono-Regular";
  font-size: 12pt;
}
#researchpicture {
  margin-right:10vw;
  white-space: nowrap;
  font-family: "IBMPlexMono-Regular";
}
#activitypicture {

  vertical-align: center;
  text-align: left;
  font-family: "IBMPlexMono-Regular";
  font-size: 12pt;
	max-width:400px;
  font-size: 12pt;
	margin-left: auto;
  margin-right: auto;
  margin-bottom: auto;
  margin-top: auto;
	background-color: #fffdf7;
  
}
#activitymobilebox{display:none;}
@media screen and (max-width: 890px) {
  #activitypicture {display:none;}
  #researchpicture{display:none;}
  #activitymobilebox{
    margin-top: -30px;
    padding-top: 20px;
    display: block;
    text-align: left;
    font-family: "IBMPlexMono-Regular";
    font-size: 12pt;
    text-align: left;
    justify-self: left;
  }
  #researchtext{
    margin:auto;
    vertical-align: left;
    text-align: left;
    padding: 10px;
    justify-self: left;}
  #mobilebutton{
    display:flex;position:fixed; 
    background-color:#fffdf7; 
    margin:10px;
    overflow:hidden;
    border:solid 1pt black;
  }
  #cross {
    display:contents;
  }
  #title{
    text-align: right;
    margin-right:20px;
    background-color: #fffdf7;
    font-family: "IBMPlexMono-Regular";
    display:flex;
    justify-content: right;
   }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  html {
  scrollbar-width: 10px;
  overflow:visible;  /* Firefox */
  }
  #body{overflow:scroll;}
  #header {
    max-width: 100vw;
    display:flex;
    justify-content:right;
    flex-direction: row!important;
    background-color: #fffdf7;
   }
   #titre{  background-color: #fffdf7;}
   #navbox{display: none;  background-color: #fffdf7;}
    #sidebar{
      display: unset;
    }
    #cross {text-align:right;
      list-style-type: none;
      text-decoration: none;}
    #cross li{text-align:right;
      list-style-type: none;
      text-decoration: none;}
    #sidebar li {margin-left:10px;
      margin-right: 12pt;
      list-style-type: none;
      text-decoration: none;
      align-items: stretch;
      font-size: 18pt;
    }
    #sidebar a:hover {
      color: #f1f1f1;
      text-decoration:none;
    }
    .open-btn {
      font-size: 20px;
      background-color: #fffdf7;
      border: none;
    }
    #navbox li {
      margin-right: 20px;
    }
    #container {
      background-color: #fffdf7;
      align-items: start;
      display:flex;
      flex-direction: column;
     }
    #picture{
      max-height:Auto;
      max-width:auto;
      margin-top: auto;
      background-color: #fffdf7;
      display: none !important;
      padding: 10px;
    }
    #box{
      display:flex;
      justify-self: left;
    }
    #maintext{ vertical-align: left;
      text-align: left;
      padding: 10px;
      justify-self: left;
    }
    #text {
      text-align: left;
      background-color: #fffdf7;
      display:flex;
      flex-direction: column;
      padding:10px;
    }
    #mobilebox{
      display: flex;
      justify-content:space-around;
      font-family: "IBMPlexMono-Regular";
      font-size: 12pt;
      text-align: center;
      max-width:400px;
      width: 92vw !important;
      margin-top: auto;
      padding: 10px;
      background-color: #fffdf7;
      display:flex !important;
      align-items: center !important;
    }
}
#container {
  height:90vh;
  display:flex;
  justify-content:space-between;
  align-items: center;
 background-color: #fffdf7;
vertical-align: center;
}
img{
	max-width:100%;
	/*border: solid #f3f0ff;*/
	border-width: 1px;
  display:flex;
  max-height:flex;
  align-items: center;
  z-index: 0;
}
#picture{
	max-width:400px;
  font-family: "IBMPlexMono-Regular";
  font-size: 12pt;
	margin-left: auto;
    margin-right: auto;
	background-color: #fffdf7;
  flex-direction: column;
  display:flex;
  align-items: center;
  vertical-align: center;
}
#box{
	margin-left: auto;
	margin-right: auto;
  margin-bottom: auto;
  margin-top: auto;
	text-align:-moz-center;
}
#text {
  text-align: left;
  background-color: #fffdf7;
  vertical-align: middle;
}
#mobilebox{
  display: none;
  width: 100%;
}
#maintext{ vertical-align: center;
  text-align: left;
  font-family: "IBMPlexMono-Regular";
  font-size: 12pt;
}

