@font-face {
    font-family: 'Medium';
    src: URL('PPNeueMontreal-Medium.otf') format('opentype');
  }

@font-face {
    font-family: 'Medium2';
    src: URL('IBMPLEXMONO-BOLD.TTF') format('truetype');
}


@font-face {
    font-family: 'Light';
    src: URL('IBMPLEXMONO-LIGHT.TTF') format('truetype');
}


@font-face {
    font-family: 'ExtraLight';
    src: URL('IBMPLEXMONO-THIN.TTF') format('truetype');
}

@font-face {
    font-family: 'icons';
    src: URL('Segoe\ Fluent\ Icons\ Regular.ttf') format('truetype');
}


body{
    margin-bottom: 100px;
    background-color: rgb(50, 50, 50);
    overflow-y: overlay;
    margin: 0px;
}




h1{
    font-family: Medium;
    font-size: 24px;
    line-height: 1;
    color: white;
    user-select:text;
    transition-duration: 500ms; 
    font-feature-settings: 'cv10' on;

}

h2{
    font-family: Medium;
    font-size: 24px;
    line-height: 1;
    color: rgb(0, 0, 0);
    user-select:text;
    transition-duration: 500ms; 
    font-feature-settings: 'cv10' on;
}

h3{
    float: right;
    font-family: Medium;
    font-size: 24px;
    line-height: 1;
    color: rgb(0, 0, 0);
    user-select:text;
    transition-duration: 500ms; 
    font-feature-settings: 'cv10' on;
}

p1{
    font-family: Medium;
    font-size: 24px;
    line-height: 1vh;
    display: block;
    user-select:text;
    transition-duration: 400ms; 
    border: 1px solid rgba(0, 0, 0, 0);
    font-feature-settings: 'cv10' on;

}


a{
    user-select:text;
    transition-duration: 400ms; 
    text-decoration: none;
    
}

.button{
    color: rgb(255, 255, 255);
    text-rendering: optimizeLegibility ;
    font-family: Light;
    font-size: 1.5vh;
    user-select:text;
    transition-duration: 400ms; 
    text-decoration: none;
    transform: scale(1);
    width: fit-content;
    padding: 10px 10px 10px 0px;
    margin-bottom: 10px;
    line-height: 1;
}

.textbutton{
    color: rgb(255, 255, 255);
    text-decoration: underline 1% solid white;
    text-underline-offset: 20%;

}

.textbutton:hover{
    color: rgb(0, 0, 0);
    text-decoration: underline 1% solid rgba(255, 255, 255, 0);
    background-color: white;
}

.textbutton2{
    color: rgb(0, 0, 0);
    text-decoration: underline 1% solid rgb(0, 0, 0);
    text-underline-offset: 20%;

}

.textbutton2:hover{
    color: rgb(255, 255, 255);
    text-decoration: underline 1% solid rgba(255, 255, 255, 0);
    background-color: rgb(0, 0, 0);
}

.button:hover{
    transform: scale(1.1);
    


}


.alignbottom{
    font-size: 3vh;
    height: auto;
    margin-top: auto;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    width: fit-content;
}

.home{
    color: rgb(255, 255, 255, 0.5);
    text-rendering: optimizeLegibility ;
    font-family: Light;
    font-size: 12px;
    padding: 10px;
    border-radius: 0px;
    transform: scale(0.9);
    transition: all 500ms cubic-bezier(0.64, 0.14, 0.09, 0.96);

}


a .home:hover{
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255,0.5);
    background-color: rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0px 13px 13px rgba(0, 0, 0, 0.25));
    transform: scale(1);
}

a .Light:hover{

    color: rgb(174, 175, 192);
    transform: translateX(10px);
    padding-left: 0px;
    border: 1px  rgb(174, 175, 192);
    border-style: solid none solid none;

}

a .Light3:hover{

    color: rgb(174, 175, 192);
    transform: translateX(10px);
    padding-left: 0px;
    border: 1px  rgb(174, 175, 192);
    border-style: solid none solid none;

}

.Light{
    color: rgb(255, 255, 255);
    text-rendering: optimizeLegibility ;
    font-family: Light;
    font-size: 12px;
    padding: 10px 10px 10px 0px;
    border-radius: 0px;
    margin-bottom: 10px;
    border: 1px  rgb(255, 255, 255,0);
    border-style: solid none solid none;
    line-height: 1.2;
    

}

.Light2{
    color: rgb(255, 255, 255, 0.5);
    text-rendering: optimizeLegibility ;
    font-family: Light;
    font-size: 12px;
    padding: 10px 0px 0px 0px;
    border-radius: 0px;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.2;


}

.Light3{
    color: rgb(0, 0, 0);
    text-rendering: optimizeLegibility ;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    padding: 10px 10px 10px 0px;
    border-radius: 0px;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.2;
    border: 1px  rgb(255, 255, 255,0);
    border-style: solid none solid none;

}

.title3{
    color: black;
    height: auto;
    margin-top: auto;
    line-height: 1;
    white-space: nowrap;
    position: absolute;
    left: 3%;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;


}




.title{
    height: auto;
    margin-top: auto;
    line-height: 1;
    white-space: nowrap;
    position: absolute;
    left: 3%;
    

}

