/* IMPORT RESOURCES */

@font-face {
    font-family: 'braile'; /*a name to be used later*/
    src: url("../../fonts/braile.ttf"); /*URL to font*/
}

@font-face {
    font-family: 'carlito'; /*a name to be used later*/
    src: url("../../fonts/Carlito-Regular.ttf"); /*URL to font*/
}

@font-face {
    font-family: 'carlitoit'; /*a name to be used later*/
    src: url("../../fonts/Carlito-Italic.ttf"); /*URL to font*/
}

a { /*remove underline from urls*/
    text-decoration: none;
    color: inherit;
}

body{
    margin:0;
    background-color: #1e0e13;
}

/* TOP NAV BAR */
#navblock{
    position: sticky;
    width: 100%;
    height: 4rem;
    background-color: black;
    z-index: 2;
}

#navaccent{
     width: 100%;
     height: .4em;
     background-color: #71F4FF;
     position:absolute;
     z-index: 2;
     top: 3.2em;
     z-index: 3;
}

#navtext{
    font-size: 35px;
    color:white;
    font-family: "carlito";
    letter-spacing: .02em;
    padding-left: 1%;
    padding-right:1%;
    z-index: 4;
}

#homepagebutton{
    float: left;
    padding-left: 1%;
    padding-right:1%;
    padding-top: .1em;
    text-decoration: underline;
    z-index: 6;
}

@media only screen and (min-width: 771px) {
    #navgrouped{
        visibility: visible;
        right:.2em;
        position: absolute;
        padding-left: 1%;
        padding-right:1%;
        padding-top: .1em;
        a{
            text-decoration: underline;
            padding:.5em;
        };
        z-index: 6;
    }
    #hamburgermenu{
        visibility: hidden;
        display: inline-block;
    }

    #hamburgerLinksHolder{
        visibility: hidden;
        display: inline-block;
    }

    .hamburgercontained{
        visibility: hidden;
    }

}

#hamburgermenu{
     position:absolute;
        top:.5rem;
        right:.5rem;
        width: 2rem;
}

/* hamburgerify */
@media only screen and (max-width: 770px) {
    #navgrouped{
        visibility: hidden;
    }
    #hamburgermenu{
        visibility: visible;
    }

    #hamburgerLinksHolder{
        visibility: hidden;
        display:flex;
        flex-direction: column;
        width: 8rem;
        height:10rem;
        position: absolute;
        top: 4rem;
        right:0rem;
        padding-right:.7rem;
        background-color: black;
    }

    .hamburgercontained{
        color:white;
        width:100%;
        font-size: 2rem;
        text-decoration: underline;
        padding-top: .6rem;
        text-align: right;
        font-family: "carlito";
    }

}


/*unique stuff for this page*/

#mainholder{
    display:flex;
    flex-direction: column;
    top:4rem;
    width:100%;
}

#mainbg{
    background-color: #000000;
    width:calc(100vw - 3rem);
    align-self: center;
    position: absolute;
    border:.2rem solid #71F4FF;
    margin-top:.9rem;
}

h1{
    color:white;
    font-family: 'Times New Roman', Times, serif;
    text-decoration: underline;
    font-weight: bold;
    font-style:italic;
    font-size: 6vw;
    padding-left: .8vw
}

#projnametitle{
    margin:0;
    font-size: clamp(1rem, 6vw, 12vh);
}

#topbarflex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 1.5%;
    padding-right: 2%;
    padding-top: 1%;
    padding-bottom: 2vh;
    height:clamp(0rem,10vw,20vh);
}

#backarrow{
    aspect-ratio: 1;
    margin-bottom: 2vh;
    height:65%;
    padding-top:10%;
    padding-right:15%;
}

#imglistholder{
    display: flex;
    flex-direction: row;
    justify-content:center;
    gap:3vw;
    padding-top:2%;
    padding-right:10%;
    padding-left:10%;
    height:60vh;
}



@media only screen and (max-width:600px){
    #imglistholder{
         flex-direction: column;
         height:70vh;
         width:100%;
         padding:0;
         padding-top:2%;
         gap:.5rem;
    }

    .displayimage{
        height:fit-content;
    }

    .imgholder{
        height:33%;
                align-self: center;

    }
}

.displayimage{
    border:.3vw solid #71F4FF;
    height:clamp(5rem, 23vw, 100%);
    flex-shrink: 0;
    flex-grow: 0;
    /*width: fit-content;*/
    align-self: center;
}

video{
        pointer-events: none;
        height:100%;
}

.imgholder{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 60%;
}

h3{
    color: #BFBFBF;
    font-family: "carlitoit";
    text-align: center;
    font-size:clamp(.55rem, 1.25vw, 100%);
    height:5vh;
    width:100%;
}

#descriptionholder{
    padding-left: 11%;
    padding-right:11%;
    padding-top:2vh;
    font-family: "carlito";
    color:white;
    font-size: 1.5vw;
    padding-bottom: 4vh;
}

p{
    margin:0;
}

.link{
    color:#71F4FF;
    text-decoration: underline;
}

#linktogroup{
     float: right;
     padding-right:2vw;
    padding-bottom:3vh;
    font-family: "carlito";
        font-size: 1.5vw;

}

iframe{
    aspect-ratio: 16 / 9;
}