/*
texts
--alice-blue: #ebf2faff;
--gunmetal: #253237ff;
--magenta-process: #fb6095;
--baby-powder: #FFFFFC;

backgrounds:
--light-cyan: #e0fbfcff;
--powder-blue: #c2dfe3ff;
--pewter-blue: #9db4c0ff;
--cadet: #5c6b73ff;

*/

/*---------------Global---------------*/
html {
    box-sizing: border-box;
}

*,
*:after,
*:before {
    box-sizing: inherit;
}

body {
    color: #253237ff;
    margin: 0;
    padding: 0;
    font-family: 'Helvatica', sans-serif;
    line-height: 1.5;
    overflow: auto;
}

a {
    color: hsl(339, 95%, 68%);
    cursor: pointer;
}

/* removes underline*/
a:hover {
    text-decoration: none;
    color: rgba(251, 96, 149, 70%)
}

img {
    width: 300px;
}

h1 {
    font-family: 'Kalam', cursive;
    font-size: 70px;
}

h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 30px;
}

h1,
h2 {
    margin: 10px 0;
}

h3 {
    margin-bottom: 0;
}

.item-details h3+p {
    font-style: italic;
}

.item-details h3~p {
    margin: 0;
}

.content-wrap {
    /* responsive design */
    max-width: 900px;
    width: 85%;

    margin: 0 auto;
    padding: 60px 0;
}

.divider>section {
    border-bottom: 1px dashed #253237ff;
    padding: 20px 0;
}

/* to remove dashed line for last element */
.divider>section:last-of-type {
    border-bottom: none;
}

/*---------------Profile---------------*/

header {
    color: #fffffc;
    background-color: #5c6b73ff;
    text-align: center;
}

header p {
    text-align: left;
}

.profile-container {
    display: inline-flex;
    margin-top: 1rem;
}

.profile-text {
    margin-left: 2rem;
}

.display-picture {
    border-radius: 50%;
    /* Create a circular shape */
    border: 2px solid #e6dfdf;
    /* Optional: add a border */
}

input {
    padding: 1rem;
    margin: 0 1rem;
    font-family: 'Londrina Solid', cursive;
    font-size: 24px;
    background-color: hsl(190, 80%, 41%);
    color: hsl(190, 47%, 90%);
    border-radius: 16px;
    border: None;
}

input:hover {
    background-color: hsl(190, 80%, 50%);
    cursor: pointer;
}

/*---------------Projects---------------*/

.projects {
    background-color: rgb(224, 251, 252);
    padding: 50px 0;
}

.project-item {
    overflow: hidden;
}

.project-item h3 {
    margin-top: 0;
}

span a {
    padding-right: 10px;
}

/*---------------Work Experience---------------*/

.work {
    background-color: #c2dfe3ff;
}

.job-details h3 {
    margin-top: 0;
}

.job-summary p {
    margin-top: 0;
}

/*--------------- Education ---------------*/

.education p {
    width: 60%;
}

/*--------------- Contact Information ---------------*/

footer {
    color: #fffffc;
    background-color: #5c6b73ff;
    text-align: center;
}

.contact-list {
    list-style-type: none;
    padding: 0;
}

.contact-list a {
    padding: 15px;
    display: inline-block;
}

/*--------------- Responsive Layout ---------------*/

@media screen and (min-width:600px) {

    .job-item {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 20px;
    }

    .contact-list {
        display: flex;
        justify-content: center;
    }

    .projects {
        background-image: url(../images/leone-venter-unsplash.jpg);
        background-size: cover;
        background-position: right;
        padding-bottom: 50px;
    }

    .projects .content-wrap.divider {
        background-color: rgba(224, 251, 252, 0.95);
        padding: 25px;
        border-radius: 15px;
    }

    /*Not in use currently*/
    .project-item img {
        float: left;
        margin-right: 20px;
        max-width: 300px;
        height: auto;
    }

    .education {
        background-image: url(../images/books.jpg);
        background-size: cover;
        background-position: right;
        padding-bottom: 50px;
    }
}

@media screen and (max-width:599px) {
    iframe {
        width: 80%;
    }

    h1 {
        font-size: 49px;
        line-height: 0.9;
    }

    h2 {
        font-size: 21px;
        line-height: 1;
    }

    p {
        font-size: 0.8em;
    }
}