:root {
  --background: #eec4a7;
  --dark: #e27d60;
  --light: #e8a87c;
  --ff-heading: futura-pt-bold, arial, sans-serif;
  --ff-body: futura-pt, arial, sans-serif;
}

* {
  box-sizing: border-box;
}

/* PORTFOLIO PAGE */
.featminititle {
  width: 100%;
  height: 80px;
  text-align: center;
  background-color: var(--dark);
  margin: 0;
  color: var(--background);
}

.featminititle h1 {
  margin: 0;
  font-family: futura-pt, "arial Narrow Bold", sans-serif;
  font-weight: bold;
  font-size: 60px;
}

#portnav {
  padding-top: 20px;
  margin: 0;
}

#portcontent {
  background-color: #eec4a7;
  display: grid;
}

.portfeat {
  margin-bottom: 30px;
}

.portteaser {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headingcontainer {
  padding: 10px;
  width: 100%;
  height: auto;
  background-color: #e27d60;
  color: #eec4a7;
  position: absolute;
  top: 0px;
  left: 0px;
  transition: all 0.2s ease-out;
}

.headingcontainer h1 {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
  line-height: 22px;
}

.headingcontainer h2 {
  font-size: 18px;
  font-weight: normal;
  margin: 0;
  display: block;
  line-height: 18px;
}

.portmod {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transition: all 0.2s ease-out;
}

.portmod:hover {
  transform: scale(1.02);
}

.portmod:hover .headingcontainerl {
  color: white;
}

.portmod:hover .headingcontainer {
  color: white;
}

.deactivated {
  visibility: hidden;
}

#project3-anchor {
  grid-area: port3;
}

#project4-anchor {
  grid-area: port4;
}

#project5-anchor {
  grid-area: port5;
}

#project6-anchor {
  grid-area: port6;
}

#project7-anchor {
  grid-area: port7;
}

#project8-anchor {
  grid-area: port8;
}

/* MAIN PAGE */
#myVideo {
  position: fixed;
  left: 0;
  top: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}

body {
  -webkit-font-smoothing: antialiased;
  padding: 0;
  margin: 0;
}

h1 {
  font-family: futura-pt, "arial Narrow Bold", sans-serif;
  font-weight: 700;
}

h2 {
  font-family: futura-pt, arial, sans-serif;
}

p {
  font-family: futura-pt, arial, sans-serif;
}

a {
  font-family: futura-pt, arial, sans-serif;
}

.const {
  width: 800px;
  height: 300px;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 200px;
  text-align: center;
  background-color: #e27d60;
  color: #eec4a7;
  font-size: 30px;
}

#toggle {
  display: none;
}

label {
  font-size: 26px;
  display: none;
  text-align: center;
}

a {
  text-decoration: none;
}

