* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  overflow-x: hidden;
}

#box1 {
  background: #fff;
  height: 100%;
  padding: 20px;
  border: none;
}

#box2 {
  background: #161616;
  padding: 20px;
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  animation: go 2s 2s forwards;
}

.menu {
  overflow: hidden;
  /* position: fixed; */
  /* background: #161616; */
  /* top: 0; */
  width: 100%;
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover {
  color: #6b8e23;
}

nav {
  width: 100%;
  float: none;
  background: #161616;
  height: 80px;
  margin-top: -20px;
  position: absolute;
  position: sticky;
  top: 0;
}

ul.menu {
  list-style-type: none;
}

ul.menu li a {
  font-family: cursive;
  display: flex;
  background: #353535;
  padding: 10px;
  margin: 20px;
  float: left;
  font-size: 20px;
  border-radius: 30px 10px;
  transform: translateX(0);
  transition: all 0.5s;
}

ul.menu li a:hover {
  background: #fff;
  transform: translateX(30px);
}

section {
  background: #161616;
  padding: 20px;
  width: 100%;
  /* height: 100%; */
}

#box3,
#box6 {
  background: #6b8e23;
}

#box4,
#box7 {
  background: rgb(109, 54, 238);
}

#wrap {
  height: 400px;
  overflow: hidden;
}

#box1 img {
  width: 180px;
  height: 180px;
  margin: 0;
  left: 45%;
  position: relative;
  top: 500px;
  animation: up 1s 1s forwards;
  z-index: 0;
}

.cube {
  position: relative;
  width: 300px;
  height: 300px;
  margin-left: 1300px;
  margin-top: -230px;
  transform-style: preserve-3d;
  transform: rotateX(-30deg);
  animation: animate 4s linear infinite;
}

.cube div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.cube div span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#353535, #ff00ff);
  transform: rotateY(calc(90deg * var(--i))) translateZ(150px);
}

.top .cube {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: #353535;
  transform: rotateX(90deg) translateZ(150px);
}

.top {
  transform: translateY(-150px) rotateX(90deg);
  width: 400px;
  height: 300px;
  background-color: #353535;
}

.top:before {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  width: 300px;
  height: 300px;
  background: #ff00ff;
  transform: translateZ(-350px);
  filter: blur(20px);
}

#box2 h1 {
  color: #fff;

  font-size: 50px;
  width: 450px;
  margin-left: 450px;
  margin-top: 260px;
}

section h1 {
  color: #fff;
  font-size: 50px;
  margin-left: 100px;
}

.textcols {
  white-space: nowrap;
}

.textcols-item {
  white-space: normal;
  display: inline-block;
  width: 50%;
  vertical-align: top;
  display: inline-block;
}

p {
  font-family: cursive;
}

h1 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

#box3 p {
  color: #fff;
  margin-top: 20px;
  margin-left: 20%;
  font-size: 40px;
}

#box4 p {
  color: #fff;
  font-size: 40px;
  margin-left: 20%;
  margin-top: 20px;
}

.ball {
  border-radius: 50%;
  position: absolute;
  animation: ball 1s alternate infinite;
}

