@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.logo {
  width: 80px;
  height: 100px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 5px rgb(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  background-color: #d9d9d97c;
  backdrop-filter: blur(10px);
  left: 43%;
  top: 0;
  transform: translateX(-50%);
  z-index: 10;
}

.logo img {
  width: 110px;
  height: 60px;
}

header {
  background: radial-gradient(circle at center,
      #E8E8E8 0%,
      #cecece 40%,
      #6D6D6D 100%);
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto 1fr;
  height: 100vh;
  padding: 40px;
  gap: 40px;
}

.left-infos {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10%;
  align-items: center;
}

.left-infos h2 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 100px;
  letter-spacing: 7px;
  opacity: 0;
  font-family: "Inter", sans-serif;
  color: #ffffff3f;
}

.options-car {
  display: flex;
  gap: 16px;
  align-items: center;
}

.options-car div {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
}


.options-car div:hover {
  transform: translateY(-7px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.options-car img {
  width: 100%;
  height: 70%;
}

.card-car-white {
  background: #eeeeeeb6;
}

.card-car-blue {
  background: #2f81edb6;
}

.card-car-red {
  background: #eb5757;
}


.active {
  border: 2px solid black;
}

.car-hero {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  position: relative;
}

.car-hero .fundo {
  grid-column: 4 / 11;
  grid-row: 2 / 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
}

.car-hero .numero {
  font-family: "League Spartan", sans-serif;
  font-size: 500px;
  grid-column: 5 / 13;
  grid-row: 2 / 5;
  font-weight: 900;
  z-index: 2;
  opacity: 0;
  transform: translateY(-10px);
}

.car-hero .GT3 {
  grid-column: 7 / 9;
  grid-row: 3 / 3;
  transform: rotate(90deg);
  font-weight: 700;
  z-index: 3;
  font-family: "League Spartan", sans-serif;
  color: white;
  font-size: 60px;
  opacity: 0;
}

.car-hero img[alt="porsche hero"] {
  grid-column: 4 / 12;
  grid-row: 3 / 6;
  width: 100%;
  scale: 0.5;
  z-index: 4;
  opacity: 0;
}

.car-hero img[alt="porsche nome"] {
  grid-column: 6 / 10;
  grid-row: 5 / 7;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
}

.info-hero {
  grid-column: 5 / 11;
  grid-row: 6 / 7;
  display: flex;
  gap: 32px;
  align-items: center;
}

.mini-info {
  display: flex;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  align-items: center;
  gap: 8px;
}

.mini-info img {
  width: 24px;
}

.transicao-diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: radial-gradient(circle at center,
      #6D6D6D 0%,
      #5a5a5a 40%,
      #3E3E3E 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

.container-principal-info {
  background: radial-gradient(circle at center,
      #6D6D6D 0%,
      #5a5a5a 40%,
      #3E3E3E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 50px;
}

.container-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateX(-80px);
}

.card-infos-car {
  width: 350px;
  background-color: #1C1A1D;
  border-radius: 10px;
  color: white;
  padding: 20px;
  font-size: 15px;
  height: 330px;
  font-family: "IBM Plex Serif", serif;
  letter-spacing: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  transition: 0.2s ease;
}

.card-infos-car:hover {
  transform: scale(1.03);
}

.container-info h2 {
  font-size: 30px;
  color: white;
}

.container-principal-info #style {
  width: 420px;
  transition: 0.2s ease;
  height: 730px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateX(80px);
}


.long-container-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  background: radial-gradient(circle at center,
      #E8E8E8 0%,
      #cecece 40%,
      #6D6D6D 100%);
}

.porsche-slot {
  grid-column: 1 / 2;
  grid-row: 1 / 3;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#porsche {
  align-items: center;

}


.white-part {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  flex-direction: column;
  font-family: "IBM Plex Serif", serif;
}

.white-part img {
  width: 700px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgb(0, 0, 0, 0.4);

}

.white-part h2 {
  font-size: 33px;
}

.white-information {
  width: 700px;
  height: 200px;
  border-radius: 10px;
  background-color: #555A5E;
  color: white;
  font-size: 23px;
  font-weight: 700;
  padding-top: 20px;
  padding-left: 30px;
  box-shadow: 0 2px 10px rgb(0, 0, 0, 0.4);
  letter-spacing: 2px;
}


.gray-part {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  flex-direction: column;
  font-family: "IBM Plex Serif", serif;
  opacity: 0;
}

.lado {
  width: 700px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgb(0, 0, 0, 0.4);
}

.gray-part h2 {
  font-size: 33px;
}

.gray-information {
  width: 700px;
  height: 200px;
  border-radius: 10px;
  background-color: #F9F9F9;
  font-size: 23px;
  font-weight: 700;
  padding-top: 20px;
  padding-left: 30px;
  letter-spacing: 2px;
  box-shadow: 0 0 10px rgb(0, 0, 0, 0.4);
}

.social-midias {
  width: 350px;
  height: 80px;
  border-radius: 10px;
  background-color: #F9F9F9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 0 10px rgb(0, 0, 0, 0.6);
}

.social-midias img {
  width: 40px;
  height: 40px;
  transition: 0.3s ease;
}

.social-midias img:hover {
  transform: translateY(-7px);
}

@media screen and (max-width: 900px) {

  body {
    overflow-x: hidden;
    width: 100%;
  }

  .logo {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 70px;
    border-radius: 0 0 8px 8px;
  }

  .logo img {
    width: 70px;
    height: auto;
  }

  header {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 90px 20px 40px 20px;
    gap: 30px;
  }

  .car-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .car-hero .numero {
    font-size: 120px;
    grid-column: auto;
    grid-row: auto;
    position: static;
    transform: none;
    line-height: 1;
    margin-bottom: -40px;
    opacity: 1 !important;
    text-align: center;
  }

  .car-hero .GT3 {
    grid-column: auto;
    grid-row: auto;
    transform: none;
    position: absolute;
    top: 100px;
    font-size: 24px;
    color: #333;
    opacity: 1 !important;
    z-index: 5;
  }

  .car-hero img[alt="porsche hero"] {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 400px;
    scale: 1;
    margin: 0;
    opacity: 1 !important;
    z-index: 2;
  }

  .car-hero .fundo,
  .car-hero img[alt="porsche nome"] {
    display: none;
  }

  .info-hero {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
  }

  .mini-info h3 {
    font-size: 14px;
  }

  .left-infos {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    order: 2;
  }

  .left-infos h2 {
    display: none;
  }

  .options-car {
    justify-content: center;
    width: 100%;
  }

  .container-principal-info {
    flex-direction: column;
    padding: 40px 20px;
    height: auto;
    gap: 30px;
  }

  .container-info {
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    align-items: center;
  }

  .container-info h2 {
    text-align: center;
    margin-bottom: 10px;
  }

  .card-infos-car {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 25px;
    margin-bottom: 15px;
  }

  .container-principal-info #style {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transform: none !important;
    opacity: 1 !important;
  }

  .long-container-main {
    display: flex;
    flex-direction: column;
  }

  .porsche-slot {
    display: none;
  }

  .white-part,
  .gray-part {
    height: auto;
    padding: 60px 20px;
    width: 100%;
    gap: 30px;
    opacity: 1 !important;
  }

  .white-part img,
  .lado {
    width: 100%;
    height: auto;
    max-height: 250px;
  }

  .white-information,
  .gray-information {
    width: 100%;
    height: auto;
    font-size: 16px;
    padding: 20px;
    line-height: 1.5;
  }

  .white-part h2,
  .gray-part h2 {
    font-size: 26px;
    text-align: center;
  }

  .social-midias {
    width: 100%;
    height: 70px;
  }
}