#main {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    margin-top: 1rem;
    width: 98vw;
    text-align: center;
}

.container {
    max-width: 100vw;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: start;
    justify-content: space-around;
}

.download-btn {
    width: 60%;
    height: 75px;
    border-radius: 17px;
    display: flex;
    outline: 2px solid #fff;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    align-items: center;
    font-size: var(--desktop-title-font);
}

.download-btn:hover {
    transform: scale(1.1);
    background-color: var(--white-color);
    color: #000;
}

#work,
#studies,
#certifications,
#competitions,
#ranks,
#volunteering,
#extras {
    width: 45vw;
    height: fit-content;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--tablet-title-font);
}

.break {
    margin-left: 1rem;
    display: block;
}

li.section {
    border-top: 5px dashed #fff;
}

ul.section {
    border-bottom: 5px dashed #fff;
    width: 100%;
}

strong,
h2 {
    font-size: var(--tablet-title-font);
}

h2.head-section {
    margin-bottom: .3em;
}

.date,
.description,
.type,
.mode {
    font-size: var(--desktop-body-font);
}

.head,
h3 {
    font-size: var(--desktop-body-font);
    font-weight: bold;
}

@media screen and (min-width: 0px) and (max-width: 1300px) {
    .container {
        flex-direction: column;
    }

    #work {
        order: 1;
        width: 100%;
    }

    #studies {
        order: 2;
        width: 100%;
    }

    #certifications {
        order: 3;
        width: 100%;
    }

    #competitions {
        order: 4;
        width: 100%;
    }

    #ranks {
        order: 5;
        width: 100%;
    }

    #volunteering {
        order: 6;
        width: 100%;
    }

    #extras {
        order: 7;
        width: 100%;
    }

    .download-btn {
        width: 85%;
    }

    .download-btn {
        font-size: var(--tablet-title-font);
    }

    #work,
    #studies,
    #certifications,
    #competitions,
    #ranks,
    #volunteering,
    h2,
    strong {
        font-size: var(--tablet-title-font);
    }

    .description,
    .date,
    .mode {
        font-size: var(--mobile-body-font);
    }

    .head,
    .type,
    h3 {
        font-size: var(--tablet-body-font);
    }
}

@media screen and (min-width: 2000px) {
    #work,
    #studies,
    #certifications,
    #competitions,
    #ranks,
    #volunteering,
    .download-btn,
    h2,
    strong {
        font-size: var(--big-desktop-title-font);
    }

    .description,
    .date,
    .mode {
        font-size: var(--big-desktop-body-font);
    }

    .head,
    .type,
    h3 {
        font-size: var(--big-desktop-body-font);
    }
}