#order-header div:first-child,
#resume div:first-child,
#order-header-mobile div:first-child,
#resume-mobile div:first-child {
    font-weight: 800;
}

#order-container,
#order-container-mobile {
    margin: 10px 0;
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.order-container-line,
.order-container-line-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
#order-second-line,
#order-second-line-mobile {
    justify-content: space-evenly;
    margin: 10px 0;
}

#resume,
#resume-mobile {
    flex-direction: row-reverse;
}

.order-container-line div,
.order-container-line-mobile div {
    font-size: 12px;
}

.blue,
.red {
    padding: 5px 10px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
}

.blue {
    background-image: linear-gradient(to right, #2D3891, #1D255E)
}

.red {
    background-image: linear-gradient(to right, #E92626, #B51D1D)
}

@media screen and (min-width: 768px) {
    
    .order-container-line div {
        font-size: 14px;
    }

    #order-container {
        flex-direction: row;
    }

    #order-header,
    #resume {
        width: 30%;
        justify-content: space-between;
    }
    
    #order-second-line {
        width: 40%;
        margin: 0;
    }
}

#order-container[max-width="500px"] .order-container-line {
    background-color: red;
    justify-content: space-evenly;
    width: auto;
}

#order-container[min-width="500px"] .order-container-line {
    background-color: red;
    justify-content: space-evenly;
    width: auto;
}