body {
    background-color: rgb(221, 225, 230);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

button {
    all: unset; /* Réinitialise toutes les propriétés */
    box-sizing: border-box; /* Conserve un modèle de boîte cohérent */
    display: inline-block; /* ou block, selon ton besoin */
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit; /* Hérite de la police du parent */
    color: inherit; /* Hérite de la couleur du parent */
    cursor: pointer; /* Garde le curseur "pointer" pour l'interaction */
    text-align: inherit;
    -webkit-appearance: none; /* Pour Safari */
    -moz-appearance: none; /* Pour Firefox */
}

#start {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    width: 100px;
    height: 200px;
    background-image: url('./img/bottomUp.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.popup{
    position: absolute;
    width: 240px;
    height: 240px;
    /* border: 1px dotted dodgerblue; */
    box-shadow: 0 4px 8px rgba(34, 34, 34, 0.3);
    background-color: antiquewhite;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.close{
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    margin: 0px;
    padding: 0px;
    background-color: rgb(146, 146, 146);
    cursor: pointer;
    box-sizing: border-box;
    border-left: 2px solid rgb(181, 181, 181);
    border-top: 2px solid rgb(181, 181, 181);
    border-right: 2px solid rgb(96, 96, 96);
    border-bottom: 2px solid rgb(96, 96, 96);
    user-select: none;
    background-image: url('./img/cross.svg');
    background-size: cover;
}

.close:hover{
    background-color: rgb(179, 178, 178);
}

.close:active{
    border: 1px dotted rgb(96, 96, 96);
}

.handler{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 16px;
    background-color: rgb(146, 146, 146);
    cursor: grab;
}

.next{
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

.next.bottom{
    bottom: 0;
    left: 50%;
    translate: -50% 0;
    width: 100px;
    height: 200px;
    background-image: url('./img/bottomUp.svg');
}

.next.left{
    left: 0;
    top: 50%;
    translate: 0 -50%;
    width: 200px;
    height: 100px;
    background-image: url('./img/leftUp.svg');
}
.next.top{
    top: 16px;
    left: 50%;
    translate: -50% 0;
    width: 100px;
    height: 200px;
    background-image: url('./img/topUp.svg');
}
.next.right{
    right: 0;
    top: 50%;
    translate: 0 -50%;
    width: 200px;
    height: 100px;
    background-image: url('./img/rightUp.svg');
}
/* @media only screen and (max-width: 768px) {
    .popup{
        position: fixed;
        top: 0px !important;
        left: 0px !important;
        width: 100%;
        height: 100%;
        border: none;

    }
} */