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

.project {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 100%;
  z-index: 9999999;
  background-color: rgba(0, 0, 0, 0.5);
}

.breaker {
  background-color: var(--light);
  width: 100%;
  height: 10px;
  margin: 10px 0;
}

.prevbtn {
  display: inline-block;
  background-color: var(--dark);
  width: 49%;
  margin: 0 0;
  text-align: center;
  color: var(--background);
  font-weight: bold;
  padding: 0;
  transition: all 0.2s ease-in-out;
}

.prevbtn:hover {
  color: white;
}

.nextbtn {
  display: inline-block;
  background-color: var(--dark);
  width: 49%;
  margin: 0 0;
  text-align: center;
  color: var(--background);
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.nextbtn:hover {
  color: white;
}

.viewprojectbtn {
  display: inline-block;
  background-color: var(--dark);
  margin: 0 0;
  text-align: center;
  color: var(--background);
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.viewprojectbtn:hover {
  color: white;
}

.imagelink {
  border: transparent 3px solid;
  transition: all 0.2s ease-out;
}

.imagelink:hover {
  border: var(--dark) 3px solid;
}

.project .close {
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  position: absolute;
  transition: all 0.2s ease-out;
  /* transform: scale(0.75); */
}

.project .close:hover {
  transform: scale(1.1);
  background-color: white;
}

.portfolio .project {
  position: relative;
}

.project:target {
  display: block;
}

.projectvideo {
  position: relative;
}

.vert {
  grid-area: vertimg;
}
.top {
  grid-area: topimg;
}
.bot {
  grid-area: botimg;
}
.projectimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.imagelink {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projecttext span {
  color: var(--dark);
  font-weight: bold;
}
.projecttext h1 {
  display: block;
  padding-left: 5px;
  background: var(--light);
  color: var(--dark);
  border-bottom: var(--dark) 10px solid;
  margin-bottom: 1vw;
}
.projecttext img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projecttext .textimg {
  padding: 0;
  transition: all 0.2s ease-out;
}
.projecttext .textimg:hover {
  border: var(--dark) 3px solid;
}

/* PROJECT IMAGES */
#project1p1 {
  background-image: url(/images/retailvimg.PNG);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project1p2 {
  background-image: url(/images/retailteaser.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project1p3 {
  background-image: url(/images/reatilbotimg.PNG);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project1cat {
  background-image: url(/images/retailc.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project1rot {
  background-image: url(/images/retailr.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project1touch {
  background-image: url(/images/retailt.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project2p1 {
  background-image: url(/images/p2vimg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project2p2 {
  background-image: url(/images/teaser2.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project2p3 {
  background-image: url(/images/p2botimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project3p1 {
  background-image: url(/images/p3vimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project3p2 {
  background-image: url(/images/teaser3.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project3p3 {
  background-image: url(/images/p3botimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project4p1 {
  background-image: url(/images/p4vimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project4p2 {
  background-image: url(/images/teaser4.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#project4p3 {
  background-image: url(/images/p4botimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#digitalp1 {
  background-image: url(/images/digitalvimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#digitalp2 {
  background-image: url(/images/digitalteaser.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#digitalp3 {
  background-image: url(/images/digitalbotimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#featp1 {
  background-image: url(/images/disneyvimg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#featp2 {
  background-image: url(/images/disneyteaser.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#weddingp1 {
  background-image: url(/images/weddingvertimg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#weddingp2 {
  background-image: url(/images/weddingteaser.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#weddingp3 {
  background-image: url(/images/weddingbotimg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

/* SOCIAL SLIDESHOW */
/* Slideshow container */
.slideshow-container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  background-color: rgba(0, 0, 0, 0.2);
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  font-family: "futura";
}

/* Number text (1/3 etc) */
.numbertext {
  color: black;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  font-family: sans-serif;
  font-weight: bold;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* MOBILE VIEWPORT */
@media only screen and (max-width: 600px) {
  .project .close {
    font-size: 1rem;
    top: 15px;
    right: 15px;
    padding: 0.25em 0.5em;
    border-radius: 50%;
    color: var(--background);
    border: 3px solid var(--background);
  }

  .pcontainer {
    width: 100%;
    background-color: var(--background);
    margin: 0px auto;
    padding: 10px;
  }

  .prevbtn {
    margin-right: 0.5vw;
    height: 15vw;
    font-size: 5vw;
    padding-top: 4vw;
  }

  .nextbtn {
    height: 15vw;
    font-size: 5vw;
    padding-top: 4vw;
  }

  .projectvideo .close {
    color: var(--dark);
    border: 3px solid var(--dark);
  }

  .projectvideo {
    width: 100%;
    height: 90%;
    padding: 10px;
    padding-top: 35%;
    margin: 5vh auto;
  }

  .projectcontent {
    position: relative;
    width: 100%;
    height: 110vw;
    padding: 0px;
    background-color: var(--background);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 0.5fr 1fr 1fr;
    grid-template-areas:
      "header header"
      "vertimg topimg"
      "vertimg botimg";

    grid-gap: 5px;
  }

  .projectcontent2img {
    position: relative;
    width: 100%;
    height: 110vw;
    background-color: var(--background);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0.5fr 1fr 1fr;
    grid-template-areas:
      "header header"
      "vertimg topimg"
      "vertimg topimg";

    grid-gap: 5px;
  }
  .socialprojectcontent {
    position: relative;
    width: 100%;
    background-color: var(--background);
    margin: 0 auto;
    margin-bottom: 10px;
    padding: 0;
    display: block;
  }
  .projecttext {
    grid-area: content;
    font-family: var(--ff-body);
    font-size: 20px;
    padding: 0;
    text-align: justify left;
  }
  .projecttext p {
    margin: 0;
  }
  .projecttext h1 {
    font-size: 1.2em;
  }
  .projecttext .textimg {
    float: left;
    width: 100%;
    height: 50vw;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 0px;
    border: transparent 0px solid;
  }
  .headingcont {
    grid-area: header;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    color: var(--background);
    padding: 5px;
    font-family: var(--ff-heading);
  }
  .projectheading {
    font-size: 8vw;
    margin: 0;
  }
  .projectsubheading {
    font-size: 5vw;
    margin: 0;
  }
  .viewprojectbtn {
    width: 100%;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 20px;
    padding-top: 6px;
  }
  .projectbtn {
    display: block;
    width: 100%;
    height: 35px;
    font-size: 20px;
    font-weight: bold;
    background-color: var(--dark);
    color: var(--background);
    margin: 0;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 3.5px;
    transition: color 0.2s ease-in-out;
  }
  .projectbtn:hover {
    color: white;
  }

  #activelink {
    visibility: hidden;
    position: absolute;
  }

  #inactivelink {
    visibility: visible;
    position: initial;
  }
}

/* TABLET VIEWPORT */
@media only screen and (min-width: 601px) {
  .project .close {
    font-size: 1rem;
    top: 15px;
    right: 15px;
    padding: 0.25em 0.5em;
    border-radius: 50%;
    color: var(--background);
    border: 3px solid var(--background);
  }

  .pcontainer {
    width: 100%;
    background-color: var(--background);
    margin: 0px auto;
    padding: 20px;
  }

  .projectvideo {
    width: 100%;
    height: 90%;
    padding: 10px;
    padding-top: 9vw;
    margin: 5vh auto;
  }

  .projectcontent {
    position: relative;
    width: 100%;
    height: 75vw;
    padding: 0px;
    background-color: var(--background);
    margin: 0px auto;
    display: grid;
    grid-template-columns: 3fr 3fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
      "header header"
      "vertimg topimg"
      "vertimg botimg";

    grid-gap: 10px;
  }

  .projectcontent2img {
    position: relative;
    width: 100%;
    height: 75vw;
    background-color: var(--background);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 3fr 3fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
      "header header"
      "vertimg topimg"
      "vertimg topimg";

    grid-gap: 10px;
  }
  .socialprojectcontent {
    position: relative;
    width: 100%;
    background-color: var(--background);
    margin: 0 auto;
    margin-bottom: 10px;
    padding: 0;
    display: block;
  }
  .projecttext {
    font-family: var(--ff-body);
    font-size: 22px;
    padding: 0;
    text-align: justify left;
  }
  .projecttext p {
    margin: 0;
  }
  .projecttext h1 {
    font-size: 2em;
  }
  .projecttext .textimg {
    float: left;
    width: 50%;
    height: 25vw;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 20px;
    border: transparent 3px solid;
  }

  .prevbtn {
    margin-right: 1vw;
    height: 100px;
    font-size: 40px;
    padding-top: 22px;
  }

  .nextbtn {
    height: 100px;
    font-size: 40px;
    padding-top: 22px;
  }

  .headingcont {
    grid-area: header;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    color: var(--background);
    padding: 10px;
    font-family: var(--ff-heading);
  }
  .projectheading {
    font-size: 6vw;
    margin: 0;
    line-height: 7vw;
  }
  .projectsubheading {
    font-size: 4vw;
    margin: 0;
  }
  .viewprojectbtn {
    width: 100%;
    height: 70px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 40px;
    padding-top: 8px;
  }
  .projectbtn {
    display: block;
    width: 100%;
    height: 35px;
    font-size: 20px;
    font-weight: bold;
    background-color: var(--dark);
    color: var(--background);
    margin: 0;
    margin-bottom: 20px;
    margin-top: 40px;
    text-align: center;
    padding-top: 3.5px;
    transition: color 0.2s ease-in-out;
  }
  .projectbtn:hover {
    color: white;
  }

  #activelink {
    visibility: hidden;
    position: absolute;
  }

  #inactivelink {
    visibility: visible;
    position: initial;
  }
}

/* DESKTOP VIEWPORT */
@media only screen and (min-width: 950px) {
  .project .close {
    font-size: 1rem;
    top: 15px;
    right: 15px;
    padding: 0.25em 0.5em;
    border-radius: 50%;
    color: var(--background);
    border: 3px solid var(--background);
  }

  .pcontainer {
    width: 950px;
    background-color: var(--background);
    margin: 50px auto;
    padding: 20px;
  }

  .projectvideo {
    width: 950px;
    height: 90%;
    padding: 10px;
    padding-top: 55px;
    margin: 5vh auto;
  }

  .prevbtn {
    margin-right: 10px;
    height: 100px;
    font-size: 40px;
    padding-top: 22px;
  }

  .nextbtn {
    height: 100px;
    font-size: 40px;
    padding-top: 22px;
  }

  .projectcontent {
    position: relative;
    width: 910px;
    height: 720px;
    background-color: var(--background);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 3fr 3fr;
    grid-template-rows: 0.5fr 1fr 1fr;
    grid-template-areas:
      "header header"
      "vertimg topimg"
      "vertimg botimg";

    grid-gap: 10px;
  }

  .projectcontent2img {
    position: relative;
    width: 910px;
    height: 720px;
    background-color: var(--background);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 3fr 3fr;
    grid-template-rows: 0.5fr 1fr 1fr;
    grid-template-areas:
      "header header"
      "vertimg topimg"
      "vertimg topimg";

    grid-gap: 10px;
  }
  .socialprojectcontent {
    position: relative;
    width: 910px;
    height: 125px;
    background-color: var(--background);
    margin: 0 auto;
    margin-bottom: 10px;
    padding: 0;
    display: block;
  }
  .projecttext {
    font-family: var(--ff-body);
    font-size: 26px;
    margin-bottom: 40px;
    padding: 0;
    text-align: justify left;
  }
  .projecttext p {
    margin: 0;
  }
  .projecttext h1 {
    font-size: 2em;
  }
  .projecttext .textimg {
    float: left;
    width: 50%;
    height: 250px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 20px;
    border: transparent 3px solid;
  }
  .headingcont {
    grid-area: header;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    color: var(--background);
    padding: 20px;
    font-family: var(--ff-heading);
  }
  .projectheading {
    font-size: 55px;
    margin: 0;
    line-height: 45px;
  }
  .projectsubheading {
    font-size: 35px;
    margin: 0;
  }
  .viewprojectbtn {
    width: 100%;
    height: 70px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 40px;
    padding-top: 8px;
  }
  .projectbtn {
    display: block;
    width: 275px;
    height: 35px;
    font-size: 20px;
    font-weight: bold;
    background-color: var(--dark);
    color: var(--background);
    margin: 0;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 3.5px;
    transition: color 0.2s ease-in-out;
  }
  .projectbtn:hover {
    color: white;
  }

  #activelink {
    visibility: visible;
    position: initial;
  }

  #inactivelink {
    visibility: hidden;
    position: absolute;
  }
}
