/*
Color Palette:
-----------------------
--pewter-blue: #8AA2A9;
--melon: #E3B5A4;
--chestnut: #98473E;
--charcoal: #37505C;
--rich-black: #113537;
--linen: #F5E9E2;
--cadet: #546A76;
*/

/* Global styles
------------------------*/
html{
  box-sizing: border-box;
}
*, *::before, *::after{
  box-sizing: inherit;
}
@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
body{
  color: #113537;
  margin: 0;
  font-family: 'Abel', sans-serif;
  font-size: 25px;
  line-height: 1.5;
}
img{
  width: 300px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
img:hover{
  opacity: 0.7;
}
/* Profile
------------------------*/
header{
  background: #37505C;
  color: #F5E9E2;
}
a{
  color: #E3B5A4;
}
a:hover{
  text-decoration: none;
}
h1{
  font-size: 70px;
  line-height: 1.5;
  border-bottom: 1px solid #E3B5A4;
}
h2{
  font-size: 40px;
  margin: 0;
}
h1,h2{
  font-weight: 900;
}
.content-wrap{
  max-width: 800px;
  width: 85%;
  margin: 0 auto;
  padding: 60px 0;
}
h3{
  margin-bottom: 0;
}
.item-details h3 + p{
  font-style:italic;
  font-weight: bold;
}
.item-details h3 ~ p{
  margin-bottom: : 10px;
}
.divider > section{
  border-bottom: 1px solid #37505C;
  padding: 25px 0;
}
.divider > section:last-of-type{
  border-bottom: none;
}

/* The Modal (background) */
.modal{
  display: none;/* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}
/* Modal Content (Image) */
.modal-content{
  margin: auto;
  display: block;
  width: 100%;
  max-width: 700px;
}
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}
/* Add Animation - Zoom in the Modal */
.modal-content, #caption{
  animation-name: zoom;
  animation-duration: 0.6s;
}
@@keyframes zoom {
  from{transform: scale(0)}
  to{transform: scale(1)}
}
/* The Close Button */
.close{
  position: absolute;
  top: 15px;
  right: 35px;
  color: #F5E9E2;
  font-size: 80px;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover,
.close:focus{
  color: #inherit;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}*/


/* Projects
------------------------*/
.projects{
  background: #8AA2A9;
}
.projects a{
  color: #98473E;
}
.projects .btn{
  color: #E3B5A4;
  background: #37505C;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
  clear: both;
}
.projects .btn:hover{
  background: rgba(55, 80, 92, 80%);
}
.project-item{
   overflow: hidden;
}
.project-item h3{
  margin-top: 0;
}
/* Work Experience
------------------------*/
.work-experience{
  background: #546A76;
  color: #F5E9E2;
}
.work-experience a{
  color: #E3B5A4;
}
/* Education
------------------------*/
.education{
  color: #F5E9E2;
  background-image: url(../images/unsplash_background.jpg);
  background-size: cover;
  background-position: top, right;
  padding-left: : 20%;
}
.education p{
  width: 70%;
}

/* Contact Info
------------------------*/
footer{
  background: #113537;
  color: #F5E9E2;
}
.contact-list{
  list-style-type: none;
  padding: 0;
}
.contact-list a{
  padding: 15px;
  display: inline-block;
}
/* Responsive
------------------------*/
@media screen and (min-width:750px){
  header, footer{
    text-align: center;
  }
  .project-item img{
    float: right;
    margin-right: 20px;
  }
  .job-item{
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 25px;
  }
  .contact-list{
    display: flex;
    justify-content: center;
  }
}
@media screen and (max-width:749px){
  h1{
    font-size: 60px;
  }
  .contact-list a{
    padding: 5px;
  }
}
