@import url("https://fonts.googleapis.com/css2?family=Nova+Square&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Slim&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Flat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Round&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Round&family=Offside&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

:root {
  --fSquare: "Nova Square", sans-serif;
  --fSlim: "Nova Slim", system-ui;
  --fFlat: "Nova Flat", system-ui;
  --fRound: "Nova Round", system-ui;
  --fOffside: "Offside", sans-serif;
  --fBarlow: "Barlow Semi Condensed", sans-serif;

  --cMain: #298598;
  --cBlue: #0a192f;
  --cSilver: #a8b2d1;
  --cPink: #ff3366;
  --cWhite: #f5f5f5;
}
/* =========================CART NOTIFICATION========================= */

.hidenCartOverlay {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}
.hidenCartOverlay.open {
  right: 0;
}

.overlay-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 9998;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--fRound);
  border-bottom: 1px solid #ddd;
}
.cart-header button {
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  height: 100%;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #ddd;
  margin-top: auto;
}
.cart-footer .openCheckoutBtn {
  font-family: var(--fFlat);
  padding: 10px;
  background-color: var(--cMain);
  color: var(--cWhite);
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.cart-footer .openCheckoutBtn:hover {
  background-color: var(--cPink);
}
.cart-footer p {
  font-family: var(--fFlat);
  font-size: 1rem;
}
.cart-header,
.cart-footer {
  padding: 15px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-item-info {
  flex: 1;
  margin-left: 10px;
}

.remove-item {
  background: none;
  border: none;
  color: var(--cPink);
  cursor: pointer;
  font-size: 18px;
}
.remove-item:hover {
  color: var(--cMain);
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-info {
  flex: 1;
  flex-wrap: wrap;
  margin-left: 10px;
  font-family: var(--fFlat);
}

.cart-item-info a {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: var(--cBlue);
  width: 100%;
  text-decoration: none;
  margin-bottom: 4px;
}

.cart-item-info a:hover {
  color: var(--cMain);
}

.cart-item-info p {
  font-size: 0.9rem;
  color: #666;
}
@media (max-width: 430px) {
  .cart-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
  }
  .cart-item-info {
    flex: 1;
    width: 100%;
    flex-wrap: wrap;
    margin-left: 0px;
    font-family: var(--fFlat);
  }
}
@media (max-width: 533px) {
  .hidenCartOverlay {
    width: 70%;
    height: 100%;
  }
}

/* =========================MAIN========================= */

main {
  padding-top: 10%;
}
main h1 {
  font-family: var(--fSquare);
  font-size: 8rem;
  color: var(--cBlue);
  text-indent: 190px;
  background-color: transparent;
  /* backdrop-filter: blur(3px); */
  width: fit-content;
  border-radius: 6px;
}
main p {
  font-family: var(--fSlim);
  font-size: 1.5rem;
  color: var(--cMain);
  text-indent: 190px;
  background-color: transparent;
  /* backdrop-filter: blur(3px); */
  width: fit-content;
  border-radius: 6px;
}
main p a {
  text-decoration: none;
  color: var(--cMain);
}
main img {
  position: absolute;
  right: 0;
  bottom: 15%;
  z-index: -1;
}

main section {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  background-color: var(--cWhite);
  margin-top: 15%;
  padding: 2%;
  border-radius: 36px 36px 0 0;
  box-shadow: 1px 4px 75px 10px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 1px 4px 75px 10px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 1px 4px 75px 10px rgba(0, 0, 0, 0.25);
}
main section p {
  font-family: var(--fSquare);
  color: var(--cBlue);
  font-size: 3rem;
  text-indent: 0;
}

.sloganWrapper {
  background-color: var(--cSilver);
  padding: 1em;
  width: 15%;
  border-radius: 16px;
}
.sloganAnimation {
  overflow: hidden;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.sloganAnimation span {
  font-family: var(--fRound);
  color: var(--cBlue);
  font-size: 1.25rem;
  line-height: 100%;
  white-space: nowrap;
  -webkit-animation: marquee 5s linear infinite;
  animation: marquee 5s linear infinite;
}
@-webkit-keyframes marquee {
  0% {
    -webkit-transform: translate(190%, 0);
    transform: translate(190%, 0);
  }

  100% {
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
  }
}
@keyframes marquee {
  0% {
    -webkit-transform: translate(190%, 0);
    transform: translate(190%, 0);
  }

  100% {
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
  }
}

/* =========================SHOP========================= */

#shop {
  width: 80%;
  margin: 0 auto;
  padding: 2%;
  /* background-color: orange; */
  background-color: var(--cWhite);
  box-shadow: 1px 55px 75px 10px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 1px 55px 75px 10px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 1px 55px 75px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 11;
  margin-bottom: 7%;
  border-radius: 0 0 36px 36px;
}

#shop aside {
  /* background-color: lightcoral; */
  padding: 2%;
  width: 20%;
}
#shop aside h1 {
  font-family: var(--fRound);
  font-size: 2.5rem;
  color: var(--cBlue);
}
#shop aside h3 {
  font-family: var(--fBarlow);
  color: var(--cBlue);
  font-size: 24px;
  font-weight: 500;
  margin-left: 15px;
  display: flex;
  align-items: center;
}

