@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Work Sans", sans-serif;
  font-style: normal;
  margin: 0;
  padding: 0;
}

header a h1:hover {
  content: "Europraid 24";
}

.hero {
  background-image: url("assets/img/europraid24_pont.jpg");
  background-size: cover;
  background-position: center;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: regular;
  text-transform: capitalize;
}

.bg-blur {
  backdrop-filter: blur(3px);
}

.socials {
  transition: transform 0.25s ease;
}

.socials:hover {
  transform: translateY(-0.25rem);
  transition: transform 0.25s ease;
}

.membre:hover p {
  color: #000;
}

.hover-underline-animation {
  position: relative;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: 0;
  left: 0;
  background-color: black;
  transition: transform 0.25s cubic-bezier(.83, 0, .29, .99);
  transform-origin: left;
}

.hover-underline-animation:hover {
  cursor: pointer;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
}

.hover-underline-animation:not(:hover)::after {
  transform-origin: right;
  transform: scaleX(0);
}

.hover-zoom-animation {
  overflow: hidden;
}

.hover-zoom-animation img {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hover-zoom-animation:hover img {
  transform: scale(1.025) rotate(1deg);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hover-zoom-animation:not(:hover) img {
  transform: scale(1) rotate(0deg);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.car-animation {
  animation: car-animation 3s ease-in-out;
}

.logo-fill-animation {
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  display: flex;
  position: absolute;
  top: -5%;
  bottom: 0%;
}

.logo-fill-animation path {
  animation: fillColor 1.5s ease-in-out;
}

@keyframes fillColor {
  0% {
    fill: #000;
  }
  100% {
    fill: #fff;
  }
}

@media (min-width: 768px) {
  .logo-fill-animation {
    width: 40%;
  }
}

@keyframes car-animation {
  0% {
    transform: translateY(100%) scale(70%);
  }
  30% {
    transform: translateY(100%) scale(70%);
  }
  60% {
    transform: translateY(0) scale(70%);
  }
  100% {
    transform: scale(100%);
  }
}

/* @keyframes slideMask {
	0% {
  	y: 100%;
  }
  100% {
  	y: 0%;
  }
}

#mask-rect {
	animation: 1s ease 0s slideMask;
} */
