.welcome-flex-container {
    max-width: calc(1200px + 3rem);
    margin: auto;
    height: calc(100vh - 59.72px);
    padding-inline: 1.5rem;
    display: flex;
    align-items: center;
}

.welcome-flex-item {
    border-left: 4px solid var(--primary-color);
    padding: 0.5rem 0 0.5rem 0.75rem;
    color: #fff;
    font-size: 1.75rem;
}

.welcome-slogan div:nth-of-type(1) {
    margin-left: -100vw;
    animation: 0.75s ease-out 1s forwards slide;
}

.welcome-slogan:nth-of-type(1) div:nth-of-type(1) {
    animation: 0.75s ease-out 0.25s forwards slide;
}

.welcome-slogan:nth-of-type(2) div:nth-of-type(1) {
    animation: 0.75s ease-out 0.5s forwards slide;
}

.welcome-slogan div:nth-of-type(2) {
    opacity: 0;
    animation: 1.5s ease-out forwards reveal;
}

.emphasize{
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: bold;
}

.hero-section-illustration {
    display: none;
}

@media(min-width: 800px) {
    .welcome-flex-item{
        font-size: 32px;
    }

    .emphasize{
        font-size: 55px;
    }

    .hero-section-illustration {
        display: initial;
        flex: 1;
        padding-right: 7.5vw;
        text-align: right;
    }

    .hero-section-illustration img {
        width: 35vw;
        max-width: 500px;
    }
}

@keyframes reveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slide {
    from {
        margin-left: -100vw;
    }

    to {
        margin-left: 0;
    }
}