/*
Color Palette
https://coolors.co/f7fff7-343434-2f3061-ffe66d-a1c6d7
#F7FFF7 -almost white
#343434 - dark gray - almost black
#2F3061- Blue Dark
#FFE660 - Yello
#A1C6D7 - blue light
*/

/*Global styles
---------------------------------------*/
@font-face {
    font-family: "My Font";
    src: url(../fonts/museo-sans.ttf);
}
body {
    font-family: 'Merriweather', serif;
    color: #343434;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5
}
img {
    width:300px;
}
a{
    color: #FFE660;
}
a:hover {
    text-decoration: none;
}
h1{
    font-size:50px;
    line-height: 1;
}
h2{
    margin: 0;
    font-size: 25px;
}
h1, h2{
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
}
.content-wrap{
    max-width: 800px;
    width: 85%;
    margin: 0 auto;
    padding: 60px 0;
}

h3{
    margin-bottom: 0;
}
.item-details h3 + p{
    font-style: italic;
}
.item-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: #475B5A;
    color: #F7FFF7;
}


/*Projects
---------------------------------------*/
.projects{
    background: #B592A0;
}
.projects a {
    color: #2F3061;
}
.projects .btn {
    color: #F7FFF7;
    background: #47624F;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    display: inline-block;
}
.projects .btn:hover {
    background: rgba(47,48,97,80%)
}
.project-item{
    overflow: hidden;
    border-bottom: 1px dashed #343434;
    padding: 25px 0;
}

.project-item h3{
    margin-top: 0;
}
/*Work Experience
---------------------------------------*/
.work-experience{
    background: #A1C6D7;
}
.work-experience a{
    color: rgb(74, 115, 175);
}

/*Education
---------------------------------------*/
.education {
    background-image: url(../images/joanna-kosinska-unsplash.jpg);
    background-size: cover;
    background-position: top right;
    padding-bottom: 100px;
}
.education p{
    width: 60%;
}

/* Programming languages */
.prog-langs{

    background: #BBDB9B
}


/*Contact
---------------------------------------*/
footer {
    background: #0C0A3E;
    color: #F7FFF7;
    text-align: center;

}
.contact-list{
    list-style-type: none;
    padding: 0;

}
.contact-list a{
    padding: 15px;
    display: inline-block;
}
.photo-credits{
    list-style-type: none;
    font-size: 9pt;
    opacity: 0.5;
}
.photo-credits h2{
    line-height: 1px;
    font-size: 100pt;
    opacity: 0.4;
    font-weight: 100
}
/*Responsiveness*/
@media screen and (min-width: 750px) {
    .project-item img{
        float: left;
        margin-right: 20px;
    }
    .lang-item{
        display: grid;
        grid-template-columns: 3fr 3fr 3fr;

        column-gap: 20px;
    }
    .job-item{
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 20px;
    }
    header, footer {
        text-align: center;
    }
    .contact-list {
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 749px){
    h1{
        font-size:75px;
    }
    h2{
        line-height: 0.9;
    }
    h3{
        line-height: 0.2in
    }
    .contact-list a {
        padding: 5px;
    }
}