@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css?family=Bevan&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Passion+One&display=swap');
@import url('https://fonts.googleapis.com/css?family=Courgette&display=swap');


/*===== Margins =====*/
:root{
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
}

/*===== LAYOUT =====*/
.bd-grid{
    max-width: 1024px;
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 2rem;
    width: calc(100% - 2rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
}

html {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0px;
  margin: 0px;
}

body {
  background-color: #eee;
  margin: 0px;
  width: 100%;
  display: block;
}

header {
  width: 100%;
  height: 50px;
  padding: 10px 0px;
  margin: 0px;
  position: fixed;
  top: 0;
  display: flex;
  font-family: 'Ubuntu Condensed', sans-serif;
  background-color: #575757;
  z-index: 85000;
}

header div {
    width: auto;
    height: 50px;
}

header #myName {
  text-decoration: none;
  color: #eee;
  font-weight: 100;
  font-size: 42px;
    margin-top: 8px;
  margin-left: 40px;
}

nav {
  width: 500px;
  height: 50px;
  margin-left: auto;
  margin-right: 80px;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin-top: 8px;
}

nav a {
  text-decoration: none;
  color: #f4f4f6;
  font-weight: 100;
  font-size: 25px;
  margin-left: 40px;
}

nav a:hover {
  color: #999;
}

#hamburger,
#toggle,
.menu {
  display: none;
}

main {
    font-family: 'Ubuntu Condensed', sans-serif;
    color: #575757;
    display: grid;
}

footer {
  width: 100%;
  height: 60px;
  background-color: #575757;
  display: block;
  text-align: center;
    font-family: 'Ubuntu Condensed', sans-serif;
    color: #f4f4f6; 
  font-size: 16px;
  padding-top: 15px;
}

.button {
    display: inline-block;
    font-size: 48px;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #575757;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px #fff;
    padding: 2% 5%;
}
.button:hover {background-color: #ABABAB}
.button:active {
  background-color: #333;
  box-shadow: 0 5px #666;
}
.pointer {
    cursor: pointer;
}
.cardinal {
    position: absolute;
    right: 0;
    top: 260px;
    width: 800px;
    height: auto;
    text-align: center;
}
.landing {
/*  background-color: #575757;*/
  width: 100%;
  height: 800px;
  margin-top: -40px;
  padding: 40px 0px;
}

#theLanding {
  width: 80%;
  height: 80%;
  margin-left: 50px;
}

.landing h1 {
  font-size: 10rem;
  color: #EB494F;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 8rem;
  font-family: 'Passion One';
    margin-bottom: 10px;
}

.landing h2 {
    font-weight: bold;
    font-size: 6.5rem;
    font-style: italic;
}
.landing h2::after {
    content: " ";
    position: absolute;
    animation: textrotate 10s linear infinite;
   -webkit-animation: textrotate 10s linear infinite;
}
@keyframes textrotate {
  0% {
    content: "MULTIMEDIA";
  }
  25% {
    content: "INTERACTIVE";
  }
  50% {
    content: "MOTION GRAPHIC";
  }
  75% {
    content: "LOGO";
  }
    100% {
        content: "ADVERTISEMENT";
    }
}
.content-slider {
  width: 100%;
  height: 100px;
}

.slider {
  height: 120px;
  width: 720px;
  margin: 0;
  overflow: visible;
  position: relative;
}

.mask {
  overflow: hidden;
  height: 105px;
}

.slider ul {
  margin: 0;
  padding: 0;
  position: relative;
}

.slider li {
  width: 720px;
  height: 60px;
  position: absolute;
  list-style: none;
}

.slider .quote {
    font-weight: bold;
    font-size: 6.5rem;
    font-style: italic;
    margin: 0;
}

.slider li.field1 {
  animation: cycle 15s linear infinite;
}

.slider li.field2 {
  animation: cycle2 15s linear infinite;
}

.slider li.field3 {
  animation: cycle3 15s linear infinite;
}

.slider li.field4 {
  animation: cycle4 15s linear infinite;
}

.slider li.field5 {
  animation: cycle5 15s linear infinite;
}

.slider:hover li {
  animation-play-state: paused;
}

