@import url("reset.css");
@import url("fonts.css");

body {
  font-family: "Poppins", sans-serif;
  color: #eeebeb;
  font-size: 18px;
  font-style: normal;
}
.wrapper {
  min-height: 100%;
  overflow: clip;
}
.header,
.footer {
  background-color: #bbdbf8;
  width: 100%;
  padding: 10px;
  font-size: 12px;
}

[class*="-container"]:not(h1) {
  padding: 30px;
  margin: 0 auto;
  width: 100%;
}

/* ///////////////////////////////////// */

.picture-container {
  background-color: #c3eefc7a;
  height: 900px;
  width: 100%;
  position: relative;
  animation: day-to-night 10s infinite alternate;
}

.decorations {
  position: relative;
}

.decorations__sun {
  position: absolute;
  z-index: 1;
  top: 60px;
  left: 50px;
  background-color: #fbdc7edc;
  box-shadow: 5px 10px 80px 20px #fbdc7edc;
  border: 3px dotted #fbd668;
  outline: 3px double #fbd668;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: sun-fade 10s infinite alternate;
}

.decorations__moon {
  position: absolute;
  top: 60px;
  left: 50px;
  width: 100px;
  height: 100px;
  background-color: #f1f1f1;
  border-radius: 50%;
  opacity: 0;
  animation: moon-fade 10s infinite alternate;
}
.decorations__moon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 100px;
  height: 100px;
  background-color: #0a1b3d;
  border-radius: 50%;
  opacity: 0;
  animation: moon-before 10s infinite alternate;
}
.decorations__stars {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.decorations__stars div {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: stars-fade 10s infinite alternate;
}

.decorations__star01 {
  top: 0;
  left: 850px;
  width: 2px;
  height: 2px;
}
.decorations__star02 {
  top: 40px;
  left: 600px;
  width: 2px;
  height: 2px;
}

.decorations__star03 {
  top: 160px;
  right: 380px;
  width: 2px;
  height: 2px;
}
.decorations__star04 {
  top: 300px;
  right: 320px;
  width: 2px;
  height: 2px;
}
.decorations__star05 {
  top: 120px;
  left: 350px;
  width: 1px;
  height: 2px;
}
.decorations__star06 {
  top: 180px;
  left: 510px;
  width: 2px;
  height: 2px;
}
.decorations__star07 {
  top: 20px;
  right: 550px;
  width: 2px;
  height: 2px;
}
.decorations__star08 {
  top: 200px;
  left: 350px;
  width: 1px;
  height: 2px;
}
.decorations__star09 {
  top: 260px;
  left: 50px;
  width: 2px;
  height: 2px;
}
.decorations__star10 {
  top: 30px;
  left: 40px;
  width: 2px;
  height: 1px;
}
.decorations__star11 {
  width: 5px;
  height: 5px;
  top: 40px;
  left: 170px;
}
.decorations__star12 {
  top: 100px;
  left: 300px;
  width: 1px;
  height: 2px;
}
.decorations__star13 {
  top: 70px;
  right: 100px;
  width: 2px;
  height: 2px;
}
.decorations__star14 {
  top: 160px;
  left: 550px;
  width: 2px;
  height: 2px;
}
.decorations__star15 {
  top: 30px;
  right: 30px;
  width: 3px;
  height: 3px;
}

.decorations__star16 {
  top: 210px;
  right: 640px;
  width: 2px;
  height: 2px;
}
@keyframes moon-before {
  0% {
    background-color: #c3eefc;
    opacity: 0;
  }
  50% {
    background-color: #7a9bc9;
    opacity: 0.5;
  }
  100% {
    background-color: #0a1b3d;
    opacity: 1;
  }
}
@keyframes day-to-night {
  0% {
    background-color: #c3eefc;
  }
  50% {
    background-color: #7a9bc9;
  }
  100% {
    background-color: #0a1b3d;
  }
}

@keyframes sun-fade {
  0% {
    opacity: 1;
    box-shadow: 5px 10px 80px 20px #fbdc7edc;
  }

  30% {
    opacity: 0.1;
  }

  55% {
    opacity: 0.01;
  }

  70% {
    opacity: 0;
    top: 650px;
  }

  100% {
    opacity: 0;
  }
}

@keyframes moon-fade {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    box-shadow: 0 2px 7px #f1f1f1;
  }
}

