@import url('https://fonts.googleapis.com/css2?family=Poppins: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');

html {scroll-behavior: smooth;}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins';
  background: black;
}

.toppart {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #251445, transparent);
  transition: opacity 0.8s ease-in-out;
  z-index: -10;
  pointer-events: none;
  opacity: 1;
}

.layer-b {
  background: radial-gradient(ellipse at center, #592327, transparent);
  opacity: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: transparent;
}

.logo {
  font-size: 1.5em;
  color: white;
  font-weight: bold;
}

.logo a {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: white;
  align-items: center;
}
  
.logo img {
  width: 50px;
  height: 50px;
  filter: brightness(10);
  transition-duration: .5s;
}

.logo a:hover img {
  filter: none;
}  
  
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  transform: translateY(2px);
}
  
nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 500;
}  

nav ul li a p {
  margin: 0px;
}

nav ul li a .line {
  width: 00%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(30deg, rgb(246, 143, 143), rgba(140, 82, 255, 1));
  transition: ease-in .3s;
}

nav ul li a:hover .line {
  width: 100%;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 60px;
  width: 100%;
}

.hero-text{
  width: 100%;
}

.hero-text h1 {
  color: white;
  font-size: 3em;
  line-height: 1.2;
}
  
.hero-text span {
  background: linear-gradient(30deg, #f68f8f 0%, rgba(140, 82, 255, 1) 100%);
  color: transparent;
  background-clip: text;
}
  
.hero-text p {
  font-size: 1.1em;
  color: #ccc;
}

.typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 2s steps(30, end), blink 0.75s step-end infinite;
}
  
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

  
#btn {
  position: relative;
  display: inline-block;
  padding: 10px 25px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  background: transparent;
  z-index: 0;
  overflow: hidden;
}
  
#btn::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 6px;
  background: linear-gradient(30deg, rgb(246, 143, 143), rgba(140, 82, 255, 1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  transition: all 0.2s ease;
}

#btn p {
  background: transparent;
  backdrop-filter: blur(4px);
  color: white;
  border-radius: 4px;
  margin: 0;
  transition: ease .2s;
}

#btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(30deg, rgb(246, 143, 143), rgba(140, 82, 255, 1));
  transform: translateY(100%);
  transition: transform .4s ease;
  z-index: -2;
}

#btn:hover::after {
  transform: translateY(0);
}

#btn:hover {
  color: black;
}

section.product-presentation {
  margin: 0;
  padding: 20px 60px;
  background-color: white;
  color: black;
}

.product-presentation h1 {
  font-size: 2.5em;
  background: linear-gradient(30deg, rgb(246, 143, 143), rgba(140, 82, 255, 1));
  color: transparent;
  background-clip: text;
}

/* Page de à propos */

.summury-element a {
  color: white;
  text-decoration: none;
}

.about-summury .summury-element {
  width: fit-content;
}

.about-summury {
  width: auto;
  margin-right: 115px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
}

.about-summury p {
  margin: 0;
}

.about-summury a .line {
  margin-left: 50%;
  width: 00%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(30deg, rgb(246, 143, 143), rgba(140, 82, 255, 1));
  transition: ease-in .3s;
}

.about-summury a:hover .line {
  margin-left: 0;
  width: 100%;
}

section.about-us {
  margin: 0;
  padding: 20px 60px;
  background-color: white;
  color: black;
}

.about-us h1 {
  font-size: 2.5em;
  background: linear-gradient(30deg, rgb(246, 143, 143), rgba(140, 82, 255, 1));
  color: transparent;
  background-clip: text;
}