/* Example CSS file */
* {
  box-sizing: border-box;
}

:root {
  --doc-height: 100%;
}

body {
  font-family: 'Graphik';
  color: #FF42EC;
  font-size: 16px;
  line-height: 22px;
  margin: 0px;
}

a {
  color: #FF42EC;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

h4 {
  font-family: 'Graphik';
}

nav {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-left: 17px;
  padding-right: 17px;
  position: fixed;
  width: 100%;
  z-index: 10;
}

#m {
  padding-top: 110px;
  padding-left: 25px;
  padding-right: 25px;
}

.t_home #m {
  padding-left: 0px;
  padding-right: 0px;
}

.btn {
  padding: 10px 15px;
  border-radius: 20px;
  border: solid 1px #FF42EC;
  font-size: 16px;
    line-height: 17px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  min-height: 40px;
  background-color: white;
  font-family: 'Graphik';
}
.safari .btn{
      line-height: 20.5px;
}

.inputbtn, .inputbtn:hover, .inputbtn:focus {
  background-color: white !important;
  border: solid 1px #FF42EC !important;
  color: #FF42EC !important;
  outline: none;
}

.submitbtn {
  background-color: #FF42EC;
  color: white;
  margin-top: 10px;
}

.btn.close {
  width: 40px;
  text-align: center;
  padding-left: 0px;
  padding-right: 0px;
  float: right;
  margin-left: 7px;
  display: flex;
  align-items: center;
  justify-content: center;

  height: 39px;
min-height: 35px;
}

.btn.close .neg {
  display: none;
}

.btn:hover, .btn.active {
  background-color: #FF42EC;
  color: white;
}

.btn.close:hover .pos, .btn.close.active .pos {
  display: none;
}

.btn.close:hover .neg, .btn.close.active .neg {
  display: inline-block;
}

.cats .btn {
  margin-left: 3px;
  margin-right: 3px;
}

#info {
  color: #000000;
  background-color: #BAFF99;
  padding-top: 61px;
  padding-left: 63px;
  padding-right: 70px;
  padding-bottom: 70px;
  position: fixed;
  z-index: 10;
  width: 50vw;
  height: 100%;
  right: -50vw;
  transition: right 200ms ease-in-out;
  overflow-y: auto;
}

.video_info {
  position: fixed;
  left: -50vw;
  z-index: 1000000000000000000000;
  width: 50vw;
  top: auto;
  transition: left 200ms ease-in-out;
  height: calc(100vh - 162px);
  bottom: auto;

  top: 81px;
  padding-top: 81px;
  bottom: -80px;
  height: calc(100vh - 82px);
    padding-bottom: 55px;
}

.video_info video {
  object-fit: contain;
  height: 100%;
}

.video_info.show {
  left: 0px;
  top: 0px;
  height: calc(100vh);
  position: fixed;

}

#info.show {
  right: 0px;
}

#closeinfo {
  background-color: transparent;
  color: black;
  border-color: black;
  position: absolute;
  right: 18px;
  top: 15px;
}

#closeinfo:hover {
  background-color: black;
  color: #BAFF99;
}

#closeinfo svg.pos line {
  stroke: black;
}

.huge {
  font-size: 140px;
  line-height: 123px;
  font-weight: normal;
  margin: 29px 0px;
  font-family: 'maple-web';
}

.t_home #m, .homewrap {
  top: 0px;
  position: fixed;
  height: 100%;
  width: 100%;
}

.homewrap .back {
  position: absolute;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  top: 0px;
  height: 100%;
  left: 0px;
}

.homewrap .front {
  position: fixed;
  z-index: 2;
}

.clients {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  display: none;
  position: absolute;
}

.clients.show {
  display: flex;
}

.clients .btn {
  margin-top: 17px;
}

a.project {
  text-decoration: none;
  margin-bottom: 15px;
}
.project {
  opacity: 0;
}
.project .images{
  margin-left: auto;
margin-right: auto;
}
.project .images a {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 24px;
  min-height: 187px;/*237px;*/
  height:187px;
}
.project .images a ,.project .images img{
  /*
  -webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
-ms-transition: all 300ms ease-in-out;
-o-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
*/
}
.project .images img {
  width: auto;
  display: inline-block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 50vw;

}

.project h4 {
  margin: 0px;
  margin-bottom: 7px;
}

.showproject.project {
  display: flex;
  justify-content: flex-start;
  height: calc(100vh - 145px);
}

.showproject .img, .showproject.project {
  margin-right: 27px;
}

.showproject .body {
  min-width: 265px;
  margin-right: 72px;
}

.showproject .img {
  display: flex;
  align-items: center;
}

.showproject .wrapimg {
  max-height: calc(100vh - 145px);
  position: relative;
}

.showproject .img img {
  display: block;
  height: calc(100vh - 145px);
  /*    width: auto;*/
}

.showproject .img img.s_2 {
  height: 80vh;
}

.showproject .img img.s_3 {
  height: 53vh;
}

.showproject .img img.s_4 {
  height: 20vh;
}
.passblock{
  padding-bottom: 40px;
}
.showproject .img img.s_1.imgwithdescription {
  height: calc(100vh - 258px);
}

.showproject.slide {
  align-self: flex-start;
  height: calc(100vh - 145px);
}

.description {
  margin-bottom: 0px;
  margin-top: 23px;
  position: absolute;
  width: 100%;
}

body .swiperhome {
  /*
  top: 100px;
  height: calc(100vh - 162px);
  */
  top: 81px;
  height: calc(100vh - 136px);
  position: relative;
}

.swiper {
  width: 100vw;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

body .homewrap .front .swiper-slide:first-of-type {
  pointer-events:
}

body .homewrap .front .swiper-slide img, body .homewrap .front .swiper-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body .homewrap .front .swiper-pagination {
  position: fixed;
  bottom: -2px;
  display: table;
  border-spacing: 20px;
}

.swiper-pagination .swiper-pagination-bullet {
  display: table-cell;
  border-radius: 20px;
  height: 3px;
  background-color: #FFCFFA;
  border-spacing: 20px;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #FF42EC;
}

.pass {
  z-index: 300;
}

#login {
  display: none;
}
.showlogin #login{
    display: inline-block;
}
.showlogin #enterpassword{
  display: none;
}

.shake {
  animation: shake 0.5s;
}
#popup{
  position: fixed;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  z-index: 10000;
  background-color: white;
  padding: 40px;
  border-radius: 12px;
 -webkit-box-shadow: 0 0 12px 0 rgba(0,0,0,0.2);
box-shadow: 0 0 12px 0 rgba(0,0,0,0.2);
}
.showingvideo .swiper-slide,.showingvideo .project{
  opacity: 0 !important;
}
.lastinrow{
  border:solid 1px red;
}
.playbutton{
  border: 0;
  background: transparent;
  box-sizing: border-box;
  width: 0;
  height: 30px;
  border-color: transparent transparent transparent white;
  border-style: solid;
  border-width: 20px 0 20px 35px;
  /* height: 6px; */
  position: absolute;
  cursor: pointer;
  z-index: 2;
  display: none;
}
.logoimitation{
  position: fixed;
width: 100%;
display: flex;
height: 100vh;
justify-content: center;
align-content: center;
align-items: center;
top: 0px;
display: none;
}
.logoimitation.show{
  display: flex;
}
@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
