* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

img {
  display: block;
}

.full-img {
  width: 100%;
}

.small-img {
  display: none;
}

.heading-primary {
  font-size: 2rem;
  font-weight: 600;
}

.heading-tertiary {
  font-weight: 600;
  font-size: 1.6rem;
}

.basic-text {
  font-size: 1.2rem;
}

.add-blue {
  color: #293dbd;
}

.add-bold {
  font-weight: 600;
}

.section-hero {
  width: 90%;
  margin: 5rem auto 7rem;
  position: relative;
}

.hero-text {
  position: absolute;
  width: 50%;
  transform: translateY(-50%);
  top: 50%;
  left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #333;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  width: fit-content;
  gap: 1rem;
}

.hero-grid p,
.ai-era-head p,
.smell-grid1 .heading-tertiary,
.ai-text .heading-tertiary,
.section-some .heading-tertiary,
.section-safeeee .heading-tertiary,
.choice-text p {
  background-color: #ffb9a2;
  width: fit-content;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  color: #fff;
}

.section-ai-era {
  width: 90%;
  margin: 0 auto 7rem;
}

.ai-era-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.ai-era-cell,
.ai-era-cell1,
.ai-era-cell3,
.ai-era-cell2 {
  position: relative;
}

.ai-era-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem 0;
}

.ai-era-text {
  position: absolute;
  color: white;
  width: 85%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.ai-era-cell-text {
  background-color: red;
  color: black;
}

.ai-era-cell1 {
  color: #333;
  border-radius: 13px;
  aspect-ratio: 1/1;
  background-color: #eee;
}

.ai-era-cell2 {
  background-color: #333;
  border-radius: 13px;
  aspect-ratio: 1/1;
}

.ai-era-cell3 {
  background-color: #293dbd;
  border-radius: 13px;
  aspect-ratio: 1/1;
  color: white;
}

.ai-era-text2,
.ai-era-text1,
.ai-era-text3 {
  position: absolute;
  width: 80%;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ai-era-text2 {
  color: white;
}

.ai-era-text3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.ai-era-text3 .heading-primary {
  font-size: 7rem;
}

.ai-era-cell-long,
.ai-era-cell-wide {
  background-color: #eee;
  border-radius: 13px;
}

.usage {
  width: 80%;
}

.ai-era-cell-long {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  grid-area: 1 / 3 / 3 / 4;
}

.ai-era-cell-wide {
  grid-area: 3 / 2 / 4/ 4;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1rem;
  overflow: hidden;
}

.ai-era-wide {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.wide {
  width: 100%;
  transform: scale(2);
}

.ai-era-cell4 {
  background-color: #eee;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.ai-era-text4 {
  padding: 1rem;
}

.smell-grid1 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  width: 90%;
  margin: 0 auto 5rem;
  background-color: #090909;
  color: white;
  border-radius: 13px;
  overflow: hidden;
}

.smell1-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
}

.smell-grid2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 80%;
  margin: 0 auto 5rem;
  gap: 2rem;
}

.smell2-cell {
  background-color: #eee;
  border-radius: 13px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.smell2-cell .heading-primary {
  color: #ffb9a2;
}

.smell-logo {
  height: 3rem;
  align-self: flex-start;
}

.smell2-cell:nth-child(1) {
  grid-area: 1/1/2/3;
}

.smell2-cell:nth-child(2) {
  grid-area: 1/3/2/5;
}

.smell2-cell:nth-child(3) {
  grid-area: 1/5/2/7;
}

.smell2-cell:nth-child(4) {
  grid-area: 2/2/3/4;
}

.smell2-cell:nth-child(5) {
  grid-area: 2/4/3/6;
}

.section-levels {
  width: 90%;
  margin: 0 auto 5rem;
  position: relative;
  color: white;
}

.section-levels h2 {
  position: absolute;
  top: 3rem;
  left: 3rem;
}

.levels-text {
  position: absolute;
  top: 7rem;
  left: 3rem;
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.levels-text .heading-tertiary {
  font-weight: 500;
}

.levels-text p:nth-of-type(odd) {
  color: #d4daff;
  font-weight: 600;
}

.section-details {
  width: 90%;
  margin: 0 auto 5rem;
}

.details-head {
  text-align: center;
}

.detils-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background-color: #eee;
  align-items: center;
  border-radius: 13px;
  overflow: hidden;
  margin-top: 2rem;
}

.details-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 90%;
  margin: 0 auto;
  padding: 2rem 0;
}

.section-ai {
  width: 90%;
  margin: 0 auto 5rem;
  position: relative;
}

.ai-text {
  position: absolute;
  text-align: center;
  width: 70%;
  left: 50%;
  transform: translate(-50%, -15%);
  top: 0;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  margin: 3rem 0;
  gap: 1rem;
}

.ai-cell {
  background-color: #eee;
  padding: 2rem;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid #ccc;
}

.ai-cell:nth-child(1) {
  grid-area: 1/1/2/3;
}

.ai-cell:nth-child(2) {
  grid-area: 1/3/2/5;
}

.ai-cell:nth-child(3) {
  grid-area: 1/5/2/7;
}

.ai-cell:nth-child(4) {
  grid-area: 1/7/2/9;
}

.ai-cell:nth-child(5) {
  grid-area: 2/2/3/4;
}

.ai-cell:nth-child(6) {
  grid-area: 2/4/3/6;
}

.ai-cell:nth-child(7) {
  grid-area: 2/6/3/8;
}

