*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: #56593d;
}

.container {
  max-width: 1390px;
  margin: 0 auto;
  padding: 0 15px;
}

.header__inner {
  background-color: #fafafa;
  border-radius: 5px;
  box-shadow: 15px 0 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
}

details {
  background-color: #fafafa;
  color: #022247;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 10px;
  cursor: pointer;
}

summary {
  font-weight: 600;
}

.vis__aero {
  padding: 10px;
  background-color: #fafafa;
  border-radius: 10px;
  color: #022247;
  cursor: pointer;
  display: inline-grid;
}

.aero__link {
  position: relative;
  color: #022247;
  padding: 5px 0;
  margin-bottom: 10px;
}

.aero__link:hover {
  text-decoration: none;
}

.aero__link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #022247;
  bottom: 1px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.aero__link:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.aero__link:last-child {
  margin-bottom: 0;
}

.alert__text {
  text-align: center;
  display: block;
  margin: 0 auto;
  background-color: #cedf3a;
  padding: 5px;
  color: #000;
  font-size: 20px;
}
button {
  padding: 5px 10px;
  border: 1px solid #022247;
  border-radius: 5px;
}

.root {
  margin-top: 20px;
}

.btn__3d {
  margin-top: 10px;
  transition: all 0.3s;
}

.btn__3d:hover {
  background-color: #022247;
  color: #fafafa;
}

p {
  margin-top: 5px;
}

.btn__box-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.popup {
  display: none; /* Скрыт по умолчанию */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  width: 1200px;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
}

.popup-tutor {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
}

.popup-video {
  margin-top: 10px;
}

.close-btn {
  position: absolute;
  top: -50px;
  right: -50px;
  background: none;
  border: none;
  font-size: 45px;
  cursor: pointer;
  color: #d1d434;
}

.close-btn:focus {
  outline: none;
}

.popup video {
  width: 100%;
  height: auto;
}