.grid-container {
    display: grid;
    grid-template-columns: 45vw 45vw;
    
    grid-template-rows: 20% 1%  ;
    column-gap: 2vh;
    row-gap: 2vh;
    height: 50%;
    width: auto;
    justify-content: center;
    padding-bottom: 350px;

}

.gall-container {
    display: grid;
    grid-template-columns: 40vw 40vw;
    grid-template-rows: 25% 25% 25% 25% ;
    column-gap: 2vh;
    row-gap: 10vh;
    height: 100%;
    width: auto;
    justify-content: center;
    padding-bottom: 0;
    padding-top: 20px;

}

.imageview{
    width: 80vw;


}

@media only screen and (min-width: 1024px) {


    .grid-container {
        display: grid;
        grid-template-columns: 17vw 17vw 17vw 17vw 17vw ;
        grid-template-rows: 25% 25%  25%  25% ;
        gap: 2vh    ;
        height: 90%;
        width: auto;
        justify-content: center;
        padding-bottom: 0px;

    }

    .gall-container {
        display: grid;
        grid-template-columns: 17vw 17vw 17vw 17vw 17vw ;
        grid-template-rows: 25% 25%  25%  25% ;
        gap: 2vh    ;
        height: 200%;
        width: auto;
        justify-content: center;
        padding-bottom: 30%;
        padding-top: 0%;
        margin: 0;
        margin-top: 00;
    }

    .title{
        font-size: 24px;
        height: auto;
        margin-top: auto;
        line-height: 1;
        white-space: nowrap;    
        position: relative;
        width: 200%;
        left: auto;
    }

    .title3{
        color: black;
        font-family: 'Times New Roman', Times, serif;
        font-size: 24px;
        height: auto;
        margin-top: auto;
        line-height: 1;
        white-space: nowrap;    
        position: relative;
        left: auto;
    }


    

    .galleryimg:hover{
        transform: scale(1.4);
        z-index: 2;
    }
    
    .gall-container:hover .galleryimg:not(:hover){
        opacity: 75%;
        filter: blur(2px);
        z-index: 1;
        transform: scale(0.95);

    }

    .galleryimg {
        display: block;
        width: auto;
        height: 100%;
        object-fit:contain;
        transition-duration: 400ms;
    }

    .galleryimg:active{
        transform: scale(1.2);
        z-index: 2;
    }
    
    
    
    .gallerytext{
        color: black;
        opacity: 0%;
        font-family: Bold;
        filter: blur(10px);
        z-index: 4;
        position: fixed;
        left: 2%;
        font-size: 2vh;
        bottom: 5%;
        pointer-events: none !important;
        text-shadow: 0px 0px 36px #FFFFFF;
    }
    
    .grid-item:hover .gallerytext:not(:hover){
        opacity: 100%;
        filter: blur(0px);
        z-index: 4;
        left: 5%;

    }

    .imageview{
        width: 29vw;
    }

    





    
    
    
}

.grid-item {
    display:flex;
    border: 1px solid rgba(255, 255, 255, 0.);
    padding: 0px;
    color: rgba(0, 0, 0, 0);   
    border-color: rgba(0, 0, 0, 0.);
    user-select:none;
    text-overflow: ellipsis;
    height: 100%;
    flex-direction: column;
    align-content: flex-start;
}

#backgroundvideo {
    object-fit: scale-down;
    width: 100%;
    height: 100%;
    position: fixed;   
    overflow: hidden;
    z-index: -1021;
    opacity: 100%;
    margin: 0 auto;
    transition: all 1s cubic-bezier(0.64, 0.14, 0.09, 0.96);
    opacity: 100%;
    zoom: 1;



}



.galleryimg {
  display: block;
  width: auto;
  height: 100%;
  object-fit:contain;
  transition: all 300ms cubic-bezier(0.64, 0.14, 0.09, 0.96);
  
}

.galleryimg:active{
    transform: scale(1.2);
    z-index: 1;
}

.gall-container:hover img:not(:hover){
    opacity: 100%;
    z-index: 1;
}



.gallerytext{
    color: black;
    font-family: Medium;
    z-index: 1;
    font-size: 1.7vh;
    pointer-events: none !important;
    text-shadow: 0px 0px 36px #FFFFFF;

}

.grid-item:hover .gallerytext:not(:hover){
    opacity: 100%;
    filter: blur(0px);
    z-index: 4;
}

#posts{
    opacity: 0%;
    z-index: -1;
    position: fixed;
    transform: scale(1.5);
    filter: blur(20px);
    left: 0;
    right: 0;
    top: 0;
    transition: all 1s cubic-bezier(0.64, 0.14, 0.09, 0.96);
    overflow: hidden;
    /*    overflow-x: hidden; for when posts need to scroll, not needed yet   */
}

#home{
    transition: all 1s cubic-bezier(0.64, 0.14, 0.09, 0.96);
    filter: blur(0px);
    transform: scale(1);
    opacity: 100%;
}


#preview{
    width: 100%;
    height: 100vh;
    aspect-ratio: auto;
    transform: scale(0.9);
    position: absolute;   
    overflow: visible;
    top: 0%;
    vertical-align: middle;

}

#gal{
    transition: all 1s cubic-bezier(0.64, 0.14, 0.09, 0.96);



}

#writeup{
    color: black;

}