
.lexend-light {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 1;
  font-style: normal;
}

.lexend-regular {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.lexend-bold {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.lexend-bolder {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

*{
    font-family: "lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
}


body{
  position: fixed;
  width: 1000vw;
  height: 1000vw;
  scroll-behavior: auto;
  overflow: hidden;
}

header{
    position: fixed;

    height: 10dvh;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 80vw;
}

#project-buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
}

#page-title{
    font-weight: bold;
    color: white;
    user-select: none;
    font-size: 40px;
    background-color: blue;
    padding: 20px;
    position: relative;
    top: 0;
    left: 0;
}

footer{
    position: fixed;
    background-color: rgb(255, 255, 255);
    height: 5dvh;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    overflow: scroll;
}

.project-footer-button{
    background: none;
    border: none;
    line-height: 5dvh;
    cursor: pointer;
    color: rgb(0, 0, 255);
    margin: 0 10px;
    background-color: white;
    border: 1px solid blue;
    transform: none;
    transition: background-color 0.3s, color 0.3s, transform;
    width : fit-content;
    
}

.project-footer-button:hover{
    background-color: blue;
    color: white;
    cursor: pointer;
}

.project-footer-button:active{
    background-color: transparent;
    color: rgb(0, 0, 200);
    transform: scale(0.9);
}

#background-canvas{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-window{
    position: absolute;
    width: 30vw;
    height: fit-content;
    background-color: rgb(255, 255, 255);
    filter : drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.3));
    opacity: 1;
    transition: opacity 0.5s;
    
}

.hidden{
    opacity: 0;
    
}

.content{
 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:blue;
    user-select: none;
    padding: 10px;
    color: white;

    flex-direction: row;
}

.project-image{
    width: 100%;
    height: 100%;
    object-fit: fill;
    user-select: none;
}

.project-video{
    width: 100%;
    height: 100%;
    object-fit: fill;
    user-select: none;
    padding: none;
}

.close-button{
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(255, 255, 255);

    line-height: 10px;
    top: 5px;
}

.images-button{
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(255, 255, 255);
    transform: none;
    transition: transform 0.3s;
}

.images-button:hover{
    color: rgb(200, 200, 200);
    cursor: pointer;
    transform: scale(1.1);
}

.images-button:active{
    color: rgb(150, 150, 150);
    transform: scale(0.9);
}


.tags-button{
    background: none;
    border: none;

    cursor: pointer;
    color: rgb(255, 255, 255);
    transform: none;
    transition: transform 0.3s;
}

.tags-button:hover{
    color: rgb(200, 200, 200);
    cursor: pointer;
    transform: scale(1.1);
}


.tags-button:active{
    color: rgb(150, 150, 150);
}

.title{

    
    font-weight: bold;
    color: rgb(255, 255, 255);
    user-select: none;
    overflow: visible;
}

.project-description{
    padding: 20px;

    color: rgb(0, 0, 0);
}

.project-tags{
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 10px;
    position: relative;
    left: 0;
}

.project-tag{
    display: inline-block;
    color: blue;
    border-radius: 4px;
    cursor: pointer;
    width: fit-content;
    transform: none;
    transition: transform 0.3s font-weight 0.3s, color 0.3s;
    width: 100%;
    align-self: left;
    text-align: left;
}

.project-tag:hover{
    color: rgb(0, 0, 255);
}

.project-tag:active{
    color: rgb(0, 0, 200);
    transform: scale(0.9);
    font-weight: 100;
}



svg{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#search-input{
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none;
    z-index: 1000;
}

#embeddings-div{
    display: none;
}

.map_button{
    position: absolute;
    width: fit-content;
    height: fit-content;
    border: none;
    background-color: blue;
    cursor: pointer;
    z-index: 10000;
    transform: translate(-50%, -50%);
    border: 0px solid blue;
    transform: scale(1) translate(-50%,-50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border 0.3s, transform 0.3s;
    color: white;
    padding: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: center;
}

.map_button:hover{
    transform: scale(1.2) translate(-30%,-30%);
}

.map_button:active{
    border: 2px solid blue;
    background-color: transparent;
    transition:  border 1s;
}

.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#minimap{
    position: fixed;
    top: 1dvh;
    right: 20px;
    width: 20dvh;
    height: 20dvh;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    z-index: 10000;
}

#percentage{
    position: fixed;
    top: 22dvh;
    right: 2dvh;
    color: rgb(0, 0, 255);
    z-index: 10000;
}
#about-button{
    color: blue;
}

#about{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: fit-content;
    background-color: white;
    border: 1px solid blue;
    z-index: 10000;
    transition: opacity 0.5s;
    pointer-events: auto;

    #about-description{
        padding: 20px;
        color: black;
    }
    
}

#about.hidden{
    pointer-events: none;
}

table{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;

    tr{
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 20px;
    }

    td{
        width: 50%;
        text-decoration: none;
    }

    a{
        color: black;
        text-decoration: none;
    }

    a:hover{
        color: blue;
        cursor: pointer;
    }
}

@media screen and (max-width: 600px) {
    .floating-window{
        width: 100%;
        height: 100dvh;
        filter: none;
        top: 15dvh !important;
        z-index: 1000;

    }
    .content{
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        height: fit-content;
    }


    #page-title{
        font-size: 30px;
    }

    header{
        width: 90vw;
    }

    body{
        width: 100dvw;
        height: 100dvh;
        min-height: 10dvh;
        overflow-x: hidden;
        overflow-y: scroll;
        position: absolute;
        padding: 0;
        margin: 0;
    }

    footer{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10001;
        height: 6dvh;
    }

    #minimap{
        display: none;
    }
    #percentage{
        display: none;
    }
    .project-footer-button{
        line-height: 6dvh;
        font-size: 14px;
    }
    #project_buttons{
        position: fixed;
        display: flex;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        width: 100dvw;
        top: 10dvh;
        height: fit-content;
        z-index: 10000;
        background-color: white;
        padding: 10px 0;
        overscroll-behavior: none;
    }
    #about{
        position: relative;
        width: 100dvw;
        height: 100dvh;
        filter: none;
        top: 18dvh ;
        z-index: 1000;
        transform: none;
        left: 0;
       

    }
     #about-description{
            height: fit-content;
        }
    header{
        width: 100dvw;
        background-color: white;
    }
    #about-button{
        position: relative;
        right: 10dvw;
        z-index: 10001;
    }

    table{
        font-size: 10px;
    display: flex;
    flex-direction: column;
    width: 80%;
    padding: 20px;

    tr{
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 20px;
        font-size: 12px;
    }

    td{
        width: 50%;
        text-decoration: none;
    }

    a{
        color: black;
        text-decoration: none;
    }

    a:hover{
        color: blue;
        cursor: pointer;
    }
}

}