#ball1 {
  top: 150px;
  left: 300px;
  width: 30px;
  height: 30px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball2 {
  top: 200px;
  left: 100px;
  width: 80px;
  height: 80px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball3 {
  top: 350px;
  left: 400px;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball4 {
  top: 600px;
  left: 50px;
  width: 60px;
  height: 60px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball5 {
  top: 400px;
  left: 180px;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball6 {
  top: 250px;
  left: 700px;
  width: 55px;
  height: 55px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball7 {
  top: 750px;
  left: 255px;
  width: 150px;
  height: 150px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball8 {
  top: 590px;
  left: 615px;
  width: 66px;
  height: 66px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball9 {
  top: 730px;
  left: 900px;
  width: 70px;
  height: 70px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball10 {
  top: 175px;
  left: 955px;
  width: 90px;
  height: 90px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball11 {
  top: 400px;
  left: 1000px;
  width: 110px;
  height: 110px;
  box-shadow: 0 0 8px 3px #6b8e23 inset;
  animation-delay: 1s;
}

#ball12 {
  top: 1060px;
  left: 54px;
  width: 60px;
  height: 60px;
  box-shadow: 0 0 15px 1px #ff00ff inset;
  animation-delay: 1s;
}

#ball13 {
  top: 1760px;
  left: 54px;
  width: 60px;
  height: 60px;
  box-shadow: 0 0 15px 1px #ff00ff inset;
  animation-delay: 1s;
}

#ball14 {
  top: 1733px;
  left: 104px;
  width: 30px;
  height: 30px;
  box-shadow: 0 0 7px 1px #ff00ff inset;
  animation-delay: 1s;
}

#ball15 {
  top: 1020px;
  left: 860px;
  width: 80px;
  height: 80px;
  box-shadow: 0 0 15px 1px #ff00ff inset;
  animation-delay: 1s;
}

#ball16 {
  top: 1095px;
  left: 830px;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 9px 1px #ff00ff inset;
  animation-delay: 1s;
}

#ball17 {
  top: 1600px;
  left: 955px;
  width: 35px;
  height: 35px;
  box-shadow: 0 0 7px 1px #ff00ff inset;
  animation-delay: 1s;
}

#ball18 {
  top: 1950px;
  left: 920px;
  width: 60px;
  height: 60px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

#ball19 {
  top: 1920px;
  left: 965px;
  width: 35px;
  height: 35px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

#ball20 {
  top: 2020px;
  left: 70px;
  width: 70px;
  height: 70px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

#ball21 {
  top: 2400px;
  left: 210px;
  width: 75px;
  height: 75px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

#ball22 {
  top: 2470px;
  left: 190px;
  width: 25px;
  height: 25px;
  box-shadow: 0 0 5px 1px #353535 inset;
  animation-delay: 1s;
}

#ball23 {
  top: 2520px;
  left: 630px;
  width: 85px;
  height: 85px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

#ball24 {
  top: 2700px;
  left: 350px;
  width: 45px;
  height: 45px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

#ball25 {
  top: 2300px;
  left: 910px;
  width: 50px;
  height: 50px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

#ball26 {
  top: 2140px;
  left: 1080px;
  width: 35px;
  height: 35px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

#ball27 {
  top: 2495px;
  left: 1710px;
  width: 35px;
  height: 35px;
  box-shadow: 0 0 7px 1px #353535 inset;
  animation-delay: 1s;
}

.photos1 {
  width: 350px;
  margin-top: -700px;
  margin-left: 65%;
}

.photos1 a {
  display: block;
  padding: 5px;
}

.pressbox {
  width: 0;
  height: 0;
  position: fixed;
  overflow: hidden;
  left: 0;
  top: 0;
  z-index: 99999;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
}

.foto {
  margin-top: 200px;
}

.pressbox img {
  opacity: 0;
  width: 500px;
  height: 500px;
  padding: 10px;
  margin-top: 0;
  transition: opacity 0.7s ease-in-out;
}

.pressbox:target {
  width: auto;
  height: auto;
  bottom: 0;
  right: 0;
}

.pressbox:target img {
  opacity: 1;
}

video {
  margin-left: 40px;
  display: inline-block;
  margin-top: 20px;
  border-radius: 30px;
  vertical-align: bottom;
}

.demo {
  position: relative;
  padding-top: 50%;
  overflow: hidden;
}

.demo input {
  display: none;
}
.demo img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 900px;
  max-height: 500px;
  transform: translate(-50%, -50%);
}

.demo label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 80%;
  transition: 2s;
}

.demo label,
.demo #on2:checked ~ [for="on2"],
.demo #on1:checked ~ [for="on1"],
.demo #on3:checked ~ [for="on3"],
.demo #on4:checked ~ [for="on4"],
.demo #on5:checked ~ [for="on5"] {
  transform: translateX(-60%) scale(0.7);
  z-index: 2;
}
.demo #on2:checked ~ [for="on4"],
.demo #on1:checked ~ [for="on3"],
.demo #on3:checked ~ [for="on5"],
.demo #on4:checked ~ [for="on1"],
.demo #on5:checked ~ [for="on2"] {
  transform: translateX(60%) scale(0.7);
  z-index: 2;
}
.demo #on2:checked ~ [for="on5"],
.demo #on1:checked ~ [for="on4"],
.demo #on3:checked ~ [for="on1"],
.demo #on4:checked ~ [for="on2"],
.demo #on5:checked ~ [for="on3"],
.demo #on1:checked ~ [for="on5"],
.demo #on2:checked ~ [for="on1"],
.demo #on3:checked ~ [for="on2"],
.demo #on4:checked ~ [for="on3"],
.demo #on5:checked ~ [for="on4"] {
  z-index: 1;
}

