/* Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;  /* IE and Edge */
}

#main-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#footer {
    display: none;
}

/*#region SCROLL DOWN ARROW */

.scroll-down-arrow {
    display: block;
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    animation: scrollDownArrowTranslate 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.scroll-down-arrow img {
    width: 5vh;
    height: 5vh;
    display: block;
    animation: scrollDownArrowDisplay 1.5s ease-in-out infinite alternate;
}

@keyframes scrollDownArrowDisplay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scrollDownArrowTranslate {
    from {
        transform: translateX(-50%) translateY(-2vh);
    }
    to {
        transform: translateX(-50%) translateY(2vh);
    }
}

/*#endregion*/

/*#region HEAD */

#head-container {
    height: 95vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 5vh;
    overflow: hidden;
    background-color: var(--black);
    border-radius: 2.5vh;
    margin: 2.5vh 2.5vh 2.5vh 2.5vh;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

@media screen and (max-width: 768px) {
    #head-container {
        height: 97vh;
        row-gap: 10vh;
        margin: 1.5vh 1.5vh 1.5vh 1.5vh;
    }
}

#head-title-container {
    display: flex;
    flex-direction: row;
    column-gap: 10vh;
}

/*#region LOGO */

#logo-container {
    height: 40vh;
    transition: transform 0.25s ease-in-out;
    z-index: 2;
}

#logo-image {
    display: block;
    height: 100%;
    animation: logoImageDisplay 0.25s ease-in-out;
    pointer-events: none;
}

@keyframes logoImageDisplay {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-45vh);
    }
}

@media screen and (max-width: 768px) {
    #logo-container {
        height: 45vw;
    }

    @keyframes logoImageDisplay {
        from {
            transform: translateY(0);
        }
        to {
            transform: translateY(-21vw);
        }
    }
}

/*#endregion*/

#head-title-sub-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#head-title {
    color: var(--white);
    font-size: 20vh;
    font-weight: bolder;
    letter-spacing: 0.5vh;
    overflow: hidden;
    white-space: nowrap;
    animation: headTitleDisplay 0.25s ease-in-out;
    margin-bottom: 10vh;
    z-index: 2;
}

@keyframes headTitleDisplay {
    from {
        opacity: 0;
        transform: translateY(-10vh);
    }
    to {
        opacity: 1;
        transform: translateY(0vh);
    }
}

@media screen and (max-width: 768px) {
    #head-title-container {
        flex-direction: column;
        align-items: center;
        row-gap: 10vw;
        margin-bottom: 20vw;
    }

    #head-title {
        font-size: 17.5vw;
        margin-bottom: 10vw;
    }

    @keyframes headTitleDisplay {
        from {
            opacity: 0;
            transform: translateY(-10vw);
        }
        to {
            opacity: 1;
            transform: translateY(0vh);
        }
    }
}

/*#region TEXT */

#head-text-container {
    position: absolute;
    margin-top: 20vh;
    margin-left: 1.5vh;
    overflow: hidden;
    animation: headTextContainerDisplay 0.25s ease-in-out;
    z-index: 2;
}

@keyframes headTextContainerDisplay {
    from {
        opacity: 0;
        transform: translateY(-10vh);
    }
    to {
        opacity: 1;
        transform: translateY(0vh);
    }
}

#head-text-rolling-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 2.5vh;
}

#head-text-quote {
    color: var(--white);
    font-size: 2.5vh;
    font-weight: 200;
    font-family: Noto Sans, sans-serif;
    text-align: left;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    #head-text-container {
        margin-top: 30vw;
        margin-left: 0;
    }

    #head-text-rolling-container {
        justify-content: center;
        column-gap: 2.5vw;
    }

    #head-text-quote {
        margin-left: 0;
        font-size: 3.5vw;
        text-align: center;
    }

    @keyframes headTextContainerDisplay {
        from {
            opacity: 0;
            transform: translateY(-10vw);
        }
        to {
            opacity: 0.5;
            transform: translateY(0vh);
        }
    }
}

/*#endregion*/

/*#endregion*/

#parts-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 2.5vh;
    margin: 2.5vh 0;
}

/*#region MENU TITLE */

.menu-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5vh;
    margin-top: 1vh;
    opacity: 0.5;
}

.menu-title-container.fade-animation.visible {
    opacity: 0.5;
}

.menu-title-text {
    font-size: 2vh;
    color: var(--white);
    letter-spacing: 0.15vh;
}

/*#endregion*/

/*#region PROJECTS GRID */

#projects-section {
    width: 100%;
    box-sizing: border-box;
    padding: 0 2.5vh;
    display: flex;
    flex-direction: column;
    gap: 2.5vh;
}

.projects-row {
    display: flex;
    gap: 2.5vh;
    width: 100%;
}

.project-cell {
    flex: 1;
    height: 65vh;
    position: relative;
    border-radius: 2.5vh;
    overflow: hidden;
    background-color: var(--dark);
    cursor: pointer;
    transition: border-color 0.25s ease, opacity 1s ease-out, transform 1s ease-out;
}

