/* Resume page. Navbar and footer live in css/base.css. */

a:hover {
    color: #DC4625;
}

/* Every resume section: 50px side margins on desktop, 16px on phones. */
.header,
.summary,
.skills,
.projects,
.experience,
.education,
.certificate {
    margin: 70px clamp(16px, 4vw, 50px) 20px;
    font-family: lora;
    overflow-wrap: break-word;
}

.header {
    margin-top: 100px;
}

/* Section titles */
.header h1,
.summary h1,
.skills h1,
.projects h1,
.experience h1,
.education h1,
.certificate h1 {
    margin-bottom: 30px;
    font-family: lora;
    font-size: 24px;
    font-weight: bold;
}

.header h1 {
    margin-bottom: 20px;
}

/* Body text */
.header p,
.summary p,
.skills p,
.projects ul,
.experience p,
.experience ul,
.education p,
.certificate p {
    font-family: lora;
    font-size: 18px;
}

/* Project titles */
.projects h2 {
    margin: 70px 0 30px;
    font-family: lora;
    font-size: 18px;
    font-weight: bold;
}

.projects .one h2 {
    margin-top: 0;
}

.experience h2 {
    font-family: lora;
    font-size: 18px;
}

.experience .one,
.experience .two,
.experience .three,
.experience .four,
.experience .five {
    margin-bottom: 50px;
}

.header button {
    margin-top: 50px;
    color: #C9AA8B;
    background-color: #0C1B1D;
    font-family: oswald;
}

.header button:hover {
    color: #DC4625;
}

@media screen and (max-width: 767.98px) {
    .header,
    .summary,
    .skills,
    .projects,
    .experience,
    .education,
    .certificate {
        margin-top: 50px;
    }

    .header h1,
    .summary h1,
    .skills h1,
    .projects h1,
    .experience h1,
    .education h1,
    .certificate h1 {
        font-size: 20px;
    }

    .header p,
    .summary p,
    .skills p,
    .projects ul,
    .experience p,
    .experience ul,
    .education p,
    .certificate p,
    .projects h2,
    .experience h2 {
        font-size: 16px;
    }

    .projects h2 {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .projects ul,
    .experience ul {
        padding-left: 20px;
    }

    .header button {
        margin-top: 20px;
    }
}

.footer {
    margin-top: 100px;
}
