/* -- Reset browser styles */
body {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    font-family: "Carlito", "Open Sans", "Roboto", Arial, sans-serif;
    color: #333;
    background-color: #e2e2e2;
    line-height: 1.6;
}

/* -- Desktop: 1080px and up */
/* + Typography */
h1 {
    font-family: "Open Sans";
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

h3 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 2px;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 6px;
}

p {
    font-size: 16px;
    margin-top: 6px;
    margin-bottom: 6px;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
}

.lightbold {
    font-size: 18px;
    color: #7d7d7d;
    margin-top: 0;
    margin-bottom: 8px;
}

.title {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 12px;
}

.view-counter {
    font-size: 18px;
    color: white;
    background-color: #58b0eb;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 60px;
}

/* + Global Styles */
/* Containers */
.resume-container {
    display: flex;
    gap: 20px;
    width: 980px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 60px 40px;
    border-radius: 10px;
    background-color: white;
}

.main-container {
    flex: 3;
    padding-left: 40px;
}

.side-container {
    flex: 1;
}

.header-container {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.profile-container,
.work-experience-container {
    margin-bottom: 40px;
}

section {
    padding-left: 20px;
    margin-left: 10px;
    margin-bottom: 20px;
    border-left: 3px solid #e2e2e2;
}

/* Links */
a {
    color: #58b0eb;
    text-decoration: none;
}

a:hover {
    color: #2c80b8;
}

a:active {
    color: #22628d;
}

a:visited {
    color: #3498db;
}

/* imgs */
img {
    width: 122px;
    height: auto;
    border-radius: 50%;
}

/* icons */
.icon {
    margin-right: 15px;
}

.link-icon {
    margin-left: 10px;
    font-size: 16px;
}

.hidden {
    display: none;
}

/* ++ Tablet: 560px - 1080px */
@media screen and (max-width: 1080px) and (min-width: 560px) {
    /* + Typography */
    h1 {
        font-size: 48px;
        font-weight: 300;
        line-height: 1;
        margin-top: 0;
        margin-bottom: 0;
    }

    h2 {
        font-size: 32px;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 24px;
        font-weight: 500;
        margin-top: 0;
        margin-bottom: 2px;
    }

    h4 {
        font-size: 20px;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 6px;
    }

    p {
        font-size: 16px;
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .lightbold {
        font-size: 18px;
        color: #7d7d7d;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .title {
        font-size: 18px;
        color: #333;
        margin-top: 0;
        margin-bottom: 12px;
    }
    
    .view-counter {
        font-size: 18px;
    }

    /* + Global Styles */
    /* Containers */
    .resume-container {
        display: flex;
        flex-direction: column;
        gap: 0px;
        width: auto;
        margin: 0;
        padding: 30px 20px;
        border-radius: 0;
        background-color: white;
    }

    .main-container {
        padding-left: 20px;
    }

    .side-container {
        padding-left: 20px;
    }

    .header-container {
        display: flex;
        gap: 30px;
        margin-bottom: 30px;
        align-items: center;
    }

    .profile-container,
    .work-experience-container,
    .projects-container {
        margin-bottom: 20px;
    }

    section {
        padding-left: 20px;
        margin-left: 10px;
        margin-bottom: 10px;
        border-left: 3px solid #e2e2e2;
    }

    /* imgs */
    img {
        width: 122px;
        height: auto;
        border-radius: 50%;
    }

    /* icons */
    .icon {
        margin-right: 15px;
    }

    .link-icon {
        margin-left: 10px;
        font-size: 16px;
    }

    .hidden {
        display: inline;
    }
}

/* ++ Tablet: 0px - 559px */
@media screen and (max-width: 559px) {
    /* + Typography */
    h1 {
        font-size: 40px;
        font-weight: 300;
        line-height: 1;
        margin-top: 0;
        margin-bottom: 0;
    }

    h2 {
        font-size: 28px;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 5px;
    }

    h3 {
        font-size: 22px;
        font-weight: 500;
        margin-top: 0;
        margin-bottom: 2px;
    }

    h4 {
        font-size: 18px;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 3px;
    }

    p {
        font-size: 16px;
        margin-top: 6px;
        margin-bottom: 3px;
    }

    .lightbold {
        font-size: 16px;
        color: #7d7d7d;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .title {
        font-size: 16px;
        color: #333;
        margin-top: 0;
        margin-bottom: 12px;
    }

    .view-counter {
        font-size: 16px;
    }

    /* + Global Styles */
    /* Containers */
    .resume-container {
        display: flex;
        flex-direction: column;
        gap: 0px;
        width: auto;
        margin: 0px;
        padding: 15px 10px;
        border-radius: 0px;
        background-color: white;
    }

    .main-container {
        padding-left: 0px;
    }

    .side-container {
        padding-left: 0px;
    }

    .header-container {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
        align-items: center;
    }

    .profile-container,
    .work-experience-container,
    .projects-container {
        margin-bottom: 20px;
    }

    section {
        padding-left: 15px;
        margin-left: 10px;
        margin-bottom: 15px;
        border-left: 3px solid #e2e2e2;
    }

    ul {
        padding-left: 20px;
    }

    /* imgs */
    img {
        width: 95px;
        height: auto;
        border-radius: 50%;
    }

    /* icons */
    .icon {
        margin-right: 10px;
    }

    .link-icon {
        margin-left: 10px;
        font-size: 14px;
    }

    .hidden {
        display: inline;
    }
}