#shop aside .collectionSection:first-of-type {
  margin-top: 10%;
}

#shop aside .collectionTitle {
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

#shop aside .dropdownIcon {
  width: 10px;
  height: 15px;
  background-color: var(--cBlue);
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  margin: 2% 0 0 2%;
  transition: all 0.3s ease;
}
#shop aside .collectionTitle.clicked .dropdownIcon {
  transform: rotate(90deg);
}

.colWrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#shop aside .hideCollectionDropdown {
  display: none !important;
}
#shop aside .collectionDropdown {
  display: flex;
  flex-direction: column;
  margin-left: 35px;
  margin-bottom: 5%;
}
#shop aside .collectionDropdown span {
  font-family: var(--fBarlow);
  font-size: 24px;
  font-style: italic;
  cursor: pointer;
  margin-top: 1%;
}

.collectionOne .team1:hover,
.collectionOne .team2:hover,
.collectionTwo .team1:hover {
  color: red;
}
.collectionOne .team3:hover,
.collectionOne .team4:hover,
.collectionTwo .team2:hover {
  color: blue;
}
.collectionOne .team5:hover,
.collectionOne .team6:hover,
.collectionTwo .team3:hover {
  color: orange;
}
.collectionOne .team7:hover,
.collectionOne .team8:hover,
.collectionTwo .team4:hover {
  color: #10e0b3;
}
.collectionOne .team9:hover,
.collectionTwo .team5:hover {
  color: green;
}
.collectionOne .team10:hover,
.collectionOne .team11:hover,
.collectionTwo .team7:hover {
  color: rgb(19, 122, 240);
}

.collectionTwo .team6:hover {
  color: rgb(77, 77, 248);
}
/* ==========PRODUCTS========== */

#driverProducts {
  width: 100%;
  padding: 2% 0;
  /* background-color: #10e0b3; */
}
#driverProducts section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

#shop #driverProducts .hideProduct {
  display: none;
}

article {
  height: 360px;
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
  min-width: 200px;
  padding: 10px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  /* background-color: #10e0b3; */
}
section a {
  text-decoration: none;
}

article .gotoPageItem {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 65%;
  /* background-color: #ff3366; */
}
article .gotoPageItem .imageWrapper {
  height: 85%;
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 6px 6px 0 0;
  position: relative;
}
article .gotoPageItem .imageWrapper .hoverImage {
  position: absolute;
  top: 0;
  height: 100%;
  opacity: 0;
}
article .gotoPageItem .imageWrapper:hover .showedImage {
  opacity: 0;
}
article .gotoPageItem .imageWrapper:hover .hoverImage {
  opacity: 1;
}
article .gotoPageItem .imageWrapper img {
  object-fit: cover;
  width: 100%;
  border-radius: 6px 6px 0 0;
}
article .gotoPageItem h5 {
  font-family: var(--fRound);
  font-size: 1.75rem;
  color: var(--cBlue);
  width: fit-content;
  line-height: 95%;
  margin-top: 5px;
}

article p {
  font-family: var(--fRound);
  font-size: 1.25rem;
  color: var(--cMain);
  width: fit-content;
  cursor: pointer;
}