.siteContainer {
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

footer {
  font-family: futura;
}

/* MOBILE VIEWPORT */
@media only screen and (max-width: 600px) {
  /* PORTFOLIO PAGE */
  .featminititle {
    margin-top: 30px;
  }

  #portcontent {
    width: 100%;
    height: auto;
    padding: 10px;
    padding-top: 50px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 50px;
    grid-template-areas:
      "port3"
      "port4"
      "port5"
      "port6"
      "port7"
      "port8";

    grid-gap: 10px;
  }

  .headingcontainerl {
    padding: 10px;
    width: 100%;
    height: auto;
    background-color: #e27d60;
    color: #eec4a7;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: all 0.2s ease-out;
  }

  .headingcontainerl h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    line-height: 28px;
    letter-spacing: 1vw;
  }

  .headingcontainerl h2 {
    font-size: 20px;
    font-weight: normal;
    margin: 0;
    line-height: 20px;
  }

  .headingcontainer h1 {
    letter-spacing: 1vw;
  }

  /* MAIN PAGE */
  .title {
    background-image: url(/images/titlesection.png);
    width: 100%;
    background-size: contain;
    height: 63vw;
    padding: 0;
    position: relative;
  }

  .siteContainer {
    width: 100%;
    margin-bottom: 0px;
  }

  #description {
    width: 78%;
    height: 18vw;
    background-color: #e8a87c;
    position: absolute;
    bottom: 15px;
    padding: 10px;
  }

  #descText {
    color: #e27d60;
    font-size: 4.25vw;
    margin: 0;
    margin-top: 2vw;
  }

  .nav {
    background-color: #eec4a7;
    width: 100%;
    margin-bottom: 0;
  }

  .menu {
    width: 100%;
    display: none;
    z-index: 2;
    position: absolute;
  }

  nav {
    background-color: #e27d60;
    width: 100%;
    padding-bottom: 0vw;
    padding: 10px;
  }

  .menu a {
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
    padding-top: 16px;
    font-size: 28px;
    font-weight: bold;
    color: #eec4a7;
    transition: color 0.2s ease-out;
  }

  .menu a:hover {
    color: white;
    cursor: pointer;
  }

  label {
    margin: 0px auto;
    font-size: 26px;
    line-height: 30px;
    display: block;
    width: 26px;
    float: center;
    cursor: pointer;
  }

  #toggle {
    display: none;
  }

  #toggle:checked + .menu {
    display: block;
    position: sticky;
  }

  #about {
    margin: 0;
  }

  .sectitle {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 1px;
  }

  #aboutcontent {
    width: 100%;
    height: auto;
    background-color: #eec4a7;
    padding: 30px;
    position: unset;
  }

  #aboutcontent p {
    color: #e27d60;
    font-size: 28px;
  }

  #portrait {
    position: unset;
    width: 60%;
    float: none;
    display: block;
    margin: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  #educontainer h1 {
    color: #e27d60;
    font-size: 32px;
    margin-top: 0;
    margin-left: 5px;
    margin-bottom: 2px;
  }

  #educontainer {
    background-color: #e8a87c;
    width: 100%;
    padding-top: 2px;
  }

  #decorbox {
    background-color: #e27d60;
    width: 100%;
    height: 5px;
    margin: 0;
  }

  #featuredcontent {
    background-color: #eec4a7;
    width: 100%;
    height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #featitems {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .teaser1 {
    background-image: url(../images/retailteaser.png);
    margin-right: 15px;
    width: 100%;
    height: 556px;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
  }

  .headingcontainer1 {
    padding: 10px;
    width: 100%;
    height: 140px;
    background-color: #e27d60;
    color: #eec4a7;
    position: unset;
    text-align: center;
    transition: all 0.2s ease-out;
  }

  .headingcontainer1 h2 {
    font-size: 5vw;
    font-weight: normal;
    margin: 0;
    line-height: 40px;
    float: none;
  }

  .headingcontainer1 p {
    float: right;
    font-size: 0px;
    margin: 0;
  }

  .headingcontainer1 h1 {
    font-size: 15vw;
    font-weight: bold;
    margin: 0;
    line-height: 70px;
    letter-spacing: 0px;
    float: none;
  }

  .teaser1:hover .headingcontainer1 {
    color: #ffffff;
  }

  .teaser2 {
    background-image: url(./images/demoreelteaser.png);
    width: 100%;
    height: 556px;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    transition: width 0.8s ease-out;
  }

  .headingcontainer2 {
    padding: 10px;
    width: 100%;
    height: 140px;
    background-color: #e27d60;
    color: #eec4a7;
    position: unset;
    text-align: center;
    transition: all 0.2s ease-out;
  }

  .headingcontainer2 h2 {
    font-size: 5vw;
    font-weight: normal;
    margin: 0;
    line-height: 40px;
    text-align: center;
    float: none;
  }

  .headingcontainer2 h2 span {
    font-size: 2.2vw;
  }

  .headingcontainer2 p {
    float: left;
    font-size: 0px;
    margin: 0;
  }

  .headingcontainer2 h1 {
    font-size: 15vw;
    font-weight: bold;
    line-height: 70px;
    margin: 0;
    float: none;
    text-align: center;
  }

  .teaser2:hover .headingcontainer2 {
    color: white;
  }

  #featuredbtn {
    display: block;
    width: 100%;
    height: 60px;
    background-color: #e27d60;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    text-align: center;
    color: #eec4a7;
    font-size: 30px;
    padding-top: 10px;
    transition: all 0.2s ease-out;
  }

  #featuredbtn:hover {
    color: white;
    transform: scale(1.05);
  }

  footer {
    width: 100%;
    height: 9vw;
    background-color: #e27d60;
    color: #eec4a7;
    font-size: 3vw;
    text-align: center;
    padding-top: 2.5vw;
    font-family: futura-pt, arial, sans-serif;
  }
}

