:root {
  --accent-color: #80B826;
  --dark-bg-color: #f3e9df;
  --dark-border-color: #daccbf;
  --border-radius: 6px;
}

* {
  font-family: "Roboto Mono", monospace;
  padding: 0;
  margin: 0;
}

body {
  box-sizing: border-box;
  background-color: #F9F2EA;
}

a {
  color: #000;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 12px;
  border-radius: var(--border-radius);
  cursor: pointer;
  white-space: nowrap;
}

h1 {
  font-size: 24px;
  font-weight: 600;
}

h2 {
  font-size: 16px;
  font-weight: 500;
}

p {
  margin: 12px 0;
  font-size: 14px;
}

.deliver-vertical {
  background-color: #c2c2c2;
  width: 1px;
  height: 80px;
}

.deliver {
  background-color: #c2c2c2;
  width: 80px;
  height: 1px;
}

section {
  padding: 0 8px;
  margin-bottom: 38px;
}
section .title {
  font-weight: 600;
  margin-bottom: 15px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  padding: 16px 8px;
}
.header .side {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header .menu-icon {
  margin-right: 10px;
  padding: 2px;
}
.header .cat-icon {
  margin-right: 8px;
}
.header__title {
  font-weight: 600;
  color: var(--accent-color);
}
.header a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer {
  padding: 28px 8px;
}

.hero {
  margin-top: 6px;
  padding: 0;
}
.hero .title {
  font-weight: 800;
  font-size: 32px;
  margin-bottom: 20px;
  padding: 0 8px;
}
.hero__slider {
  position: relative;
}
.hero .slider {
  padding: 8px 8px;
  cursor: pointer;
}
.hero .slider__item img {
  width: 100%;
}
.hero .image {
  padding-right: 20px;
  height: 365px;
  background-image: url(../img/hero.jpg);
  background-position: center;
  background-size: cover;
}
.hero .buttons {
  padding: 0 8px;
}
.hero .slider-help {
  pointer-events: none;
  position: absolute;
  z-index: 1000;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  animation: 3s infinite normal slider-help-animation;
}
.hero .slider-help * {
  user-select: none;
}

.about__card {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #c2c2c2;
  border-radius: var(--border-radius);
  transition: 0.3s ease-in-out;
}
.about__card:hover {
  transform: translateY(-4px);
}
.about .info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about .info > *:not(:last-child) {
  margin-bottom: 5px;
}
.about .info__title {
  font-size: 16px;
  font-weight: 600;
}
.about .info__description {
  font-size: 12px;
  color: #505050;
}
.about .info__numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 2px 12px;
  border: 1px solid #686868;
  border-radius: var(--border-radius);
}
.about .info__numbers img {
  width: 14px;
  height: 14px;
  margin-right: 8px;
}
.about .info__numbers img.key {
  margin: 0;
}
.about .card__image {
  min-width: 86px;
  min-height: 86px;
  height: 74px;
  background-size: cover;
  margin-right: 16px;
}

.prices {
  padding: 28px 8px;
  background-color: var(--dark-bg-color);
}
.prices .prices-list {
  list-style-type: none;
  padding-left: 16px;
}
.prices .prices-list__item {
  position: relative;
  margin-bottom: 25px;
}

.contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px 8px;
  background-color: #f3e9df;
}
.contacts__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}
.contacts__phones {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  flex-direction: column;
}
.contacts__phones .phones__item {
  font-weight: 600;
  padding: 16px;
  border: 1px solid #c2c2c2;
  border-radius: var(--border-radius);
  transition: 0.3s ease-in-out;
}
.contacts__phones .phones__item:hover {
  transform: translateY(-4px);
}
.contacts__phones .phones__item img {
  margin-right: 12px;
}
.contacts__phones .phones__item .content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacts__phones .phones__item:not(:last-child) {
  margin-bottom: 12px;
}
.contacts__socials {
  display: flex;
  flex-direction: column;
}
.contacts__socials .item {
  width: 34px;
  height: 34px;
  padding: 5px;
  background-color: var(--accent-color);
  border-radius: var(--border-radius);
}
.contacts__socials .item img {
  width: 34px;
  height: 34px;
}
.contacts__socials .item:not(:last-child) {
  margin-bottom: 18px;
}

.contact-form {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

form {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 500px;
}

.field {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
}

label {
  display: inline-block;
  margin-bottom: 6px;
}

.input-wrapper {
  display: flex;
  width: 100%;
  position: relative;
  margin-bottom: 18px;
}
.input-wrapper .prefix {
  font-size: 14px;
  line-height: 14px;
  left: 15px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

input {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: none;
  width: 100%;
  font-size: 14px;
  border-radius: var(--border-radius);
  border: 2px solid var(--dark-border-color);
  transition: all 0.25s ease-in-out;
}
input:active, input:focus, input:focus-visible {
  outline: none;
  border-radius: var(--border-radius);
  box-shadow: 3px 3px 0px var(--dark-border-color);
}

input#phone {
  width: 100%;
  padding-left: 60px;
}

button[type=submit] {
  background-color: var(--accent-color);
  color: #fff;
  width: 180px;
}

textarea {
  padding: 10px;
  max-width: 100%;
  width: 100%;
  line-height: 1.5;
  font-size: 14px;
  border-radius: var(--border-radius);
  border: 2px solid var(--dark-border-color);
  transition: all 0.25s ease-in-out;
  resize: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
textarea:active, textarea:focus, textarea:focus-visible {
  outline: none;
  border-radius: var(--border-radius);
  box-shadow: 3px 3px 0px var(--dark-border-color);
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}
.buttons .contact-us-btn {
  flex: 1;
  color: #ffffff;
  font-size: 18px;
  background-color: var(--accent-color);
  flex-shrink: 0;
  margin-right: 8px;
  width: 100%;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.buttons .contact-us-btn:hover {
  transform: translateY(-4px);
}
.buttons .instagram-icon {
  flex: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background-color: var(--accent-color);
  border-radius: var(--border-radius);
  transition: 0.3s ease-in-out;
}
.buttons .instagram-icon:hover {
  transform: translateY(-4px);
}

@keyframes slider-help-animation {
  0% {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  85% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    right: 100px;
  }
}
.prev, .next {
  display: none;
  position: absolute;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--accent-color);
  cursor: pointer;
}
.prev img, .next img {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
}

.prev {
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.prev img {
  top: 50%;
  left: 45%;
}

.next {
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.next img {
  top: 50%;
  left: 50%;
}