#stage {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow-y: hidden;
}

#words {
    flex: 1 1 auto;
    overflow-y: auto;
    background-color: #2d4a52;
}

.words-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    min-height: 500px;
}

.gil-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.thought {
    position: absolute;
    top: 15%;
    left: 15%;
    transform: translate(-50%, -50%);
    display: block;
    background-color: #fff;
    padding: 20px;
    border-radius: 30px;
    min-width: 40px;
    max-width: 220px;
    min-height: 40px;
    margin: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
}

.thought:before,
.thought:after {
    content: "";
    background-color: #fff;
    border-radius: 50%;
    display: block;
    position: absolute;
    z-index: -1;
}

.thought:before {
    width: 40px;
    height: 40px;
    bottom: -10px;
    right: 30px;
    box-shadow: 25px 35px 0 -5px #fff;
}

.thought:after {
    width: 20px;
    height: 20px;
    bottom: 25px;
    right: 5px;
}

/* Mobile - Small screens */
@media screen and (max-width: 480px) {
    .gil-image {
        max-width: 95%;
        max-height: 70vh;
    }

    .thought {
        top: 10%;
        left: 25%;
        max-width: 85%;
        font-size: 14px;
        padding: 15px;
    }
}

/* Mobile - Medium screens */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .gil-image {
        max-width: 90%;
        max-height: 65vh;
    }

    .thought {
        top: 12%;
        left: 20%;
        max-width: 80%;
        font-size: 16px;
        padding: 18px;
    }
}

/* Tablet */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .gil-image {
        max-width: 85%;
        max-height: 75vh;
    }

    .thought {
        top: 15%;
        left: 20%;
        max-width: 350px;
        font-size: 18px;
        padding: 25px;
    }

    .thought:before {
        width: 45px;
        height: 45px;
        bottom: -12px;
        right: 35px;
    }

    .thought:after {
        width: 22px;
        height: 22px;
        bottom: 28px;
        right: 10px;
    }
}

/* Desktop */
@media screen and (min-width: 1024px) {
    .gil-image {
        max-width: 80%;
        max-height: 80vh;
    }

    .thought {
        top: 15%;
        left: 25%;
        max-width: 350px;
        font-size: 20px;
        padding: 30px;
    }

    .thought:before {
        width: 50px;
        height: 50px;
        bottom: -15px;
        right: 40px;
    }

    .thought:after {
        width: 25px;
        height: 25px;
        bottom: 30px;
        right: 15px;
    }
}

/* Large Desktop */
@media screen and (min-width: 1440px) {
    .gil-image {
        max-width: 75%;
        max-height: 85vh;
    }

    .thought {
        top: 15%;
        left: 30%;
        max-width: 400px;
        font-size: 22px;
        padding: 35px;
    }
}