@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

/* Variables */

:root {
    /* Colors */
    --color-white: #FFF;
    --color-off-white: #e1e3ee;
    --color-black: #000;
    --color-off-black: #111;
    --color-light-blue: #03a9f4;
    --color-gray-blue-darkest: #2e3141;
    --color-gray-blue-dark: #333745;
    --color-gray-blue-medium: #3c4251;
    --color-gray-blue-light: #464b5e;
    /* Sizes */
    --size_xs: 0.6rem;
    --size_ss: 0.8rem;
    --size_s: 1.2rem;
    --size_m: 1.6rem;
    --size_l: 3.2rem;
    --size_xl: 4.8rem;
}


/* GENERAL */

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    font-size: 62.5%;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--color-white);
    line-height: 1em;
    text-transform: uppercase;
}

h1 {
    font-size: 5em;
}

h2 {
    font-size: 4em;
}

h3 {
    font-size: 2.4em;
}

h4 {
    font-size: 1.6em;
}

p {
    color: var(--color-white);
    font-size: 1.4em;
    font-weight: 400;
    line-height: 1.8;
}

.dark {
    color: var(--color-black)
}

.content-container {
    margin: 0 auto;
    max-width: 1400px;
    width: 85%;
}

.content-container__centered {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.content-container__center-mobile {
    display: flex;
    justify-content: center;
}

.content-container-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 50%;
    padding: 0 25px;
    justify-content: space-between;
}

.section-title {
    color: var(--color-black);
    font-weight: 200;
    line-height: 1em;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.section-angle-top {
    clip-path: polygon(0 -2px, 100% -2px, 100% 0, 0 100%);
    height: 100px;
    width: 100%;
}

.section-angle-top-reverse {
    clip-path: polygon(0 100%, 0 102%, 100% 102%, 100% 0);
    height: 100px;
    width: 100%;
}

.section-angle-bottom {
    height: 100px;
    width: 100%;
}

.section-divider {
    display: flex;
    flex-direction: column;
    height: 400px;
    justify-content: space-between;
    width: 100%;
}

.section-divider-top {
    background-color: var(--color-gray-blue-darkest);
    clip-path: polygon(0 -2px, 100% -2px, 100% 0, 0 100%);
    height: 100px;
    width: 100%;
}

.section-divider-bottom {
    background-color: var(--color-white);
    clip-path: polygon(0 102%, 0 100%, 100% 0, 100% 102%);
    height: 100px;
    width: 100%;
}

.section-title {
    border-bottom-width: 0;
    border-bottom-style: solid;
    letter-spacing: 6px;
    text-align: center;
}

.button {
    color: var(--color-off-black);
    cursor: pointer;
    display: inline-block;
    font-size: 1.4em;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.2s;
}

.button__small {
    padding: 4px 20px;
    letter-spacing: 1px;
}

.button__white {
    background: var(--color-white);
}

.button__inverted {
    background: var(--color-gray-blue-darkest);
    color: var(--color-white);
}

.button__icon {
    color: var(--color-off-black);
    cursor: pointer;
    display: inline-block;
    font-size: 1.4em;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--color-white);
    transition: 0.2s;
}

.button__icon:hover {
    padding: 10px 35px;
}

.button__icon:active {
    color: var(--color-white);
    background-color: var(--color-off-black)
}

.button:hover {
    letter-spacing: 6px;
}

.button__small:hover {
    letter-spacing: 3px;
}

@media screen and (min-width: 1400px) {
    h1 {
        font-size: 10em;
    }
    h2 {
        font-size: 8em;
    }
    h3 {
        font-size: 5em;
    }
    h4 {
        font-size: 3em;
    }
    p {
        font-size: 1.8em;
    }
    .button {
        font-size: 1.8em;
    }
    .button__small {
        letter-spacing: 2px;
        padding: 10px 30px;
    }
    .button__icon {
        font-size: 1.8em;
    }
    .section-title {
        margin-bottom: 125px;
        text-align: start;
    }
    .content-container__center-mobile {
        justify-content: start;
    }
}


/* BACKGROUND */

