@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700,800,900&display=swap');

/*Font NavBar*/
@import url('https://fonts.googleapis.com/css2?family=Chau+Philomene+One&family=Pacifico&display=swap');

:root {
    --color-beige: #f5deb3;
    --color-bleu: #00bfff;
    --color-vert: #7fff00;
    --background: radial-gradient(#42a8fc, #2c79df);
}

* {
    font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    background: var(--background);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Ajouter une animation au chargement de la page */
.animate-top {
    position: relative;
    animation-name: animatetop;
    animation-duration: 3s;
}

.title_pages {
    font-size: 38pt;
    font-weight: bold;
    text-align: center;
    color: white;
    text-transform: uppercase;
}

/* Animation */
/* @keyframes animatetop {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes slide-in {
    0% {
        right: -300px;
    }

    100% {
        right: 20px;
    }
}

@keyframes slide-out {
    0% {
        right: -20px;
    }

    100% {
        right: -300px;
    }
} */

/* Animation des button */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

button {
    margin: 20px;
}

.custom-btn {
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
        7px 7px 20px 0px rgba(0, 0, 0, .1),
        4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
    height: 40px;
    border: none;
    background-color: #00bfff;
    color: white;
    font-weight: bold;
    font-size: 12pt;
    cursor: pointer;
    width: 200px;
    border-radius: 0.5em;
}

.btn-15 {
    background: rgb(8, 64, 248);
    border: none;
    z-index: 1;
  }
  .btn-15:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background-color: var(--color-bleu);
    border-radius: 5px;
     box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
     7px 7px 20px 0px rgba(0,0,0,.1),
     4px 4px 5px 0px rgba(0,0,0,.1);
    transition: all 0.3s ease;
  }
  .btn-15:hover {
    color: #fff;
  }
  .btn-15:hover:after {
    left: 0;
    width: 100%;
  }
  .btn-15:active {
    top: 2px;
  }

  /* Rectangle bleu galerie et index */

  .blue_rectangle {
    position: absolute;  /* Changer le positionnement à 'absolute' */
    top: 0;  /* Positionnez-le au sommet */
    left: 0;  /* Positionnez-le à gauche */
    width: 100%;  /* Qu'il couvre toute la largeur */
    background-color: #2C5574;
    height: 410px;  /* Réglez la hauteur pour qu'elle ne couvre que la moitié des cartes */
    z-index: -1;  /* Un z-index inférieur pour le mettre en arrière-plan */
    animation-duration: 0;
  }

  @media screen and (max-width: 500px) {
    .title_pages {
        font-size: 20pt;
    }
}