/* backdrop-filter: blur(10px); */

@font-face {
  font-family: "ReFont";
  src: url("./fonts/ReFont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
  font-family: "ReFont";
  padding: 0;
  margin: 0;
}

body {
  background-color: rgb(245, 245, 245);
  font-weight: 500;
}

a {
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  align-items: center;
  display: flex;
}

/* The navbar */
.the-navbar {
  justify-content: space-between;
  background-color: white;
  padding-inline: 40px;
  padding-block: 10px;
  align-items: center;
  position: sticky;
  display: flex;
  height: 100%;
  width: 100%;
  z-index: 1;
  gap: 10px;
  top: 0;
}

.the-navbar_icon {
  height: 24px;
  width: 24px;
}

.the-navbar-center {
  align-items: center;
  display: flex;
  gap: 20px;
}

.the-navbar_link {
  transition: transform 0.3s ease;
  padding-inline: 10px;
  align-items: center;
  border-radius: 5px;
  padding-block: 8px;
  font-size: 14px;
  color: black;
  display: flex;
  gap: 10px;
}

.the-navbar_link:hover {
  filter: invert(21%) sepia(95%) saturate(1650%) hue-rotate(345deg)
    brightness(82%) contrast(96%);
  background-color: rgba(255, 0, 0, 0.151);
  transform: scale(1.05);
}

.the_icon {
  height: 15px;
  width: 15px;
}

.the-navbar_add {
  transition: transform 0.3s ease;
  background-color: #e21818;
  padding-inline: 10px;
  align-items: center;
  border-radius: 5px;
  padding-block: 8px;
  font-size: 14px;
  color: white;
  display: flex;
  gap: 10px;
}

.the-navbar_add:hover {
  background-color: #c91d1d;
  transform: scale(1.05);
}

.the-navbar_add > img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%)
    contrast(103%);
}

.the-navbar_menu {
  display: none;
}
/* End navbar */

/* The cover */
.the-cover {
  background-image: url(./background/cover.jpg);
  transition: height 0.5s ease;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px;
  display: flex;
  height: 520px;
  width: 100%;
  gap: 40px;
}

.the_block {
  background-color: rgba(255, 255, 255, 0.171);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  align-items: center;
  font-size: 14px;
  color: white;
  display: flex;
  padding: 11px;
  gap: 10px;
}

.the-cover-title {
  flex-direction: column;
  align-items: center;
  display: flex;
  gap: 20px;
}

.the-cover_title {
  font-size: 42px;
  color: white;
  display: flex;
  gap: 10px;
}

.the-cover_title > span {
  color: gold;
}

.the_desk {
  font-size: 15px;
}

.the-cover_desk {
  color: white;
  width: 50%;
}

.the-cover-blocks {
  display: flex;
  gap: 20px;
}

.the-cover_button {
  background-color: #e21818;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  color: white;
  padding: 10px;
  display: flex;
  gap: 10px;
}

.the-cover_button > img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%)
    contrast(103%);
}

.the-cover_button:hover {
  background-color: #c91d1d;
}
/* End cover */

/* The body */
.the-body {
  flex-direction: column;
  padding-inline: 40px;
  padding-block: 40px;
  display: flex;
  gap: 40px;
}
/* End body */

/* The hero-grid */
.the-hero {
  flex-direction: column;
  align-items: center;
  display: flex;
  gap: 15px;
}

.the-hero_block {
  filter: invert(21%) sepia(95%) saturate(1650%) hue-rotate(345deg)
    brightness(82%) contrast(96%);
  background-color: rgba(255, 0, 0, 0.151);
  backdrop-filter: none;
  color: black;
}

.the-hero-title {
  flex-direction: column;
  text-align: center;
  display: flex;
  max-width: 50%;
  gap: 15px;
}

.the_title {
  font-size: 28px;
}

.the-hero-table {
  justify-content: space-between;
  margin-top: 30px;
  flex-wrap: wrap;
  display: flex;
  gap: 25px 0px;
}

.the-hero-table_block {
  -webkit-box-shadow: 0px 0px 13px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 13px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 13px 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.6s ease;
  background-color: white;
  border-radius: 10px;
  font-size: 15px;
  display: flex;
  width: 49%;
}

.the-hero-table_block:hover {
  transform: scale(1.05);
}

.the-hero-table_image {
  border-radius: 10px;
  width: 45%;
}

.the-hero-table_data {
  justify-content: space-between;
  flex-direction: column;
  align-items: start;
  display: flex;
  padding: 10px;
  width: 100%;
  gap: 10px;
}

.the-hero-table-data_name {
  align-items: center;
  display: flex;
  gap: 10px;
}

.the-hero-table-data_age {
  align-items: center;
  display: flex;
  gap: 10px;
}

.the-hero-table-data_desk {
  align-items: center;
  display: flex;
  gap: 10px;
}

.the-hero-table-data_b1 {
  flex-direction: column;
  display: flex;
  gap: 10px;
}

.the-hero-table-data_b2 {
  width: 100%;
}

.the-hero-table-data_more {
  background-color: #e21818;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  color: white;
  padding: 10px;
  display: flex;
  gap: 10px;
}

.the-hero-table-data_more:hover {
  background-color: #c91d1d;
}

/* End hero-grid */

/* The media */
@media (max-width: 1023px) {
  /* The navbar */
  .the-navbar {
    padding-inline: 15px;
  }

  .the-navbar_icon {
    height: 18px;
    width: 18px;
  }

  .the_icon {
    height: 18px;
    width: 18px;
  }

  .the-navbar-center {
    display: none;
  }

  .the-navbar_add {
    display: none;
  }

  .the-navbar_menu {
    display: flex;
  }
  /* End navbar */

  /* The cover */
  .the-cover {
    padding-inline: 15px;
    padding-block: 40px;
    align-items: start;
    height: 410px;
    gap: 25px;
  }

  .the-cover-title {
    align-items: start;
    gap: 10px;
  }

  .the-cover_desk {
    text-align: start;
    font-size: 12px;
    color: white;
    width: 90%;
  }

  .the_block {
    font-size: 12px;
  }

  .the_icon {
    height: 12px;
    width: 12px;
  }

  .the-cover_title {
    font-size: 27px;
    gap: 5px;
  }

  .the-cover-blocks {
    flex-wrap: wrap;
    gap: 10px;
  }

  .the-cover_button {
    font-size: 12px;
  }

  /* The hero table */
  .the-hero {
    align-items: start;
    gap: 15px;
  }

  .the-hero_block {
    font-size: 12px;
  }

  .the-hero-title {
    text-align: start;
    max-width: 100%;
  }

  .the-hero_title {
    font-size: 27px;
  }

  .the_desk {
    text-align: start;
    font-size: 12px;
    max-width: 100%;
  }

  .the-hero-table {
    margin-top: 10px;
    gap: 15px;
  }

  .the-hero-table_block {
    flex-direction: column;
    width: 100%;
  }

  .the-hero-table_block:hover {
    transform: scale(1.05);
  }

  .the-hero-table_image {
    width: 100%;
  }

  .the-hero-table_data {
    font-size: 12px;
  }

  .the-hero-table-data_more {
    font-size: 12px;
    padding: 8px;
  }
}