.section-camera {
  width: 80%;
  margin: 0 auto 5rem;
  color: white;
  border-radius: 13px;
  padding: 3rem;
  background-image: linear-gradient(
    to top left,
    rgb(17, 17, 17),
    rgb(39, 39, 39)
  );
}

.camera-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.camera-hero-check {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: fit-content;
  gap: 1rem;
}

.camera-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.camera-cell {
  background-color: #2f2f34;
  padding: 2rem;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.camera-cell img {
  border-radius: 13px;
}

.section-part {
  width: 80%;
  margin: 0 auto 5rem;
  position: relative;
}

.part-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  right: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-distance {
  display: grid;
  grid-template-columns: 2fr 1fr;
  width: 90%;
  margin: 0 auto 5rem;
  background-color: #eee;
  border-radius: 13px;
  overflow: hidden;
}

.distance-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.distance-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1rem;
  width: fit-content;
}

.section-some {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  width: 80%;
  margin: 0 auto;
  align-items: center;
}

.section-some img {
  margin-bottom: 5rem;
}

.moree {
  gap: 1rem;
}

.section-safe {
  width: 90%;
  margin: 0 auto 5rem;
  position: relative;
}

.safe-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  width: 35%;
  left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-safeeee {
  width: 80%;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.safeee-img {
  width: 50%;
}

.section-auto {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 90%;
  margin: 0 auto 5rem;
  gap: 2rem;
}

.auto-cell {
  position: relative;
}

.auto-text {
  position: absolute;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-chocie {
  width: 90%;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.choice-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.choice-cell {
  position: relative;
}

.choice-cell-text {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-last {
  width: 90%;
  margin: 0 auto 5rem;
}

.section-last h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.last-cell {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 2rem;
  background-color: #eee;
  border-radius: 13px;
  overflow: hidden;
  align-items: center;
}

.last-cell2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin-bottom: 2rem;
  background-color: #eee;
  border-radius: 13px;
  overflow: hidden;
  align-items: center;
}
.last-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

@media (max-width: 800px) {
  html {
    font-size: 85%;
  }

  .small-img {
    display: block;
  }

  .big-img {
    display: none;
  }

  .hero-text {
    width: 80%;
    transform: translateY(0);
    transform: translateX(-50%);
    top: 5rem;
    left: 50%;
  }

  .ai-era-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-era-cell-long {
    grid-area: 2/1 / 4/2;
  }

  .ai-era-cell-wide {
    grid-area: 5/1/6/3;
  }

  .smell-grid1 {
    grid-template-columns: 1fr;
  }

  .smell1-text {
    padding: 4rem 0;
  }

  .smell-grid2 {
    grid-template-columns: repeat(4, 1fr);
  }

  .smell2-cell:nth-child(1) {
    grid-area: 1/1/2/3;
  }

  .smell2-cell:nth-child(2) {
    grid-area: 1/3/2/5;
  }

  .smell2-cell:nth-child(3) {
    grid-area: 2/1/3/3;
  }

  .smell2-cell:nth-child(4) {
    grid-area: 2/3/3/5;
  }

  .smell2-cell:nth-child(5) {
    grid-area: 3/2/4/4;
  }

  .levels-text,
  .section-levels h2 {
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
  }

  .levels-text {
    top: 10rem;
  }

  .detils-grid {
    grid-template-columns: 1fr;
  }

  .ai-hero {
    background-color: #eee;
    border-radius: 13px;
    padding-top: 2rem;
  }

  .ai-text {
    position: relative;
    transform: translate(0, 0);
    left: 0;
    width: 80%;
    margin: 0 auto 2rem;
  }

  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ai-cell:nth-child(1),
  .ai-cell:nth-child(2),
  .ai-cell:nth-child(3),
  .ai-cell:nth-child(4),
  .ai-cell:nth-child(5),
  .ai-cell:nth-child(6) {
    grid-area: auto;
  }

  .ai-cell:nth-child(7) {
    grid-area: 3 / 2 / 3 / 3;
  }

  .camera-grid {
    grid-template-columns: 1fr;
  }

  .part-text {
    width: 90%;
    top: 1rem;
    transform: translateY(0);
    right: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .section-distance {
    grid-template-columns: 1fr;
  }

  .safe-text {
    top: 6rem;
    transform: translateY(0);
    transform: translateX(-50%);
    left: 50%;
    width: 80%;
  }

  .safeee-img {
    width: 80%;
  }

  .section-auto {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .last-cell2,
  .last-cell {
    grid-template-columns: 1fr;
  }

  .last-text {
    grid-row: 2/3;
  }
}

@media (max-width: 580px) {
  .ai-era-grid {
    grid-template-columns: 1fr;
  }

  .ai-era-cell-long,
  .ai-era-cell-wide {
    grid-area: auto;
    aspect-ratio: 1/1;
  }

  .ai-era-cell-wide {
    flex-direction: column;
  }

  .wide {
    transform: scale(1);
  }

  .smell-grid2 {
    grid-template-columns: 1fr;
  }

  .smell2-cell:nth-child(1),
  .smell2-cell:nth-child(2),
  .smell2-cell:nth-child(3),
  .smell2-cell:nth-child(4),
  .smell2-cell:nth-child(5) {
    grid-area: auto;
  }

  .ai-grid {
    grid-template-columns: 1fr;
  }

  .ai-cell:nth-child(1),
  .ai-cell:nth-child(2),
  .ai-cell:nth-child(3),
  .ai-cell:nth-child(4),
  .ai-cell:nth-child(5),
  .ai-cell:nth-child(6),
  .ai-cell:nth-child(7) {
    grid-area: auto;
  }

  .safe-text {
    top: 2rem;
  }
}
