@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-style: normal;
    color:black;
    background: rgb(250,245,240);
    background: linear-gradient(300deg, rgba(250,245,240,1) 0%, rgba(241,244,249,1) 100%);
    font-size: 16px;
  }

  .txt-bold{
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-style: normal;
  }

  .txt-italic{
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-style: italic;
  }

  h1, h2{
    font-family: "Merriweather", serif;
  }

  h1, .txt-lg{
    font-size: 2em;
    font-weight: 700;
    font-style: normal;
  }
  
  h2, .txt-md{
    font-size: 1.3em;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
  }

  p, .txt-sm{
    font-size: 1em;
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
  }

  h1, h2, .txt-lg{
    color: black;
  }

  h3, .txt-md, .txt-sm, p, .main-nav a{
  color: rgb(60, 57, 63);  
  }
  
  a {
    color: black;
    text-decoration: underline;
  }

  hr{
    border: 0;
    border-top: 1px solid lightgray;
  }

  .wrapper{
    width:100%;
  }
  
  .header {
    text-align: center;
    margin-top: 35px;
  }

  .main-nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 25px;
  }
  .main-nav a{
    display: block;
    margin: 10px;
    text-decoration: none;
    color:black;
    font-size: 1.3em;
    border-top: 2px solid transparent;
    transition: all .2s ease;
  }

  .main-nav a:hover{
    border-top: 2px solid black;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px;
  }
  .container{
    max-width: 1200px;
    margin: 0 auto;
  }

  #portfolio{
    padding-bottom: 50px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column {
    flex: 25%;
    max-width: 25%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch; 
  }
  
  .port-thumb {
    display: block;
    margin-top: 20px;
    vertical-align: middle;
    width:100%;
    flex-grow: 1;
    height: 300px;
    border-radius: 4px;
    background-color: lightgrey;
    border-radius: 5px;
    overflow: hidden;
    transition: all .15s ease;
  }

  .port-thumb:hover{
    transform: translateY(-2%);
  }

  .port-thumb img{
    display:block;
    width: auto;
    height: 125%;
  }

  #about{
    min-height: 100vh;
    padding-top: 10px;
    max-width: 780px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
  }

  .about_port{
    width:200px;
    height: 200px;
    background-color: black;
    display: block;
    margin: 0 auto;
    border-radius:50%;
    margin-bottom: 20px;
    margin-top: 40px;
  }

  .about_text{
    font-size: 1em;
    margin-bottom: 45px;
  }

  .about_item{
    display: flex;
  }

  .about_img{
    width: 100px;
    height: auto;
    margin-right: 40px;
  }

  #contact{
    min-height: calc(100vh - 50px);
    padding-top: 10px;
    max-width: 780px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact_links{
    display: flex;
    justify-content: center;
    top:50%;
  }

  .contact_links img{
    width:100px;
    height: auto;
    margin-left: 10px;
    margin-right: 10px;
  }

  .contact_links p{
    text-align: center;
    margin: 0;
    padding: 0;
    color:black;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .contact_links a{
    text-decoration: none;
  }

  .footer{
    background-color: rgb(60, 57, 63);
    font-weight: 500;
    width: 100%;
    height: 50px;
  }

  .footer_text{
    margin:0;
    padding:0;
    width: 100%;
    text-align: center;
    color:lightgrey;
    line-height: 50px;
  }

  /*portfolio item pages*/
  .port-item{
    text-align: left;
    padding: 20px;
  }

  .port-item h1{
    margin-bottom: 10px;
    margin-top:30px;
    padding-top: 10px;
  }
  .port-item p{
    margin-top: 10px;
    margin-bottom: 40px;
  }
  .port-item hr{
    margin-bottom: 40px;
  }
  .port-back{
    position: fixed;
    display: block;
    top:12px;
    right:12px;
    color:black;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
    vertical-align: middle;
    border: 2px solid black;
    background-color: whitesmoke;
    padding-top: 12px;
    padding-bottom: 14px;
    padding-left: 3px;
    padding-right: 3px;
    transition: all .2s ease;
  }

  .port-back:hover{
    background-color:black;
    color:whitesmoke;
  }

 .port-item img{
    display: block;
    max-width: 100%;
    height:auto;
    max-height: 700px;
    border-radius: 5px;
    margin:0 auto;
    margin-bottom: 20px;
    box-shadow: 0px 1px 3px lightgrey;
    cursor: zoom-in;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media (max-width: 960px) {
    .column {
      flex: 50%;
      max-width: 50%;
    }
    .port-thumb img{
      width: auto;
      height: 150%;
    }
    .about_col{
      flex: 100%;
      max-width: 100%;
      padding: 0 10px;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media (max-width: 600px) {
    .column {
      flex: 100%;
      max-width: 100%;
    }
    .port-thumb img{
      width: 125%;
      height: auto;
    }
  }