article .mainClickPoint {
  margin-top: 30px;
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 10px;
  width: calc(100% - 20px);
}
article .mainClickPoint h4 {
  font-family: var(--fRound);
  font-size: 2rem;
  color: var(--cBlue);
}
article .mainClickPoint button {
  font-size: 2rem;
  background-color: var(--cMain);
  width: fit-content;
  padding: 1% 10%;
  border-radius: 6px;
  color: var(--cBlue);
  position: absolute;
  right: 0;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
article .mainClickPoint button:hover {
  background-color: var(--cPink);
}

/* =========================RESPONSIVE========================= */
@media (max-width: 5000px) {
  .rus-fix4,
  .alo-fix2 {
    display: none;
  }
}
@media (max-width: 1575px) {
  .ham-fix3,
  .ham-fix2,
  .ver-fix1,
  .ver-fix2,
  .tsu-fix1,
  .ant-fix2,
  .ant-fix3,
  .sai-fix2,
  .sai-fix3,
  .alb-fix2,
  .alb-fix3 {
    display: none;
  }
  .pia-fix1,
  .pia-fix2,
  .nor-fix3,
  .rus-fix1,
  .rus-fix2 {
    display: block;
  }
}
@media (max-width: 1560px) {
  .lec-fix1,
  .lec-fix2,
  .lec-fix3 {
    display: none;
  }
}
@media (max-width: 1453px) {
  .lec-fix1,
  .lec-fix2,
  .lec-fix3 {
    display: block;
  }
}
@media (max-width: 1400px) {
  .lec-fix1,
  .lec-fix2,
  .lec-fix3,
  .alo-fix1 {
    display: none;
  }
}
@media (max-width: 1061px) {
  .lec-fix1 {
    display: block;
  }
  .lec-fix3,
  .lec-fix2 {
    display: none;
  }
}
@media (max-width: 1024px) {
  .lec-fix1,
  .lec-fix3,
  .lec-fix2 {
    display: none;
  }
}
@media (max-width: 822px) {
  .lec-fix1,
  .tsu-fix1,
  .alo-fix1 {
    display: block;
  }
  .lec-fix3,
  .lec-fix2,
  .nor-fix3,
  .pia-fix1,
  .pia-fix2,
  .rus-fix1,
  .rus-fix2 {
    display: none;
  }
}
@media (max-width: 533px) {
  .lec-fix1,
  .lec-fix3,
  .lec-fix2,
  .tsu-fix1,
  .nor-fix1,
  .ant-fix1,
  .alo-fix1,
  .sai-fix1,
  .alb-fix1 {
    display: none;
  }
}

/* ------ */

@media (max-width: 1453px) {
  main section,
  #shop {
    width: 90%;
  }
}

@media (max-width: 1024px) {
  #shop {
    flex-direction: column;
  }
  #shop aside {
    padding: 0;
    width: 100%;
  }
  .colWrapper {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: start;
  }
  #shop aside h3 {
    margin-left: 0;
  }
  #shop aside .collectionSection:first-of-type,
  #shop aside .collectionSection {
    margin-top: 2%;
  }

  #shop aside .dropdownIcon {
    margin: 5px 0 0 5px;
  }

  main img {
    width: 100%;
    object-fit: contain;
    position: absolute;
    top: 10%;
  }
}

@media (max-width: 700px) {
  .colWrapper {
    flex-direction: column;
    gap: 10px;
  }
  #shop aside .collectionSection:first-of-type {
    margin-top: 3%;
  }
  #shop aside .collectionSection {
    margin-top: 0;
  }

  main img {
    width: 100%;
    object-fit: contain;
    position: absolute;
    top: 15%;
    filter: blur(1px);
  }
}

@media (max-width: 650px) {
  main section {
    display: none;
  }
  #shop {
    margin-top: 20%;
    border-radius: 16px;
  }
  main h1,
  main p {
    width: fit-content;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-indent: 0;
  }
  main h1 {
    margin-top: 5%;
  }
}

@media (max-width: 580px) {
  main img {
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 15%;
    height: 35%;
  }
}

@media (max-width: 440px) {
  main h1 {
    font-size: 6rem;
  }
  main p {
    font-size: 1.4rem;
  }
}
