#new-card {
    width: 100%;
    height: 90vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.8fr 0.1fr;
}

.btninfo {
    position: absolute;
    right: 18%;
    top: 30%;
    z-index: 0;
}

.btninfo:hover {
    cursor: pointer;
}



#card-header {
    margin: auto;
    width: 300px;
    height: 450px;
    border-radius: 20px;
}

.card-new {
    margin: auto;
}


.carte1 {
    place-self: center;
    text-align: center;
}

/*
style de base d'une carte
*/

.card {
    margin: auto;
    width: 300px;
    height: 450px;
    border-radius: 20px;
}

.card:hover,
.carte1:hover,
.carte2:hover {
    cursor: grab;
}

.card-title {
    font-family: "sunset-gothic-light";
    position: absolute;
    text-align: center;
    margin: auto;
    left: 0;
    right: 0;
    top: 20px;
    font-size: 18px;
    color: white;
}

.extension {
    font-family: "sunset-gothic-light";
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
}

.extension-gold {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffd700;
}

.numero {
    font-family: "sunset-gothic-light";
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
}


.back {
    border-radius: 20px;
    /* border: 10px solid black; */
    /* background-color: #f0e548; */
    background-color: #151517;
    opacity: 1;
    background-image: radial-gradient(#ffffff 0.8px, #151517 0.8px);
    background-size: 16px 16px;
}



/*
texte info
*/

#card-date {
    font-family: "sunset-gothic-light";
    font-size: 18px;
    text-align: center;
}

/*anim fade texte carte infos header*/
.anim-fade {
    animation: fade 0.2s linear;
    animation-fill-mode: forwards;
    /* opacity: 1; */
}


@keyframes fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}



@media only screen and (max-width: 767px) {
    #new-card {
        margin-top: 5%;
    }

    .btninfo {
        position: absolute;
        margin: auto;
        right: 10px;
        /* left: 0; */
        bottom: -390px;
    }
}