.login-info {
    background-color: var(--blue);
    border-radius: 8px;
    text-align: center;
    color: white;
    flex-basis: 350px;
    flex-grow: 1;
}

.login-info p {
    font-weight: 700;
    font-size: 1.5em;
    line-height: 1.2em;
}

.rejoyn-info {
    border: 4px solid var(--poppy);
    border-radius: 8px;
    flex-grow: 1;
    margin-right: 10px;
    flex-basis: 350px;
}

@media screen and (max-width: 753px) {

    .rejoyn-info, .login-info {
        flex-basis: 500px;
    }

    .rejoyn-info {
        margin-right: 0;
    }
}


.instruction-info {
    font-family: space-grotesk, sans-serif;
    font-weight: 700;
    font-size: 1.3em;
}

.login-button {
    background: white;
    border: 2px solid var(--poppy);
    padding-left: 2.5em;
    padding-right: 2.5em;
}

.instruction-triangle-right {
    border-left: 1.5rem solid var(--pale-blue);
    border-bottom: 1.5rem solid transparent;
    border-top: 1.5rem solid transparent;
    width: 0;
    height: 0;
}

.instruction-triangle-bottom {
    border-top: 1.5rem solid var(--pale-blue);
    border-left: 1.5rem solid transparent;
    border-right: 1.5rem solid transparent;
    width: 0;
    height: 0;
}

.instruction-triangle-bottom {
    display: none;
}

.instruction {
    flex-basis: 15rem;
    flex-grow: 1;
    width: 15rem;
    height: 14rem;
    padding: 1em;
}

.instruction-border {
    border: 4px solid var(--pale-blue);
    border-radius: 18px;
}

.instruction-header {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

.instruction-with-triangle {
    display: flex;
    justify-content: center;
    align-items: center;
}


@media screen and (max-width: 1199px) {
    .instruction {
        padding: 0.5em;
        width: 13rem;
        height: 12rem;
        flex-basis: 12rem;
        font-size: 0.9em;
    }
}

@media screen and (max-width: 991px) {
    .instructions > *:last-child {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .instructions > *:last-child p {
        width: 13rem;
    }
}


@media screen and (max-width: 767px) {
    .instructions {
        flex-direction: column;
        align-items: center;
    }

    .instruction {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 1rem;
    }

    .instruction-triangle-right {
        display: none;
    }

    .instruction-triangle-bottom {
        display: block;
    }

    .instruction-with-triangle {
        flex-direction: column;
    }

    .instructions > *:nth-child(1), .instructions > *:nth-child(3), .instructions > *:nth-child(4) {
        margin-left: 0;
        margin-right: 0;
    }

    .instructions > *:nth-child(3), .instructions > *:nth-child(4) {
        margin-top: 0;
    }
}