* {
  box-sizing: border-box;
}
footer {
  display: flex;
  align-items: center;
  padding: 10px;
  justify-content: space-between;
}
footer p {
  margin: 0;
}

footer a {
  text-decoration: none;
  color: #000;
  text-align: right;
}
body {
  background-color: #ececec;
  font-family: "Open Sans", sans-serif;
  height: 100vh;
  margin: 0;
  overflow-x: hidden;
}
.main-wrap {
  /* background-color: rgb(68, 158, 90); */
  background-image: url(../img/Dnipro-2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 65%;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
span.about {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 2;
}
.popup-wrap {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  display: none;
}
.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
}
.popup-inner {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup {
  width: 50%;
  background: #fff;
  position: relative;
  z-index: 2;
  padding: 50px;
}
.popup h2 {
  color: #000;
  text-align: left;
  font-size: 20px;
  margin: 0;
}
span.close {
  position: absolute;
  top: 10px;
  right: 10px;
  line-height: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}
h1 {
  color: #ffffff;
  font-size: 50px;
  margin-top: 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 999;
  text-align: center;
}
h2 {
  color: #ffffff;
  font-size: 28px;
  margin: 0 0 20px;
  position: relative;
  text-align: center;
  z-index: 999;
}

a.fb-btn {
  width: 60%;
  margin-top: 30px;
  position: relative;
  text-decoration: none;
  z-index: 999;
}

.fb-btn::after {
  content: "";
  position: absolute;
  width: 10vw;
  height: 10vw;
  display: block;
  background-image: url(../img/monkey.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  right: -30px;
}

a.fb-btn > span:first-child {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1e96c8;
  font-size: 24px;
  padding: 10px;
  line-height: 1.55;
  font-weight: 600;
  border-width: 1px;
  border-radius: 30px;
  background-color: #ffffff;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

a.fb-btn:hover span:first-child {
  background-color: #3b5998;
  color: #fff;
}
.fb-btn > span:first-child svg {
  width: 25px;
  height: 25px;
  fill: #1e96c8;
}
a.fb-btn:hover span:first-child svg {
  fill: #fff !important;
}
span.icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  width: 130px;
  height: 130px;
  top: 50%;
  transform: translateY(-50%);
}
span.icon svg {
  width: 130px;
  height: 130px;
}
[data-typer]:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 1em;
  background: #fff;
  animation: caretPulsate 1s linear infinite;
  -webkit-animation: caretPulsate 1s linear infinite;
}
@keyframes caretPulsate {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes caretPulsate {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.image {
  width: 16vw;
  height: 16vw;
  z-index: 10;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  border: 10px solid #fff;
  position: absolute;
  overflow: hidden;
  box-shadow: 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff,
    0px 0px 10px #fff;
}

.image.image1 {
  left: 5%;
  top: 10%;
  position: absolute;
  background-image: url("../img/1.jpeg");
}
.image.image2 {
  left: 50%;
  transform: translateX(-50%);
  top: 1%;
  background-image: url("../img/2.jpg");
}
.image.image3 {
  right: 5%;
  top: 10%;
  position: absolute;
  background-image: url("../img/3.jpeg");
}
.image.image4 {
  left: 5%;
  bottom: 10%;
  position: absolute;
  background-image: url("../img/4.jpg");
}
.image.image5 {
  left: 50%;
  transform: translateX(-50%);
  bottom: 1%;
  background-image: url("../img/5.jpg");
}
.image.image6 {
  right: 5%;
  bottom: 10%;
  position: absolute;
  background-image: url("../img/6.jpg");
}
img.balloon {
  right: 3%;
  position: absolute;
  z-index: 1;
  width: 20vw;
  top: 7%;
}
img.green-bird {
  position: absolute;
  z-index: 1;
  width: 7vw;
  left: 7%;
  top: 43%;
}
img.ufo {
  left: 21%;
  position: absolute;
  width: 21vw;
}
img.boy {
  position: absolute;
  right: 26%;
  z-index: 1;
  width: 11vw;
}
img.girl {
  position: absolute;
  z-index: 1;
  left: 23%;
  bottom: 0;
  width: 12vw;
}
footer > div:last-child {
  text-align: right;
}
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;
}
footer * {
  color: #fff;
}
footer a {
  color: #fff !important;
}
.popup a {
  color: #000 !important;
}
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 50px;
  }
  h2.type {
    font-size: 20px;
  }
  a.fb-btn {
    width: 90%;
    margin-top: 50px;
    position: relative;
  }
  .image {
    width: 150px;
    height: 150px;
  }
  img.balloon {
    max-width: 190px;
    top: 9%;
  }
}

@media screen and (max-width: 767px) {
  .popup {
    width: 95%;
    background: #fff;
    position: relative;
    z-index: 2;
    padding: 20px;
  }
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    justify-content: space-between;
  }
  a.fb-btn {
    width: 90%;
    margin-top: 0;
    position: relative;
  }
  footer > div {
    text-align: center;
  }
  h1 {
    font-size: 25px;
  }
  h2.type {
    font-size: 16px;
  }
  a.fb-btn {
    width: 100%;
  }
  a.fb-btn > span:first-child {
    font-size: 15px;
    justify-content: flex-start;
  }
  .fb-btn > span:first-child svg {
    width: 18px;
    height: 18px;
    fill: #1e96c8;
  }
  span.icon,
  span.icon svg {
    width: 80px;
    height: 80px;
  }
  .image {
    border: 5px solid #fff;
    width: 80px;
    height: 80px;
  }
  img.balloon {
    width: 27vw;
    top: 9%;
  }
  img.ufo {
    left: 2%;
    width: 30vw;
  }
  img.boy {
    width: 22vw;
    right: unset;
    transform: translateX(-50%);
    left: 50%;
  }
  img.girl {
    left: 50%;
    transform: translateX(-50%);
    width: 23vw;
    bottom: 11%;
  }
  .fb-btn::after {
    width: 80px;
    height: 80px;
    right: -18px;
  }
  img.green-bird {
    left: 21%;
    top: unset;
    bottom: 3%;
    width: 15vw;
  }

  .image.image1 {
    left: 5%;
    top: 30px;
  }
  .image.image2 {
    left: 50%;
    top: 10px;
  }
  .image.image3 {
    right: 5%;
    top: 30px;
  }
  .image.image4 {
    left: 5%;
    bottom: 30px;
  }
  .image.image5 {
    left: 50%;
    bottom: 10px;
  }
  .image.image6 {
    right: 5%;
    bottom: 30px;
  }
}

@media screen and (max-width: 400px) {
  h1 {
    font-size: 22px;
  }
}
