* {
  text-decoration: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: "Poppins", serif;
}

html, body {
  background-image: url(assets/images/fonds_1.webp);
  background-size: cover;
  background-color: black;
  overflow: hidden;
}

.tagline,
.deal_text,
.icons a,
.copyright,
.btn_wrap {
  opacity: 0;
  transform: translateY(20px);
}


/* _____________________________NAVBAR____________________________________________________ */

header {
  position: fixed;
  top: 0px;
  right: 0;
  width: 100%;
  display: flex;
  z-index: 30;
  align-items: center;
  padding: 15px 25px;
  background: transparent;
}
header h1 {
  font-family: "Audiowide", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  color: hsla(0, 0%, 100%, 0.808);
}
nav {
  margin-left: auto;
}
.navlist {
  display: flex;
  gap: 6rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;

}
.navlist a {
  font-size: clamp(0.85rem, 0.9vw + 0.75rem, 1.2rem);
  font-weight: 500;
  color: hsla(0, 0%, 100%, 0.808);
  transition: all 0.35s ease;
  position: relative;
  display: inline-block;
}
.navlist a:hover{
  transform: translateY(-3px);
}
header button{
  background: transparent;
  border: none;
  z-index:15;
}
#iconMenu {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 600;
  color: hsla(0, 0%, 100%, 0.808);
  display: none;
  cursor: pointer;
  border: none;
}


/* ______________________________________MAIN_______________________________________________ */

.main {
  display: grid;
  grid-template-columns: 5% 60% 35%;
  grid-template-areas: "col1 col2 col3";
  height: 100vh;
}

/*______________________________________ LEFT COLUMN________________________________________ */

.icons {
  grid-area: col1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
}

.icons i {
  display: inline-block;
  color: hsla(0, 0%, 100%, 0.808);
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  padding: 1.2rem;
}

nav ul a,
.icons i,
.nav_logo {
  transition: all 0.55s ease;
}

nav ul a:hover,
.icons i:hover,
.nav_logo:hover {
  color: hsl(196, 67%, 45%);
  transform: scale(1.1);
}

/* _________________________________________Middle COLUMN_______________________________________ */

.slogan {
  grid-area: col2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(3rem, 4vw + 2rem, 6rem);
  text-align: center;
  container-type: inline-size;
  z-index: 20;
  padding: 0 1.2rem;
}

.slogan .tagline {
  font-family: "Audiowide", serif;
  font-size: clamp(1.6rem, 6cqw, 5.5rem);
}

.deal_text h2 {
  font-family: "Audiowide", serif;
  font-size: clamp(1.4rem, 4.2cqw, 4rem);
}

.deal_text .percent {
  font-size: clamp(1.6rem, 5cqw, 4.2rem);
  font-weight: bold;
}

.deal_text p:last-child {
  font-size: clamp(0.85rem, 2.2cqw, 1.6rem);
  font-weight: bold;
}

.slogan .tagline,
.slogan .deal_text > * {
  background: linear-gradient(hsl(221, 55%, 34%), hsl(174, 98%, 57%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.discount_btn {
  padding: 10px 15px;
  align-self: center;
  font-size: clamp(0.7rem, 0.4vw + 0.65rem, 1rem);
  font-weight: bold;
  border-radius: 40px;
  background: linear-gradient(hsl(221, 55%, 34%), hsl(174, 98%, 57%));
  border: none;
  box-shadow: 0 0 10px hsla(0, 0%, 100%, 0.76);
  cursor: pointer;
  transition: all 0.55s ease;
  border: 1px solid hsla(350, 100%, 88%, 0.8);
}

.discount_btn:hover {
  background: linear-gradient(
    hsla(174, 98%, 57%, 0.909),
    hsla(221, 55%, 34%, 0.9)
  );
  transform: scale(1.05);
}


/* _________________________________________RIGHT COLUMN_______________________________________ */

.astronaut {
  grid-area: col3;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.astronaut .astroman {
  width: clamp(200px, 30vw, 350px);
  height: auto;
  filter: drop-shadow(0 5px 12px #ffffff53);
  z-index: 10;
}

.planet {
  position: absolute;
  height: 600px;
  width: 1200px;
  border-radius: 50%;
  bottom: -32em;
  right: -35em;
  border: hsl(221, 55%, 34%);
  box-shadow: inset 0 0 280px 10px hsl(221, 55%, 34%),
    inset 20px 0 120px 15px hsl(174, 98%, 57%),
    inset -20px 0 280px 15px hsl(240, 38%, 88%),
    inset -20px 0 150px 90px hsl(300, 100%, 50%),
    0 0 90px hsla(185, 42%, 85%, 0.76);
  animation: pulseShadow 2s infinite ease-in-out;
}

@keyframes pulseShadow {
  0%,
  100% {
    box-shadow: inset 0 0 280px 10px hsl(221, 55%, 34%),
      inset 20px 0 120px 15px hsl(174, 98%, 57%),
      inset -20px 0 280px 15px hsl(240, 38%, 88%),
      inset -20px 0 150px 90px hsl(300, 100%, 50%),
      0 0 90px hsla(185, 42%, 85%, 0.8);
  }
  50% {
    box-shadow: inset 0 0 280px 10px hsl(221, 55%, 34%),
      inset 20px 0 120px 15px hsl(174, 98%, 57%),
      inset -20px 0 280px 15px hsl(240, 38%, 88%),
      inset -20px 0 150px 90px hsl(300, 100%, 50%),
      0 0 70px hsla(185, 42%, 85%, 0.9);
  }
}

.copyright {
  font-size: clamp(0.6rem, 0.6rem + 0.2vw, 0.8rem);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: hsla(0, 0%, 100%, 0.808);
  position: absolute;
  right: 0px;
  padding: 0 10px;
  
}

/* _________________________________________RESPONSIVE_______________________________________ */

@media (max-width: 1200px) {

  #iconMenu {
    display: block;
  }
  .navlist {
    position: absolute;
    top: -50vh;
    right: 0;
    width: 100vw;
    height: 50vh;
    background-color: hsla(0, 0%, 0%, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    transition: all 0.5s ease;
    border-radius: 4px 0 0 4px;
    padding: 10px 0;
    gap: 0.3rem;
    border-bottom: 1px solid rgba(255, 192, 203, 0.524);
  }

  .navlist a {
    color: white;
    z-index: 999;
  }
  .navlist.open {
    top: 0;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {

  .main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "col2 col2"
      "col1 col3";
  }
  .astronaut{
    min-width: 85vw;
    justify-content: center;
  }
  .slogan{
    margin-top: 4rem;
  }
}

@media (max-width: 1024px) and (max-height: 430px) and (orientation: landscape){
  .slogan{
    justify-content: flex-end;
    padding-bottom: 2.5rem;
  }
}

@media (max-height: 667px){
  .slogan {
    gap: clamp(1rem, 4vw, 2rem);
  }
}