/* Navbar */
.navbar-brand,
.navbar-toggler i,
.nav-link {
    color: #fafafa;
}

.navbar-nav .btn {
    margin-left: 15px;
}

a.nav-link:hover,
.navbar-brand:hover {
    color: #d9e0e7;
}

/* Bases */
#presentation,
#photos,
#videos {
    padding: 54px 0;
}

/* Grid Photos */
.grid {
    display: grid;
    grid-template-rows:
        repeat(4, 180px);
    grid-template-columns:
        repeat(3, 1fr);
    grid-gap: 5px;
}

.item:nth-child(1) {
    grid-row: 1 / 4;
}

.item:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

.item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 3 / 5;
}

.item:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.item:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}

/* styling code */
.grid {
    margin: 20px auto;
    max-width: 1000px;
}

.grid>.item {
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Styles for the slick slider */
.carousel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel .image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.carousel .prev,
.carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
}

.carousel .prev {
    left: 20px;
}

.carousel .next {
    right: 20px;
}

.carousel .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

.carousel .thumbnails {
    position: absolute;
    bottom: 15px;
    background-color: #222;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 1080px;
    width: 1080px;
    overflow: hidden;
}

.carousel .thumbnail-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
}

.carousel .thumbnails div.thumbnail {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border: 2px solid #333;
    cursor: pointer;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.carousel .thumbnails div.thumbnail.active {
    border-color: #eee;
}

/* Videos */
.video-carousel video {
    width: 100%;
    height: 400px;
}

#photos h2 span,
#videos h2 span{
    font-size: 12px;
}

.slick-next:before, 
.slick-prev:before{
    color: #222;
}

/* Modal  */
.modal-body .btn-success a{
    color: #fff;
}

.modal-body .btn-warning a{
    color: #000;
}

.modal-body button i{
    margin-right: 8px;
}

/* Footer  */
.footer-copyright {
    color: #fafafa;
}

.footer-copyright a {
    color: #c3c3c3;
}

/* Responsive  */
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 992px) { 
    .modal-content {
        width: 98%;
    }

    #presentation, 
    #photos, 
    #videos{
        padding-left: 15px;
        padding-right: 15px;
    }

    .carousel .thumbnails {
        width: 80%;
        max-width: 80%;
    }

    #videos{
        width: 90%;
    }
 }

 @media (max-width: 576px) {
    .modal-content .btn-success {
        margin-bottom: 10px;
    }
 }