:root {
  font-family: Verdana, sans-serif;
  --base:   #eff1f5;
  --mantle: #e6e9ef;
  --crust:  #dce0e8;
  --sky: #04a5e5;
  --text: #4c4f69;
  --text2: #c6d0f5;
  --green: #a6e3a1;
  --green2: #a6d189;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  background: var(--base)
}

.header {
  background: var(--green);
}

.header__top {
  display: inline-block;
}

.header__top a {
  color: black;
  display: flex;
  align-items: center;
  padding: 8px;
}

.header__links {
  display: flex;
}

.header__links a {
  color: black;
  text-decoration: none;
  margin: 0;
  padding: 8px;
  display: inline-block;
}

.header__links a:hover {
  background: #00000022;
}

header h1 {
  font-size: 1.4rem;
}

header img {
  height: 64px;
  margin-right: 16px;
}

main {
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: center;
}

.product_list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4,284px);
  gap: 16px;
  padding-bottom: 16px;
}

.product {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
}

.product__img_box {
  width: 284px;
  height: 284px;
}

.product__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product__info {
  padding: 8px;
}

a {
  text-decoration: none;
}

.product__title, .product__price {
  color: black;
  display: block;
}

.product__price {
  font-size: 1.4rem;
}

.paginator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.paginator a:not(.selected):hover {
  background: var(--green);
  /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.paginator a, .paginator span {
  padding: 8px 16px;
  color: black;
  border-radius: 8px;
}

.paginator .current {
  background: var(--green);
  background: white;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border: 1px solid var(--green2)
}

input#menu {
    display: none;
}

.collapsible label {
    display: inline-block;
    cursor: pointer;
    padding: 8px;
}

.collapsible label:hover {
  background: #00000022
}

.menu-content {
  position: absolute;
  background: var(--green);
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  max-height: 0;
  overflow: hidden;
}

.menu-content ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  max-height: 350px;
  overflow-y: scroll;
}

.menu-content li {
  width: 100%;
}

.menu-content a {
  display: block;
}

input:checked ~ .menu-content {
    max-height: 100%;
}

h2 {
  text-align: center;
  margin: 32px 0 16px 0;
  font-size: 2rem;
  padding: 0;
}

@media screen and (max-width: 1180px) {
  .product_list {
    grid-template-columns: repeat(1,284px);
  }
  
  .product__img_box {
    width: 284px;
    height: 284px;
  }
}

.contact {
  list-style-type: none;
  max-width: 400px;
}

.contact li {
  margin-bottom: 16px;
}

.contact a {
  color: black;
}
