* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*importation des polices*/

@font-face {
    font-family: "cursive";
    src: url(../font/cursive-serif/CursiveSerif-Bold.pdf);
}

@font-face {
    font-family: "Baron Neue";
    src: url(../font/baron-neue/Baron\ Neue\ Bold.otf);
}


/*style generiques*/

h1,
h2,
h3,
h4,
a,
label {
    font-family: "baron";
    text-transform: uppercase;
}

p,
span,
div {
    font-family: "cursive";
    font-size: 16px;
}


/*style pour les bouttons*/

.btn {
    color: #d4af37;
    background-color: black;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #d4af37;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px 0 10px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.8), transparent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease-out;
    z-index: 1000;
}

.btn:hover::after {
    transform: scaleY(1);
    z-index: 1000;
}

.btn:hover {
    color: black;
    background-color: #d4af37;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    transition: 3s;
    z-index: 1000;
}


/*classe generique*/

.effet-glace {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    width: 100%;
}


/***/

.clipPath {
    font-size: 2rem;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    color: transparent;
    -webkit-text-stroke: 2px #d4af37;
    /* Contour doré */
    position: relative;
    overflow: hidden;
}


/* Remplissage en vague */

.clipPath::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #ffcc00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    color: transparent;
    animation: waveFill 4s linear infinite;
    clip-path: polygon(0% 50%, 10% 60%, 20% 50%, 30% 40%, 40% 50%, 50% 60%, 60% 50%, 70% 40%, 80% 50%, 90% 60%, 100% 50%, 100% 100%, 0% 100%);
}


/* Animation de la vague */

@keyframes waveFill {
    0% {
        background-position: 0% 50%;
        clip-path: polygon(0% 50%, 10% 60%, 20% 50%, 30% 40%, 40% 50%, 50% 60%, 60% 50%, 70% 40%, 80% 50%, 90% 60%, 100% 50%, 100% 100%, 0% 100%);
    }
    50% {
        background-position: 100% 50%;
        clip-path: polygon(0% 60%, 10% 50%, 20% 40%, 30% 50%, 40% 60%, 50% 50%, 60% 40%, 70% 50%, 80% 60%, 90% 50%, 100% 60%, 100% 100%, 0% 100%);
    }
    100% {
        background-position: 0% 50%;
        clip-path: polygon(0% 50%, 10% 60%, 20% 50%, 30% 40%, 40% 50%, 50% 60%, 60% 50%, 70% 40%, 80% 50%, 90% 60%, 100% 50%, 100% 100%, 0% 100%);
    }
}