
/*page section stiles: ***/
.page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s, transform 0s 0.8s;
    transform: translateY(30vh);
    overflow-y: auto;
    padding-top: 118px;
}

.page.active {
    pointer-events: all;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s 0.6s, transform 0.8s 0.2s;
}

.page > h1 {
    margin-bottom: 24px;
    font-size: 2rem;
    font-family: "Cormorant SC", serif;
    text-align: center;
}

.page-section {
    padding: 82px 32px;
}


.show-case {
    flex-wrap: wrap;
    gap: 32px;
    padding: 0 32px 64px;
}

.show-case h3 {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-family: "Cormorant SC", serif;
}

.show-case .left {
    width: calc(41% - 16px)
}

.show-case .right {
    width: calc(59% - 16px)
}

.show-case .right h4 {
    font-family: "Aref Ruqaa Ink", serif;
    font-size: 33px;
    margin-bottom: 20px;
}

.show-case .right p {
    font-family: "Crimson Text", serif;
    font-size: 20px;
}

.show-case .left img, .show-case .right img {
    width: 100%;
}




/**Show case section*/
.collab {
    gap: 30px;
}

.collab > .left {
    flex: 5;
}

.collab > .right {
    flex: 3;
    gap: 8px;
}

.collab img {
    width: 100%;
}

.collab > .right h3 {
    font-family: "Aref Ruqaa Ink", serif;
    line-height: 1;
    font-size: 33px;
}

.collab > .right h4 {
    font-family: "Libre Baskerville", serif;
    margin-bottom: 20px;
}

.collab > .right p {
    font-family: "Crimson Text", serif;
    font-size: 20px;
}

.collab > .right a {
    margin-top: auto;
    margin-left: auto;
}


.collab-gallery {
    gap: 30px;
    flex-wrap: wrap;
}


.collab-gallery img {
    width: 100%;
}

.collab-gallery .left {
    width: calc(31.1% - calc(0.311 * 30px));
}

.collab-gallery .right {
    width: calc(68.9% - calc(0.689 *30px));
}



.lake-front {
    gap: 32px;
}

.lake-front > div:first-child, .lake-front > div:last-child {
    flex: 1091840
}

.lake-front > div:nth-child(2) {
    flex: 2292480;
}

.lake-front > div img {
    width: 100%;
}


.unique {
    gap: 32px;
}

.unique > .left, .unique .right {
    flex: 1;
}

.unique img {
    width: 100%;
}

.unique > .right h4 {
    font-family: "Aref Ruqaa Ink", serif;
    line-height: 1;
    font-size: 33px;
    margin-bottom: 20px;
}

.unique > .right p {
    font-family: "Crimson Text", serif;
    font-size: 20px;
}




/**
# GALLERY PAGE
*/
.gallery-page .wrapper {
    padding: 0 32px 48px;
    gap: 30px;
    flex-wrap: wrap;
}

.gallery-page .wrapper article {
    width: calc(33% - 20px);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.gallery-page .wrapper article img {
    display: block;
    width: 100%;
}
/*********************************/




/**
# TECHNIQUE/PORTFOLIO PAGE
**/

.technique-page .wrapper {
    padding: 0 32px 48px;
    flex-wrap: wrap;
    gap: 70px 30px;
}

.technique-page .item {
    width: calc(50% - 15px);
}

.technique-page .item .fig-img-wrapper {
    gap: 30px;
}

.technique-page .item h4 {
    font-family: "Aref Ruqaa Ink", serif;
    font-size: 28px;
}

.technique-page .item ul {
    list-style-type: none;
    font-family: "Cormorant SC", serif;
    display: flex;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.technique-page .item ul > li {
    border: 1px solid black;
    padding: 8px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-grow: 1;
    width: fit-content;
    text-align: center;
}

.technique-page .item .fig-img-wrapper > img {
    flex: 1;
    width: 100px;
}
/****************************************************/



@media  screen and (max-width: 1280px) {
    .technique-page .item h4{
        font-size: 23px;
    }
}

@media screen and (max-width: 1150px) {
    .technique-page .item h4{
        font-size: 20px;
    }
}

@media screen and (max-width: 960px){
    .show-case, .collab {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

    .show-case > .left, .show-case .right, .collab > .left, .collab > .right {
        width: 65%;
    }

    .collab-gallery > .right, .collab-gallery .left {
        width: 100%;
    }

    .technique-page .item {
        width: 100%;
    }
}

@media  screen and (max-width: 800px) {

    .show-case > .left, .show-case .right , .collab > .left, .collab > .right {
        width: 100%;
    }

    .unique {
        flex-direction: column;
    }
}

@media  screen and (max-width: 700px) {

    .collab-gallery {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

    .lake-front {
        flex-direction: column;
    }

    .gallery-page .wrapper article {
        width: calc(50% - 20px);
    }
}


@media  screen and (max-width: 500px) {
    #top-header nav a {
        font-size: 20px;
    }

    .collab-gallery > .right, .collab-gallery .left {
        width: 95%;
    }

    .show-case h3 {
        font-size: 25px;
    }

    .show-case .right h4 {
        font-size: 25px;
    }

    .collab > .right h3 {
        font-size: 25px;
    }

    .unique > .right h4 {
        font-size: 25px;
    }

    .gallery-page .wrapper article {
        width: 100%;
    }
}

@media  screen and (max-width: 350px) {

    .show-case h3, .show-case .right h4, .collab > .right h3, .unique > .right h4 {
        font-size: 23px;
    }
}