/* TABLET VIEWPORT */
@media only screen and (min-width: 601px) {
  /* PORTFOLIO PAGE */
  .featminititle {
    margin-top: 30px;
  }

  #portcontent {
    width: 100%;
    height: auto;
    padding: 10px;
    padding-top: 50px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 50px;
    grid-template-areas:
      "port3 port4"
      "port5 port6"
      "port7 port8";

    grid-gap: 10px;
  }

  .headingcontainerl {
    padding: 10px;
    width: 100%;
    height: auto;
    background-color: #e27d60;
    color: #eec4a7;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: all 0.2s ease-out;
  }

  .headingcontainerl h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    line-height: 28px;
    letter-spacing: 1vw;
    float: left;
  }

  .headingcontainerl h2 {
    font-size: 20px;
    font-weight: normal;
    margin: 0;
    line-height: 20px;
    float: left;
  }

  .headingcontainer h1 {
    letter-spacing: 1vw;
  }

  /* MAIN PAGE */
  .title {
    background-image: url(/images/titlesection.png);
    width: 100%;
    background-size: contain;
    height: 63vw;
    padding: 0;
    position: relative;
  }

  .siteContainer {
    width: 100%;
    margin-bottom: 0px;
  }

  #description {
    width: 78%;
    height: 20vw;
    background-color: #e8a87c;
    position: absolute;
    bottom: 15px;
    padding: 20px;
  }

  #descText {
    color: #e27d60;
    font-size: 4.25vw;
    margin: 0;
    margin-top: 2vw;
  }

  .nav {
    background-color: #eec4a7;
    width: 100%;
    margin-bottom: 0;
  }

  nav {
    background-color: #e27d60;
    width: 100%;
    height: 87px;
    padding-bottom: 10vw;
    padding-top: 5px;
  }

  .menu a {
    display: inline-block;
    text-align: center;
    width: 49%;
    margin: 0;
    padding-top: 16px;
    font-size: 39px;
    font-weight: bold;
    color: #eec4a7;
    transition: color 0.2s ease-out;
  }

  .menu a:hover {
    color: white;
    cursor: pointer;
  }

  #about {
    margin: 0;
  }

  .sectitle {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 1px;
  }

  #aboutcontent {
    width: 100%;
    height: auto;
    background-color: #eec4a7;
    padding: 30px;
    position: unset;
  }

  #aboutcontent p {
    color: #e27d60;
    font-size: 32px;
  }

  #portrait {
    position: unset;
    width: 24vw;
    float: left;
    margin: 10px;
    margin-left: 0;
    margin-right: 20px;
  }

  #educontainer h1 {
    color: #e27d60;
    font-size: 32px;
    margin-top: 0;
    margin-left: 5px;
    margin-bottom: 2px;
  }

  #educontainer {
    background-color: #e8a87c;
    width: 100%;
    padding-top: 2px;
  }

  #decorbox {
    background-color: #e27d60;
    width: 100%;
    height: 5px;
    margin: 0;
  }

  #featuredcontent {
    background-color: #eec4a7;
    width: 100%;
    height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #featitems {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .teaser1 {
    background-image: url(../images/retailteaser.png);
    margin-right: 15px;
    width: 50%;
    height: 556px;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .headingcontainer1 {
    padding: 10px;
    width: 100%;
    height: 140px;
    background-color: #e27d60;
    color: #eec4a7;
    position: absolute;
    transition: all 0.2s ease-out;
  }

  .headingcontainer1 h2 {
    font-size: 3vw;
    font-weight: normal;
    margin: 0;
    line-height: 40px;
    float: left;
  }

  .headingcontainer1 p {
    float: right;
    font-size: 0px;
    margin: 0;
  }

  .headingcontainer1 h1 {
    font-size: 8vw;
    font-weight: bold;
    margin: 0;
    line-height: 70px;
    letter-spacing: 0px;
    float: left;
  }

  .teaser1:hover .headingcontainer1 {
    color: #ffffff;
  }

  .teaser2 {
    background-image: url(./images/demoreelteaser.png);
    width: 50%;
    height: 556px;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    transition: width 0.8s ease-out;
  }

  .headingcontainer2 {
    padding: 10px;
    width: 100%;
    height: 140px;
    background-color: #e27d60;
    color: #eec4a7;
    position: absolute;
    transition: all 0.2s ease-out;
  }

  .headingcontainer2 h2 {
    font-size: 3vw;
    font-weight: normal;
    margin: 0;
    line-height: 40px;
    text-align: right;
    float: right;
  }

  .headingcontainer2 h2 span {
    font-size: 2.2vw;
  }

  .headingcontainer2 p {
    float: left;
    font-size: 0px;
    margin: 0;
  }

  .headingcontainer2 h1 {
    font-size: 8vw;
    font-weight: bold;
    line-height: 70px;
    margin: 0;
    float: right;
    text-align: right;
  }

  .teaser2:hover .headingcontainer2 {
    color: white;
  }

  #featuredbtn {
    display: block;
    width: 100%;
    height: 60px;
    background-color: #e27d60;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    text-align: center;
    color: #eec4a7;
    font-size: 30px;
    padding-top: 10px;
    transition: all 0.2s ease-out;
  }

  #featuredbtn:hover {
    color: white;
    transform: scale(1.05);
  }

  footer {
    width: 100%;
    height: 9vw;
    background-color: #e27d60;
    color: #eec4a7;
    font-size: 3vw;
    text-align: center;
    padding-top: 2.5vw;
    font-family: futura-pt, arial, sans-serif;
  }
}