.demo #on1:checked ~ [for="on2"],
.demo #on2:checked ~ [for="on3"],
.demo #on3:checked ~ [for="on4"],
.demo #on4:checked ~ [for="on5"],
.demo #on5:checked ~ [for="on1"] {
  transform: translateX(0);
  z-index: 4;
  visibility: visible;
}

footer {
  /* height: 30%; */
  background: #6b8e23;
  padding: 20px;
}


footer h3 {
  text-align: center;
  margin: 20px;
  font-size: 26px;
  color: white;
}

.form-style-6 {
  font: 95% Arial, Helvetica, sans-serif;
  max-width: 400px;
  margin: 10px auto;
  padding: 16px;
  background: #f7f7f7;
}
.form-style-6 h3 {
  background: #43d1af;
  padding: 20px 0;
  font-size: 140%;
  font-weight: 300;
  text-align: center;
  color: #fff;
  margin: -16px -16px 16px -16px;
}
.form-style-6 input[type="text"],
.form-style-6 input[type="date"],
.form-style-6 input[type="datetime"],
.form-style-6 input[type="email"],
.form-style-6 input[type="number"],
.form-style-6 input[type="search"],
.form-style-6 input[type="time"],
.form-style-6 input[type="url"],
.form-style-6 textarea,
.form-style-6 select {
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
  background: #fff;
  margin-bottom: 4%;
  border: 1px solid #ccc;
  padding: 3%;
  color: #555;
  font: 95% Arial, Helvetica, sans-serif;
}
.form-style-6 input[type="text"]:focus,
.form-style-6 input[type="date"]:focus,
.form-style-6 input[type="datetime"]:focus,
.form-style-6 input[type="email"]:focus,
.form-style-6 input[type="number"]:focus,
.form-style-6 input[type="search"]:focus,
.form-style-6 input[type="time"]:focus,
.form-style-6 input[type="url"]:focus,
.form-style-6 textarea:focus,
.form-style-6 select:focus {
  box-shadow: 0 0 5px #43d1af;
  padding: 3%;
  border: 1px solid #43d1af;
}

.form-style-6 input[type="submit"],
.form-style-6 input[type="button"] {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
  padding: 3%;
  background: #43d1af;
  border-bottom: 2px solid #30c29e;
  border-top-style: none;
  border-right-style: none;
  border-left-style: none;
  color: #fff;
}
.form-style-6 input[type="submit"]:hover,
.form-style-6 input[type="button"]:hover {
  background: #2ebc99;
}

@keyframes rotate {
  100% {
    transform: rotateX(360deg);
  }
}

@keyframes animate {
  0% {
    transform: rotateX(-30deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(-30deg) rotateY(360deg);
  }
}

@keyframes go {
  0% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}

@keyframes up {
  0% {
    top: 500px;
  }
  100% {
    top: 200px;
  }
}

@keyframes ball {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(7px, 10px);
  }
}



@media screen and (max-width: 1210px) {
  #box2 h1 {
    font-size: 50px;
    width: 100%;
    margin-left: 50px;
    margin-top: 60px;
  }

  .textcols-item {
    width: 100%;
  }

  .ball {
    display: none;
  }

  .cube {
    display: none;
  }

  video {
    margin-left: 50px;
    width: calc(100% - 100px);
  }

  .photos1 {
    width: 100%;
    margin-top: 40px;
    margin-left: 20%;
  }

  .textcols-item {
    width: 100%;
  }

  #box3 p {
    width: 80%;
    margin-left: 50px;
    padding: 20px;
  }

  @keyframes up {
    0% {
      top: 500px;
    }
    100% {
      top: 10px;
    }
  }
}



@media screen and (max-width: 768px) {
  #box2 h1 {
    font-size: 50px;
    width: 100%;
    margin-left: 50px;
    margin-top: 100px;
  }
}
