* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  color: white;
}

html, body {
  width: 100%;
  height: 100svh;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  overflow-x: hidden;
}

.main {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 168px));
  gap: 7px;
  background: url("../images/background.png") no-repeat -270px 200px/180%;
  padding: 34px 16px;
}
.main .block {
  display: flex;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border: 1px solid #fff;
  border-radius: 20px;
}
.main .block .link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: transform 0.2s;
  transform-origin: center;
}
.main .block .link:hover {
  transform: scale(104%);
}
.main .block .link .icon {
  width: 50%;
  height: auto;
  aspect-ratio: 1/1;
}
.main .block .link .logo {
  width: 70%;
}
.main .block .link .book-text {
  align-self: end;
  font-weight: 400;
  font-size: clamp(20px, 7vw, 37px);
  line-height: 45.62px;
  letter-spacing: 0;
  padding-bottom: 5%;
  padding-right: 30px;
}
@media screen and (max-width: 389px) {
  .main .block .link .book-text {
    text-align: center;
    padding-right: 0;
    line-height: 35px;
  }
}
.main .block .link .book-arrow {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 7vw;
  height: 7vh;
  max-width: 43px;
  max-height: 43px;
}
@media screen and (max-width: 425px) {
  .main .block .link .book-arrow {
    top: 5%;
  }
}
.main .big-block {
  grid-column: span 2;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2/0.98;
}

/*# sourceMappingURL=styles.css.map */
