.thumb{
    background-size: cover;
    background-position: 50%;
    height: 75vh;
}
p{
    font-size: 1.2em;
}
.quick-overview{
    background-color: var(--alt-bg-color);
    color: var(--main-bg-color);
    text-align: center;
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
}

.fast-facts{
    width: 100%;
    padding: 25px;
    padding-top: 50px;
    box-sizing: border-box;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    padding-bottom: 200px;
}

.fact-item h2, .fact-item p{
    margin: 0;
    padding: 0;
    padding-top: 5px;
}

.fact-item a{
    text-decoration: none;
    color: var(--main-accent-color);
}

.fact-item .row{
    gap: 15px;
    text-align: center;
    justify-content: center;
    padding-top: 20px;
}

.thumb{
    background-size: cover;
    background-position: 50%;
    height: 30vh;
}

.back{
    color: var(--main-bg-color);
    background-color: var(--alt-bg-color);
    text-align: center;
    padding: 25px;
    text-decoration: none;
}
.back a{
    color: var(--main-accent-color);
    text-align: center;
    text-decoration: none;
}

.project-gallery{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    padding-top: 200px;
    background-color: var(--alt-bg-color);
    color: var(--main-bg-color);
}

.project-gallery .item{
    max-width: 75%;
    padding: 25px;
    gap: 50px;
}
.project-gallery .item img{
    transition: all 0.2s ease-in-out;
    scale: 1;
    width: 100%;
}

.project-gallery .item:hover img{
    scale: 1.1;
    padding: 0 0px;
    cursor: pointer;
}

.project-gallery .item:nth-child(even):hover img{
    transform: rotate(3deg);
}
.project-gallery .item:nth-child(odd):hover img{
    transform: rotate(-3deg);
}

.divider{
    position: relative;
    z-index: 10;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 65%;
    transition: all 0.2s ease-in-out;
}

.divider img{
    position: absolute;
}
@keyframes appear {
    0% {
        opacity: 0.8;
        left: 0%;
        scale: 0.9;
    }
    100% {
        opacity: 1;
        left: 45%;
        scale: 1;
    }
}

.video{
    display: flex;
    width: 100%;
    padding: 25px;
    padding-bottom: 100px;
    justify-content: center;
    background-color: var(--alt-bg-color);
    box-sizing: border-box;
}

video{
    width: 100%;
    height: auto; 
}

/* --------------------------------------------------------------- */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .fast-facts{
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr;
    }
    .video iframe{
        width: 100%;
        height: 240px;
    }
    .swiper {
        width: 100%;
        height: 45vh;
    }

    .divider{
        width: 75%;
        margin: 0;
        left: 32%;
        top: -90px;
        animation: none !important;
    }
    
    .divider img{
        width: 50%;
        margin: 0;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .fast-facts{
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr;
    }
    .video iframe{
        width: 427px;
        height: 240px;
    }
    .swiper {
        width: 100%;
        height: 55vh;
    }
    .project-gallery{
        display: flex;
        flex-direction: column;
    }

    .divider{
        width: 50%;
        margin: 0;
        left: 38%;
        top: -90px;
    }
    
    .divider img{
        width: 50%;
        margin: 0;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    
    .project-gallery .item {
        max-width: 75%;
        padding: 25px;
        gap: 50px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .project-gallery .item img{
        max-width: 100%;
    }

    .fast-facts{
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }
    .swiper {
        width: 100%;
        height: 65vh;
    }

    .divider{
        width: 40%;
        margin: 0;
        left: 40%;
        top: -90px;
    }
    
    .divider img{
        width: 50%;
        margin: 0;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .fast-facts{
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }
    .video iframe{
        width: 640px;
        height: 360px;
    }
    .swiper {
        width: 100%;
        height: 75vh;
    }

    .divider{
        width: 25%;
        margin: 0;
        left: 43%;
        top: -120px;
    }
    
    .divider img{
        width: 65%;
        margin: 0;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .project-gallery .item {
        max-width: 75%;
        padding: 25px;
        gap: 50px;
        flex-wrap: nowrap;
    }

    .project-gallery .item img{
        max-width: 45%;
    }

    .fast-facts{
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .video iframe{
        width: 854px;
        height: 480px;
    }
    .swiper {
        width: 100%;
        height: 80vh;
    }
    .swiperByrdlime {
        width: 100%;
        height: auto;
    }
    
    .project-gallery .item:nth-child(even){
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    .project-gallery .item:nth-child(odd){
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
    }

    .divider{
        width: 25%;
        margin: 0;
        left: 45%;
        top: -120px;
    }
    
    .divider img{
        width: 50%;
        margin: 0;
    }

}

.illu-render{
    margin: auto;
    display: block;
    padding: 50px;
    box-sizing: border-box;
    max-width: 100%;
    max-height: 100vh;
}
.swiperByrdlime {
    width: 100%;
    height: auto;
}