@keyframes stars-fade {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
    box-shadow: 0px 0px 1px 1px #fdfff3;
  }
}
@keyframes clouds-fade {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.1;
  }

  80% {
    opacity: 0;
    top: 600px;
  }
  100% {
    opacity: 0;
  }
}

.decorations__clouds {
  top: 130px;
  left: 170px;
  width: 350px;
  height: 20px;
  z-index: 1;
  border-top-left-radius: 50%;
  border-top-right-radius: 90%;
  border-bottom-right-radius: 10%;
  border-bottom-left-radius: 50%;
  position: relative;
  background-color: #ffffff;
  box-shadow: 5px 20px 180px 30px #cbf5ffe4;
  animation: clouds-fade 10s infinite alternate;
}

.decorations__cloud01 {
  position: absolute;
  z-index: 1;
  top: -50px;
  left: 170px;
  width: 90px;
  height: 70px;
  background-color: #ffffff;
  border-radius: 40px;
}
.decorations__cloud02 {
  position: absolute;
  z-index: 1;
  top: -30px;
  left: 120px;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border-radius: 50%;
}
.decorations__cloud03 {
  position: absolute;
  z-index: 1;
  top: -50px;
  left: 10px;
  width: 80px;
  height: 70px;
  background-color: #ffffff;
  border-radius: 80px;
}
.decorations__cloud04 {
  position: absolute;
  z-index: 1;
  top: -80px;
  left: 70px;
  width: 70px;
  height: 90px;
  background-color: #ffffff;
  border-radius: 50%;
}
.decorations__cloud05 {
  position: absolute;
  z-index: 1;
  top: -35px;
  left: 255px;
  width: 80px;
  height: 55px;
  background-color: #ffffff;
  border-radius: 50%;
}
.decorations__cloud-small {
  top: 200px;
  left: 20px;
  width: 150px;
  height: 30px;
  z-index: 5;
  position: relative;
  background-color: #ffffff04;
  animation: clouds-fade 10s infinite alternate;
}
.decorations__cloud-new {
  top: 250px;
  right: 450px;
  z-index: 5;
  position: absolute;
  animation: clouds-fade 10s infinite alternate;
}
.decorations__cloud06 {
  position: absolute;
  z-index: 5;
  top: -30px;
  left: 40px;
  width: 70px;
  height: 90px;
  background-color: #ffffff;
  border-radius: 50%;
}
.decorations__cloud07 {
  position: absolute;
  z-index: 5;
  top: -10px;
  left: -10px;
  width: 70px;
  height: 55px;
  background-color: #ffffff;
  border-radius: 50%;
}
.decorations__cloud08 {
  position: absolute;
  z-index: 5;
  top: -15px;
  left: 70px;
  width: 100px;
  height: 70px;
  background-color: #fff;
  border-radius: 50%;
}
.decorations__cloud-big {
  top: 0;
  left: 620px;
  z-index: 5;
  position: relative;
  animation: clouds-fade 10s infinite alternate;
}
.decorations__cloud-right {
  top: 100px;
  right: 400px;
  z-index: 5;
  position: absolute;
  animation: clouds-fade 10s infinite alternate;
}
.decorations__cloud09 {
  position: absolute;
  z-index: 5;
  top: -10px;
  left: 10px;
  width: 100px;
  height: 70px;
  background-color: #fff;
  border-radius: 50%;
}
.decorations__cloud10 {
  position: absolute;
  z-index: 5;
  top: -15px;
  left: 90px;
  width: 110px;
  height: 100px;
  background-color: #fff;
  border-radius: 50%;
}
.decorations__cloud11 {
  position: absolute;
  z-index: 5;
  top: -15px;
  left: 160px;
  width: 140px;
  height: 110px;
  background-color: #fff;
  border-radius: 50%;
}
.decorations__cloud12 {
  position: absolute;
  z-index: 5;
  top: -10px;
  left: 240px;
  width: 100px;
  height: 70px;
  background-color: #fff;
  border-radius: 50%;
}
.car {
  position: absolute;
  bottom: 150px;
  left: 300px;
  width: 500px;
  height: 200px;
  z-index: 6;
  background-color: #1f1c1c;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  perspective: 500px;
  box-shadow: 50px 140px 60px rgb(0, 0, 0, 0.4);
}

