.main-container {
    /* margin-top: -300px; */
    /* overflow-x: hidden; */
}

.header {
    position: relative;
    width: 100%;
    z-index: 10;
    top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10vw;
    direction: ltr!important;
}

.home-header-square {
    position: absolute;
    border: 2px solid var(--my-border-color);
    margin-top: 0;
    height: 480px;
    width: 400px;
    z-index: 2;
}

.home-header-image-container {
    padding: 8px;
    background-color: white;
    z-index: 10;
    border-radius: 4px;
    border: 1px solid lightgray;
    position: relative;
    transition: .3s box-shadow;
    font-family: var(--my-title-font);
}

.home-header-image-container:hover {
    color: black!important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.home-header-image {
    position: relative;
    transition: all 1s;
    z-index: 3;
    height: 400px;
    width: 300px;
    cursor: pointer;
    background-size: cover;
}

#recipe-header-image {
    background-position: bottom;
}

.blog-title {
    font-size: 28px;
    position: absolute;
    top: 4px;
    left: 14px;
    z-index: 10;
}

.recipes-title {
    font-size: 28px;
    position: absolute;
    bottom: 4px;
    right: 14px;
    z-index: 10;
}

.container-main {
    margin: 110px 200px 0 200px;
    min-height: 500px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.opening-text {
    font-size: 24px;
    transition: all 1s;
    opacity: 0;
    width: 70%;
}

.opening-text h5 {
    font-size: 40px;
}

.img-container {
    width: 27%;
}

.opening-text-image {
    width: 100%;
}

.mobile-img {
    display: none;
}

.explore-title {
    font-size: 44px;
    font-family: var(--my-title-font)!important;
    font-weight: 400;
    align-self: start;
    margin: 0 10%;
    margin-bottom: 40px;
}

.glider-container {
    position: relative;
    margin: 0 auto;
    width: 90%;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.glide__slide {
    display: flex;
    padding: 20px 100px!important;
    position: relative;
}

.glide__arrow {
    color: gray;
    border-radius: 20px;
}

.glide__slide {
    display: flex;
    padding: 30px 50px;
}

.slide-link {
    display: flex;
    text-decoration: none;
}

.slide-link:hover {
    color: black;
}

.img-card-slider {
    object-fit: cover;
    width: 250px;
    height: 350px;
    box-shadow: var(--my-shadow);
    border-radius: 5px;
    padding: 4px;
}

.title-slider {
    font-size: 36px;
    font-weight: 400;
}

.content-slider {
    padding: 8px 24px;
    width: 60%;
    max-height: 450px;
    overflow: hidden;
    position: relative;
}

.blur-content-slider {
    filter: blur(5px);
    background-color: #ffffffdc;
    position: absolute;
    width: 100%;
    height: 30px;
    bottom: -10px;
    left: 0;
}

.text-slider {
    position: relative;
    height: 100%;
}

.text-slider>*>img {
    width: 100%!important;
}

.text-slider>p {
    margin: 16px 0;
}

@media (max-width: 768px) {
    .main-container {
        margin-top: -235px;
    }
    .container-main {
        margin: 140px 4px 50px 4px;
        flex-direction: column-reverse;
    }
    .header {
        display: flex;
        /* flex-direction: column; */
        padding: 20px 4px 0 4px;
        position: relative;
        height: 480px;
        margin-top: -240px;
    }
    .home-header-image {
        width: 170px;
        height: 200px;
    }
    .home-header-square {
        height: 50%;
        width: 50%;
    }
    .blog-link {
        position: absolute;
        top: 0;
        left: 24px;
    }
    .mobile-img {
        position: absolute;
        bottom: 16%;
        left: 16%;
        display: block;
        width: 90px;
        z-index: 10;
    }
    .opening-p {
        margin-bottom: 0;
    }
    .explore-title {
        text-align: center;
        font-size: 40px;
        margin-bottom: 20px;
        white-space: nowrap;
    }
    .recipes-link {
        position: absolute;
        bottom: 0;
        right: 24px;
    }
    .opening-text-image {
        display: none;
    }
    .glider-container {
        width: 99%;
        margin-bottom: 16px;
    }
    .glide__slide {
        padding: 12px!important;
        padding-bottom: 33px!important
    }
    .img-card-slider {
        width: 150px;
        height: 200px;
    }
    .content-slider {
        padding: 8px 24px;
        max-height: 200px;
    }
    .title-slider {
        font-size: 24px;
    }
    .glide__arrow {
        display: none;
    }
}