body {
    overflow-x: hidden;
}

/* MAIN */
main {
    height: 400vh;
}

/* BUBBLES FLOATING UP */
#about-bg {
    height: 100vh;
    background: -webkit-radial-gradient(circle, #6297a1, #182026);

    position: sticky;
    top: 0;
}

#bgCanvas{
    width: 100%;
    height: 100%;
}

/* SECTION 1 */
#about-sec1 {
    width: 100%;
    height: 100vh;

    text-align: center;

    position: absolute;
    top: 0;
}

#about-sec1 h1 {
    padding-top: 40vh;
    padding-bottom: 5vh;
    color: white;

    font-family: "Cinzel", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 400;
    font-size: 5vw;
    letter-spacing: 1vw;
}

#about-sec1 h2 {
    color: white;

    font-style: italic;
    letter-spacing: 0.5vw;
}

/* TITLE FADE UP EFFECT */
.fadeUpTitle {
    opacity: 0;
    transform: translateY(30vh);
    transition: transform 2s ease-in-out, opacity 3s ease-in-out;
}

.fadeUpTitle.fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* SECTION 2 */
#about-sec2 {
    width: 100%;
    height: 100vh;

    text-align: center;

    position: absolute;
    top: 100vh;
}

#about-sec2 p {
    width: 25vw;
    margin: 23vw auto;

    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1vw;

}

/* SECTION 3 */
#about-sec3 {
    width: 100%;
    height: 100vh;

    position: absolute;
    top: 200vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#about-sec3 p {
    width: 45vw;
    margin: 8vh auto 3vh;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1vw;

    text-align: center;
}

#about-sec3 .txt-box {
    width: 45vw;
    margin: 3vh auto 0;
}

#about-sec3 #visit-link {
    display: inline-flex;
    align-items: center;
}


#about-sec3 .txt-box a {
    color: rgba(255, 255, 255, 0.8);
}

#about-sec3 .txt-box span {
    color: rgba(255, 255, 255, 0.8);
}

/* HORIZONTAL GALLERY */
.horizontal-gallery {
    position: relative;
    height: 60vh;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 10vw;
    box-sizing: border-box;

    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
}

.horizontal-gallery {
    scrollbar-width: none; 
}

.horizontal-gallery::-webkit-scrollbar {
    display: none;
}

.horizontal-gallery .scrollsection {
    display: flex;
    align-items: center;
    height: 100%;
}

.horizontal-gallery .item {
    position: relative;
    flex: 0 0 auto;
    margin: 0 -12vh 0 4vh;
}
.horizontal-gallery .item.-big {
    height: 50vh;
    width: 38vh;
    z-index: 1;
}
.horizontal-gallery .item.-big.-horizontal {
    height: 40vh;
    width: 55vh;
}
.horizontal-gallery .item.-normal {
    height: 40vh;
    width: 28vh;
    z-index: 2;
}
.horizontal-gallery .item.-normal.-horizontal {
    height: 32vh;
    width: 42vh;
}
.horizontal-gallery .item.-small {
    height: 32vh;
    width: 22vh;
    z-index: 3;
}
.horizontal-gallery .item.-small.-horizontal {
    height: 26vh;
    width: 34vh;
}

.horizontal-gallery .item .image {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.5s ease;
}

.horizontal-gallery .item .image:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.02);
}

.horizontal-gallery .item.-normal:nth-of-type(3n) {
    transform: translateY(4vh);
}
.horizontal-gallery .item.-normal:nth-of-type(4n) {
    transform: translateY(-4vh);
}
.horizontal-gallery .item.-small:nth-of-type(3n) {
    transform: translateY(8vh);
}
.horizontal-gallery .item.-small:nth-of-type(4n) {
    transform: translateY(-8vh);
}


/* SECTION 4 */
#about-sec4 {
    width: 100%;
    height: 100vh;

    text-align: center;

    position: absolute;
    top: 300vh;
}

#about-sec4 .img-box {
    width: 12vw;
    margin: 15vw auto;
    margin-bottom: 5vw;
    overflow: hidden;
}

#about-sec4 img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#about-sec4 blockquote {
    width: fit-content;
    margin: auto;
    margin-bottom: 10vw;

    color: rgba(255, 255, 255, 0.8);

    font-family: "Cinzel", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.5vw;
    letter-spacing: 0.2vw;
}

#about-sec4 .contact {
    color: white;
    letter-spacing: 0.1vw;

    width: 35%;
    margin: auto;
    
    justify-content: space-between;
}

#about-sec4 .contact a {
    color: white;
}

#about-sec4 .flex {
    display: flex;
    align-items: center;
}







/* FOR SMALLER DESKTOP */
@media (max-width: 1439px) {
    #about-sec1 h1 {
        font-size: 5vw;
    }

    #about-sec1 h2 {
        font-size: 1.75vw;
    }
}



/* FOR TABLET */
@media (max-width: 1024px) {
    
}



/* FOR MOBILE */
@media (max-width: 768px) {
    #about-sec1 h1 {
        font-size: 8vw;
    }

    #about-sec1 h2 {
        font-size: 4vw;
    }

    #about-sec2 p {
        width: 75vw;
    }

    #about-sec3 p {
        width: 75vw;
    }

    #about-sec3 .txt-box {
        width: 75vw;
    }

    #about-sec4 .img-box {
        width: 30%;
        margin-top: 25vh;
        margin-bottom: 15vh;
    }

    #about-sec4 blockquote {
        width: 75%;
        font-size: 4vw;
        margin-bottom: 15vh;
    }

    #about-sec4 .contact {        
        display: block;
    }

    #about-sec4 .flex:not(.contact) {
        display: flex;
        align-items: center;

        width: fit-content;
        margin: auto;
        margin-bottom: 3vh;
    }
}