/* CSS HEX
https://coolors.co/3e5641-ddb967-282b28-d36135-d0e37f
--almost white: #F7FFF7;
--dark gray: #343434;
--blue dark: #2F3061;
--yellow: #FF366D;
--blue light: #A1C6D7; */

/* Global Styles
----------------------------------------------- */
html {
    box-sizing: border-box;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }

body {
    color: #222121;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

img {
    width: 300px; }

a{
    color: #FFE66D;
}

a:hover {
    text-decoration: none;
}

h1{
    font-size: 75px;
    line-height: 1;
}

h2 {
    font-size: 45px;
}

h1, h2 {
    font-family: 'Caveat', cursive;
    font-weight: 400;
    margin: 0;
}

.content-wrap {
    max-width: 1000px;
    width: 85%;
    margin: 0 auto;
    padding: 60px 0;
}

h3 {
    margin-bottom: 0;
}

.items-details h3 + p { 
    font-style: italic;
}
.items-details h3 ~ p {
    margin: 0;
}

.divider > section {
    border-bottom: 1px dashed #343434;
    padding: 25px 0;
}

.divider > section:last-of-type {
    border-bottom: none;
}



/* Profile
----------------------------------------------- */
header {
    background: #2F3061;
    color: #F7FFF7;
}


/* Projects
----------------------------------------------- */
.project {
    background: #ebe4f1ff;
}

.project a {
    color: #2F3061;
}

.project .btn {
    color: #F7FFF7;
    background-color: #2F3061;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    display: inline-block;
}

.project .btn:hover{
    background: rgba( 47, 48, 97, 80%);
}

.project-item {
    overflow: hidden;
    margin-right: 20px;
}



/* Work Experience
----------------------------------------------- */
.work-experience {
    background: #d36135ff;
}


/* Education
----------------------------------------------- */
.education {
    background-image: url(../images/joanna-kosinska-unsplash.jpg);
    background-size: cover;
    padding-bottom: 100px;
}

/* Contact Info
----------------------------------------------- */
footer {
    background: #282b28ff;
    color: #ebe4f1ff;
    background-position: top right;
}

.contact-list {
    list-style-type: none;
    padding: 0;
}

.contact-list a {
    padding: 15px;
    display: inline-block;
}

.contact-list .btn {
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 10px;
    color: #343434;
    background-color: #f2e234;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    display: inline-block;
}


/* Responsive 
----------------------------------------------- */
@media screen and (min-width: 900px) {
    header, footer {
        text-align: center;
    }
 
    .project-item img {
        float: left;
        margin-right: 20px;
    }

    .job-item {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 20px;
    }

    .contact-list {
        display: flex;
        justify-content: center;
        text-align: center;

    }
}

@media screen and (max-width: 800px) {
    h1{
        font-size: 70px;
        line-height: 1;
    }

    .role  {
        font-size: 25px;
    }
    .contact-list a {
        padding: 5px;
    }


}

@media screen and (max-width: 480px) {
    h1{
        font-size: 60px;
        line-height: 1;
    }

    .role {
        font-size: 25px;
        line-height: 3;
    }

    .contact-list {
        text-align: center;
    }


}

@media screen and (min-width: 370px) {
    h1{
        font-size: 60px;
        line-height: 1;
    }

    h2 {
        text-align: center;
    }

    .role {
        font-size: 25px;
        line-height: 3;
    }

    .contact-list {
        text-align: center;
    }


}