body {
    font-family: "Adelphe Germinal";
    margin: 0;
    height: 100vh;
    background-color: #FF665C;
    overflow: hidden;
}

main {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

h1{
    text-align: center;
    font-weight: 600;
    margin: 0;
}

form {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    background-color: white;
    padding: 2em;
    border-radius: 10px;
}

input {
    font-family: "Adelphe Germinal";
    /* font-size: 24px; */
}

input[type="text"] {
    width: 100%;
    border: 0;
    border-bottom: 1px solid black;
}

input[type="text"]:focus {
    outline: 0;
}

input[type="button"] {
    cursor: pointer;
    width: auto;
    border: none;
    color: #000;
    padding: 0.25em 5em;
    border-radius: 35px;
    background: #E8E8E8;
}

input[type="button"]:hover {
    background-color: black;
    color: white;
}

/* résultats */

section{
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 102, 92, 0.10);
    backdrop-filter: blur(7.5px);
    cursor: nw-resize;
    overflow: auto;
    display: flex;
    justify-content: center;
    z-index: 20;
}

section.off{
    opacity: 0;
    transform: translateY(-100vh);
}

section.on{
    animation: bounce-in-up 1.5s ease 1 forwards;
}

section .label{
    font-family: "DM Mono";
    margin-top: 0;
}

section .wrapper{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 2em;
    padding: 2em;
    box-sizing: border-box;
    min-height: 100%;
    justify-content: center;
}

section .card{
    padding: 2em;
    border-radius: 5px;
    border: 1px solid #000;
    background: #FFF;
    display: flex;
    flex-direction: column;
    gap: 2em;
    cursor: auto;
    display: none;
}

section .card img{
    width: 4em;
}

section .main{
    display: flex;
    align-items: flex-start;
    gap: 2em;
}

section .result{
    /* font-size: 24px; */
    margin: 0;
}

section.centered{
    display: flex;
    align-items: center;
}

section ul{
    padding: 0;
}

section ul li{
    list-style-type: none;
}

section ul li span{
    color: #FF665C;
}

section a{
    color: #000;
    text-decoration: none;
    text-align: center;
    padding: 0.25em;
    border-radius: 35px;
    background: #E8E8E8;
    /* font-size: 24px; */
}

section a:hover{
    background-color: #000;
    color: white;
}

p.message{
    color: #FF665C;
    text-align: center;
    display: none;
    margin: 0;
}

.rn .unavailable{
    display: block;
}

.rn a{
    display: none;
}

.signatory .signed{
    display: block;
}

.signatory a{
    display: none;
}

.card.on{
    display: inherit;
}

.erreur{
    /* font-size: 24px; */
}

@keyframes bounce-in-up {
    0% {
        opacity: 0;
        transform: translateY(100vh);
    } 60% {
        opacity: 1;
        transform: translateY(-10vh);
    } 80% {
        transform: translateY(5vh);
    } 100% {
        transform: translateY(0);
    }
}

/* Small */

@media (max-width: 768px) {

    section .wrapper{
        width: 100%;
    }

}

/* Medium */

@media (min-width: 768px) and (max-width: 992px) {

    section .wrapper{
        max-width: 75vw;
    }

}

/* Large */

@media (min-width: 992px) {

    section .wrapper{
        max-width: 50vw;
    }

}