.products-index {
  margin-bottom: 10rem;
}
.products-index .title {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 6rem 2rem 0;
}
.products-index .wrapper {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
}
.products-index section {
  position: relative;
}
.products-index section img {
  width: 100%;
  height: 100%;
}
.products-index section a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  font-size: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(51, 139, 161, 0.2);
  transition: background-color 0.5s;
}
.products-index section a:hover {
  background-color: rgba(51, 139, 161, 0.5);
}

.rcmd-index .wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.rcmd-index section {
  position: relative;
}
.rcmd-index section img {
  width: 100%;
  height: 100%;
}
.rcmd-index section a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 3rem;
  background-color: rgba(51, 139, 161, 0.2);
  transition: background-color 0.5s;
}
.rcmd-index section a:hover {
  background-color: rgba(51, 139, 161, 0.5);
}

/*Items*/
.item-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  grid-auto-rows: 1fr;
  gap: 4rem 2.5rem;
}

.item {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid #338ba1;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 0 10px #338ba1;
  cursor: pointer;
  padding: 1.5rem 1rem;
  transition: transform 0.2s;
}
.item:hover {
  transform: scale(1.1);
}
.item img {
  width: 100%;
  margin-bottom: 1rem;
}

.item-name {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #338ba1;
}

.info-wrapper {
  opacity: 0;
  z-index: -1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  transition: opacity 0.5s;
}

.item-info {
  position: absolute;
  padding: 5rem 10rem;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: grid;
  gap: 0 4rem;
  align-items: flex-start;
  grid-template-columns: 1fr 3.5fr;
}
.item-info .item-img {
  width: 100%;
  margin-top: 10rem;
}
.item-info .item-desc {
  height: 100%;
  overflow-y: auto;
}
.item-info .item-desc h2 {
  text-align: left;
  font-size: 3rem;
  border-bottom: 1px solid #338ba1;
  margin: 0;
  margin-bottom: 5rem;
}
.item-info .item-desc table {
  width: 80%;
}
.item-info .item-desc table tbody {
  font-size: 1.6rem;
  font-weight: bold;
}
.item-info .item-desc table th {
  width: 30%;
}
.item-info .item-desc table td {
  text-align: left;
  padding-left: 2rem;
}
.item-info .item-desc .em {
  font-size: 1.8rem;
}
.item-info .item-desc .redEm {
  color: rgb(221, 61, 61);
}
.item-info .item-desc h3 {
  font-size: 2rem;
  text-align: left;
  font-weight: bold;
  border-bottom: 1px solid #338ba1;
}
.item-info .item-desc p {
  font-size: 1.6rem;
  text-align: left;
  font-weight: bold;
}
.item-info .item-desc ul {
  text-align: left;
  font-size: 1.6rem;
  font-weight: bold;
  margin-left: 2rem;
}

.close-info {
  position: absolute;
  top: 3rem;
  right: 3rem;
  width: 5rem;
  cursor: pointer;
  z-index: 2001;
}

@media screen and (max-width: 1030px) {
  .item-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .itemSubtitle {
    font-size: 3rem;
  }
  .item-name {
    font-size: 2.2rem;
  }
  .item-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .item-info .item-img {
    width: 30%;
    margin: 5rem auto 0;
  }
  .item-info .item-desc {
    height: 100%;
    width: 100%;
  }
  .item-info .item-desc h2 {
    text-align: center;
    font-size: 3.5rem;
  }
  .item-info .item-desc table tbody {
    font-size: 2.5rem;
  }
  .item-info .item-desc p {
    font-size: 2.5rem;
  }
  .item-info .item-desc .em {
    font-size: 2.8rem;
  }
  .item-info .item-desc h3 {
    font-size: 3rem;
  }
  .item-info .item-desc ul {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 767px) {
  .products-index .wrapper {
    overflow-x: hidden;
  }
  .products-index section {
    position: relative;
  }
  .products-index section img {
    width: 150%;
    transform: translateX(-25%);
  }
  .products-index section a {
    font-size: 5rem;
  }
  .item-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
  .itemSubtitle {
    font-size: 4.5rem;
  }
  .item-name {
    font-size: 3.4rem;
  }
  .item-info .item-img {
    width: 80%;
    margin: 10rem auto 0;
  }
  .item-info .item-desc h2 {
    font-size: 4.5rem;
  }
  .item-info .item-desc table {
    width: 100%;
  }
  .item-info .item-desc table tbody {
    font-size: 3.5rem;
  }
  .item-info .item-desc p {
    font-size: 3.5rem;
  }
  .item-info .item-desc .em {
    font-size: 3.8rem;
  }
  .item-info .item-desc h3 {
    font-size: 4rem;
  }
  .item-info .item-desc ul {
    font-size: 3.5rem;
  }
  .close-info {
    top: 5rem;
    right: 5rem;
    width: 10rem;
  }
}/*# sourceMappingURL=products.css.map */