@font-face {
    font-family: "Asparthame";
    src: url(./type/1021-1.2-Asparthame.otf);
}

@font-face {
    font-family: "Yale";
    src: url(./yalenew/yalenew-roman-webfont.ttf);
}

@font-face {
    font-family: "DinDong";
    src: url(./type/DINdong.otf);
}

:root {
    --column-height: 92vh;
    --text-face: "Yale";
    --text-size: 12pt;

    --bgcolor: rgb(250, 250, 250)
}

::selection {
    background-color: rgb(33, 33, 79);
    color: rgb(250, 250, 250);
}

body {
    background-color: rgb(250, 250, 250);
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#all {
    margin: 0;
    padding: 0;
    display: flex;
}



h1 {
    font-family: "Yale";
    text-align: center;
    margin-top: 48vh;
    font-size: 30pt;    
    letter-spacing: -0.06em;
    line-height: 0.84;
    font-weight: 400;
}

img {
    max-width: inherit;
    min-width: 29vw;
    border-radius: 12px;
}

#imageContainer:hover p {

    opacity: 100;
    filter: blur(0px);
}

#imageContainer img {
    max-width: inherit;
    width: 29vw;
    position: relative; 
    margin-bottom: 10px;
    margin-top: 10px;

    
}

#imageContainer p {
    margin-top: -200px;
    font-family: arial;
    font-size: 30pt;
    letter-spacing: +0.08em;
    background-color: black;
    color: white;
    text-indent: 0;
    text-align: center;

    z-index: 2000;
    opacity: 0;
    filter: blur(40px);

    transition: 0.6s;
}

#column img:hover {
    filter:blur(0);
    opacity: 100;
}

#layer {
    position: absolute;
    margin-top: 0;
    display: flex;
    gap: 20px;
    left: 0;
    right: 0;
    

    
    flex-direction: row;
    justify-content: center;

    backdrop-filter: blur(1px);
    background: rgba(250, 250, 250, 0.2);
    transition: 0.2s;
}

#column {
    flex: 1;
    gap: 2vw;
    max-width: 29vw;
    width: 29vw;
    max-height: var(--column-height);
    overflow-y: auto;

    scrollbar-color: rgb(0, 0, 0);
    scrollbar-width: none;

    scroll-behavior: smooth;

    opacity: 40%;
    filter: blur(20px);

    transition: 1s;

    border-bottom: 1px solid rgba(250, 250, 250, 0);
}



#column:hover {
    border-bottom: 1px solid black;

    opacity: 100%;
    filter: blur(0px);

    

}


p {
    padding: 12px;
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    margin-top: 0;
    margin-bottom: 0;
/*
    hyphens: auto;
    text-align: justify;
*/
    font-family: var(--text-face);
    font-size: var(--text-size);
    text-indent: 2em;

    border: 1px solid rgba(0, 0, 0, 0);
    color: rgb(0, 0, 0);

    transition: 0s; 
}

p:hover{
    color: black;
    transition: 0.4s;
    border-radius: 6px;

    border-left: 1px solid rgb(161, 22, 22);
    border-right: 1px solid rgb(161, 22, 22);
    z-index: inherit;
}

/*
#column :nth-child(1) {
    margin-top: 300px;
} */

#column :nth-child(1 of #paragraph-container) {
    margin-top: 300px;
}

#column :nth-child(1 of #paragraph-container) p {
    text-indent: 0;
}


#backlink {
    font-family: monospace;
    opacity: 0;
    transition: 0.2s;
    position: absolute;
    top: calc(var(--column-height) + 90vh);
    left: inherit;
    z-index: 10;
}

#paragraph-container:hover #backlink {
    opacity: 0%;
}

#paragraph-container {
    transition: 0.2s;
}


#paragraph-container:nth-last-of-type(1) {
    margin-bottom: 300px;
}



.backlinkFinder {
    background-color: rgb(20, 12, 48);
    color: white;
}


#spacer {
    height: 100px;
}

#ghost_top {
    height: 180px;
    position:absolute;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(250, 250, 250, 100), rgba(250, 250, 250, 0));
    user-select: none;
    pointer-events: none;
}

#splash {
    z-index: 12;
    position: absolute;
    margin-top: 0;
    background-color: var(--bgcolor);
    padding-top:-20px;
    padding-bottom: -20px;

    user-select: none;
    pointer-events: none;


}

#splash p {
    text-align: left;
    color: black;
    text-indent: 0;
    font-size: 40pt;
    margin-top: 0;
    letter-spacing: -0.02em;
}


#navigationContainer {
    display: flex;
    flex-direction: row;
    gap: 40px;  
    margin-top: 10px;
    
}


#navigation {
    justify-content: center;
    text-align: center;
    height: 2rem;
    z-index: 100;
    height: 20px;
    transition: 0.2s;

    padding-left: 10px;
    padding-right: 10px;
    padding-top: 1px;
    
    backdrop-filter: blur(4px);
    border-radius: 12px;
    background-color: rgba(250, 250, 250, 0.4);

    user-select: none;

    font-family: "Georgia";

    
}

#navigation #bt {
    margin-top: 20px;
}

#navigation:hover {
    color: rgb(16, 63, 203);
    cursor: pointer;
}

/* 
#navigation:has(input[type="checkbox"]:checked) #bt {
    color: blue;
} */
/* 
#navigation:has(input[type="checkbox"]:checked) + #layer {
    z-index: 100;

} */

#navigation input {
    display: none;
}

#column:hover ~ #titleSegment {
    opacity: 0;
    filter:blur(80px);
}

#titleSegment {
    font-family: "Georgia";
    font-size: 5vw;
    letter-spacing: -0.03em;
    /* text-decoration: underline 2px solid; */
    line-height: 0.9;
    /* font-weight: 200; */
    color: rgb(0, 0, 0);

    



    position: relative;
    
    max-width: 29vw;
    text-wrap: wrap;


    user-select: none;
    pointer-events: none;

    transition: 2s;

    top: -58vh;
    text-align: center;
    align-content: center;

   

    

}

#titleSegment label {
    text-align: center;
}

/* classes */

/* ChosenParagraph.style.transition = transitTime;
ChosenParagraph.style.borderTop = "1px solid rgba(100, 100, 100, 1.0)"
ChosenParagraph.style.backgroundColor = selectionShade;
ChosenParagraph.style.borderRadius = "6px"; */
.backLinkChosen {
    border-top: 1px solid rgba(100, 100, 100, 1.0);
    background-color: rgb(33, 33, 79);
     
}




/*
#layer:nth-of-type(2) :nth-child(3) :nth-child(4){
    background-color: red;
}*/


.layerChoice {
    margin: 1rem;
}

#mobileBlock {
    opacity: 0;
    position: absolute;
}

@media screen and (max-width: 800px) {
    /* #layer {
        flex-direction: column;
    }

    #column {
        max-height: 29vh;
        max-width: 100vw;
        border-bottom: 1px solid black;
    }

    body {
        overflow-y: hidden;
        margin: 0;
        padding: 0;
    }

    #ghost_top {
        opacity: 0;
    }

    #backlink {
        background-color: white;
    }
    
    #splash {
        opacity: 0;
    } */

    #mobileBlock {
        opacity: 100%;
        background-color: white;
        position: absolute;
        top: 0;
        left: 0;

        width: 100vw;
        height: 100vh;

        z-index: 1000;
        

        display: flex;
        justify-content: center;

    }

    #mobileBlock p {
        margin-top: 40vh;
    }

    #mobileBlock p:hover {
        border: 1px solid rgba(0, 0, 0, 0);
    }



}