/*
COLOR PALETTE

--alabaster: #f1f2ebff;
--timberwolf: #d8dad3ff;
--tumbleweed: #d8af82;
--cambridge-blue: #a4c2a5ff;
--ebony: #566246ff;
--davys-gray: #4a4a48ff;

*/

/* GLOBAL STYLES 
------------------------------------*/
/* 
  https://www.paulirish.com/2012/box-sizing-border-box-ftw/
*/
html {
    box-sizing: border-box;
    font-size: 62.5%; /* set default to 10px */
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
body {
    background: #f1f2ebff;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 1.6rem; /* 16px */
    line-height: 1.4;
}
h1, h2 { 
    font-family: "Handlee", cursive;
    font-weight: 400;
    margin: 0;
}
h1 {
    font-size: 6rem; /* 60px */
    line-height: 0.8;
    text-align: center;
}
h2 {
    font-size: 3rem; /* 30px */
    text-align: center;
}
.content-wrapper {
    margin: 0 auto;
    padding: 30px;
    max-width: 900px;
    flex: 1 0 auto;
}
.home .content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.content-bg {
    background-color: rgb(241, 242, 235, 0.9);
    padding: 30px;
    border-radius: 12px;
}
@media screen and (max-width: 649px) {
    h1 {
        font-size: 4rem; /* 40px */
    }
    h2 {
        font-size: 2rem; /* 20px */
    }
    body {
        font-size: 1.2rem; /* 12px */
    }
    .content-wrapper {
        padding: 10px;
        
    }
    .content-bg {
        padding: 10px; 
   }
}
@media screen and (max-width: 470px) {
    h1 {
        font-size: 3rem; /* 30px */
    }
    h2 {
        font-size: 1.5rem; /* 15px */
    }
    body {
        font-size: 1rem; /* 10px */
    }
}
@media screen and (max-height: 500px) {
    .home .content-wrapper {
        height: auto;
    }
    .home .content-bg {
        height: auto;
    }
}


/* TOP NAV
------------------------------------*/

/* Add background color to the top navigation */
.topnav {
    background-color: #566246ff;
    overflow: hidden;
}
  
/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #a4c2a5ff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: "Handlee", cursive; 
    font-weight: 400;
    font-size: 1.7rem; /* 17px */
}
  
/* Change the color of links on hover */
.topnav a:hover {
    background-color: #a4c2a5ff;
    color: #566246ff;
}
  
/* Add a color to the active/current link */
.topnav a.active {
    background-color: #a4c2a5ff;
    color: #566246ff;
}

/* HOME 
------------------------------------*/
.home {
    background: url(../images/ingmar-h-KZwrFH42JCg-unsplash.jpg) no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;
}
.about-me {
    text-align: center;
}
.about-me h2 {
    margin-bottom: 20px;
}
@media screen and (max-width: 1000px) {
   .home, .resume {
        background-size: cover;
        background-position: center;
    }
}

/* RESUME 
------------------------------------*/

.resume {
    background: url(../images/ingmar-h-KZwrFH42JCg-unsplash.jpg) no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;  
}
.resume-section {
   margin-top: 50px;
}
.resume-section h2 {
    border-bottom: 2px dashed #566246ff;
}
@media screen and (max-width: 1000px) {
   .resume {
        background-size: cover;
        background-position: center;
    }
}
@media screen and (max-width: 649px) {
   .resume-section {
        margin-top: 20px;
    }
}

/* Profile 
------------------------------------*/
.profile {
    text-align: center;
}

/* Core Proficiencies 
------------------------------------*/
.core-proficiencies {
    text-align: center;
}

/* Work Experience 
------------------------------------*/
.work-item {
    margin: 30px 0;
}
.work-details p {
    margin: 0;
}
.job-title {
    font-weight: 500;
}
@media screen and (min-width: 860px) {
    .work-item {
        display: grid;
        grid-template-columns: 300px 1fr;
        column-gap: 20px;
    }
    .work-summary p:first-child {
        margin-top: 0;
    }
}

/* Education 
------------------------------------*/
.education-item {
    margin: 30px 0;
    text-align: center;
}
.education-item p {
    margin: 0;
}

/* FOOTER 
------------------------------------*/
footer {
    background-color: #566246ff;
    color: #a4c2a5ff;
}

footer a {
    color: #a4c2a5ff;
}

@media screen and (min-width: 860px) {
    footer {
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
    }
    
}
@media screen and (max-width: 859px) {
    footer {
        text-align: center;
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        
    }
    
}