@import url("animate.css");

body {
  --text-feature-color: #000000;
  --text-feature-header-color: #b01305;
  --text-feature-shadow: 0px 0px #3d2e1c;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.ranks-grid {
  display: grid;
  justify-content: space-between;
  gap: 75px;
  grid-template-columns: repeat(3, 1fr);
}

.rank {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-br {
  background-image: url("../images/downloadPage/background.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  row-gap: 15px;
  column-gap: 15px;
  padding: 30px;
  align-items: center;
}

.features-list {
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  -webkit-animation-duration: 2.5s;
  animation-duration: 2.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}
#features-list-footer-wrapper {
  width: 100%;
  z-index: 50;
}
#features-list-header-wrapper {
  width: 100%;
  max-height: 65px;
  overflow-y: visible;
  z-index: 50;
}

#features-title {
  color: var(--text-feature-color);
  display: flex;
  width: 100%;
  text-align: center;
  padding-top: 120px;
  justify-content: center;
  z-index: 51;
}

#features-list-header,
#features-list-footer {
  display: flex;
  width: 100%;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#features-list-body {
  max-width: 98%;
  color: var(--text-feature-color);
  text-shadow: var(--text-feature-shadow);
  padding: 0 5%;
  background-image: url("../images/downloadPage/paper-back.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-clip: content-box;
  transition: all ease-in-out 0.5s;
}

.feature-text {
  color: var(--text-feature-color);
  row-gap: 10px;
}

.feature {
  width: 100%;
  padding: 30px 30px;
  display: grid;
  grid-template-columns: repeat(2, 50%);
  align-items: center;
  justify-content: center;
}

#mainLogo {
  height: 150px;
}

#downloadText {
  font-size: 30px;
}

/* картинка */
.image-wrapper {
  display: flex;
  justify-content: center;
}

.minimized {
  max-height: 200px;
  cursor: pointer;
  border: 1px solid #fff;
}

.minimized:hover {
  border: 1px solid yellow;
}

/* увеличенная картинка */
/*modal image-viewer rework 03.07.2023*/
/* затемняющий фон */
#overlay {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  height: 100%;
  width: 100%;
  z-index: 9990;
}

#magnify {
  display: flex;
  height: fit-content;
  max-height: 75vh;
  justify-content: center;
  align-items: center;
  transform: translate(calc(50vw - 50%), calc(50vh - 50%));
  z-index: 9999;
}

#magnify img {
  max-width: 100%;
  height: auto;
  max-height: inherit;
}

/* кнопка закрытия */
#close-popup {
  background: #ffffff;
  border: 1px solid #afafaf;
  border-radius: 15px;
  cursor: pointer;
  position: flex;
  margin-left: -30px;
  align-self: flex-start;
}

#close-popup i {
  width: 30px;
  height: 30px;
  background: url(https://codernote.ru/files/cross.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}

@keyframes rota {
  25% {
    transform: rotate(360deg);
  }
}

#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

hr {
  border: 0;
  height: 1px;
  background: #000;
  background-image: -webkit-linear-gradient(left, #fff, #000, #fff);
  background-image: -moz-linear-gradient(left, #fff, #000, #fff);
  background-image: -ms-linear-gradient(left, #fff, #000, #fff);
  background-image: -o-linear-gradient(left, #fff, #000, #fff);
}

.rangIcon {
  width: 90px;
}

@media (max-width: 1099px) {
  #features-list-header-wrapper {
    max-height: 40px;
  }
  #features-title {
    padding-top: 85px;
  }
  h1,
  h2 {
    text-align: center;
  }
  .feature {
    width: 100%;
    grid-template-columns: repeat(1, 100%);
    row-gap: 30px;
  }
}

@media (max-width: 768px) {
  .minimized {
    max-height: 150px;
  }
  #features-title {
    padding-top: 65px;
  }
  h1,
  h2,
  .feature-text {
    word-wrap: normal;
  }
}
