.statement-view {
    position: relative;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    font-weight: 600;
    opacity: 0;
    z-index: 2;
    margin-top: 10vh;
    margin-bottom: 10vh;
    transition: opacity 0.3s, transform 0.3s, background-image 0.5s, background-size 0.5s;
}

.statement-content {
    font-family: 'montserratsemibold', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(0.95rem, 1.2rem, 1.4rem);
    font-weight: 600;
    margin-right: 1em;
    margin-left: 1em;
    width: 62.5rem;
    height: 31.25rem;
    min-width: 20.9375rem;
    max-width: 80vw;
    max-height: 60vh;
    background: rgba(100, 100, 100, 0.5);
    backdrop-filter: blur(0.3125rem);
    border-radius: 1.25rem;
    overflow: hidden;
    opacity: 1;
    box-shadow: 0.625rem 1.25rem 1.125rem -0.5rem rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s, transform 0.3s, background-color 1s;
}

.statement-text {
    top: 5%;
    padding: 5%;
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    text-align: justify;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 1.0) rgba(100, 100, 100, 0.5);
    height: fit-content;
    width: 90%;
    white-space: pre-line;
}

.statement-content .statement-text::-webkit-scrollbar {
    width: 0.625rem;
    height: 0.3125rem;
}

.statement-content .statement-text::-webkit-scrollbar-track {
    background-color: rgba(100, 100, 100, 0.5);
}

.statement-content .statement-text::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 1.0);
    border-radius: 0.625rem;
}

.statement-content .statement-text::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.statement-content .statement-text::-webkit-scrollbar-thumb:active {
    background-color: rgba(255, 255, 255, 1.0);
}

.statement-icons {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    top: 5%;
    height: 15%;
    width: 90%;
}

.statement-background {
    position: absolute;
    margin-right: 1em;
    margin-left: 1em;
    width: 56.25rem;
    height: 56.25rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(15vw) translateY(-10vw);
    transition: opacity 1s, transform 0.3s, background-image 1s, background-size 0.5s;
}

@keyframes blend-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.blend-in-statement {
    animation: blend-in 3s forwards;
}

@media screen and (max-width: 87.5rem) {
    .statement-view {
        transform: scale(0.8);
    }
}

@media screen and (max-width: 62.5rem) {
    .statement-view {
        transform: scale(0.8);
    }

    .statement-text {
        font-size: clamp(0.65rem, 0.95rem, 1.4rem);
    }

    .statement-section.greeting {
        font-size: 1.2em;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

@media screen and (max-width: 41.25rem) {
    .statement-view {
        transform: scale(0.8);
    }

    .statement-text {
        font-size: clamp(0.65rem, 0.75rem, 1.4rem);
        letter-spacing: clamp(0rem, 0rem, 0rem);
    }

    .statement-section.greeting {
        font-size: 1.1em;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
}

@media screen and (min-width: 125.0rem) {
    .statement-view {
        transform: scale(1.2);
    }
}

@keyframes slide-statement {
    from {
        opacity: 0;
        transform: translateX(0);
    }

    to {
        opacity: 1;
        transform: translateX(-5vw);
    }
}

.slide-in-statement {
    animation: slide-statement 3s forwards;
}

.statement-section {
    width: 100%;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.statement-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.statement-section.greeting {
    font-size: 1.4em;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.statement-section.main {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