/* DESKTOP VIEWPORT */
@media only screen and (min-width: 950px) {
  /* PORTFOLIO PAGE */
  .featminititle {
    margin-top: 0px;
  }

  #portcontent {
    width: 950px;
    height: 1000px;
    padding: 10px;
    padding-top: 50px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 50px;
    grid-template-areas:
      "port3 port3 port4"
      "port3 port3 port5"
      "port6 port7 port8";

    grid-gap: 10px;
  }

  .headingcontainerl {
    padding: 10px;
    width: 100%;
    height: auto;
    background-color: #e27d60;
    color: #eec4a7;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: all 0.2s ease-out;
  }

  .headingcontainerl h1 {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    line-height: 40px;
    letter-spacing: 8px;
    float: left;
  }

  .headingcontainerl h2 {
    font-size: 30px;
    font-weight: normal;
    margin: 0;
    line-height: 40px;
    float: left;
  }

  .headingcontainer h1 {
    letter-spacing: 4px;
  }

  /* MAIN PAGE */
  .title {
    background-image: url(/images/titlesection.png);
    width: 950px;
    background-size: cover;
    height: 560px;
    padding: 0;
    position: relative;
  }

  .siteContainer {
    width: 950px;
    margin-bottom: 70px;
  }

  #description {
    width: 740px;
    height: 180px;
    background-color: #e8a87c;
    position: absolute;
    bottom: 15px;
    padding: 20px;
  }

  #descText {
    color: #e27d60;
    font-size: 41px;
    margin: 0;
    margin-top: 15px;
  }

  .nav {
    background-color: #eec4a7;
    width: 950px;
    margin-bottom: 0;
  }

  nav {
    background-image: url(/images/navribbon.png);
    background-color: rgba(0, 0, 0, 0);
    height: 87px;
    padding-bottom: 150px;
    padding-top: 5px;
    background-repeat: no-repeat;
  }

  .menu a {
    display: inline-block;
    text-align: center;
    width: 38.5%;
    margin: 0;
    padding-top: 16px;
    font-size: 39px;
    font-weight: bold;
    color: #eec4a7;
    transition: color 0.2s ease-out;
  }

  .menu a:hover {
    color: white;
    cursor: pointer;
  }

  #about {
    margin: 0;
  }

  .sectitle {
    margin-top: 5px;
    margin-bottom: 1px;
  }

  #aboutcontent {
    width: 950px;
    height: 920px;
    background-color: #eec4a7;
    padding: 30px;
    position: relative;
  }

  #aboutcontent p {
    color: #e27d60;
    font-size: 34px;
  }

  #portrait {
    position: unset;
    width: auto;
    float: right;
  }

  #educontainer h1 {
    color: #e27d60;
    font-size: 32px;
    margin-top: 0;
    margin-left: 5px;
    margin-bottom: 2px;
  }

  #educontainer {
    background-color: #e8a87c;
    width: 482px;
    padding-top: 2px;
  }

  #decorbox {
    background-color: #e27d60;
    width: 100%;
    height: 5px;
    margin: 0;
  }

  #featuredcontent {
    background-color: #eec4a7;
    width: 950px;
    height: auto;
    padding-top: 50px;
  }

  #featitems {
    width: 950px;
    display: flex;
    justify-content: center;
    flex-direction: row;
  }

  .teaser1 {
    background-image: url(../images/retailteaser.png);
    margin-right: 15px;
    width: 65%;
    height: 556px;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .headingcontainer1 {
    padding: 10px;
    width: 610px;
    height: 140px;
    background-color: #e27d60;
    color: #eec4a7;
    position: absolute;
    left: -560px;
    transition: all 0.8s ease-out;
  }

  .headingcontainer1 h2 {
    font-size: 30px;
    font-weight: normal;
    margin: 0;
    line-height: 40px;
    float: left;
  }

  .headingcontainer1 h2 span {
    font-size: 1.6vw;
  }

  .headingcontainer1 p {
    float: right;
    font-size: 90px;
    margin: 0;
  }

  .headingcontainer1 h1 {
    font-size: 70px;
    font-weight: bold;
    margin: 0;
    line-height: 70px;
    letter-spacing: 15px;
    float: left;
  }

  .teaser1:hover {
    width: 65%;
    max-width: 70%;
  }

  .teaser1:hover .headingcontainer1 {
    left: 0;
    color: white;
  }

  .teaser2 {
    background-image: url(./images/demoreelteaser.png);
    width: 35%;
    height: 556px;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    transition: width 0.8s ease-out;
  }

  .headingcontainer2 {
    padding: 10px;
    width: 485px;
    height: 140px;
    background-color: #e27d60;
    color: #eec4a7;
    position: absolute;
    right: -435px;
    transition: all 0.8s ease-out;
  }

  .headingcontainer2 h2 {
    font-size: 30px;
    font-weight: normal;
    margin: 0;
    line-height: 40px;
    text-align: right;
    float: right;
  }

  .headingcontainer2 h2 span {
    font-size: 2.2vw;
  }

  .headingcontainer2 p {
    float: left;
    font-size: 90px;
    margin: 0;
  }

  .headingcontainer2 h1 {
    font-size: 70px;
    font-weight: bold;
    line-height: 70px;
    margin: 0;
    float: right;
    text-align: right;
  }

  .teaser2:hover {
    width: 70%;
    max-width: 70%;
  }

  .teaser2:hover .headingcontainer2 {
    right: 0;
    color: white;
  }

  #featuredbtn {
    display: block;
    width: 90%;
    height: 60px;
    background-color: #e27d60;
    margin: 40px auto;
    text-align: center;
    color: #eec4a7;
    font-size: 30px;
    padding-top: 10px;
    transition: all 0.2s ease-out;
  }

  #featuredbtn:hover {
    color: white;
    transform: scale(1.05);
  }

  footer {
    width: 100%;
    height: 60px;
    background-color: #e27d60;
    color: #eec4a7;
    font-size: 25px;
    text-align: center;
    font-family: futura-pt, arial, sans-serif;
    padding-top: 10px;
  }
}
