:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-primary: #ff0000;
  --color-secondary: #f5f5f5;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body ::-webkit-scrollbar {
  display: none;
}

body {
  font-family: "Open Sans", sans-serif;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background-color: var(--color-white);
  color: var(--color-black);
}

html {
  font-size: 62.5%;
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 56%;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
}

body,
ul,
li,
label,
input {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
}

label {
  display: block;
  position: relative;
}

input,
input:focus {
  outline: none;
}

button {
  font-family: "Open Sans", sans-serif;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

a {
  color: var(--color-black);
  text-decoration: none;
}

/* Typography */
p {
  line-height: 140%;
  color: var(--color-black);
}

.body-s {
  font-size: 1.8rem;
}

.body-m {
  font-size: 2rem;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 600;
  line-height: 140%;
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3.2rem;
}

h4 {
  font-size: 4.8rem;
}

h5 {
  font-size: 2.4rem;
}

@media screen and (max-width: 1024px) {
  .body-s {
    font-size: 1.6rem;
  }

  .body-m {
    font-size: 1.8rem;
  }

  h1,
  h5 {
    font-size: 2rem;
  }

  h2,
  h3,
  h4 {
    font-size: 2.4rem;
  }
}

/* Container */
.container {
  max-width: 1497px;
  margin: 0 auto;
}

@media screen and (max-width: 1600px) {
  .container {
    width: 95%;
  }
}

/* Hero */
.hero__section {
  background: url(../images/img/1.jpg) center/cover no-repeat;
  height: 900px;
  width: 100%;
}

.hero__container {
  display: flex;
  align-items: center;
  height: 100%;
}

.hero__header {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  color: var(--color-white);
  max-width: 738px;
  padding: 61px 50px;
}

.hero__subheading {
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
}

@media screen and (max-width: 1024px) {
  .hero__section {
    background: url(../images/img/1.jpg) 70% / cover no-repeat;
    height: 600px;
  }

  .hero__container {
    align-items: end;
  }

  .hero__header {
    max-width: 100%;
    padding: 32px 18px;
  }
  .hero__subheading {
    margin-bottom: 10px;
  }
}

/* Item Section */

.multifry__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}
.multifry__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  border-radius: 20px;
  padding: 32px 64px;
}

.arrow-btn {
  position: absolute;
  right: 40px;
  bottom: 32px;
  background-color: var(--color-black);
  width: 60px;
  height: 60px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.arrow-btn img {
  width: 12px;
}

.multifry-item__img {
  max-width: 587px;
}
.multifry__heading {
  margin-bottom: 10px;
}
.multifry__subheading {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.multifry-section__heading {
  margin-bottom: 64px;
}

.multifry__section {
  margin: 48px 0;
}

.btn-arrow--right {
  transform: rotate(180deg);
}

.btn-arrow {
  width: 24px;
}
.scroll {
  display: none;
}

@media screen and (max-width: 1024px) {
  .scroll {
    display: flex;
    align-items: center;
    margin-top: 32px;
    gap: 24px;
  }

  .scroll .line {
    width: 100%;
    height: 3px;
    background-color: #e6e6e6;
    border-radius: 5px;
  }
  .indicator {
    background-color: var(--color-black);
    width: 33%;
    height: 3px;
  }
  .arrow-btn {
    width: 40px;
    height: 40px;
  }

  .arrow-btn img {
    width: 8px;
  }
}

@media screen and (max-width: 768px) {
  .multifry__container {
    display: flex;
    width: max-content;
  }
  .multifry__section .container:nth-of-type(2) {
    overflow: scroll;
  }
  .multifry__item {
    width: 95vw;
  }

  .multifry-section__heading {
    margin-bottom: 40px;
  }
}

/* Description */
.description__item {
  display: flex;
  gap: 9vw;
  align-items: center;
}

.description__img {
  max-width: 738px;
}

.description__heading {
  margin-bottom: 36px;
}

.description__container {
  display: flex;
  flex-direction: column;
  gap: 7vw;
}

.dscl {
  font-size: 1.4rem;
  color: #979797;
  margin-top: 24px;
}

@media screen and (max-width: 1024px) {
  .description__img {
    max-width: none;
    width: 100%;
  }
  .description__item {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .description__item--reverse {
    flex-direction: column;
  }
  .description__container {
    gap: 80px;
  }
  .description__heading {
    margin-bottom: 20px;
  }
}

/* Advantages */
.advantages__section {
  margin: 150px 0;
}
.advantages__item {
  border: solid 1px #e6e6e6;
  max-width: 587px;
  border-radius: 20px;
  width: 100%;
}
.advantages__img,
.advantages__heading {
  margin-bottom: 20px;
}
.advantages__img {
  width: 100%;
}
.advantages__body {
  padding: 0 30px 19px 30px;
}

.advantages-section__heading {
  margin-bottom: 50px;
}

.advantages__container {
  display: flex;
  gap: 19px;
}

@media screen and (max-width: 1024px) {
  .advantages__section {
    margin: 80px 0;
  }
  .advantages__container {
    display: flex;
    width: max-content;
  }
  .advantages__section .container:nth-of-type(2) {
    overflow: scroll;
  }
  .advantages__item {
    width: 95vw;
  }

  .advantages-section__heading {
    margin-bottom: 40px;
  }
}

/* Comparison */

.comparison__section {
  margin: 40px auto;
  padding: 0 16px;
}

.comparison__title {
  margin-bottom: 0.25em;
}

.comparison__subtitle {
  margin-bottom: 2rem;
}

.comparison__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison__table {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr);
  border-collapse: collapse;
  border-bottom: 2px solid #e6e6e6;
}

.comparison__header {
  display: contents;
}

.comparison__column {
  text-align: center;
  padding: 16px;
}

.comparison__model-name {
  margin-bottom: 8px;
}

.comparison__image {
  max-width: 100%;
  height: auto;
}

.comparison__row {
  display: contents;
}

.comparison__cell {
  padding: 24px 16px;
  border-top: 2px solid #e5e5e5;
  text-align: center;
}

.comparison__cell--label {
  text-align: left;
}

.comparison__column--header {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .comparison__cell {
    padding: 10px 12px;
  }

  .comparison__column {
    width: 95vw;
  }

  .comparison__table {
    overflow: scroll;
  }
}