.project-cell-video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    opacity: 0.35;
    filter: grayscale(100%);
}

.project-cell-name {
    position: absolute;
    bottom: 2.5vh;
    left: 2.5vh;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.35s ease-out;
    color: var(--white);
    font-size: 3vh;
    font-weight: 700;
    letter-spacing: 0.1vh;
    opacity: 0.9;
    font-family: Noto Sans, sans-serif;
}

.project-cell:hover .project-cell-name {
    transform: translateY(-3.5vh);
}

.project-cell-description {
    position: absolute;
    bottom: 2.5vh;
    left: 2.5vh;
    right: 7vh;
    color: var(--white);
    font-size: 2vh;
    font-weight: 200;
    font-family: Noto Sans, sans-serif;
    z-index: 2;
    transform: translateY(3.5vh);
    opacity: 0;
    transition: transform 0.35s ease-out, opacity 0.35s ease-out;
}

.project-cell:hover .project-cell-description {
    transform: translateY(0);
    opacity: 1;
}

.project-cell-open {
    position: absolute;
    bottom: 2.5vh;
    right: 2.5vh;
    font-size: 2.75vh;
    color: var(--white);
    z-index: 2;
    transform: translateY(3.5vh);
    opacity: 0;
    transition: transform 0.35s ease-out, opacity 0.35s ease-out;
}

.project-cell:hover .project-cell-open {
    transform: translateY(0);
    opacity: 1;
}

@media screen and (max-width: 768px) {
    #projects-section {
        padding: 0 1.5vh;
        gap: 1.5vh;
    }

    .projects-row {
        flex-direction: column;
        gap: 1.5vh;
    }

    .project-cell {
        flex: none;
        width: 100%;
        height: 55vw;
    }

    .project-cell-name {
        bottom: 5vw;
        left: 5vw;
        font-size: 3vw;
        letter-spacing: 0.2vw;
    }

    .project-cell-description {
        bottom: 5vw;
        left: 5vw;
        right: 12vw;
        font-size: 2.5vw;
    }

    .project-cell-open {
        bottom: 5vw;
        right: 5vw;
        font-size: 4vw;
    }

    .project-cell-name {
        transform: translateY(-5vw);
        opacity: 1;
    }

    .project-cell:hover .project-cell-name {
        transform: translateY(-5vw);
    }

    .project-cell-description,
    .project-cell-open {
        transform: translateY(0);
        opacity: 1;
    }
}

/*#endregion*/

/*#region ABOUT TIMELINE */

#about-section {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2.5vh;
}

.about-cells {
    display: flex;
    gap: 2.5vh;
    padding: 0 2.5vh;
}

.about-cell {
    flex: 1;
    height: 65vh;
    position: relative;
    border-radius: 2.5vh;
    overflow: hidden;
    background-color: var(--black);
}

.about-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 35%, rgba(16, 16, 16, 0.72) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-cell-video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    opacity: 0.25;
    filter: grayscale(100%);
}

.about-cell-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.about-cell-timeline-area {
    height: 8vh;
    position: absolute;
    bottom: 5vh;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.75vh;
}

.about-cell-era {
    font-size: 1.2vh;
    font-weight: 500;
    letter-spacing: 0.45vh;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.45;
    position: relative;
    z-index: 2;
}

.about-cell-timeline-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.1vh;
    background: rgba(255, 255, 255, 0.2);
}

.about-cell-timeline-dot {
    position: absolute;
    bottom: -0.45vh;
    left: 50%;
    transform: translateX(-50%);
    width: 0.9vh;
    height: 0.9vh;
    border-radius: 50%;
    background: var(--white);
    z-index: 3;
}

.about-cell-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15vh 3vh 8vh;
    gap: 2.5vh;
}

.about-cell-title {
    font-size: 5.5vh;
    font-weight: 600;
    letter-spacing: 0.4vh;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
}

.about-cell-description {
    font-size: 2vh;
    font-weight: 200;
    font-family: Noto Sans, sans-serif;
    text-align: justify;
    color: var(--white);
    opacity: 0.8;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .about-cells {
        flex-direction: column;
        padding: 0 1.5vh;
        gap: 1.5vh;
    }

    .about-cell {
        height: auto;
        min-height: unset;
    }

    .about-cell-content {
        position: relative;
        inset: unset;
        padding-bottom: 8vw;
    }

    .about-cell-text {
        padding: 8vw 4vw 0;
    }

    .about-cell-timeline-area {
        position: relative;
        bottom: unset;
        left: unset;
        right: unset;
        height: 8vw;
        padding-bottom: 1.75vw;
        margin-top: auto;
    }

    .about-cell-era {
        font-size: 2vw;
        letter-spacing: 0.5vw;
    }

    .about-cell-timeline-dot {
        width: 1.5vw;
        height: 1.5vw;
        bottom: -0.75vw;
    }

    .about-cell-title {
        font-size: 8vw;
    }

    .about-cell-description {
        font-size: 4vw;
    }
}

/*#endregion*/
