/* ОБНУЛЕНИЕ */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
ol,
li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}
html,
body {
  height: 100%;
  line-height: 1;
  scroll-behavior: smooth;
}

/* ОСНОВНОЕ =========================== */

.wrapper {
  min-height: 100%;
  max-width: 958px;
  min-width: 360px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 1 auto;
}

@media (max-width: 1024px) {
  .wrapper {
    padding: 0 3%;
  }
}

body {
  font-family: "Press Start 2P", cursive;
  background-color: #28212e;
  color: #84c693;
  letter-spacing: 0.1em;
}

.glowing {
  filter: drop-shadow(0px -0.1px 8px rgba(132, 198, 147, 0.1))
    drop-shadow(0px 0.1px 8px rgba(132, 198, 147, 0.1))
    drop-shadow(0.1px 0px 8px rgba(132, 198, 147, 0.1))
    drop-shadow(-0.1px 0px 8px rgba(132, 198, 147, 0.1));
}

.separator {
  overflow: hidden;
  text-align: center;
}

.spacing {
  display: none;
}

@media (max-width: 600px) {
  .spacing {
    display: inline;
  }
}

/* BEM ================================ */

.title {
  font-size: 24px;
}

.link {
  text-decoration: underline;
  transition: filter 200ms linear;
}

.link:hover {
  filter: drop-shadow(0px -0.1px 8px rgba(132, 198, 147, 0.2))
    drop-shadow(0px 0.1px 8px rgba(132, 198, 147, 0.2))
    drop-shadow(0.1px 0px 8px rgba(132, 198, 147, 0.2))
    drop-shadow(-0.1px 0px 8px rgba(132, 198, 147, 0.2));
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin-top: 32px;
}
.card__subtitle {
  font-size: 24px;
  margin-bottom: 32px;
  text-align: center;
}

.card__cover {
  width: 100%;
  border: solid 4px #84c693;
  margin-bottom: 24px;
}

.card__link {
  margin-bottom: 24px;
}

/* HEADER ============================= */

.header {
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border-bottom: solid 4px #84c693; */
}

.header__logo {
  font-size: 48px;
  margin-right: 10%;
}

/* FOOTER =========================== */

.footer {
  padding: 32px 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .footer__text {
    width: 60%;
    text-align: center;
    line-height: 24px;
  }
}

/* ОСНОВНОЕ ============================== */

/* body {
  font-family: "Press Start 2P", cursive;
  background-color: #28212e;
  color: #84c693;
  letter-spacing: 0.1em;
  text-align: center;
}
.title {
  font-size: 36px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card__subtitle {
  font-size: 24px;
  padding-bottom: calc(24 * 100vw / 1440);
}
.card__cover {
  width: 100%;
  border: solid 4px #84c693;
}

.link:link,
.link:visited {
  color: #e33d3d;
  margin-top: calc(24 * 100vw / 1440);
}

.main__container {
  margin: 0 auto;
  /* width: calc(900 * 100vw / 1440); */
/* padding: calc(100 * 100vw / 1440);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.space__card,
.plants__card,
.landing__card,
.main__nav {
  margin-top: calc(50 * 100vw / 1440);
}

@media (max-width: 426px) {
  .title {
    font-size: calc(32 * 100vw / 425);
  }
  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .card__subtitle {
    font-size: calc(24 * 100vw / 425);
    padding-bottom: calc(24 * 100vw / 425);
    line-height: 1.2;
  }
  .card__cover {
    width: 100%;
    border: solid calc(4 * 100vw / 425) #84c693;
  }

  .card__link:link,
  .card__link:visited {
    color: #e33d3d;
    line-height: 1.2;
    margin-top: calc(56 * 100vw / 1440);
  }

  .main__container {
    margin: 0 auto;
    padding: calc(50 * 100vw / 425);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main__title {
    padding-bottom: calc(32 * 100vw / 425);
  }
  .space__card,
  .plants__card,
  .landing__card {
    margin-bottom: calc(56 * 100vw / 425);
  }
} */
