#hero {
    position: relative;
    padding: calc(132px + clamp(3rem, 10vh, 7rem)) 0 clamp(4rem, 12vh, 8rem);
    z-index: 0;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    pointer-events: none;
}

#hero .hero-contents {
    padding-inline: 1rem;
}

#hero .hero-bg {
    position:absolute;
    top: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
    z-index: -10;
}

#hero .button-solid {
    margin-top: var(--fontSize48);
}

.hero-contents {
    margin-bottom: var(--fontSize48)
}



@media (min-width: 64rem) {
    #hero {
        background-color: var(--secondary);
        padding: 0;
        padding-left: 3rem;
        min-height: 95vh;
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 50%);
        overflow: hidden;
    }
    #hero::before {
        content: none;
    }
    #hero .hero-contents {
        display: flex;
        align-items: center;
        /* padding: calc(132px + clamp(3rem, 10vh, 7rem)) 3rem clamp(4rem, 12vh, 8rem); */
    }
    #hero .hero-contents .text {
        max-width: 90%;
    }
    #hero .hero-bg {
        height: 100%;
        max-height: 95vh;
        object-fit: cover;
        position: relative;
        
    }
}
/* ------------------- */
/* CHARM SIDE SCROLLER */
/* ------------------- */
#charms {
    background-color: var(--backgroundColor);
}
#image-track-container {
    position: relative;
    height: 55vmin;
    cursor: grab;
    user-select: none;
}
#image-track-container.active {
    cursor: grabbing;
}
#image-track {
    display: flex;
    gap: 4vmin;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

#image-track .scroll-item {
    height: 100%;
    width: 40vmin;
}
#image-track .see-more {
    height: 45vmin;
    width: 40vmin;
    min-width: 150px;
    display: flex;
    align-items: center;
    user-select: none;
}

.underline-link {
    position: relative;
}
.underline-link::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 1.5px;
    background-color: var(--headerColor);
    bottom: -2px;
    left: 0;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.underline-link::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1.5px;
    background-color: var(--headerColor);
    bottom: -2px;
    left: 0;
    transform-origin: right;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.underline-link:hover::before {
    transform: scaleX(1);
    transition-delay: 0.1s;
}

.underline-link:hover::after {
    transform: scaleX(0);
    transition-delay: 0s;
}

.underline-link::before {
    transition-delay: 0s;
}

.underline-link::after {
    transition-delay: 0.1s;
}

#image-track .scroll-item .image-box {
    width: 40vmin;
    height: 45vmin;
    user-select: none;
    transition: width 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

#image-track .scroll-item .image-box img {
    width: 40vmin;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    user-select: none;
    position: absolute;
    pointer-events: none;
}

#image-track .scroll-item .image-box .secondary-image {
    opacity: 0;
    transform: scale(1.3);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
#image-track .scroll-item .image-box .secondary-image.extra {
    object-position: left center;
}
#image-track .scroll-item .image-box:hover .secondary-image {
    transform: scale(1);
    opacity: 1;
}

@media (max-width: 63.99rem) {
    #image-track {
        width: 100%;
        overflow-x: auto;
    }

    #image-track-container {
        height: 100vmin;
    }
    #image-track .scroll-item {
        width: 80vmin;
    }
    #image-track .scroll-item .image-box {
        width: 80vmin;
        height: 90vmin;
    }
    #image-track .scroll-item .image-box img {
        width: 80vmin;
    }
    #image-track .see-more {
        height: 90vmin;
    }
}
/* --------------- */
/* CRYBABY SECTION */
/* --------------- */
#babies {
    background-color: var(--backgroundColorSecondary);
    position: relative;    
}

#babies::before {
    content: '';
    position: absolute;
    width: 40vmax;
    height: 40vmax;
    border-radius: 40vmax;
    background-color: var(--secondaryLight);
    opacity: 0.5;
    z-index: 0;
    right: 0;
    bottom: 0;
    transform: translateX(40%) translateY(-10%);
}

#babies #babies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 325px), 1fr));
    gap: 1.25rem;
}

.baby-box {
    display: flex;
    flex-direction: column;
}
.baby-box .baby-img {
    width: 100%;
    object-fit: cover;
}

.baby-box .baby-info {
    padding: 2px 4px;
    background-color: var(--headerColor);
}

/* --------------- */
/* -STORY SECTION- */
/* --------------- */

#story {
    background-color: var(--backgroundColor);
}
#story .text-contents h2 {
    margin-bottom: 0.5em;
}
#story .img-box {
    display: flex;
    justify-content: center;
}
#story .img-box img {
    width: 100%;
    max-width: 600px;
}

@media (min-width: 64rem) {
    #story .container {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
    #story .img-box {
        width: 50%;
    }

}

/* --------------- */
/* --MWL SECTION-- */
/* --------------- */
#madewithlove {
    position: relative;
    padding: clamp(5rem, -1.429rem + 17.143vw, 14rem);
    text-align: center;
    padding-inline: 0;
}
#madewithlove::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    background: linear-gradient(rgba(0, 0 , 0, 0.5) 0%, rgba(0,0,0, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}
#madewithlove .container {
    padding: 0;
}