@keyframes cycle {
  0% {
    top: 0px;
  }
  4% {
    top: 0px;
  }
  16% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  50% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    top: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    top: -325px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@keyframes cycle2 {
  0% {
    top: -325px;
    opacity: 0;
  }
  16% {
    top: -325px;
    opacity: 0;
  }
  20% {
    top: 0px;
    opacity: 1;
  }
  24% {
    top: 0px;
    opacity: 1;
  }
  36% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle3 {
  0% {
    top: -325px;
    opacity: 0;
  }
  36% {
    top: -325px;
    opacity: 0;
  }
  40% {
    top: 0px;
    opacity: 1;
  }
  44% {
    top: 0px;
    opacity: 1;
  }
  56% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  60% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle4 {
  0% {
    top: -325px;
    opacity: 0;
  }
  56% {
    top: -325px;
    opacity: 0;
  }
  60% {
    top: 0px;
    opacity: 1;
  }
  64% {
    top: 0px;
    opacity: 1;
  }
  76% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle5 {
  0% {
    top: -325px;
    opacity: 0;
  }
  76% {
    top: -325px;
    opacity: 0;
  }
  80% {
    top: 0px;
    opacity: 1;
  }
  84% {
    top: 0px;
    opacity: 1;
  }
  96% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
}

#designer {
    font-weight: bold;
    font-size: 6.5rem;
    padding-top: 80px;
}



.section-title {
    font-weight: bold;
    font-size: 72px;
    text-align: center;
    text-decoration: underline;
}

.about_container, 
.caseStudyHeader_container,
.caseStudy_container,
.stations_container{
    justify-items: center;
    row-gap: 2rem;
    text-align: center;
}

.about_img, 
.work_img{
    display: flex;
    justify-content: center;
    padding: 1rem;
    width: 600px;
    height: auto;
    background-color: #333;
    overflow: hidden;
}
.about_img img, 
.work_img img{
    width: 100%;
}

#selfie {
    height: auto;
    width: 85%;
    border-radius: 10px;
}
#intro {
    width: 100%;
    font-size: 1.4rem;
    font-weight: 200;
}

.skills_container, .tools_container{
    row-gap: 2rem;
    text-align: center;
}
.skills_subtitle, .tools_subtitle{
    font-size: 30px;
    margin-bottom: var(--mb-3);
}
.skills_icon, .tools_icon {
  height: 80px;
  width: auto;
  margin: auto 2px;
}
.skills_knowledge, .tools_knowledge {
   font-size: 18px; 
}


.project_container{
    justify-items: center;
    row-gap: 2rem;
}
.project{
    position: relative;
    overflow: hidden;
}
.project img{
    border-radius: .5rem;
    width: 100%;
}
.project_link{
    position: absolute;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,.3);
    border-radius: .5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: .3s;
}
.project:hover .project_link,
.image:hover .project_link{
    opacity: 1;
}
.project_link-name{
    font-size: 25px;
    color: #000;
    text-decoration: none;
    text-align: center;
}



form {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-content: center;
  width: 80%;
  height: 400px;
}

label {
  color: var(--c-warm-black);
  font-weight: 600;
  font-size: 20px;
  display: block;
  text-align: left;
  margin-bottom: 10px;
}

input,
textarea {
  display: block;
  text-align: left;
  width: 100%;
  margin: 5px 0px 20px 0px;
  background-color: var(--c-light-grey);
  border: 0;
  cursor: text;
  color: var(--c-warm-black);
  font-size: 16px;
  font-family: Roboto, sans-serif;
}

#name,
#email,
#subject {
  border-bottom: 2px solid #575757;
}

#contact1 {
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  padding-right: 40px;
}

#contact2 {
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  padding-left: 40px;
}

textarea {
  border: 2px solid #575757;
}

input {
  height: 30px;
}

::placeholder {
  color: rgb(153, 155, 155);
  font-style: italic;
  font-weight: 300;
}

button {
  color: #f4f4f6;
  background-color: #575757;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  display: block;
  margin: 5px 0px 0px auto;
  border: 0;
}

button:hover {background-color: #ABABAB}

/****************** PROJECTS ********************/

.caseStudyHeader {
    width: 100%;
    height: 800px;
    margin-top: 0;
    padding-bottom: 40px;
    display: flex;
}

#caseStudy1, #caseStudy2 {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

/*
#caseStudy {
  width: 50%;
  height: 80%;
  margin-top: 7rem;
  margin-left: 7rem;
}
*/

#caseStudy1 h4 {
    color: #575757;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 0px;
}

#caseStudy1 h2 {
    font-family: 'Passion One', sans-serif;
    font-size: 9rem;
    color: #EB494F;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 8rem;
    margin-top: 0;
    margin-bottom: 10px;
}

#caseStudy2 img {
    width: 100%;
    height: auto;
}

#caseStudy_about,
#installation {
    background: #575757;
    color: #f4f4f6;
}


.application_container {
    text-align: center;
    padding: 2rem 0;
}

.demoVid {
    background-color: #f4f4f6;
    padding: 10px;
    display: flex;
    margin: 0px auto 50px auto;
    width: 1000px;
    height: 560px;
}

.stations_container h2 {
    font-size: 32px;
}
.stations_container p {
    font-size: 1.3rem;
}

.stationsVid {
    background-color: #f4f4f6;
    padding: 10px;
    width: 540px;
    height: 304px;
}

