.categories-header {
    padding-top: 45px;
}
.collection-title {
    font-size: 28px;
}
.collection-text {
    font-size: 16px;
}
.title {
    font-size: 30px;
}
.cover-img {
    aspect-ratio: 3;
    width: 100%;
    object-fit: cover;
}
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.project-card-row {
    grid-column: span 12;
    cursor: pointer;
}
.project-card-row:nth-of-type(1),
.project-card-row:nth-of-type(2),
.project-card-row:nth-of-type(5),
.project-card-row:nth-of-type(6),
.project-card-row:nth-of-type(9),
.project-card-row:nth-of-type(10),
.project-card-row:nth-of-type(13),
.project-card-row:nth-of-type(14),
.project-card-row:nth-of-type(17),
.project-card-row:nth-of-type(18) {
    grid-column: span 6;
}
.project-card-view {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.project-card-row:nth-of-type(3) .project-card-view,
.project-card-row:nth-of-type(4) .project-card-view,
.project-card-row:nth-of-type(7) .project-card-view,
.project-card-row:nth-of-type(8) .project-card-view,
.project-card-row:nth-of-type(11) .project-card-view,
.project-card-row:nth-of-type(12) .project-card-view,
.project-card-row:nth-of-type(15) .project-card-view,
.project-card-row:nth-of-type(16) .project-card-view,
.project-card-row:nth-of-type(19) .project-card-view,
.project-card-row:nth-of-type(20)  .project-card-view{
    aspect-ratio: 2.5;
}
.card-img {
    aspect-ratio: 1.9;
    border-radius: 0;
    object-fit: cover;
}
.card-title {
    margin-top: 13px;
    font-size: 20px;
    text-align: start;
}
.page-header-container {
    padding-top: 20px;
}
.page-cover {
    padding-bottom: 20px;
}
.page-cover-block {
    position: relative;
}
.page-cover-view {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 3.3;
}
.cover-data {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
}
.video-container {
    margin-bottom: 15px;
}
.video-player {
    width: 100%;
    aspect-ratio: 2.3;
}
.images-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #000;
    display: none;
}
.images-preview.active {
    display: block !important;
}
.images-preview-block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.close-preview-image {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    background: #eee;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-size: 22px;
    border-radius: 50%;
}
#imagePreview {
    height: 100vh;
    width: auto;
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

}

@media (max-width: 767.98px) {
    .collection-header {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .collection-title {
        font-size: 22px;
    }
    .grid {
        gap: 10px;
    }
    .card-title {
        margin-top: 8px;
        margin-bottom: 8px;
        font-size: 15px;
    }
    .categories-header {
        margin-bottom: 20px;
    }
    .cover-img {
        aspect-ratio: 2;
    }
    .page-cover-view {
        aspect-ratio: 1.5;
    }
    .header-data-title {
        font-size: 20px;
    }
    .header-data-text {
        font-size: 16px;
    }
    .video-container {
        margin-bottom: 5px;
    }
    .video-player {
        aspect-ratio: 1.5;
    }
    .project-card-row:nth-of-type(3) .project-card-view, .project-card-row:nth-of-type(4) .project-card-view, .project-card-row:nth-of-type(7) .project-card-view, .project-card-row:nth-of-type(8) .project-card-view, .project-card-row:nth-of-type(11) .project-card-view, .project-card-row:nth-of-type(12) .project-card-view, .project-card-row:nth-of-type(15) .project-card-view, .project-card-row:nth-of-type(16) .project-card-view, .project-card-row:nth-of-type(19) .project-card-view, .project-card-row:nth-of-type(20) .project-card-view {
        aspect-ratio: 2;
    }
    #imagePreview {
        height: auto;
        width: 100%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .page-cover-view {
        aspect-ratio: 2;
    }
    .header-data-title {
        font-size: 20px;
    }
    .header-data-text {
        font-size: 19px;
        padding-top: 5px;
    }
    .video-player {
        aspect-ratio: 1.8;
    }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .page-cover-view {
        aspect-ratio: 2.7;
    }
    .header-data-title {
        font-size: 22px;
        margin-bottom: 5px;
    }
    .video-player {
        aspect-ratio: 2;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {

}

@media (min-width: 1400px) {
}
