@font-face{
    font-family: Flor;
    src: url(font/FlorDeRuina-Semilla.ttf);
    f
}  
@font-face{
    font-family: Flor2;
    src: url(font/FlorDeRuina-Ruina.ttf);
    f
}   
@font-face{
    font-family: Interlope;
    src: url(font/Interlope-Regular.ttf);
}
@font-face{
    font-family: terminal_grotesque;
    src: url(font/terminal-grotesque.ttf);
}
@font-face{
    font-family: VG5;
    src: url(font/VG5000-Regular.otf);
}
@font-face{
    font-family: basteleur_M;
    src: url(font/Basteleur-Moonlight.otf);
}
@font-face{
    font-family: basteleur_B;
    src: url(font/Basteleur-Bold.otf);
}
@font-face{
    font-family: steps;
    src: url(font/Steps-Mono.otf);
}
@font-face{
    font-family: gothic;
    src: url(font/Gothik_Steel.ttf);
}
#specimen{
    font-family: Arial, Helvetica, sans-serif;
}

#bigtitle{
    font-family: VG5;
    font-size: 2em;
    overflow: scroll;
    opacity: 100%;
    position: fixed;
    background-color: white;
    z-index: 10;
}
.intro_title{
     font-size: 12vh;
    font-family: terminal_grotesque;
    padding-top: 2vh;
    margin: 0%;
    text-align: left;
    left: 10vh;
    margin-left: 45vh;
    margin-right: 45vh;
    margin-bottom: 15vh;
    margin-top: 15vh;
    color: white;
       -webkit-text-stroke: black 30px;
    paint-order: stroke fill;
    letter-spacing: 4vh;
    text-align: center;


}

#culot{
    font-family: Flor2;
    font-size: 6em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1vh;
    text-align: center;
}
#culot2{
    font-family: Flor;
    font-size: 2em;
    display: block;
    text-align: center;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1vh;
}
#fadeBtn{
    margin-left:90vh ;
    margin-bottom: 15vh;
    width: 20vh;
    height: 12h;
}
body{
    padding: 0%;
    margin: 0%;
    overflow-x: hidden;

}
#frontpage{
    width: 100%;
    background-color: white;
    z-index: 10000;
    transition: transform 0.6s ease-in-out, margin 0.6s ease-in-out, padding 0.6s ease-in-out, opacity 0.4s ease-in-out;
    transform: translateY(0);
    margin-bottom: 20px;
    overflow: hidden;
    position: absolute;
}

#frontpage.slide-up {
    transform: translateY(-100%);
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

/* Remove height: 100% and add auto height */
#frontpage {
    height: auto !important;
    min-height: auto;
}

.bio-container {
    background-color: white;
    width: 100%;
    height: 5vh;
    bottom: 0%;
    margin: 0%;
    position: fixed;
    display: none;
    /*border-top: solid 1px;*/
    box-shadow: -10px 0px 10px darkgray ;
    cursor: pointer;
    padding: 10px;
    padding-bottom: 0;
    overflow-y: auto;
    font-size: 8pt;
    text-overflow: wrap;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 0; /* Ensure it's above other content */
}

.bio-container.show {
    transform: translateY(0);
    display: flex; /* Ensure it's visible when show class is applied */
}

.bioClick{
    color: blue;
    cursor: pointer;
    font-size: 8pt;
    bottom: 5px;
    position: relative;
}
#bigtitle:active {
    opacity: 0%;
}

.wrap{
    display:flex;
       gap: 0;
       margin: 0;
       padding-bottom: o;
       padding: none;
    }

.box{
     height: 90vh;
    overflow: auto;
    padding: 2%;
    padding-bottom: 0%;
    transition: all 700ms ease;
    flex: 1;
    
}


#left-box {
    border-right: solid 2px;
}

#left-box:hover{
  flex: 2; 
   margin: 0;
   padding: 0;


}


#right-box:hover{
   flex: 2;
   margin: 0;
   padding: 0;
}


