/* :root {
    --vh:1vh;
} */


#debug__window{
    position: fixed;
    top: 20px;
    left:10px;
    width:200px;
    height:25px;
    background-color: black ;
    color: white;
    z-index: 100;
    font-size: 12px;
    visibility: hidden;
}

html, body {
    scroll-behavior: smooth;
    /* position: absolute; */
    height:100%;
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    font-family: Lora, serif;
    user-select: none;
}
/* html, body {
    position: absolute;
    height: calc(100 * var(--vh));
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    font-family: Lora, serif;
    user-select: none;
} */

html,body a{
    text-decoration: none;
}
h3{
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
main{
    width: 100%;
    height: 100%;
    background-color: white;
}


.cta-button:hover{
    cursor: pointer;
    background-color:white;
    border: solid 2px #000000;
    
}
.cta-button:hover p{
    color:black;
}



.button-circle{
    position: absolute;
    border: solid 4px #fff;
    border-radius: 18px;
    width: 28px;
    height: 28px;
    top:20px;
    left:20px;
    margin:0;
}

canvas {
    display: block;
}
.main-content{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100vh;
    margin:0;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    overflow-x:hidden;
}
.main-content::-webkit-scrollbar{
    display: none;
}

header-logo{
    position: fixed;
    top:-70px;
    left:20px;
    z-index: 10;
    transition: top 0.1s ease-in-out;
}
header-logo-subpages{
    position: fixed;
    /* top:-70px; */
    top:-5px;
    left:20px;
    z-index: 10;
    transition: top 0.1s ease-in-out;
}

menu-overlay{
    position: fixed;
    z-index: 15;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width:0px;
    height: 100vh;
    background-color: black;
    overflow: hidden;
    pointer-events: none;
    transition: width 0.1s ease-in-out;
}

.open-menu-dots{
    background-color: white!important;
}

header a, p{
    text-decoration: none;
    color:black;
    font-family: Lora, serif;
    font-weight: 400;
    font-size:26px;
    pointer-events: auto;
}

.section{
    height: 100%;
    width: 100%;
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: start;

}
.slideshow{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    /* overflow-x: auto; */
    overflow:hidden;
}

.slideshow::-webkit-scrollbar{
    display: none;
}
.slide::-webkit-scrollbar {
    display: none; 
}


.left:hover, .right:hover{
    cursor: pointer;
}

.slide::-webkit-scrollbar {
    display: none; 
}

.accent{
    font-weight: 700;
}

.footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    height:400px;
    background-color: #E7FFF9;
    width: 100%;
    overflow: hidden;
}


.site-link-tree{
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 50%;
}
.site-link-tree .links-list{
    display: flex;
    flex-direction: column;
    align-items: left;
    height:auto;
    margin-top:auto;
    margin-bottom: auto;
}
.site-link-tree a, .site-link-tree p{
    line-height: 26px;
    margin-top:2px;
    margin-bottom: 0;

    text-align: left;
}
  
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}
  
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #000000;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch-group .switch-label,
.switch-group .switch-parameter {
    flex: 1 0 20%; margin: 5px;
}




.project-img-wrapper img{
    width:auto;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
}


.project-popup::-webkit-scrollbar{
    display: none;
}


.project-explore-button:hover{
    cursor: pointer;
    background-color: white;
}
.project-explore-button:hover p{
    color: black;
}

.carousel-image:hover{
    cursor: pointer;
}

.carousel-image img{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.next::selection , .previous::selection, .arrow::selection , .left::selection , .right::selection {
    background: transparent;
}

.overlay{
    position : fixed;
    top : 50%;
    left : 50%;
    width : 0 ;
    height : 0;
    background-color : rgba(0,0,0,1);
    display : flex;
    justify-content : center;
    align-items : center;
    margin:0;
    z-index : 200;
    transform: translate(-50%,-50%);
    transition: height 0.1s ease-in, width 0.1s ease-in;
}

.open-image-overlay{
    width: 100%;
    height:100%;
}


/* modal video */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 0;
    margin:0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* background-color: rgba(0,0,0,0.9); */
}
.modal-overlay{
    background-color: white;
    position:absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#videoContainer{
    position: relative;
    margin:auto;
}
.close {
    position: fixed;
    right:25px;
    top:80px;
    width:30px;
    height:auto;
    z-index:110;
}

.close:hover,
.close:focus {
    opacity: 0.4;
    cursor: pointer;
}
  

/* video elements */

.video-play-icon{
    position: absolute;
    width: 75px;
    height: 75px;
    background-color:white;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;

}

.video-play-icon::before {
    content: ''; /* mandatory for the pseudo-element to be displayed */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px; /* makes the triangle shape */
    border-color: transparent transparent transparent black; /* triangle will be white */
    display: inline-block; /* required for the flex parent to center the triangle */
    position: absolute;
    top: 50%;
    left: calc(50% + 5px);
    transform: translate(-50%, -50%); /* centers the triangle */
  }


  /* loading spinner wheel */
  .spinner {
    border: 12px solid #000000;
    border-radius: 50%;
    border-top: 12px solid #b6f6e6;
    width: 90px;
    height: 90px;
    animation: spin 1s linear infinite;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  a{
    text-decoration: none;
    color:black;
  }
  a:hover{
    /* background-color: #E7FFF9; */
    /* background-color:#E7FFF9; */
    /* color:black; */
    /* padding: 8px 16px; */
    /* border-radius: 8px; */
    transition: background-color 0.2s ease;
  }