/* CSS Document */
/*667px iphone6*/

@media only screen and (max-width: 780px) {
.snow {
  display: none;
}

.container-header {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 200px;

}

.heading {
    font-size: 2.5rem !important;
}

.subheading {
    font-size: 1.3rem!important;
}

  .item-intro-wrapper {
    width: 100%;
    margin: auto;
  }


  .intro-text-box {
    margin-right: 0;
}

.item-desc .box {
    margin-left: 32px;
    margin-right: 32px;
}

.item-desc {
    border-radius: 15px;

}

  .accordeon-vertical {
    padding-top: 11em;
  }

  .worktitle {
    font-size: 3rem !important;
    padding-bottom: 30px;
  }

  .grid {
    width: 1400px;
    margin: 30px auto;
    display: grid;
    width: 100%;
    grid-template-rows: repeat(2, minmax(150px, min-content));
    grid-template-columns: repeat(auto-fill, 100px);
    grid-template-columns: repeat(auto-fit, 100px);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: 240px;
  }

  .grid .float-item {
    padding: 0;
    color: white;
    font-family: sans-serif;
    font-size: 30px;
  }

  .logo-grid {
    width: 1400px;
    margin: 30px auto;
    display: grid;
    width: 80%;
    grid-template-rows: repeat(2, minmax(150px, min-content));
    grid-template-columns: repeat(auto-fill, 100px);
    grid-template-columns: repeat(auto-fit, 100px);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: 240px;
  }

  .logo-grid .float-item {
    padding: 10px;
    color: white;
    font-family: sans-serif;
    font-size: 30px;
  }

  .contact-form {
    margin-left: 10%;
    width: 80%;
  }

  .container {
    width: 100%;
  }

  .contact-container {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .container-img-s {
    width: 100% !important;
    margin-left: 0;
    left: 0;
  }

   .container-img-s img {

    left: 0;
  }

  .container-img-m {
    width: 100% !important;
    position: relative;
    margin-left: 0;
    left: 0;
  }

   .container-img-m img {

    left: 0;
  }

  .container-img-l {
    width: 100% !important;
    position: relative;
    margin-left: 0;
    left: 0;
  }

  .container-img-l img {
    left: 0;
  }

  .container-img-l-shadow {
    position: relative;
    left: 0;
  }

    .container-img-l-shadow img{
    width: 100%;
    margin-left: 0;
    left: 0;
  }

  .container-img-l img, .container-img-m img, .container-img-s img {

  border-radius: 10px;
}

.col-img-m {
    margin-left: 15px;
    margin-right: 15px;
}

  .container-img-shadow {
    width: 100% !important;
    position: relative;
    margin-left: 0;
    left: 0;
  }
  /* hides */

  .accordian {
    display: none !important;
  }


.item-desc-mobile p {
  font-size: 1rem;
}

.box-h1 {

    padding-top: 15px;
}

  .back-btn,
  .next-btn {
    display: none;
  }

  /* MAIN VARIABLES FOR CUSTOMIZATION */
  /* -------------------------------- */

  #video-background {
    right: -315px;
    max-height: 100%;
    top: 0px;
    opacity:50%;
  }

  .item {
    height: 350px;
  }

  #menu-btn {
    top: 20px;
    left: -55px;
  }
  .side-menu-container {
    top: 95px;
    left: 25px;
  }

  #nav-dots ul {
    margin: -17px;
  }

  .wrapper {
    margin-left: 27px;
    font-size: 20px;
    padding-bottom: 700px;
  }

  .main-heading {
    text-align: left;
    margin-left: 20% !important;
  }
  .main-heading h5 {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .main-heading h2 {
    font-size: 1.8rem;
  }

  .main-heading #flip {
    height: 40px;
  }

  .main-heading #flip > div > div {
    padding: 0px 10px;
    height: 38px;
    margin-bottom: 35px;
  }

  @keyframes show {
    0% {
      margin-top: -290px;
    }
    5% {
      margin-top: -230px;
    }
    20% {
      margin-top: -230px;
    }
    25% {
      margin-top: -170px;
    }
    40% {
      margin-top: -170px;
    }
    45% {
      margin-top: -110px;
    }
    60% {
      margin-top: -110px;
    }
    65% {
      margin-top: -50px;
    }
    80% {
      margin-top: -50px;
    }
    85% {
      margin-top: 0px;
    }
    99.99% {
      margin-top: 0px;
    }
    100% {
      margin-top: -290px;
    }
  }

  .itemtitle {
    padding-bottom: 90px;
    padding-top: 90px;
  }

  .container {
    padding-right: 0;
    padding-left: 0;
  }

  .itemlogobig {
    width: 100%;
    margin-left: 0;
    left: 0;
  }

  .logo-mobile {
    display: block;
    height: 45px;
    width: auto;
    margin-top: -70px;
    margin-bottom: 20px;
    margin-left: 45%;
    -webkit-filter: invert(100%) !important;
  }

  .item-desc-mobile {
    display: block;
    padding-top: 15px;
    padding-bottom: 30px;
    padding-left: 5%;
    margin-right: 5%;
    margin-left: 5%;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f5f5f5;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  .itemtextleft {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    float: none;
  }

  .itemtextright {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    float: none;
  }

  .ct-content {
    position: relative;
    width: 160px;
    height: auto;
    margin-left: -80px;
    margin-top: 115px;
  }

  .project-category {
    font-size: 0.7rem !important;
    margin-top: 20px;
  }

  .placeholder {
    display: none;
  }

  .itemtextbox {
    width: 95%;
    text-align: center;
    padding-right: 0;
    padding-left: 5%;
  }

  .main-heading {
    font-size: 1.1rem !important;
    text-align: center;
    margin-left: 0px !important;
    top: -25%;
  }


  .container .item-subheading {
    text-align: center;
  }
  .sec-main1 {
    display: block;
    position: relative;
    z-index: 10;
    height: 450px;
    background-attachment: fixed;
    background-size: cover;
    background-position-x: -750px;
  }

  .sec-main {
    height: 600px;
  }

  .itemtext {
    padding-bottom: 30px;

  }

.col-12{
  margin-bottom:48px;
}

  .photo-vert {
    position: relative;
    width: 100%;
    height: auto;
    margin-left: 0;
    left: 0;
  }

  .nav li a {
    padding: 0px 10px 0px 10px;
    padding-top: 10px !important;
  }

  .nav li a:hover {
    text-decoration: none;
    color: #3e81b0 !important;
  }

  section {
    padding: 5em 0 5.5em 0;
  }

  .foliowork {
    width: 85%;
    margin-left: 7.5%;
  }

  #project-1,
  #project-2,
  #project-3,
  #project-4,
  #project-5,
  #project-6,
  #project-7,
  #project-8 {
    height: 225px;
  }
  .title-project-start {
    margin-top: 155px;
    font-size: 1rem !important;
  }

  .xanthen-content {
    margin-top: 130px;
    width: 200px;
    margin-left: -100px;
  }

  .waveshot-content {
    margin-top: 90px;
    width: 180px;
    height: auto;
    margin-left: -90px;
    left: 50%;
  }
  .title-wick {
    margin-top: 90px;
  }

  .start-overlay {
    height: 225px;
  }
  .circle {
    margin-left: -100px;
    margin-bottom: 30px;
  }

  hr {
    margin-bottom: 2em;
  }

  .sec-contact .btn {
    padding: 0.5rem 0rem;
  }

  .sec-about .btn {
    padding: 0.4rem 0;
  }

  .arrow-right {
    z-index: 1000;
    position: absolute;
    margin-top: 50px;
    margin-left: 90%;
    height: 20px;
    width: 20px;
    border-style: solid;
    border-color: #fff;
    border-top: 1px;
    border-right: 1px;
    transform: rotate(225deg);
  }

  .arrow-left {
    position: absolute;
    margin-top: 50px;
    margin-left: 25px;
    height: 20px;
    width: 20px;
    border-style: solid;
    border-color: #fff;
    border-top: 1px;
    border-right: 1px;
    transform: rotate(45deg);
  }

