body, html {
    width: 100vw;
    height: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-family: Raleway, sans-serif;
    /*background-color: #164f85;*/
    background-color: #fff;
    /*background-image: url(img/Background-Goutte-03.svg);*/
    background-repeat: repeat;
    background-position: 0 0;
    background-size: cover;
    line-height: auto;
}
h1 {
    line-height: 1.5em;
}
a.button {
    transition-property: background-color opacity;
    transition-duration: .2s;
    transition-timing-function: ease-in-out;
    cursor: pointer;
    background-color: #15a798;
    width: auto;
    padding: 9px 28px;
    line-height: 55px;
    border: none;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    font-size: 1.5em;
    text-align: center;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 20px;
    font-weight: 500;
}
a.button:hover {
    background-color: rgba(0, 0, 0, .7);
}
a.button:active {
    background-color: #000;
}
a.button:focus {
    outline: 0;
}
::-moz-selection {
    background: 0 0;
}
::selection {
    background: 0 0;
}
#page {
    position: relative;
}
#view {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0 3vw;
    max-width: 1100px;
    margin: auto;
    z-index: 1;
    align-items: center;
    height: 100%;
    gap: 3vh;
}
#rules, #start {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    /*background-color: #164f85;*/
    background-color: #fff;
    /*background-image: url(img/Background-Goutte-03.svg);*/
    background-repeat: repeat;
    background-position: 0 0;
    background-size: cover;
    color: #15a798;
    text-align: center;
}
#start {
    z-index: 999;
}
#rules {
    z-index: 998;
}
@media  (min-width:1024px) {
    #rules:after {
        background: url(img/poeple.png);
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
        content: ' ';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 545px;
        height: 304px;
        pointer-events: none;
    }
}
.rules-container, .start-container {
    position: relative;
    max-width: 940px;
    margin: 0 4vw;
    background-color: #f2f2f2;
    background-position: center center;
    border-radius: 10px;
    box-shadow: 0 0 15px 1px rgb(20 108 160 / 40%);
}
/*
.rules-container:before {
    content: url(img/Sterne-de-Dougall.svg);
    position: absolute;
    top: -16vh;
    right: 4vw;
    display: block;
    width: calc(40px + 4vh + 4vw);
}*/
.rules-content, .start-content {
    padding: 40px;
}
.start-container img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.start-container p.start_title {
    font-size: 20px;
    background: #fff;
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid #0a3156;
    text-transform: none;
    font-weight: 700;
    top: -24px;
    position: relative;
    line-height: normal;
    display: none;
}
.rules-container p.rules_title, .start-container {
    font-weight: 800;
    line-height: 1.4em;
    margin-bottom: 15px;
    text-align: center;
}
#Message-Container p, .rules-container p {
    font-size: 1.6em;
    line-height: 1.4em;
}
.rules_button {
    background: 0 0;
    background-color: #1da7e0;
    color: #fff;
    font-size: 22px;
    padding: 20px 40px;
    border-radius: 10px;
    height: auto;
    letter-spacing: 0;
    box-shadow: unset;
    margin: 10px auto;
    display: inline-block;
    width: auto;
    font-weight: 600;
}
.start_button {
    background-color: #15a798;
    color: #fff;
    font-size: 4em;
    border-radius: 50%;
    height: auto;
    letter-spacing: 0;
    box-shadow: unset;
    margin: 10px auto;
    width: auto;
    font-weight: 600;
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.start_button i {
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%}
#Message-Container {
    color: #fff;
    display: none;
    width: 100vw;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    /*background-color: #164f85;*/
    background-color: #fff;
    /*background-image: url(img/Background-Goutte-03.svg);*/
    background-repeat: repeat;
    background-position: 0 0;
    background-size: cover;
    z-index: 2;
    text-align: center;
}
#Message-Container #message .message-box {
    background: #fff;
    border-radius: 60px;
    padding: 40px;
    color: #15a798;
    position: relative;
}
#Message-Container #message .message-box:after {
    content: url(img/fg-bubble-01.svg);
    position: absolute;
    bottom: -78px;
    right: 160px;
    display: block;
    width: 70px;
    transform: scaleX(-1) rotate(270deg);
}
#Message-Container a#okBtn {
    display: block!important;
    font-weight: 700;
    text-decoration: none;
    margin-top: 15px;
    color: #15a798;
}
.react-draggable {
    cursor: move;
}
.react-draggable strong {
    background: #ddd;
    display: block;
    text-align: center;
}
#main-title {
    color: rgba(21, 167, 152, 1);
    text-align: center;
    margin: 0;
}
.bin {
    position: relative;
    top: 3vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    gap: 2vw;
}
.bin h3 {
    margin-bottom: 30px;
}
.bin-item, .item {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 8px;
    padding: 10px;
}
.bin-item {
    background-color: rgba(21, 167, 152, 1);
    border: 5px solid transparent;
}
.item {
    position: relative;
    text-align: center;
    background-color: #D8EEEA;
    box-sizing: border-box;
    font-size: 1.1em;
    font-weight: 600;
    color: #0f3354;
    touch-action: none;
    transform: translate(0, 0);
    border: 3px solid transparent;
}
.item.react-draggable-dragging {
    z-index: 999;
    border: 3px solid #ffd00f;
}
.item p {
    margin-top: 1.2vh;
    margin-bottom: 1.2vh;
}
#item-container {
    z-index: 9;
}
.pic {
    height: auto;
}
.bin-img {
    width: 100%;
    height: auto;
}
#Message-Container #message {
    position: relative;
    width: 50%;
    height: 100%;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: auto;
}
img.sk_avatars_end {
    width: 100%}
#item-container>div {
    display: grid;
}
@media only screen and (min-width:1024px) {
    #main-title {
    font-size: 1.5em;
}
#item-container>div {
    grid-template-columns: repeat(6, minmax(70px, 1fr));
    gap: 1rem;
    font-size: 18px;
}
.pic {
    width: 88%}
#Message-Container p, .rules-container p {
    font-size: 1.3em;
}
}@media only screen and (min-width:720px) and (max-width:1024px) {
    #item-container>div {
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    gap: .75rem;
    font-size: 20px;
}
#rules:after {
    width: 450px;
}
.pic {
    width: 95%}
#rules:after {
    width: 50%}
}@media only screen and (min-width:480px) and (max-width:720px) {
    .bin-item, .item {
    padding: 0;
}
#item-container>div {
    grid-template-columns: repeat(4, minmax(50px, 1fr));
    gap: .75rem;
    font-size: 15px;
}
.pic {
    width: 100%}
}@media only screen and (max-width:480px) {
    #main-title {
    font-size: 1em;
}
#item-container>div {
    grid-template-columns: repeat(4, minmax(30px, 1fr));
    gap: .6rem;
    font-size: 12px;
}
.pic {
    width: 100%}
}