.shadow-1 {
  box-shadow: 2px 2px 2px #0a3a65;
}
.shadow-2 {
  box-shadow: 4px 4px 16px #434d56;
}
.shadow-3 {
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0);
}
.shadow-4 {
  box-shadow: 0 24px 28px -12px black;
}
.shadow-5 {
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
.shadow-6 {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 2px, rgba(0, 0, 0, 0.3) 10px 10px 3px 2px;
}
.text-shadow-1 {
  text-shadow: 2px 2px 2px #484848bf;
}
/* Tags */
html {
  visibility: hidden;
}
h1 {
  font-size: 1.8em;
}
h2 {
  font-size: 1.4em;
}
/* Body */
.logo {
  width: 60%;
  margin: 20px auto 20px auto;
}
.logo img {
  width: 100%;
}
#index-body-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}
/* Logo container not shown */
.logo-container {
  display: none;
}
/* Highlights */
.index-highlight-section {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
/* Last blog */
#index-last-blog {
  position: relative;
  padding: 30px;
  flex-basis: 100px;
  flex-grow: 1;
  height: auto;
  background-color: #004C3B;
  color: #fdfdfd;
}
.index-last-blog-block {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 25px;
}
.index-last-blog-picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.index-last-blog-title {
  color: #fdfdfd;
  font-size: 2em;
  font-family: "FoeDidotModern";
  line-height: 1;
}
.index-last-blog-text {
  font-family: "Portonovo";
  font-weight: normal;
}
.index-last-blog-title,
.index-last-blog-text {
  position: relative;
  z-index: 4;
}
.index-last-blog-link {
  position: relative;
  padding: 10px 15px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  border: 1px solid #fdfdfd;
  align-self: flex-start;
  font-family: "Inter";
  color: white;
  font-size: 0.9em;
}
.index-last-blog-link:hover {
  background-color: #fdfdfd;
  color: #333333;
}
/* Favorites */
.index-highlight-favorite-container,
.index-highlight-events-container {
  position: relative;
  padding: 30px;
  flex-basis: 100px;
  flex-grow: 1;
  height: auto;
  color: #fdfdfd;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 25px;
}
.index-highlight-events-container {
  background-image: url("../resources/images/bg_img_home_article.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.index-highlight-favorite-container {
  background-color: #004C3B;
}
.index-highlight-favorite-heading,
.index-highlight-events-heading {
  color: #fdfdfd;
  font-size: 2em;
  font-family: "FoeDidotModern";
  line-height: 1;
  padding-bottom: 30px;
}
.index-highlight-favorite-heading {
  width: 75%;
}
.index-highlight-favorite-content,
.index-highlight-events-content {
  font-family: "Portonovo";
  font-weight: normal;
}
.index-highlight-favorite-button,
.index-highlight-events-button {
  padding: 10px 15px;
  border: 1px solid #fdfdfd;
  align-self: flex-start;
  font-family: "Inter";
  color: white;
  font-size: 0.9em;
}
.index-highlight-favorite-button i,
.index-highlight-events-button i {
  margin-left: 10px;
}
.index-highlight-events-button {
  background-color: transparent;
}
.index-highlight-events-button:hover {
  background-color: #fdfdfd;
  color: #333333;
}
.index-highlight-favorite-button {
  background-color: #004C3B;
}
.index-highlight-favorite-button:hover {
  background-color: #fdfdfd;
  color: #004C3B;
}
.s-item-list-item-picture-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: -50px;
  right: -20px;
  justify-content: center;
  align-items: center;
  transform: rotate(6.53deg);
  width: 200px;
}
.s-item-list-item-picture-container img {
  width: 100%;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}
.s-item-list-item-picture-container .s-cart-item-picture-title {
  position: absolute;
  color: #040404;
  font-family: "FoeDidotModern";
  text-align: center;
  font-size: 0.6em;
  width: 80%;
  font-weight: bold;
  line-height: 1;
}
.s-item-list-item-name {
  font-family: "Portonovo";
  font-weight: normal;
}
.s-item-list-item-code,
.s-item-list-item-sub-name,
.s-item-list-item-sub-description,
.s-item-list-item-comment,
.s-item-list-item-type,
.s-item-list-item-unit-block,
.s-item-list-item-detail-block,
.s-item-list-item-category-block {
  display: none;
}
/* Lead section */
.index-lead-section {
  max-width: 1200px;
  margin: auto;
}
.index-lead-title,
.index-section-title {
  font-family: "FoeDidotModern";
  font-size: 3em;
  line-height: 1;
}
.index-lead-text {
  width: 60%;
  margin-left: 80px;
}
.index-lead-button {
  padding: 10px 15px;
  border: 1px solid #333333;
  font-family: "Inter";
  font-size: 0.9em;
  margin-left: 80px;
  background-color: #FFFDF8;
  color: #040404;
}
.index-lead-button i {
  padding-left: 10px;
}
.index-lead-button:hover {
  background-color: #040404;
  color: #fdfdfd;
}
/* Common section */
.index-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 70px;
  width: 1200px;
}
/* Introduction */
#index-intro-section {
  width: 1200px;
  position: relative;
  color: #333333;
  z-index: 1;
}
/* Recents */
#index-recent-section {
  margin-bottom: 100px;
  max-width: 1200px;
}
#index-recent-body {
  display: flex;
  align-items: end;
  gap: 20px;
  padding: 0;
  max-width: 100%;
  overflow: auto;
}
#index-recent-body::-webkit-scrollbar {
  height: 4px;
}
#index-recent-body::-webkit-scrollbar-thumb {
  background-color: #004C3B;
}
.index-recent-block {
  display: inline-block;
  width: 300px;
  padding: 20px;
  box-sizing: border-box;
  vertical-align: top;
  text-align: center;
  height: 100%;
}
.index-recent {
  display: block;
  padding: 20px;
  box-sizing: border-box;
}
.index-recent-picture {
  max-width: 180px;
  max-height: 300px;
  box-shadow: 0 24px 28px -12px black;
}
.index-recent:hover .index-recent-picture {
  box-shadow: 2px 2px 2px #0a3a65;
}
/* Search */
.search-block-index {
  display: flex;
  flex-direction: row;
  gap: 20px;
  color: #333333;
  font-weight: bold;
  width: 60%;
}
#index-search-section::after {
  content: "\f002";
  font-family: "Font awesome 6 Pro";
  position: absolute;
  right: 40%;
  line-height: 3.5;
  font-weight: 300;
  color: lightgray;
}
#index-search-label {
  font-size: 2.2em;
  font-family: "FoeDidotModern";
  width: 70%;
  margin-bottom: 20px;
  background-color: #FFFDF8;
}
.index-search-text {
  font-family: Inter, Arial;
  color: #333333;
  font-size: 0.9em;
  width: 100%;
  box-sizing: border-box;
  background-color: #FFFDF8;
}
#index-search-button-block {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.index-search-button {
  padding: 10px 20px;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  border-radius: 100px;
  background-color: #fdfdfd;
  border-color: #26CC7D;
  cursor: pointer;
  font-family: Inter, Arial;
  font-size: 0.7em;
  color: #26CC7D;
}
.index-search-button:hover {
  background-color: #26CC7D;
  color: #fdfdfd;
}
.index-search-button:focus {
  background-color: #26CC7D;
  color: #fdfdfd;
}
.index-search-button:active {
  background-color: #26CC7D;
  color: #fdfdfd;
}
.r-item-list-item-content {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  align-items: center;
}
.r-item-list-item-code,
.r-item-list-item-sub-name,
.r-item-list-item-description,
.r-item-list-item-sub-description,
.r-item-list-item-comment,
.r-item-list-item-type,
.r-item-list-item-unit-block,
.r-item-list-item-detail-block {
  display: none;
}
.r-item-list-item-block {
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.r-item-list-item-name {
  display: none;
}
.r-item-list-item-picture-container {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.r-item-list-item-picture-container img {
  width: 200px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.r-item-list-item-picture-title {
  font-family: "FoeDidotModern";
  position: absolute;
  text-align: center;
  font-size: 0.9em;
  width: 80%;
  font-weight: bold;
  cursor: pointer;
}
@media only screen and (max-width: 1200px) {
  .index-fav-block {
    width: 50%;
  }
}
@media only screen and (max-width: 1080px) {
  .index-figure-block {
    width: 50%;
  }
  .index-category-container {
    width: 50%;
  }
  #index-body-section {
    gap: 50px;
    padding: 20px;
  }
  .s-item-list-item-picture-container {
    display: none;
    right: -110px;
    width: 350;
  }
  .index-lead-button {
    width: 60%;
  }
  #index-intro-section,
  .index-lead-section,
  .index-highlight-section,
  #index-recent-section {
    width: 100%;
    flex-direction: column;
    gap: 20px;
  }
}
@media only screen and (max-width: 640px) {
  h1 {
    font-size: 1.4em;
  }
  #index-search-label {
    font-size: 1.2em;
  }
  #index-search-text {
    font-size: 1em;
  }
  .index-section {
    gap: 0;
  }
  .index-fav-block {
    width: 100%;
  }
  .index-figure-block {
    width: 100%;
  }
  .index-fav-block {
    padding: 20px 0;
  }
  .index-category-container {
    width: 100%;
  }
  .index-highlight-events-container {
    margin-bottom: 20px;
  }
  .index-highlight-events-heading,
  .index-highlight-favorite-heading,
  .index-lead-title {
    font-size: 2em;
    width: 100%;
  }
  .logo {
    width: 100%;
    margin: 0;
  }
  .search-block-index {
    width: 100%;
  }
  .s-item-list-item-picture-container img {
    top: -210px;
    right: 0;
    width: 25%;
  }
  .index-lead-text,
  .index-lead-button {
    width: 90%;
    margin: 0;
    font-size: 0.9em;
  }
  .index-lead-button {
    width: 60%;
    margin-top: 10px;
  }
  .index-section-title {
    font-size: 1.4em;
    line-height: 1.2em;
    padding-bottom: 10px;
  }
  .index-lead-title,
  .index-recent-title {
    margin: 0;
    padding: 0;
    font-size: 1.7em;
  }
  .r-item-list-item-picture-container {
    padding-top: 20px;
  }
  .r-item-list-item-picture-container img {
    width: 60px;
  }
  .r-item-list-item-content {
    display: flex;
    flex-direction: column;
  }
}
