
* {
  margin: 0;
  padding: 0;
}

body {
  background-image: url(../images/IMG_20240509_192703_1.jpg);
  font-family: 'Nunito', sans-serif;
}

/* Наполнение страницы menu */


.conteyner {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(2);
  margin-top: 2em;
  /* border-style: solid;
  border-width: 0.5px;
  border-color: rgb(147, 177, 167);
  border-radius: 5px; */
}

.card {
  margin-top: 1em;
 
}
video {
    position: absolute;
    margin-top: 4em;
    -o-object-fit: cover;
    object-fit: cover;
    width: 20vw;
    height: 22vw;
    border-radius: 100% 100% 100% 100%;
    -webkit-box-shadow: 0px 1px 5px 17px #adddf3;
    box-shadow: 0px 1px 5px 17px #adddf3;
    padding-bottom: 0vw;
    padding-top: 5vw;
    padding-left: 0vw;
    padding-right: 0vw;
    margin-right: 5vw;
}
/* .overlay {
  min-height: 100vh; Минимальная высота, чтобы текст занимал всю высоту окна
  display: flex;
  align-items: center;
  justify-content: center; Центрирование контента
  color: white; Цвет текста
  font-size: 24px; Размер шрифта
  mix-blend-mode: overlay; Контрастный эффект
}
 */


@media (max-width: 1000px) {
  .conteyner {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3);
  }
  .text-card {
   
   /*  margin-inline: 0; */
     display: none;
  }
}

@media (max-width: 600px) {
  .conteyner {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6);
  }
  .card {
   /*  margin-inline: 0; */
    display: none;
  }
  .text-card {
   
   /*  margin-inline: 0; */
     display: none;
  }
  
}


.text-card {
  /* background: #052d1380; */
  color: rgb(249, 252, 252);
}

h3 {
  text-align: center;
  margin-top: 2em;
  padding-top: 2em;
  margin-bottom: 1em;
  font-size: 1.8em;
  color: rgb(249, 252, 252);
}


/* .text-card> {
   font-size: 1.5em;
    padding-inline: 4em;
    font-style: italic;
} */

/* Кнопка записаться */
.card-button {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}

/* .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.button {
  min-width: 300px;
  min-height: 60px;
  display: inline-flex;
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  /* трансформирует регистр текста (заглавные буквы)*/
  text-align: center;
  letter-spacing: 1.3px;

  /* межбуквенный интервал */
  font-weight: 700;
  /* насыщенность шрифта: 400 обычный 700 жирный*/
  color: #313133;
  /* background: #4FD1C5; */
  background: linear-gradient(90deg, rgb(81, 214, 19) 0%, rgba(79, 209, 197, 1) 100%);
  border: none;
  border-radius: 1000px;
  box-shadow: 12px 12px 24px rgb(81, 214, 19);
  transition: all 0.3s ease-in-out 0s;
  /* переходы*/
  /* all - сброс*/
  /* ease медленное ускорение и медленное замедление */
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 10px;
  margin-top: 1em;
  margin-bottom: 1em;
}

.button::before {
  /* добавление без изменения в html*/
  content: '';
  border-radius: 1000px;
  min-width: calc(300px + 12px);
  min-height: calc(60px + 12px);
  border: 6px solid rgb(81, 214, 19);
  box-shadow: 0 0 60px rgb(81, 214, 19);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* сдвиг элемента на половину*/
  opacity: 0;
  transition: all .3s ease-in-out 0s;
}

.button:hover,
.button:focus {
  color: #313133;
  transform: translateY(-6px);
}

.button:hover::before,
.button:focus::before {
  opacity: 1;
}

.button::after {
  content: '';
  width: 30px;
  height: 30px;
  border-radius: 100%;
  border: 6px solid rgb(81, 214, 19);
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 1.5s infinite;
}

.button:hover::after,
.button:focus::after {
  animation: none;
  display: none;
}
/* @keyframes ring {
  0% {
    width: 30px;
    height: 30px;
    opacity: 1;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
} */
/* Закончилась кнопка */
.card-text {
  position: absolute;
  bottom: 150px;
  right: 400px;

  /* background-color: #052d1380; */
  padding: 1em;
  padding-bottom: 0.5em;
  width: 400px;
  border-radius: 10px;
  box-shadow: 5px 0 5px 0;
}

.card-text>p {
  font-weight: 700;
  padding: 1em;
}



.tema-lin {
  height: 1em;
  background: none;
}

.tema {
  height: 100%;
  background: aliceblue;
}

.transmiss {
  display: block;
  justify-content: center;
  align-items: center;
  padding-bottom: 2em;
}

.tarif>h3 {
  color: rgb(22, 89, 49);
  padding: 1em;
}

.mehanika,
.avtomat {
  display: flex;
  justify-content: center;
  background-color: rgb(9, 41, 18);
  margin-inline: 2em;
  margin-bottom: 2em;
  margin-left: 15%;
  padding: 0.5em;
  width: 70%;
  border-radius: 20px;

}

.mehanika>ul>h4,
.avtomat>ul>h4 {

  color: rgb(218, 236, 230);
  margin-top: 1em;
  margin-bottom: 0;
  font-size: 1.5em;
}

.mehanika>ul>li,
.avtomat>ul>li {
  list-style: none;
  color: rgb(218, 236, 230);
  padding: 0.2em;
}

.mehanika>ul>li>span,
.avtomat>ul>li>span {
  color: brown;
  /* font-weight: 700; */
}
/* .mehanika b {
    font-size: 2em;
} */

.contact>p {
  color: aliceblue;
  display: flex;
  justify-content: center;
  padding: 1em;
  margin-bottom: 2em;
  font-size: 1.5em;
}

.contact a {
  padding: 0.5em;
}

.footer {
  /* flex-shrink: 0; */
  background-color: rgb(255, 199, 171);
  font-size: 12px;
  padding: 2em;
}

.footer a {
  color: black;
}

.footer a:hover {
  color: aquamarine;
}

.footer li {
  list-style: none;
}

.footer-text {
  display: block;
  /* justify-content: space-around; */
  padding-left: 40%;

}
@media (max-width: 480px) {
   .footer-text {
  display: block;
  /* justify-content: space-around; */
  padding-left: 10px;
  padding-right: 5px;
    }
    .footer a {
  color: #118524;
    }
}

/* .footer-contact {
  margin-left: 5em;
}

.footer-icon {
  margin-top: 1.8em;
}

.razrabotka {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-style: italic;
  margin-top: 5.2em;
}
 */
#special {
  display: flex;
  justify-content: space-between;
  border: aliceblue;
  color: aliceblue;
}

.special-panel {
  display: flex;
  justify-content: space-between;
}

#special-settings-body {
  display: flex;
  justify-content: space-between;
}

hr {
  display: flex;
  justify-content: space-between;
}

.zoom-effect {
  transition: 1c;
}

.zoom-effect:hover {
  transform: scale(2);
  border: none;
  width: 150px;
  background-color: darkgreen;
}

#glaz {
  position: fixed;
  background-color: aliceblue;
  border-radius: 5px;
  top: 10px;
  right: 10px;
  z-index: 99999;
  width: 60px;
  
}
/* #glaz:hover {
  display: inline;
} */

@media screen and (max-width: 980px) {
  #glazd {
      position:absolute;
      top:10px;
      /* right:200px; */
      z-index: 99999;
      width:50px;
  }
}
@media screen and (min-width: 980px) {
  #glazd {
      position:absolute;
      top:20px;
      left:50px;
      z-index: 99999;
      width:50px;
  }
}
