/* Colours */
:root {
  --color-primary: #ffffff;
  --color-secondary: #0b0b0b;
  --color-accent: #df2525;
  --color-grey: #9b9b9b;
  --color-light_grey: #f5f5f5;
}
/* Border-radius */
:root {
  --radius-sm: 8px;
  --radius-m: 20px;
}

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

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

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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,
button,
label,
input {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

label {
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/* Typography */

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 140%;
  color: var(--color-primary);
}

h2 {
  font-size: 3.6rem;
  margin-bottom: 56px;
}

h3 {
  font-size: 2.8rem;
}

h4 {
  font-size: 2.4rem;
}

p {
  font-size: 2rem;
  font-weight: 400;
  line-height: 150%;
}

.text--accent {
  color: var(--color-accent);
}

.text--primary {
  color: var(--color-primary);
}

.text--secondary {
  color: var(--color-secondary);
}
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.4rem;
    margin-bottom: 24px;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1.6rem;
  }
}

/* Buttons */

.btn {
  border-radius: var(--radius-sm);
  padding: 16px 40px;
  font-size: 1.8rem;
  width: fit-content;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.btn--primary:hover,
.round-btn:hover {
  background-color: var(--color-grey);
  color: var(--color-secondary);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn--accent:hover {
  background-color: #be0e0e;
}

.round-btn {
  border-radius: 50%;
  height: 60px;
  width: 60px;
  transition: all 0.4s ease-in-out;
}

.round-btn--primary {
  background-color: var(--color-primary);
}

.round-btn--secondary {
  background-color: var(--color-secondary);
}

@media screen and (max-width: 1024px) {
  .round-btn {
    height: 40px;
    width: 40px;
  }
}

/* Images */

img {
  width: 100%;
}

.img {
  border-radius: var(--radius-sm);
}

/* Container */

.container {
  width: 80%;
  margin: 0 auto;
  max-width: none;
  padding: 0;
}

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

/* Section */
.section {
  margin-bottom: 14vh;
}

@media screen and (max-width: 1024px) {
  .section {
    margin-bottom: 8vh;
  }
}

/* Header */

.box-flex {
  display: flex;
}

.box-grid {
  display: grid;
}

.header {
  background-color: var(--color-secondary);
  justify-content: center;
  padding: 40px 0;
}
/* Hero */
.hero {
  position: relative;
}

.hero__box {
  padding: 72px 48px;
  width: 50%;
  border-radius: var(--radius-m);
  background-color: rgba(0, 0, 0, 0.7);
  position: relative;
  gap: 24px;
}

.hero,
.hero__video {
  height: 70vh;
}

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

.hero__video {
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
  z-index: 0;
}

@media screen and (max-width: 1440px) {
  .hero__box {
    width: 70%;
  }
}

@media screen and (max-width: 768px) {
  .hero__box {
    padding: 56px 36px;
    width: 90%;
  }
}

@media screen and (max-width: 540px) {
  .hero__box {
    width: 100%;
  }
}

/* MultiGrill Section */
.item__wrapper {
  gap: 24px;
}

.multigrill__item {
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 32px 64px;
  background-color: var(--color-light_grey);
  border-radius: var(--radius-m);
}
.multigrill__item .item__img {
  margin: 24px;
}
.multigrill-item__heading {
  margin-bottom: 8px;
}

.multigrill__item .round-btn {
  align-self: flex-end;
}

.multigrill__container {
  align-items: center;
  justify-content: space-between;
  margin-top: 64px;
  gap: 24px;
}

@media screen and (max-width: 768px) {
  .item__wrapper {
    overflow-x: auto;
  }
  .item__wrapper::-webkit-scrollbar {
    display: initial;
    scrollbar-width: thin;
    height: 3px;
    border-radius: 20px;
    background-color: #e6e6e6;
  }

  .item__wrapper::-webkit-scrollbar-thumb {
    background-color: var(--color-secondary);
    border-radius: 20px;
  }
  .item {
    margin-bottom: 32px;
    min-width: 95vw;
  }
}

@media screen and (max-width: 420px) {
  .multigrill__item {
    padding: 20px 24px;
  }

  .multigrill__container {
    flex-direction: column;
  }
}


/* Description */

.description__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 8vw;
}

.description__container .box-grid {
  align-self: center;
  height: fit-content;
  max-width: 600px;
  justify-self: center;
}

@media screen and (max-width: 768px) {
  .description__container {
    grid-template-columns: 1fr;
  }
  .description__container .box-grid {
    justify-self: start;
    max-width: none;
  }
}

/* Positions */

.positions__item {
  border: 1px solid var(--color-light_grey);
  border-radius: var(--radius-m);
}

.item__body {
  padding: 32px 32px 40px 32px;
}

.positions-item__heading {
  margin-bottom: 24px;
}

.positions__container {
  gap: 60px;
  justify-content: space-between;
}

.positions__container p {
  width: 40%;
}

@media screen and (max-width: 1440px) {
  .positions__container p {
    width: 60%;
  }
  .positions__container {
    gap: 24px;
  }
}

@media screen and (max-width: 768px) {
  .positions__container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
  }
  .positions__container p {
    width: 100%;
  }
}


