@import url(https://db.onlinewebfonts.com/c/eb01fc4d263f241198707d09080c865c?family=Times+NR+Seven+MT+Std);

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
}



html, body{
    width: 100%;
    height: 100%;
    background-color: rgb(248, 253, 254);
    font-family: "Times NR Seven MT Std";
}



/* MENU */

.menu{
    padding: .3rem .3rem .2rem .3rem;

    bottom: 0;
    position: fixed;
    font-size: 1.4rem;

    align-items: baseline;
    display: flex;
    
    width: 100%;
    z-index: 999;
}

#showSectionButton{
    text-decoration: none;
    background-color: transparent;
    font-family: "Times NR Seven MT Std";
    font-size: 1.4rem;
    color: rgb(0, 0, 0);
}

#socials{
    display: flex;
    gap: 0.35rem;
    list-style-type: none;
}


#socials button:hover{
    letter-spacing: .1rem;
    transition: 0.6s ease-in-out;
    cursor: pointer;
}

#socials button:not(:hover){
    transition: 0.6s ease-in-out;
    cursor: pointer;
}

#socials a{
    text-decoration: none;
    color:rgb(0, 0, 0);
}

#socials a:hover{
    letter-spacing: .1rem;
    transition: 0.6s ease-in-out;
}

#socials a:not(:hover){
    transition: 0.6s ease-in-out;
}

#site-info{
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-right: .5rem;
    color: rgb(150, 150, 150);
}

.menu div:last-child {
    margin-left: auto;
}




/* ABOUT-SECTION */

#about{
   opacity: 0;
   position: fixed;
   height: 115%;

   background-color:rgba(254, 254, 254, 0.65);

   overflow: hidden;
   transition: opacity 0.75s ease-in-out;
   z-index: 998;
}


.hidden{
    display: none;
}

#about a{
    color: black;
    text-decoration: underline;
}

#about a:hover{
    letter-spacing: .15rem;
    transition: 0.6s ease-in-out;
    text-decoration: underline;
}

#about a:not(:hover){
    transition: 0.6s ease-in-out;
    text-decoration: underline;
}

.aboutWrap{
    height: 100%;
    padding-top: .5rem;
    padding-left: .5rem;
    padding-right: .5rem;
}

.about img{
    display: block;
    max-width: 270px;
    margin: 0 auto;
    width: auto;
    height: auto;
    justify-content: center;
    align-items: center;
}

.about-txt{
    top: 0; 
    font-family: "Times NR Seven MT Std";

    font-size: 3.2rem;
    letter-spacing: -.09rem;
    text-indent: 20rem;

    color: #000000;
}

.background-container {
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    pointer-events: none;
}

.background-item {
    max-width: 200px;
    position: absolute;
    opacity: 1;
}

.hidden {
    opacity: 0;
}

.visible {
    opacity: 1;
}



/* GALLERY */

#gallery{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img{
    display: block;
    max-width: 100vw;
    max-height: 100vh;
}

#caption-display {
    position: fixed;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    top: .6rem;
    left: .2rem;
    gap: .2rem;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 996;
}

#caption-display img {
    display: inline;

    max-height: 30px;
    margin-right: 8px;
    padding: .2rem;
    border-radius: .2rem;
}

#caption-display video {
    display: inline;

    max-height: 30px;
    margin-right: 8px;
    padding: .2rem;
    border-radius: .2rem;
}

.display-item{
    padding-top: .2rem;
    padding-bottom: .2rem;
    padding-left: .2rem;
    padding-right: .2rem;

    display: flex;
    flex-wrap: wrap;

    width: max-content;
}

#caption-display figcaption {
    display: flex;
    color: black;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-style: italic;
    margin-right: .3rem;
    letter-spacing: .035rem;
}

.gallery-item figcaption #txt-ital{
    color: red;
}

#caption-none{
    display: none;
}

.display-item {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.display-item.fade-in {
    opacity: 1;
}

.display-item.fade-out{
    opacity: 0;
}


/* POPUP */

.popUp{
    opacity: 0;
    position: fixed;
    display: none;
    width: 100%;
    height: 115%;

    padding: .3rem;
    background-color:rgba(254, 254, 254, 0.65);
    

    color: black;

    transition: opacity 0.5s ease-in-out;

    z-index: 2000;
}

.popUp-txt{
    font-size: 3rem;
}

.popUp-name{
    display: flex;
    position: absolute;
    top: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 100vh;
}

.popUp-item div{
    display: flex;
    margin-top: .35rem;
    gap: .35rem;
    font-size: 1.5rem;
    letter-spacing: .003rem;
}

.popUp-item div a{
    list-style-type: none;
    text-decoration: none;
    color: black;
    cursor: pointer;
    z-index: 10;
}

.popUp-item div a:hover{
    letter-spacing: .15rem;
    transition: 0.6s ease-in-out;
}

.popUp-item div a:not(:hover){
    letter-spacing: 0rem;

    transition: 0.6s ease-in-out;
}


.popUp.visible {
    display: block;
    opacity: 1; /* Fully opaque */
}

.popUp.hidden {
    opacity: 0; /* Fully transparent */
}



/* UTILITIES */

img{
    display: block;
}

video{
    display: block;
    height: 100vh;
    
}


/* RESPONSIVE */

@media (max-width: 480px) {

    html,body{
        width: 100%;
    }

    .menu{
        white-space: nowrap;
        overflow-x: auto;
        font-size: 1rem;
        gap: 2.5rem;
    }

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

    #showSectionButton{
        font-size: 1rem;
    }
    
    #about{
        background-color:rgba(254, 254, 254, 0.8);
    }

    .about-txt{
        font-size: 1.6rem;
        text-indent: 3.2rem;
        letter-spacing: -.045rem;
    }

    .popUp-txt{
        font-size: 1.6rem;
        letter-spacing: -.045rem;
    }

    .gallery-item img{
        max-height: 50vh;
        max-width: 100vw;
    }

    #caption-display {
        justify-content: left;
        flex-direction: row;
        flex-wrap: wrap;
        left: .3rem;
        top: .3rem;
    }

    #caption-display figcaption{
        padding-right: .2rem;
        font-size: 1rem;
    }

    .background-item {
        max-width: 100px;
        position: absolute;
        opacity: 1;
    }

    #caption-display img {
        max-height: 22px;
    }

    .popUp div{
        font-size: 1rem;
    }

    .popUp{
        background-color:rgba(254, 254, 254, 0.8);
    }

    video{
        max-height: 60vh;
        max-width: 100vw;
    }

    #socials a:hover{
        letter-spacing: 0;
    }

    #socials button:hover{
        letter-spacing: 0;
    }
    
    
}