@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cascadia+Code:ital,wght@0,200..700;1,200..700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&family=Share+Tech&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.head-text {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #3f4e4f;
  margin-left: 5%;
  font-size: calc(1px + 1vw + 1vh);
}

.hyper-text {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
  line-height: normal
}

.small-text {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  color: inherit;
  text-decoration: none;
  color: #DCD7CB;
}

.top-text {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: white !important;         /* Наследует цвет текста */
  text-decoration: none !important;
  margin-left: 5%;
  font-size: calc(1px + 1vw + 1vh);
}

.top-block {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: calc(100% - 90px);
  background-color: #2C3639;
  height: 70px;
  border-radius: 20px;
  margin-right: 10px;
  align-items: center;
  margin-left: auto;
}

.top-text:hover {
  background-color: #3f4e4f;
  transform: translateY(-2px);
}

.top-text:active {
  background-color: #3f4e4f;
  transform: translateY(0);
}

.top-text:visited {
  color: white !important;
}

.content-box {
  padding: 20px;
  margin: 2% auto;
  right: 10%;
  height: calc(60% * 10vw);
  width: 96%;
  background: #3f4e4f;
  border-radius: 30px;
}

.small-text:hover {
  color: #DCD7CB;
}

.small-text:active {
  color: #DCD7CB;
}

.small-text:visited {
  color: #DCD7CB;
}
