* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Courier New", sans-serif;
  background: #fffff5;
}

main {
  background: #fff no-repeat center top / cover;
  border: 2px solid #62b762;
  border-radius: 10px;
  margin: 20px auto;
  width: 42%;
  min-height: 95vh;
  box-shadow: 0 0.1rem 1.5rem rgb(40 36 89 / 20%),
    0 0.25rem 0.4rem rgb(40 36 89 / 15%);
}

.container {
  background: #fff no-repeat center top / cover;
  border: 3px solid #058abb;
  border-radius: 10px;
  margin: 20px 27px;
  padding-bottom: 50px;
  min-height: 95vh;
  box-shadow: 0 0.1rem 1.5rem rgb(40 36 89 / 20%),
    0 0.25rem 0.4rem rgb(40 36 89 / 15%);
}

h1 {
  text-decoration: none;
  color: #183418;
  text-align: center;
  font-size: 24px;
  line-height: 1.7em;
  font-weight: bold;
  display: block;
  margin-top: 10px;
  text-shadow: 7px 7px 5px rgba(147, 150, 150, 0.47);
}

.perspecitive-container {
  margin-left: 50%;
  margin-top: 40px;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50px;
}
#kader {
  transform-origin: 50% 50%;
  position: relative;
  animation: rotateKader 8s infinite linear;
  perspective: 500px;
  transform-style: preserve-3d;
  z-index: 10;
}
@keyframes rotateKader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

marquee {
  background: #fff no-repeat center top / cover;
  border: 3px solid #fff;
  border-radius: 50px;
  height: 40px;
  margin: -8px 20px 5px 20px;
  font-weight: bold;
  text-decoration: none;
  color: #005640;
  font-style: normal;
  font-size: 18px;
  line-height: 2.4em;
}

.container h2 {
  text-align: center;
  color: #333;
}

.links {
  /* list-style-type: none; */
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.links a {
  background: #fff;
  border: 3px solid #418b41;
  border-radius: 15px;
  margin: 10px 30px;
  padding: 2px 5px;
  text-align: center;
  text-decoration: none;
  color: #183418;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.8em;
  box-shadow: 17px 24px 19px -22px rgba(0, 0, 0, 1);
  cursor: pointer;
}
.links a:hover {
  background-image: -webkit-linear-gradient(top, #fff, #e2e2e2);
  background-image: linear-gradient(top, #fff, #f4f1ee);
}

.links p {
  margin: 5px 0 0;
  color: #666;
  font-size: 16px;
}

.tel_0,
.tel_Viber,
.tel_tg,
.tel_wta {
  background: #fcfeff;
  border: 4px solid #4ab025;
  border-radius: 50px;
  width: 40%;
  height: 40px;
  display: block;
  margin-top: 60px;
  margin-left: 50%;
  padding-top: 4px;
  transform: translate(-50%, -50%);
  text-decoration: none;
  color: #077804;
  font-style: normal;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  box-shadow: 2px 12px 22px -8px rgba(25, 65, 27, 0.51);
}

.tel_0,
.tel_Viber,
.tel_tg,
.tel_wta:hover {
  background-image: -webkit-linear-gradient(top, #fff, #e4ffcf);
  background-image: linear-gradient(top, #fff, #f4f1ee);
}

.qrcodetel-mecard {
  border: 4px solid #4ab025;
  border-radius: 50px;
  margin-left: 50%;
  margin-top: 100px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 2px;
  padding-right: 2px;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 10px;
  box-shadow: 2px 12px 22px -8px rgba(25, 65, 27, 0.51);
  margin-bottom: -50px;
}

svg {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1440px) {
  main {
    width: 60%;
  }

  .tel_0,
  .tel_Viber,
  .tel_tg,
  .tel_wta {
    width: 60%;
  }
}

@media screen and (max-width: 1040px) {
  main {
    width: 70%;
  }

  .links {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .links a {
    line-height: 1.5em;
  }

  .tel_0,
  .tel_Viber,
  .tel_tg,
  .tel_wta {
    width: 80%;
  }
}

@media screen and (max-width: 600px) {
  main {
    margin: 20px auto;
    width: 80%;
  }
}
