html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 62.5%;
}

body > * {
  overflow: hidden;
}

.heading-primary {
  font-size: 3.2rem;
  font-weight: 700;
}

.heading-secondary {
  font-size: 2.8rem;
}

.heading-tertiary {
  font-size: 1.6rem;
}

.text-cont {
  font-size: 1.2rem;
}

.text-cont-big {
  font-size: 1.4rem;
}

.section-hero {
  position: relative;
}

.section-hero img {
  width: 100%;
  margin-bottom: -5px;
}

.section-hero h1 {
  position: absolute;
  width: 50%;
  top: 0;
  bottom: 0;
  margin: auto 0;
  height: fit-content;
  left: 3vw;
}

.section-specs {
  background-color: black;
  color: white;
  padding-bottom: 5rem;
}

.section-specs h2 {
  margin: 0 auto;
  padding: 5rem 0;
  width: fit-content;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 90%;
  margin: 0 auto;
  gap: 2rem;
}

.specs-cell {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 40%);
  background-color: #1a1a1a;
  border-radius: 13px;
  border: 1px solid white;
  padding: 1rem 2rem;
  align-items: center;
}

.specs-cell img {
  width: 100%;
}

.specs-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 900px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

.section-quad {
  background-color: black;
  color: white;
}

.quad-text {
  width: 60%;
  text-align: center;
  margin: 0 auto;
  padding: 5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quad-data {
  width: 100%;
}

@media (max-width: 650px) {
  .quad-text {
    width: 80%;
  }

  .quad-data {
    aspect-ratio: 1;
    object-fit: cover;
  }
}

.section-grid h2 {
  width: 80%;
  margin: 0 auto;
  display: block;
  padding: 5rem 0 3rem;
}

.grid-cont {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 50%);
  gap: 5rem 2rem;
}

.grid-data {
  width: 100%;
}

.grid-text {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.add-pad {
  padding-bottom: 5rem;
}

@media (max-width: 850px) {
  .grid-cont {
    grid-template-columns: 1fr;
  }

  .grid-text:nth-child(3) {
    grid-area: 4 / 1 / 5 / 2;
  }

  .grid-text:nth-child(7) {
    grid-area: 8 / 1 / 9 / 2;
  }
}

/* carousel */

.carousel {
  position: relative;
  width: 80%;
  overflow: hidden;
  margin: 0 auto;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.carousel-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding: 0 2rem;
  width: 80%;
}
.carousel-data {
  justify-self: right;
  width: 100%;
  aspect-ratio: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}
.carousel-btn.left {
  left: 10px;
}
.carousel-btn.right {
  right: 10px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}
.carousel-dot.active {
  background-color: #333;
}

.section-carousels h2 {
  width: 80%;
  margin: 0 auto;
  padding: 5rem 0 3rem;
}

@media (max-width: 806px) {
  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .carousel-data {
    padding-bottom: 2rem;
  }
}

@media (max-width: 520px) {
  .carousel-btn.left,
  .carousel-btn.right {
    display: none;
  }

  .grid-text {
    width: 100%;
  }
}

/* carousel */
