section.y-stories {
    color: white;
    padding: 2rem 2rem 6rem;
}

.y-stories h2 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 3rem;
}

.y-stories .y-stories__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    margin: auto;
    max-height: 525px;
}

.y-stories .y-stories__wrapper .y-stories__content p {
    font-size: 32px;
    color: #636466;
    font-family: 'Cachet';
    margin-bottom: 0;
}

.y-stories .y-stories__wrapper .y-stories__content .y-stories__content-author {
    color: var(--green-dk);
    font-weight: bold;
    font-size: 37px;
}

.y-stories .y-stories__wrapper .y-stories__content {
    padding: 45px 50px;
    transform: translateX(-10px);
    height: 350px;
    border-radius: 12px;
    background: white;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.y-stories .y-stories__wrapper .y-stories__image {
    padding: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    max-width: 950px;
    height: auto;
    object-fit: cover;
    max-height: 525px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 2px 2px 10px #00000029;
    border: 7px solid #FFFFFF;
}

.y-stories__decoration.second-decoration {
    transform: translate(180px, -254px) rotate(20deg);
}

.y-stories__decoration {
    font-family: "Cachet", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 310px;
    line-height: 687px;
    letter-spacing: -7.53px;
    text-align: left;
    color: var(--yellow);
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    pointer-events: none;
    transform: translate(120px, -257px) rotate(20deg);
}

.y-stories__img,
.y-stories__img img {
    max-width: 100%;
    height: auto;
}

#preschool-y-stories.y-stories {
    padding: 2rem 2rem 6rem;
}

@media screen and (max-width: 1200px) {
    .y-stories .y-stories__wrapper {
        flex-direction: column;
        max-height: unset;
    }

    .y-stories .y-stories__wrapper .y-stories__content {
        transform: translateY(-40px);
        padding: 65px 50px 45px;
        height: unset;
    }
}

@media screen and (max-width: 500px) {
    #preschool-y-stories.y-stories {
        padding: 2rem 2rem;
    }

    section.y-stories {
        color: white;
        padding: 2rem 2rem;
    }

    .y-stories .y-stories__wrapper .y-stories__content p {
        font-size: 16px;
    }

    .y-stories .y-stories__wrapper .y-stories__content .y-stories__content-author {
        font-size: 20px;
    }
}