html{
  scroll-behavior: smooth;
}
h1{
  font-size: 64px;
  font-weight: 500;
}
h2{
  font-size: 64px;
  font-weight: 500;
}
h3{
  margin: auto;
  padding-bottom: auto;
  font-size: 48px;
  font-weight: 500;
}
h4{
  color: black;
  font-size: 22px;
  font-weight: normal;
  margin: auto;
}
h5{
  margin: auto;
  font-size: 35px;
  font-weight: normal;
}
h6{
  margin: auto;
  font-size: 26px;
  font-weight: 300;
}
body{
  margin: 0;
  padding: 0px;
  font-family: Roboto, sans-serif;
}

div {
  /* border: 1px solid; */
  margin: 0px;
  /* outline only for visualization */
}
/* section{
  border: 1px solid red;
  outline only for visualization
} */
.contentSection{
  padding: 0;
  margin-bottom: 100px;
}
.innerContent{
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}


p{
  font-size: 17px;
}

a:link{
  color:black;
  text-decoration: none;
}
a:hover {
  color:black;
  text-decoration: underline;
}
a:visited{
  color:black;
}
.workTitle:hover{
  text-decoration: underline;
}
.contact{
  margin-top: 50px;
  margin-bottom: 50px;
}
footer{
  font-size: 16px;
  color:gray;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 100px;
}
/* desktop */
@media only screen and (min-width : 1180px) {
  #portraitHeader{
    display: none;
  }
  .name{
    font-size: 96px;
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 20px;
    margin-bottom: 100px;
  }
  .occupation{
    font-size: 64px;
    font-style: italic;
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 20px;
    margin-bottom: 50px;
  } 
  .wrapper {
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    gap: 20px;
    padding: 20px;
  }
  .navigation{
    font-weight: 500;
    width: calc(((100% - 260px)/6) + 20px);
    top: 0;
    margin-top: 40px;
    position: fixed;
    overflow: hidden;
  }
  
  ul.navigationMenu{
    margin: 0;
    padding: 0;
    list-style-type: none;
  }
  li.menuItem{
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 0px;
    margin-left: 0px;
  }
  #portrait{
    width: 220px; 
    height: 340px; 
    object-fit: cover;
    transition: 0.4s ease-in;
  }

  #portrait:hover{
    opacity: 100% !important;
  }
  
  .header {
    position: relative;
    grid-column: col-start / span 12;
    grid-row: 1;
    height: 100vh;
    margin: -20px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #6e64ff;
  }
  .content {
    grid-column: col-start 4 / span 9;
    /* height: 150vh; */
    /* grid-row: 2; */
    margin-top: 40px;
    /* margin-right: 20px;
    margin-left: 20px; */
  }
  .workContainer{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 50px;
    margin-bottom: 50px;
    height: fit-content;
  }
  /* .workImageContainer{
    height: fit-content;
    width: inherit;
    transition: filter 0.5s ease-out;
    background: #6e64ff;
  } */
  #workImage{
    height: fit-content;
    width: 100%;
    object-fit: fill;
    filter: grayscale(100%) brightness(125%);
    opacity: 0.5;
    transition: filter 0.5s ease-out, opacity 0.5s ease-out;
  }
  .filter{
    height: fit-content;
    width: inherit;
    object-fit: cover;
    background: #6e64ff;
    transition: filter 0.5s ease-out;
  }
  #workImage:hover {
    opacity: 1; 
    filter: grayscale(0);
  }
  .project{
    flex-direction: row;
    width: calc((((100vw - 280px)/12) * 4) + 60px);
  }
}

/* tablet */
@media only screen and (min-width:600px) and (max-width:1179px){
  html {
    scroll-padding-top: 70px; /* height of sticky header */
  }
  .wrapper{
    padding: 20px;
  }
  .header {
    position: relative;
    grid-column: 1 / -1;
    min-height: 100vh;
    margin: -20px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 60px;
    background-color: #6e64ff;
  }
  #portraitHeader{
    width: 180px; 
    height: 300px; 
    object-fit: cover;
    position: absolute;
    top: 40px;
    left: 20px;
  }
  .name{
    position: absolute;
    font-size: 96px;
    right: 0;
    bottom: 0;
    margin-right: 20px;
    margin-bottom: 80px;
  }
  .occupation{
    position: absolute;
    font-size: 64px;
    font-style: italic;
    right: 0;
    bottom: 0;
    margin-right: 20px;
    margin-bottom: 30px;
  } 
  .content{
    margin-top: 40px;
  }
  .navigation{
    background-color: #6e64ff;
    font-weight: 500;
    width: 100vw;
    top: 0;
    margin-left: -20px;
    padding: 5px;
    position: fixed;
    overflow: hidden;
  }
  ul.navigationMenu{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    list-style-type: none;
    margin-left: -60px;
  }
  li.menuItem{
    padding-top: auto;
    font-size: 20px;
  }
  #portrait{
    display: none;
  }
  h5{
    font-size: 26px;
    font-weight: normal;
  }
  h6{
    font-size: 20px;
    font-weight: 300;
  }
  .workContainer{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    align-items: baseline;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .project{
    flex-direction: row;
    width: 50%;
  }
  #workImage{
    width: 100%;
    height: fit-content;
    object-fit: fill;
  }
  /* .filter{
    height: fit-content;
    width: inherit;
    object-fit: cover;
  } */

}
/* mobile */
@media only screen and (max-width: 599px){
  html {
    scroll-padding-top: 70px; /* height of sticky header */
  }
  .wrapper{
    padding: 5px;
  }
  .header {
    position: relative;
    grid-column: 1 / -1;
    min-height: 100vh;
    margin: -5px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 60px;
    background-color: #6e64ff;
  }
  #portraitHeader{
    width: 180px;
    height: 280px;
    object-fit: cover;
    margin: 20px;
  }
  .name{
    font-size: 72px;
    right: 0;
    bottom: 0;
    margin: 20px;
  }
  .occupation{
    font-size: 48px;
    font-style: italic;
    right: 0;
    bottom: 0;
    margin: 20px;
  } 
  .content{
    margin-top: 40px;
  }
  .navigation{
    background-color: #6e64ff;
    font-weight: 500;
    font-size: px;
    width: 100vw;
    top: 0;
    margin-left: -5px;
    padding: 5px;
    position: fixed;
    overflow: hidden;
  }
  ul.navigationMenu{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    list-style-type: none;
    margin-left: -60px;
  }
  li.menuItem{
    padding-top: auto;
    font-size: 16px;
  }
  #portrait{
    display: none;
  }
  .project{
    padding-top: 50px;
  }
  #workImage{
    width: 100%;
    height: fit-content;
    object-fit: fill;
  }
}

