@import url("https://fonts.googleapis.com/css?family=Raleway:300,400");
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400");
/* common setup */
:root {
    --base-color:rgb(210, 109, 0);
}

* {
    box-sizing: border-box;
    font-family: Raleway;
    color: #777;
}

html, body {
    margin: 0;
    padding: 0;
}

ul {
    padding: 0;
}

/* images */

img {
    display: block;
}

.about-band-image {
    float: left;
    margin: 20px;
    border-radius: 6px;
}

/* figure {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
} */

/* .overlap-img {
    flex-shrink: 0;
    max-width: 300px;
    padding: 50px;
    margin-bottom: 50px;
    width: 100%;
    border-radius: 6px;
    background: rgb(255, 205, 112);
} */

/* header */

.main-header {
    height: 200px;
    background-color: rgba(0, 0, 0, .6);
    /* background-image: url(images/khalid-main-header.jpg); */
    background-blend-mode: multiply;
    background-size: cover;
    padding-bottom: 30px;
    color: #ffffff;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 50px));
}

.colored-header {
    color: var(--base-color);
}

.name {
    text-align: center;
    margin: 0;
    font-size: 2em;
    font-weight: normal;
    color: #ffffff;
}

.name-large {
    font-size: 1.6em;
    padding-top: 1em;
}

/* sections */

.content-section {
    margin: 1em;
}

.container {
    max-width: 900px;
    min-width: 200px;
    margin: 0 auto;
    padding: 0 1.5em;
}

.flex-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap-reverse;
    padding-top: 20px;
    padding-bottom: 20px;
}

.flex-item {
    max-width: 300px;
}

.flex-container>div>p {
    margin: 15px;
}

.flex-container>figure {
    min-width: 100px;
    margin: 15px;
}

/* .home {
    display: flex;
    align-items: center;
} */

.section-header {
    font-weight: normal;
    color: #333333;
    text-align: center;
    font-size: 1.6em;
}

p.intro {
    font-size: 1.4em;
    line-height: 140%;
}

p.intro a {
    color: var(--base-color);
}

/* Aboput page: Services grid*/

.services-grid {
    display: grid;
    grid-column-gap: 1em;
    justify-content: space-evenly;
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service p {
    line-height: 1.4em;
    letter-spacing: 0.03em;
}

.service h3 {
    margin-block-end: 0;
}

/* Resume page*/

.resume-flex {
    display: flex;
    flex-direction: column;
    padding: 0.5em 1em 1em 0.5em;
    justify-content: center;
}

.resume-flex-row-contacts {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(26, 26, 26, 0.173);
    padding-bottom: 1em;
}

.resume-flex-header {
    display: flex;
    justify-content: center;
    letter-spacing: 0.1em;
}

.summary-points-flex {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(26, 26, 26, 0.173);
    padding-bottom: 1em;
}

.summary-points-flex li {
    letter-spacing: 0.04em;
    padding-bottom: 0.7em;
}

.skills-flex {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(26, 26, 26, 0.173);
    padding-bottom: 1em;
}

.skills-flex p{
    margin-block-start: 0.5px;
}

.skills-flex p span{
    font-weight: 1000;
}

.resume-flex-row-education, .experience-flex-row-education {
    display: flex;
    justify-content: space-between;
    padding-bottom: 2em;
    flex-wrap: wrap;
}

.education-section-wrapper {
    border-bottom: 1px solid rgba(26, 26, 26, 0.173);
    padding-top: 1em;
    padding-bottom: 1em;
}

.experience-section-wrapper {
    padding-top: 1em;
    padding-bottom: 1em;
}
.resume-flex-row-education > span:nth-child(1),
.experience-flex-row-education > span:nth-child(1) {
    max-width: 40em;
}


.resume-flex-row-education > span > p, 
.experience-flex-row-education > span > p{
    margin-block-start: 0.2em;
    margin-block-end: 0.4em;
}

.experience-flex-row-education > span > p:nth-child(1) {
    font-weight: 1000;
}

.resume-flex-row-education span p:nth-child(2), 
.experience-flex-row-education span p:nth-child(2) {
    font-style: italic;
}

.experience-flex-row-education > span > ul {
    padding-left: 2em;
}

.experience-flex-row-education > span > ul > li {
    line-height: 1.5em;
}

.main-footer {
    background-color: rgba(0, 0, 0, .3);
    padding: .25em 0;
}

.name-footer {
    text-align: center;
    margin: 0;
    font-size: 1em;
    font-weight: normal;
    color: #ffffff;
}

.main-footer-container {
    display: flex;
    align-items: center;
}

.main-footer-container ul {
    flex-grow: 1;
    text-align: end;
}

.footer-nav img {
    width: 30px;
    height: 30px;
}