.card-spoiler-mobile {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;

}



.card-back {
  background: rgb(0, 0, 0, 0);
  width: auto;
  height: 180px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-left: 0px;
  margin-right: 20px;
}

.card-text-back {
width: 100%;
  color: #FFF;
  padding: 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-self: flex-end;
  align-content: flex-end;
}


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

.card-icon {
height: 48px;
    width: auto;
    margin: 0 8px;
}

.card-text-next {
width: 100%;
  color: #FFF;
  padding: 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-self: flex-end;
/*   align-content: flex-end; */
}

.card-next {
  background: rgb(0, 0, 0, 0);
  width: auto;
  height: 180px;
  position: relative;
  overflow: hidden;
  margin-left: 20px;
  margin-bottom: 24px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.card-title {
  margin: 8px 0;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: left;
}

.card-title-back {
  margin: 8px 0;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: right;
}

.card-meta {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0;
}

.card-meta-back {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-align:right;
}


.card-overlay {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0) 90%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

  .spoiler-pic-mobile {
    width: 100%;
  }

  .spoiler-mobile {
    display: block;
    width: 100%;
    padding-bottom: 10px;
  }

  .spoiler-mobile-right {
    display: block;
    width: 100%;
    padding-bottom: 10px;
  }

  .spoiler-mobile-left {
    display: block;
    width: 100%;
    padding-bottom: 10px;
  }

  .spoiler-mobile-right h1 {
    position: absolute;
    font-size: 1.5rem;
    width: 100%;
    padding-bottom: 10px;
    padding-left: 10px;
    margin-top: -55px;
  }

  .spoiler-mobile-right h2 {
    font-size: 0.7rem;
    position: absolute;
    width: 100%;
    padding-bottom: 10px;
    padding-left: 10px;
    margin-top: -25px;
    text-align: left;
  }

  .spoiler-mobile-left h1 {
    position: absolute;
    font-size: 1.5rem;
    text-align: right;
    width: 100%;
    padding-bottom: 10px;
    padding-right: 15px;
    margin-top: -55px;
  }

  .spoiler-mobile-left h2 {
    text-align: right;
    padding-right: 15px;
    font-size: 0.7rem;
    position: absolute;
    width: 100%;
    padding-bottom: 10px;
    padding-left: 8px;
    margin-top: -25px;
  }

  .about-img {
    width: 90%;
    margin-bottom: 10px;
    margin-left: 5%;
    height: auto;
    float: none;
    position: relative;
    border-radius: 15px;
  }

  .heading-left {
    text-align: center;
  }

  .about-wrapper {
    height: auto;
  }

  .about-text {
    font-size: 0.9rem;
    margin-top: 0;
    width: 95%;
    padding-left: 5%;
    position: relative;
    text-align: center;
  }

  .about-heading-left {
    margin-left: -35px;
    font-size: 1rem !important;
  }

  .contact-container {
    padding-top: 0em;
  }

  footer {
    padding: 5em 0 1em 0;
  }



}
#menu-btn .side-menu-list.is-active {
  height: 300px;
}
@media only screen and (min-width: 375px) and (max-width: 1000px) {

  .sub-headline-mobile {
    font-size: 1rem!important;
    margin-bottom: 10px;
  }
  .hamburger.is-active .line:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
  }

  #menu-btn {
    gap: 0px;
    top: 0px;
    left: 0px;
    padding: 15px 20px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 0px;
    height: auto;
  }
  #menu-btn i {
    margin-left: 0px;
    height: 40px;
  }

  .hamburger {
    order: 2;
  }

  #menu-btn .side-menu-list {
    height: 0px;
    overflow: hidden;
    position: absolute;
    right: 20px;
    top: 60px;
    transition: 300ms;
    width: auto;
    z-index: 9;
  }
  #menu-btn .side-menu-list li {
    padding: 5px 0px;
  }

  #menu-btn .side-menu-list li:first-of-type {
    padding-top: 10px;
  }
  #menu-btn .side-menu-list li:last-of-type {
    padding-bottom: 10px;
  }
  
  .side-menu-item > a {
  display: inline-block;
  padding: 10px 25px;
  font-family: "Nunito Sans", sans-serif;
  text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
  background-color: transparent;
}
.side-menu-item > a:hover {
  text-decoration: none;
  color: #b1b1b1;
  transition: all 0.2s;
}
  #menu-btn.slideInLeft {
    animation: none;
  }
  #menu-btn .side-menu-list.is-active {
    height: 200px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 998px) {
 
  .about-wrapper {
    height: auto;
}
  .heading-left {
    text-align: center;
}
.about-img {
  width: 90%;
  margin-bottom: 10px;
  margin-left: 5%;
  height: auto;
  float: none;
  position: relative;
  border-radius: 15px;
}
.about-text {
  width: auto;
  text-align: center;
}
}