.title {
      font-size: 8vh;
    font-family: terminal_grotesque;
    padding-top: 2vh;
    margin: 0%;
    text-align: left;
    left: 10vh;
    margin-left: 5vh;
    margin-right: 5vh;
    margin-bottom: 10vh;
    margin-top: 10vh;
    color: white;
       -webkit-text-stroke: black 40px;
    paint-order: stroke fill;
    letter-spacing: 4vh;
    text-align: center;

}

.goth_title{
    font-family: gothic;
    font-size: 10vh;
}
.title2 {
    font-size: 5vw;
    font-family: basteleur_B;
    padding-top: 2vh;
    margin: 0%;
    text-align: left;
    left: 10vh;
    margin-left: 10vh;
    margin-right: 10vh;
    color: white;
    -webkit-text-stroke: black 50px;
    paint-order: stroke fill;
    letter-spacing: 2vh;


}


.grille_1{
    border-top: black solid 2px ;
    border-bottom: black solid 2px;
    width: 100%;
    min-height: 33vh;
    margin-bottom: 1vh;
    margin-top: 1vh;
    position: flex;
    display: flex;
}
.grille-inline_1{
    border-left: solid 2px;
    margin: none;
    padding: none;
    margin-left: 10vh;
    left: 10vh;
}
.grille-inline_2{
    border-right: solid 2px;
    margin: none;
    padding: none;
    margin-right: 10vh;
    right: 10vh;
    width: 100vh;
}
.title::first-letter{
    font-size: 8vw;
}
.title2::first-letter{
    font-size: 8vw;
}


#oupsi{
    text-align: right;
    font-size: 43pt;
    font-family: terminal_grotesque;

}
#oups{
    font-size: 37pt;
    font-family: terminal_grotesque;
}
.Luigi1{
    display: flex;
    margin-bottom: 2em;
}

#left-p1{

    margin-right: 25%;
}
#right-p1{
    margin-left: 25%;
}

.legend{
    margin: 30vh;
}
.legend_center{
    margin: 30vh;
    margin-left: 30vh;
    margin-right: auto;
    display: flex;
}
#kitsch1{
    font-size: 5vw;
    font-family: Interlope;
    text-align: right;
}
#kitsch2{
    font-size: 5vw;
    font-family: Interlope;
}

.legend{
    margin: 2vw;
    padding: 2vw;
}
.legend_text{
    font-family: monospace;
    margin-bottom: 3vw;

}
.citation{
    font-family: monospace;
    font-size: 8pt;
    margin: 20vh;
    
}

.exegese{
    font-family: steps;

    margin: 0vw;
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding: 2vh;
    padding-top: 10vh;

    padding-left: 10vh;
    font-size: 10pt;
}

.SS{
    font-family: Arial;
    position: relative;
    left: 10vw;
    width: 30vw;
}

.TextImage{
    display: flex;
   
}
#ragebait{
    width: 100vh;
    


}
#ragebaitImg{
    width: 50%;
    float: left;
    margin-right: 5vh;
}

.vertical_vid{
    margin: 2vh;
    width:40%%;
    float: right;
}
.p_end_of{
    border-bottom: solid 2px;
    margin-bottom: 2vh;
    paddding-bottom: 5vh;
}

.basic_p_left{
    font-size: 11pt;
    text-wrap: pretty;
    margin-left: 10vh;
    margin-right: 15vh;
    font-family: VG5;
    margin-bottom: 20vh;
    text-align: justify;

}

.basic_p_right{
    font-size: 11pt;
    text-wrap: pretty;
    margin-left: 25vh;
    margin-right: 5vh;
    font-family: basteleur_M;
    margin-bottom: 20vh;
    text-align: justify;


}
.intro_p_right {
    font-size: 11pt;
    text-wrap: pretty;
    margin-left: 50vh;
    margin-right: 50vh;
    font-family: basteleur_M;
    margin-bottom: 10vh;
    text-align: justify;


}

#justice{
    width: 90%;
    margin-bottom: 50vh;
    margin-top: 50vh;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.image1{
    margin: 0vh;
    margin-top: 30vh;
    margin-bottom: 30vh;
    width: 100%;
}

