.blog-homepage-container {
    overflow: hidden;
}
.blog-homepage-header {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    font-size: 40px;
    line-height: 90px;
    color: var(--dark-black-color);
}
.blog-homepage-header h2 {
    max-width: 595px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'GeosansLight', 'gilroy-light', serif;
    color: var(--dark-black-color);
}
.blog-homepage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 60px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 90px;
    padding-left: 90px;
}
.blog-homepage-card {
    position: relative;
    background: #f9fafb;
    overflow:hidden;
    border-radius:20px;
}
.blog-homepage-card img {
    border-radius: 16px;
    max-width: 100%;
    text-indent:-9999px;
    transition: transform 300ms ease;
    transform: scale(1);
}
.blog-homepage-card:hover img {
    transform: scale(1.05);
    transition: all 300ms ease;
}
.blog-homepage-card h3 {
    font-size: 20px;
    font-family: 'GeosansLight', 'gilroy-light', serif;
    color: var(--dark-black-color);
    transform: translateX(-50%);
    left: 50%;
    bottom: 30px;
    position: absolute;
    margin: 0;
    font-weight: inherit;
    background-color: #ffffff87;
    width: calc(100% - 60px);
    text-align: center;
}
@media not all and (min-width: 525px) {
    .blog-homepage-header {
        font-size: 20px;
        line-height: 1.5;
    }
    .blog-homepage-grid {
        gap: 10px
    }
}
@media not all and (min-width: 768px) {
    .blog-homepage-header {
        font-size: 28px;
        line-height: 3;
    }
    .blog-homepage-header h2 {
        line-height:2;
        margin-bottom:20px;
    }
    .blog-homepage-grid {
        gap: 14px
    }
}
@media not all and (min-width: 1024px) {
    .blog-homepage-grid {
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media (max-width: 768px) {
    .blog-homepage-grid {
        row-gap:15px;
        column-gap:0px;
        justify-content: space-between;
        margin-top: 0px;
    }
    .blog-homepage-card {
        width:90%;
        margin-left: 5%;
    }
    .slideshow-container .prev {
        margin-left: 5%;
        margin-top: 12px!important;
    }
    .slideshow-container .next {
        margin-right: 5%;
        margin-top: 12px!important;
    }
    .blog-homepage-card img {
        width:100%;
    }
    .blog-homepage-card h3 {
        font-size:24px;
        bottom: 16px;
    }
}
@media (max-width:520px) {
    .blog-homepage-grid {
        padding-left: 15px;
        padding-right: 15px;
    }
    .blog-homepage-card h3 {
        font-size:18px;
        bottom: 10px;
    }
}
/* Slideshow container */
.slideshow-container {
    padding-top: 60px;
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.slideshow-container .prev,.slideshow-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.slideshow-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.slideshow-container .prev:hover, .slideshow-container .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slideshow-container .text {
    color: #413e3b;
    font-size: 17px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 80%;
    text-align: center;
    background-color: #ffffffab;
    margin-left: 10%;
}

/* The dots/bullets/indicators */
.slideshow-container .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next,.text {font-size: 11px}
}