.car__roof {
  transform: rotateX(30deg);
  position: absolute;
  bottom: 160px;
  left: 55px;
  width: 400px;
  height: 200px;
  z-index: 6;
  background-color: #1f1c1c;
  border-top-left-radius: 70px;
  border-top-right-radius: 70px;
}
.car__window {
  transform: rotateX(30deg);
  position: absolute;
  bottom: 190px;
  left: 85px;
  width: 340px;
  height: 130px;
  z-index: 6;
  background-color: #ffffffbd;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  animation: window-dark 10s infinite alternate;
}

@keyframes window-dark {
  0% {
    background-color: #ffffffbd;
  }
  75% {
    background-color: #4f4d4dbd;
  }
  100% {
    background-color: #292828bd;
  }
}

.car__steering-wheel {
  position: absolute;
  top: -25px;
  right: 80px;
  width: 100px;
  height: 70px;
  z-index: 6;
  border: 10px solid #1f1c1caf;
  border-radius: 50%;
}

.headlights {
  position: relative;
  top: 50px;
  left: 45px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  z-index: 7;
}

.headlights__left {
  display: inline-block;
  margin-right: 190px;
  width: 110px;
  height: 40px;
  background-color: #f9f1daee;
  border-top-left-radius: 5px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 50px;
  transform: rotate(10deg);
  animation: headlights-fade 10s infinite alternate;
}

.headlights__right {
  display: inline-block;
  width: 110px;
  height: 40px;
  background-color: #f9f1daee;
  border-top-left-radius: 50px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 5px;
  transform: rotate(-10deg);
  animation: headlights-fade 10s infinite alternate;
}

@keyframes headlights-fade {
  0% {
    box-shadow: none;
  }
  70% {
    box-shadow: 0px 0px 5px 5px #fdfff3;
  }
  100% {
    box-shadow: 0px 10px 15px 15px #ffffff;
  }
}

.car__audi {
  transform: rotateX(20deg);
  position: absolute;
  bottom: 50px;
  left: 50px;
  z-index: 6;
}
.wheels__left {
  position: absolute;
  bottom: -20px;
  left: 10px;
  width: 100px;
  height: 40px;
  background-color: #1f1c1c;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.wheels__right {
  position: absolute;
  bottom: -20px;
  right: 10px;
  width: 100px;
  height: 40px;
  background-color: #1f1c1c;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.mirrors__left {
  position: absolute;
  top: -40px;
  left: 3px;
  width: 40px;
  height: 30px;
  background-color: #1f1c1c;
  border-top-left-radius: 10px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 30px;
}
.mirrors__right {
  position: absolute;
  top: -40px;
  right: -8px;
  width: 40px;
  height: 30px;
  background-color: #1f1c1c;
  border-top-right-radius: 10px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 5px;
}

.road {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  background-color: #2c2c2c94;
  overflow: hidden;
  z-index: 1;
}

.road__line {
  position: absolute;
  top: 0;
  left: 510px;
  width: 20px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    #ffffff 0px,
    #ffffff 40px,
    transparent 40px,
    transparent 80px
  );
  transform: translateX(-50%);
  animation: move-line 1s linear infinite;
  opacity: 0.8;
  transform: rotateY(20deg);
}

@keyframes move-line {
  from {
    background-position-y: 140px;
  }
  to {
    background-position-y: 0;
  }
}
