body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #cde5f6;
  font-family: 'Open Sans', sans-serif;
  overflow-y: auto;
  overflow-x: hidden;


}

.grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: auto auto;       
  min-height: 100vh;
  place-items: center ;
}

.container {
  grid-column: 1/4;
  grid-row: 1 / 2;
  flex-direction: column;    
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 60%;
  margin: auto;
  text-align: center;
  padding-bottom: 200px;
}

h1 {
  font-weight: 800;
  color: #232253;
  font-size: 40px;
}

.beta-label {
  display: inline-block;
  font-size: 35px;
  text-transform: uppercase;
  background-color: #e6f4fa;
  color: #0d81fd;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin: 0 6px;
  vertical-align: middle;
  line-height: 1;
}

.indispo {
  color: #232253;
}

.texte {
  margin-top: 2%;
  font-size: 16px;
  color: #232253;
  font-weight: 400;
}

.btn {
  justify-content: center;
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffbe98;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  z-index: 10;
  position: relative;
  max-width: 40%;
  margin-top: 20px;
}

.btn:hover {
  background-color: #ffffff;
  color: #232253;
}

.background {
  grid-row: 1 / 2;
  position: relative;
  background:
    url('patern.svg') repeat,
    linear-gradient(111.5deg, rgba(228,247,255,1) 21.9%, rgba(255,216,194,1) 92.2%);
  background-size: 120px 120px, cover;
  z-index: 0;
}

.background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('level-lines.svg') repeat;
  background-size: cover;
  z-index: 0;
}

.bottom-fond {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(2);
  transform-origin: bottom;
  display: flex;
  gap: 10px;
  padding-bottom: 2%;
  z-index: 8;
  align-items: flex-end;
}

.bottom-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(2);
  transform-origin: bottom;
  display: flex;
  gap: 10px;
  padding-bottom: 2%;
  z-index: 10;
  align-items: flex-end;
}

.bottom-image img {
  height: auto;
  width: auto;
  display: block;
  transform-origin: bottom;
  opacity: 0;
  animation: fadeInHoldOut 8s ease-in-out infinite;
}

.bottom-image img:nth-child(1) { animation-delay: 0s; }
.bottom-image img:nth-child(2) { animation-delay: 1s; }
.bottom-image img:nth-child(3) { animation-delay: 2s; }
.bottom-image img:nth-child(4) { animation-delay: 2.5s; }

@keyframes fadeInHoldOut {
  0%   { opacity: 0; transform: scaleY(0); }
  20%  { opacity: 1; transform: scaleY(1); }
  70%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); }
}

@media (max-width: 480px) {
  .bottom-fond,
  .bottom-image {
    transform: translateX(-50%) scale(1);
    padding-bottom: 5%;
  }
}

@media (max-width: 768px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }

  .container {
    max-width: 90%;
    padding-bottom: 100px;
  }

  .btn {
    max-width: 80%;
    font-size: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .beta-label {
    font-size: 20px;
  }

  .texte {
    font-size: 14px;
  }

  .bottom-fond,
  .bottom-image {
    transform: translateX(-50%) scale(1.2);
  }
}
