html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul[class] {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  cursor: pointer;
}

@font-face {
  font-family: KlyaksonRegular;
  src: url(/fonts/Klyakson.ttf);
}
html, body {
  box-sizing: border-box;
  height: 100%;
  font-family: "KlyaksonRegular";
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  padding-bottom: 82px;
}

.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 376px;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: #f4eef1;
}

.intro__media {
  position: relative;
  width: 100%;
  height: auto;
}

.intro__media-video {
  width: 100%;
  height: auto;
}

.intro__btn {
  display: block;
  position: absolute;
  bottom: 27px;
  left: 150px;
  padding: 5px 10px;
  border: 1px solid green;
  border-radius: 15px;
  font-size: 20px;
  text-transform: uppercase;
  color: green;
  opacity: 0;
  transition: 1s;
  animation: show 2s 1;
  animation-fill-mode: forwards;
  animation-delay: 6s;
}
@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.btn {
  color: green;
}

.wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 376px;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  background: linear-gradient(#839de9, transparent 1px), linear-gradient(90deg, #bbb, transparent 1px);
  background-size: 15px 15px;
  background-position: center center;
}

.main {
  flex-grow: 1;
  padding-top: 80px;
  padding-bottom: 82px;
}

header {
  min-height: 83px;
  position: fixed;
  z-index: 1001;
  top: 0;
  width: 376px;
  border-bottom: 2px solid red;
  background-color: #fff;
}

.header--index {
  min-height: 73px;
}

.header__inner {
  min-height: 83px;
  padding: 7px 5px 5px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(#839de9, transparent 1px), linear-gradient(90deg, #bbb, transparent 1px);
  background-size: 15px 15px;
  background-position: center center;
}

.header__inner--index {
  height: 73px;
  padding: 7px 5px 5px 5px;
  background-color: red;
  text-align: center;
  color: white;
}

.logo {
  text-align: center;
}

.logo__link img {
  margin: 0 auto;
}

.logo__title {
  margin-top: 5px;
  font-family: "KlyaksonRegular";
  font-size: 14px;
  color: #3F609C;
}

.header__title {
  font-family: "KlyaksonRegular";
  font-size: 44px;
  color: #3F609C;
}
.header__title--main {
  text-transform: uppercase;
  font-size: 24px;
}

.navigation {
  margin-top: 30px;
  margin-bottom: 72px;
  text-align: center;
  font-family: "KlyaksonRegular";
  text-transform: uppercase;
  font-size: 26px;
}

.navigation__list-link {
  margin-bottom: 15px;
}

.navigation__list-link a {
  color: #3F609C;
  transition: 0.5s;
}
.navigation__list-link a:hover {
  color: red;
}

.footer {
  position: fixed;
  width: 376px;
  bottom: 0;
  height: 82px;
  border-top: 2px solid red;
  background-color: #fff;
}

.footer__inner {
  padding: 0 10px;
  background: linear-gradient(#839de9, transparent 1px), linear-gradient(90deg, #bbb, transparent 1px);
  background-size: 15px 15px;
  background-position: center center;
}

.menu {
  padding-left: 10px;
  padding-right: 10px;
}

.menu__list {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.menu__list-item {
  height: 72px;
  width: 72px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.menu__list-link {
  display: inline-block;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid transparent;
  transform: scale(0.75);
  transition: 0.3s;
}
.menu__list-link:hover {
  border-color: #3F609C;
  padding: 15px;
  transform: scale(0.85);
}

.menu__list-link--active {
  border-color: #3F609C;
  padding: 15px;
  transform: scale(0.85);
}

.cards {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.major__wrapper {
  position: relative;
  margin: 0 auto;
  margin-bottom: 10px;
  width: 160px;
  height: 160px;
  margin-bottom: 10px;
}

.cards__wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.card__wrapper {
  position: relative;
  height: 160px;
  width: 160px;
  margin-bottom: 10px;
  perspective: 1000px;
}

.card__front, .card__back, .major__front, .major__back {
  position: absolute;
  height: 160px;
  width: 160px;
  left: 0;
  top: 0;
  transition: 1s;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card__back, .major__back {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  transform: rotateY(180deg);
  border: 2px solid #3F609C;
  text-align: center;
}

.card__wrapper:hover .card__front {
  transform: rotateY(180deg);
}

.card__wrapper:hover .card__back {
  transform: rotateY(360deg);
}

.major__wrapper:hover .major__front {
  transform: rotateY(180deg);
}

.major__wrapper:hover .major__back {
  transform: rotateY(360deg);
}

.card__name {
  display: block;
  margin-bottom: 4px;
  font-family: "KlyaksonRegular";
  color: #3F609C;
  font-size: 21px;
  font-weight: 700;
}

.card__sub-name {
  display: block;
  margin-bottom: 6px;
  padding: 0 5px;
  font-family: "KlyaksonRegular";
  color: #3F609C;
  font-size: 12px;
}

.card__date {
  font-family: "KlyaksonRegular";
  color: #3F609C;
  font-size: 20px;
}

.card__link {
  font-family: "KlyaksonRegular";
  color: #185cda;
  font-size: 14px;
}

.video__section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
}

.video__section-item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 10px;
  height: auto;
}

.video__title {
  display: block;
  height: 60px;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 5px;
  text-align: center;
  font-family: "KlyaksonRegular";
  color: #3F609C;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
}

.video__content {
  margin: 0 auto;
  height: 230px;
  width: 303px;
  border: 7px solid #3F609C;
}

.video__content--russia {
  margin: 0 auto;
  height: 600px;
  width: 303px;
  border: 7px solid #3F609C;
}

.content__foto {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.foto__box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-left: 8px;
  padding-right: 8px;
}

.foto__description {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  color: #3F609C;
  font-family: "KlyaksonRegular";
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
}

.title {
  margin-top: 10px;
  margin-bottom: 10px;
}

.foto__link {
  display: block;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 10px;
  border: 2px solid #3F609C;
}

.foto {
  display: block;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
} 
#carousel {
  touch-action: none;
  display: flex;
  height: 400px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

#drag-container,
#spin-container {
  position: relative;
  display: flex;
  margin: auto;
  transform-style: preserve-3d;
  transform: rotateX(-10deg);
}

#drag-container a {
  transform-style: preserve-3d;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 10px 16px rgba(0, 0, 0, 0.1);
  border: 5px solid #3F609C;
}

#drag-container img {
  width: 100%;
  height: 100%;
  filter: grayscale(50%) contrast(0.8);
  transition: filter 0.3s;
}

#drag-container a:hover img {
  filter: grayscale(0) contrast(1);
}