.carousel-item-next, .carousel-item-prev, .carousel-item.active {
  display: flex;
}
.carousel-item img {
  width: 50%;
}
.carousel-item img:first-of-type, .carousel-item:after {
  border-radius: var(--radius-m);
}

.carousel-item img, .carousel-item:after {
  max-height: 800px;
  object-fit: cover;
}

.carousel-caption {
  left: 5%;
  top: 20%;
  bottom: auto;
  width: 40%;
  text-align: left;
  z-index: 10;
}

.carousel-caption h2 {
  font-size: 4.8rem;
  margin-bottom: 32px;
}

.carousel-caption p {
  font-size: 3.6rem;
}

.carousel-item:after {
  content: '';
  display: block;
  position: absolute;
  width: 50%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  top: 0;
  left: 0;
}

.carousel-control-next, .carousel-control-prev {
  bottom: 5%;
  top: auto;
  z-index: 15;
}
.carousel-control-next {
  left: 10%;
}
.carousel-control-arrow {
  background-color: #fff;
  height: 60px;
  background-size: 70%;
  background-position: center;
  border-radius: 50%;
  width: 60px;
  background-image: url(../images/icons/arrow-dark.svg);
}

.carousel-control-prev-icon {
  transform: rotate(180deg);
}

@media screen and (max-width: 1200px) {
  .carousel-caption h2 {
    font-size: 3.6rem;
    margin-bottom: 32px;
  }
  
  .carousel-caption p {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 820px) {
  .carousel-item-next, .carousel-item-prev, .carousel-item.active {
    flex-direction: column;
  }
  .carousel-item img {
    height: 300px;
    object-fit: contain;
  }

  .carousel-item img, .carousel-item:after {
    width: 100%;
  }
  .carousel-item img:first-of-type, .carousel-item:after {
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
  }

  .carousel-caption {
    top: 4%;
    width: 90%;
  }
  .carousel-caption h2 {
    font-size: 2.4rem;
    margin-bottom: 24px;
  }
  
  .carousel-caption p {
    font-size: 1.6rem;
  }
  .carousel-control-next, .carousel-control-prev {
    bottom: -5%;
    opacity: 1;

  }

  .carousel-control-arrow {
    background-size: 100%;
  }
  .carousel-control-next {
    right: 0;
    left: auto;
  }
}

/* Heating block */

.heating .img {
  height: 100%;
  object-fit: cover;
  max-height: 800px;
}

/* Properties */
.properties__container {
  overflow-x: auto;
}
.properties__container .box-flex {
  width: max-content;
  gap: 24px;
}

.properties__container .img {
  height: 100%;
  object-fit: cover;
}
.properties__container .description__container {
  width: 75vw;
  margin-bottom: 32px;
  border: 1px solid #E6E6E6;
  border-radius: var(--radius-m);
}

.properties__container .description__body {
  padding: 16px 16px 16px 0;
}

.properties__container::-webkit-scrollbar,.compare__container::-webkit-scrollbar {
  display: initial;
  scrollbar-width: thin;
  height: 12px;
  border-radius: 20px;
  background-color: #e6e6e6;
}

.properties__container::-webkit-scrollbar-thumb, .compare__container::-webkit-scrollbar-thumb  {
  background-color: var(--color-secondary);
  border-radius: 20px;
}

@media screen and (max-width: 768px) {
  .properties__container .description__body {
    padding: 16px;
  }
  .properties__container .description__container {
    width: 85vw;
  }
  .properties__container .img {
    height: 250px;
  }
}

/* Compare */

td .ellipse {
  width: 20px;
  height: 20px;
}
th {
  text-align: center;
}
td {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid var(--color-grey);
}


.a-left, td h4 {
  text-align: left;
}

@media screen and (max-width: 767px) {
  .compare__container {
    overflow-x: auto;
  }

  table {
    width: max-content;
  }
  td {
    width: 50vw;
  }
}