/**************** SINGLE PAGE **************/
.singlePageAbout_img{
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem;
    width: 440px;
    height: 416px;
    background-color: #333;
    overflow: hidden;
}
.singlePagePic {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 90%;
  height: 90%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-animation: fade 24s infinite;
  animation: fade 24s infinite;
}
#singlePagePic1 {
  animation-delay: 0s;
  background-image: url('../img/single_page/1.jpg');
}
#singlePagePic2 {
  background-image: url('../img/single_page/2.jpg');
  animation-delay: 8s;
}
#singlePagePic3 {
  background-image: url('../img/single_page/3.jpg');
  animation-delay: 16s;
}
@-webkit-keyframes fade {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  34% {
    opacity: 0;
  }
  88% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  34% {
    opacity: 0;
  }
  88% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/**************** MOTION GRAPHICS **********/
.motion_container{
    justify-items: center;
    row-gap: 2rem;
    padding: 65px;
    padding-top: 0;
    width: auto;
}
.motion-title {
    font-weight: bold;
    font-size: 72px;
    text-align: center;
    text-decoration: underline;
    margin-top: 6rem;
}
.motion-subtitle {
    font-weight: bold;
    font-size: 32px;
    text-align: center;
    text-decoration: none;
}
#motion_graphics p {
    font-size: 1.4rem;
    font-weight: 200;
    text-align: center;
}
/**************** PHOTOGRAPHY **************/
.photography_container{
    justify-items: center;
    row-gap: 2rem;
    padding: 65px;
    padding-top: 0;
    width: auto;
}
.image{
    position: relative;
    overflow: hidden;
}
.image img{
    border-radius: .5rem;
    width: 100%;
}
.photography_container img{
    border-radius: .5rem;
    width: 100%;
}
.photography-title {
    font-weight: bold;
    font-size: 72px;
    text-align: center;
    text-decoration: underline;
    margin-top: 6rem;
}
.photography-subtitle {
    font-weight: bold;
    font-size: 32px;
    text-align: center;
    text-decoration: none;
}

/************* CLS **************/
.caseStudyHeader_cls {
    width: 100%;
    height: auto;
    margin-top: 0;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
}
#caseStudy_cls {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

#infoHead {
    display: none;
}

@media only screen and (max-width: 550px){
    main {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    nav {
        display: none;
    }
    #hamburger {
        display: block;
        position: absolute;
        margin: 0 20px 10px 400px;
      }

      #hamburger img {
        width: 45px;
        height: 45px;
      }

      #toggle {
        display: none;
      }

      #toggle:checked + .menu {
        display: flex;
      }

      .menu {
        position: absolute;
        display: none;
        width: 100%;
        background-color: #EB494F;
        text-align: center;
        justify-content: space-around;
        flex-direction: row;
        align-items: center;
        font-size: 15px;
        margin-top: 55px;
        margin-left: -10px;
        padding: 10px 5px;
        z-index: 2000;
      }

      .menu a {
        flex-direction: column;
        text-decoration: none;
        font-family: 'Ubuntu Condensed', sans-serif;
        font-weight: 100;
        font-size: 25px;
        text-decoration: none;
        color: #eee;
      }
    .landing {
        width: 100%;
        height: 400px;
        padding: 150px 20px 20px 20px;
    }
    #theLanding {
        width: 80%;
        height: 200px;
        padding: 0px;
        margin-left: 30px;
    }
    .landing h1 {
        font-size: 8rem;
        font-weight: 800;
        line-height: 6rem;
        margin-bottom: 35px;
        margin-top: 50px;
    }
    .landing h2 {
        font-size: 3rem;
        font-weight: bold;
        font-style: italic;
        margin-top: -25px;
    }
    #designer {
        font-size: 3rem;
        margin-top: -30px;
        margin-left: 0px;
        padding-top: 40px;
    }
    .cardinal,
    .saladGIF{
        display: none;
    }
    .caseStudyHeader {
        width: 80%;
        margin: 0px auto;
        padding-top: 40px;
        height: 850px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .caseStudyHeader_cls {
        width: 80%;
        margin: 0px auto;
        padding-top: 40px;
        height: 850px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .caseStudy_container {
        width: 80%;
        margin: 20px auto;
        padding: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .cls_container {
        width: 80%;
        margin: 20px auto;
        padding: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #caseStudy_about {
        width: 100%;
        flex-wrap: wrap;
        text-align: center;
        margin-top: 50px;
    }
    #caseStudy1 {
      width: 100%;
      height: 80%;
      margin: 0 auto;
    }
    #caseStudy1 #pineHillsTitle {
        font-size: 75px;
    }
    #caseStudy1 h2 {
        font-size: 6rem;
        line-height: 90%;
    }
    .demoVid,
    .stationsVid {
        background-color: #faf8f2;
        padding: 10px;
        display: flex;
        margin: 0px auto 50px auto;
        width: 400px;
        height: 225px;
    }
    .mapWork {
        background-color: #faf8f2;
        padding: 10px;
        display: flex;
        width: 400px;
        height: 225px;
    }
    #infoHead {
    display: initial;
}

}

@media screen and (min-width: 768px){
    .about_container,
    .caseStudyHeader_container,
    .caseStudy_container, 
    .stations_container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        text-align: initial;
        padding: 2rem 0;
    }
    .project_container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(, 1fr);
        column-gap: 2rem;
    }
    .application_container {
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        text-align: center;
        padding: 2rem 0;
    }
    .photography_container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(, 1fr);
        column-gap: 2rem;
    }
}

@media screen and (min-width: 1024px){
    .bd-grid {
        margin-left: auto;
        margin-right: auto;
    }
}