.row{
    display: flex;
    margin-bottom: 5vh;
    margin-left: 10vh;
    margin-right: 5vh;
}
.collone_L{
    width: 50%;
    text-align: justify;
    text-wrap: wrap;
    margin: 3vh;
    font-family: terminal_grotesque;
}
.collone_R{
    width: 50%;
    text-align: justify;
    text-wrap: wrap;
    margin: 3vh;
    font-family: terminal_grotesque;
}
.collone_L2{
    width: 50%;
    text-align: justify;
    text-wrap: wrap;
    margin: 3vh;
    margin-left: -5vh;
    font-family: terminal_grotesque;
}
.collone_R2{
    width: 50%;
    text-align: justify;
    text-wrap: wrap;
    margin: 3vh;
    font-family: terminal_grotesque;
}

/* Image overlay styles - make sure these are in your CSS file */
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.image-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

/* Make images show they're clickable */
img {
    cursor: pointer;
    transition: opacity 0.2s;
}

img:hover {
    opacity: 0.8;
}

#barber{
    width: 40%;
    align-items: center;
    float: left;
    margin: 2vh;
    margin-left: -20vh;
    margin-right: 10vh;
}
#liste{
    width: 100%;
    margin: 2vh;
    margin-bottom: 20vh;
}
.basic_p_right_list{
    font-size: 9pt;
    text-wrap: pretty;
    font-family: basteleur_M;
    text-align: justify;
    margin-left: 25vh;
    margin-right: 5vh;

}

#luigFlex{
    display: flex;
    margin-right: auto;
    align-items: center;
    di
}
.luigis{
    height: 100%;
    width: auto;
    margin: 10vh;
    margin-left: 30vh;
    margin-right: auto;
    padding: 0vh;
}
.calli{
    rotate: 180deg;
    width: 100vh;
    content: center;
    bottom: 5vh;

}

.video-slideshow-section {
  width: 50vh;
  background: white;
  margin: 30vh;

}

.video-wrapper {
  position: relative;
  width: 100%;
  background: white;
}

.slideshow-video {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: white;
  display: block;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 10px;
  background: white;
}

.nav-buttons button {
  padding: 6px 12px;
  font-size: 16px;
  cursor: pointer;
  background: #333;
  color: white;
  border: 1px solid #666;
}

.counter {
  color: white;
  text-align: center;
  padding: 5px;
  font-family: monospace;
  background: white;
}

/* Video overlay styles */
.video-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  cursor: pointer;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.video-overlay video {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.video-overlay .close-overlay {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  font-family: monospace;
}

.video-overlay .close-overlay:hover {
  color: #ccc;
}

/* Make videos show pointer cursor */
.slideshow-video {
  cursor: pointer;
}
#expandBtn {
  background: #444;
  border-color: #888;
}

#expandBtn:hover {
  background: #666;
}

/* Hover explanation window styles - Light theme */
.hover-text {
  cursor: help;
  border-bottom: 2px dotted ;
  position: relative;
  display: inline-block;
  z-index: 10000;
}

.hover-window {
  display: none;
  position: fixed;
  background: #ffffff;
  color: #333333;
  padding: 12px 16px;
  border: 1px solid #ddd;
  max-width: 400px;
  width: auto;
  min-width: 180px;
  z-index: 100000;
  font-size: 14px;
  line-height: 1.5;
  font-family: steps, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  word-wrap: break-word;
  white-space: normal;
}

/* Custom popup styles */
.custom-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 20000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.custom-popup {
    background-color: white;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: default;
    overflow-y: auto;
    font-family: basteleur_M, monospace;
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    z-index: 20000;
}

.custom-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.custom-popup-close:hover {
    color: #333;
}

.custom-popup p {
    margin-bottom: 15px;
}

.custom-popup button {
    margin-top: 20px;
    padding: 8px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-family: monospace;
    font-size: 14px;
}

.custom-popup button:hover {
    background-color: #555;
}

#cyber{
    display: flex;
}
.deck{
    margin: 1vh;
    padding: 0;
}