#drag-container p {
  line-height: 1;
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  font-family: Serif;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(90deg);
  color: #337AB7;
  font-family: Verdana, sans-serif;
}

#ground {
  width: 900px;
  height: 900px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(90deg);
}

@keyframes spin {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
@keyframes spinRevert {
  from {
    transform: rotateY(360deg);
  }
  to {
    transform: rotateY(0deg);
  }
}
.block__logo {
  width: 180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #3F609C;
}

.block__logo-title {
  font-size: 32px;
}

.block__lobo-img {
  margin: 0 auto;
}

.declaration {
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  color: #3F609C;
}

.declaration__text--active {
  margin: 0 auto;
  margin-bottom: 10px;
  width: 80px;
  padding: 7px 8px 5px 8px;
  border: 2px solid green;
  border-radius: 20px;
  font-size: 16px;
  color: green;
}
.declaration__text--red {
  color: red;
}
.declaration__text--last {
  margin-top: 8px;
}

.block__1 {
  margin-bottom: 10px;
}

.block__2 {
  position: relative;
  margin-bottom: 10px;
}

.block__3-btn {
  margin: 0 auto;
  display: block;
  width: 150px;
  padding: 5px 10px 1px 10px;
  border: 1px solid green;
  border-radius: 15px;
  color: green;
}

.footer__inner--button {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.button-wrapper {
  height: 300px;
  position: relative;
}

.button--green {
  height: 40px;
  width: 80px;
  position: absolute;
  left: 65px;
  border-color: green;
  border-radius: 25px;
  color: green;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
}

.button--red {
  height: 40px;
  width: 80px;
  position: absolute;
  right: -75px;
  border-color: red;
  border-radius: 25px;
  font-size: 16px;
  color: red;
  text-transform: uppercase;
}

.buttons {
  margin-top: 5px;
  width: 376px;
  height: 50px;
  padding-top: 18px;
  border-top: 2px solid red;
}/*# sourceMappingURL=style.css.map */