.background {
    background-image: url('/assets/medevac/img/landing.jpg');
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

.background-overlay {
    background: var(--color-light-blue);
    height: 100%;
    mix-blend-mode: hard-light;
    opacity: 0.4;
    width: 100%;
}


/* HERO */

.hero {
    min-height: 100vh
}

.hero-container {
    align-items: center;
    background: var(--color-off-black);
    display: flex;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.hero-container video {
    height: 100%;
    left: 0;
    object-fit: cover;
    opacity: 0.8;
    position: absolute;
    top: 0;
    width: 100%;
}

.hero-overlay {
    background: var(--color-light-blue);
    height: 100%;
    left: 0;
    mix-blend-mode: overlay;
    position: absolute;
    top: 0;
    width: 100%;
}

.hero-text-container {
    position: relative;
    z-index: 10;
}

.hero-text-container h2 {
    font-weight: 300;
}

.hero-text-container h3 {
    font-weight: 700;
    margin-top: 10px;
}

.hero-text-container p {
    margin: 10px 0 25px 0;
    max-width: 700px;
}

.hero-angle {
    background-color: var(--color-white);
    bottom: 0;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    height: 100px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 20;
}


/* ABOUT ME */

.section__about {
    background-color: var(--color-white);
    padding: 100px 0;
    width: 100%;
}

.section-title__about {
    border-bottom-color: var(--color-gray-blue-darkest);
    color: var(--color-gray-blue-darkest);
}

.container__about {
    display: flex;
    flex-direction: column-reverse;
}

.container__about p {
    color: var(--color-black);
    flex: 0 0 50%;
    text-align: center;
}

.about-image-container {
    align-items: center;
    display: flex;
    flex: 0 0 50%;
    justify-content: center;
    margin-bottom: 50px;
}

.about-image-container img {
    height: 200px;
    object-fit: contain;
    width: 200px;
}

.section-angle-top__about {
    background-color: var(--color-white);
}

.section-angle-bottom__about {
    background-color: var(--color-gray-blue-darkest);
}

@media screen and (min-width: 1400px) {
    .section__about {
        padding: 250px 0;
    }
    .container__about {
        flex-direction: row;
    }
    .about-image-container {
        align-items: flex-start;
        justify-content: flex-end;
        margin-bottom: 0;
    }
    .about-image-container img {
        height: 400px;
        width: 400px;
    }
    .container__about p {
        text-align: start;
    }
}


/* PROJECTS */

.section__projects {
    background-color: var(--color-gray-blue-darkest);
    padding: 100px 0;
    width: 100%;
}

.section-title__projects {
    border-bottom-color: var(--color-white);
    color: var(--color-white);
}

.section-angle-top__projects {
    background-color: var(--color-gray-blue-darkest);
}

.section-angle-bottom__projects {
    background-color: var(--color-white);
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.project {
    background: var(--color-gray-blue-light);
    border-bottom: 2px solid var(--color-gray-blue-medium);
    display: flex;
    flex-direction: column;
    margin: var(--size_m) 0;
}

.project__header {
    align-items: center;
    background: var(--color-gray-blue-medium);
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    padding: var(--size_xs);
}

.project_title {
    font-weight: 100;
    text-transform: uppercase;
}

.project__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 100% 1 1;
}

.project__body-container {
    display: flex;
    flex-direction: column;
}

.project__text {
    font-weight: 300;
    line-height: 2;
    padding: var(--size_m);
    color: var(--color-off-white)
}

.project__text--message {
    align-self: flex-end;
    color: #a3a9bd;
    font-style: italic;
    padding: var(--size_xs) var(--size_m);
}

.project__img {
    object-fit: cover;
    width: 100%;
    max-height: 300px;
}

.project__icon {
    color: var(--color-gray-blue-dark);
    font-size: var(--size_xl);
    padding: var(--size_s);
}

.project__icon--center {
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .section__projects {
        padding: 250px 0;
    }
    .project-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .project {
        border-bottom: 2px solid var(--color-gray-blue-medium);
        margin: var(--size_l) 0;
        flex: 48% 0 0;
    }
    .project__header {
        padding: var(--size_xs) var(--size_m);
    }
    .project__text {
        padding: var(--size_m) var(--size_l);
    }
}


/* SKILLS */

.section__skills {
    padding: 100px 0;
    width: 100%;
    background-color: var(--color-white);
}

.section-title__skills {
    color: var(--color-black);
    border-bottom-color: var(--color-black);
}

.section-angle-top__skills {
    background-color: var(--color-white);
}

.section-angle-bottom__skills {
    background-color: none;
}

.content-container__skills {
    display: flex;
    flex-direction: column;
    margin-bottom: 75px;
    /* justify-content: stretch; */
    align-items: stretch;
}


/* .content-container__skills-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 50%;
    padding: 0 25px;
    justify-content: space-between;
} */

.skill {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
}


/* 
.skill img {
    height: 100px;
    width: 100px;
    margin: 0 auto 20px auto;
} */

.skill-title {
    color: var(--color-gray-blue-darkest);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 26px;
    text-align: center;
}

.skill-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2px;
}

.skill-bar-background {
    flex: 1 1 100%;
    height: 26px;
    background-color: var(--color-off-white);
}

.skill-bar-foreground {
    height: 100%;
    width: 60%;
    background-color: var(--color-gray-blue-dark);
}

.skill-bar-percent-container {
    background-color: var(--color-off-white);
    border-left: 2px solid var(--color-white);
    height: 26px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-self: center;
}

.skill-bar-percent {
    color: var(--color-gray-blue-dark);
    font-weight: 400;
    line-height: 26px;
}

.skill-bar-name-container {
    background-color: var(--color-gray-blue-medium);
    border-right: 2px solid var(--color-white);
    height: 26px;
    width: 225px;
    display: flex;
    justify-content: flex-start;
    align-self: center;
    padding-left: 6px
}

.skill-bar-name {
    color: var(--color-white);
    line-height: 26px;
    font-weight: 300;
}

@media screen and (min-width: 1400px) {
    .content-container__skills {
        margin-bottom: 200px;
    }
    .section__skills {
        padding: 250px 0;
    }
    .skill {
        margin-bottom: 40px;
    }
    .skill-bar-name-container {
        padding-left: 10px;
        width: 200px;
        height: 30px;
    }
    .skill-title {
        margin-bottom: 30px;
    }
    .skill-bar-background {
        height: 30px;
    }
    .skill-bar-percent-container {
        height: 30px;
    }
    .skill-bar-percent {
        line-height: 30px;
    }
    .skill-bar-name {
        line-height: 30px;
    }
    .content-container__skills {
        flex-direction: row;
    }
}


/* CONTACT */

.section__contact {
    padding: 100px 0;
    width: 100%;
}

.section-title__contact {
    color: var(--color-white);
    border-bottom-color: var(--color-white);
}

@media screen and (min-width: 1400px) {
    .section__contact {
        padding: 250px 0;
        width: 100%;
    }
}


/* FOOTER */

footer {
    display: flex;
    height: 100px;
    align-items: center;
}


/* BOOKS AND COURSES PAGE */

.spacer {
    height: 50px;
}

.spacer-half {
    height: 25px;
}

.section__empty {
    height: 250px;
    width: 100%;
}

.section-angle-top__courses {
    background: #FFF;
}

.section__courses {
    background-color: var(--color-white);
    padding: 100px 0;
    width: 100%;
}

.content-container__courses {
    display: flex;
    flex-direction: column;
}

.list {
    padding: 0;
}

.list li {
    counter-increment: index;
    display: flex;
    align-items: center;
    margin: 8px 0;
    box-sizing: border-box;
    font-size: 1.4em;
    line-height: 1.8;
}

.list li::before {
    content: '>';
    font-size: 2em;
    text-align: right;
    font-weight: bold;
    min-width: 50px;
    padding-right: 12px;
    font-variant-numeric: tabular-nums;
    align-self: flex-start;
    background-image: linear-gradient(to bottom, var(--color-light-blue), var(--color-off-white));
    background-attachment: fixed;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.italic {
    color: var(--color-gray-blue-dark);
    font-style: italic;
    font-weight: 300;
}

@media screen and (min-width: 1400px) {
    .section__courses {
        padding: 250px 0;
        width: 100%;
    }
    .content-container__courses {
        flex-direction: row;
    }
    .list li {
        font-size: 1.8em;
        line-height: 1.8;
    }
    .spacer {
        height: 200px;
    }
    .spacer-half {
        height: 75px;
    }
}