@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root{
    --color_red:#FF584D;
    --color_white:#ffffff;
    --color_gray:#333031;
    --color_backsite:#f5f6f8;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #ff3939;

  background-image:
    /* RONDS (blanc diffus) */
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0px, transparent 200px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0px, transparent 250px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0px, transparent 300px),

    /* LIGNES horizontales */
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),

    /* LIGNES verticales */
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);

  background-size:
    auto,
    auto,
    auto,
    60px 60px,
    60px 60px;
}
.container{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card{
    padding:1px;
    margin-top: 25px;
    border-radius: 5px;
    box-shadow: rgba(255, 255, 255, 0.25) 0px 5px 15px;
    width: 80%;
    max-width: 800px;
    position: relative;
    background: #fff;
}

.card .banniere{
    background: url('../Img/banniere.png');
    height: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    margin:0 auto;
    border-radius: 4px;
}
.logo{
    width: 350px;
    margin: 0 auto;
    margin-top: 50px;
}
.descriptionsite{
    text-align: center;
    padding:10px 0;
    font-size: 1rem;
    padding:5px;
    font-weight: 300;
    color:#475465;
}

/* CONTAINER */
.choice{
    width: 80%;
    max-width: 800px;
    margin: 0 auto
}
.choice h2{
    color:#fff;
    font-weight: 300;
    margin-top: 15px;
    margin-bottom: 5px;
}
.choice-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* CARTES */
.choice-card {
  width: 395px;
  height: 225px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: flex-end;
  transition: all 0.4s ease;
  border:1px solid #fff;
  border-radius: 5px;
}

/* IMAGES */
.sport {
  background: url('../Img/sport.jpg') center/cover;
}

.soins {
  background: url('../Img/soins.jpg') center/cover;
}

/* OVERLAY */
.choice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: 0.4s;
}

/* CONTENU */
.choice-content {
  position: relative;
  padding: 20px;
  z-index: 2;
  text-align: left;
}

.choice-content p {
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
}

/* HOVER */
.choice-card:hover {
  transform: translateY(-8px) scale(1.03) rotate(-2deg);
}

.choice-card:hover::before {
  background: rgba(0,0,0,0.2);
}

.choice-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* GLOSS */
.choice-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transform: skewX(-25deg);
}

.choice-card:hover::after {
  left: 125%;
  transition: 0.7s;
}

.topbar{
  display: flex;
  justify-content: space-between;
  height: 70px;
  line-height: 70px;
  padding: 0 10px;
  background: #fff;
  border-bottom: 1px solid #ff393941;
  position: fixed;
  left:0;
  right:0;
  top:0;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
  z-index: 10000
}
.topbar .topbar-logo img{
  width: 250px;
  margin-top: 10px;
}
.topbar .topbar-menu a{
  color:#f1f1f1dc;
  padding:0 5px;
  border-right:1px solid rgba(255,255,255,0.3);
  font-family: "Open Sans", sans-serif;
  color:var(--color_gray);
  letter-spacing: 2px;
  font-size: 0.9em;
  padding-bottom: 2px;
  border-bottom: 2px solid #fff;
  font-weight: 500;
}
.topbar .topbar-menu a:hover{
  border-bottom: 2px solid var(--color_red);
}
.topbar .topbar-menu a:last-child{
  border-right:none;
}