/* body{
    font-family: "Montserrat";
} */

#country-tooltip {
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    color: black;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    text-transform: capitalize;
    display: flex;
    gap: 5px;
}

#flag-tooltip{
    background-size: contain;
    background-position: center;
    width: 30px;
    background-repeat: no-repeat;
    height: 20px;
}

#text-tooltip{
    display: flex;
    align-items: center;
    font-weight: 700;
}

.pays.trouve {
    fill: rgb(75, 244, 75) !important;
}

.eau-claire.trouve{
        fill: rgb(75, 244, 75) !important;
    }

.cercle.trouve {
fill: rgb(75, 244, 75) !important;
}

.pays.abandonner {
    fill: #f44b4b !important;
}

.eau-claire.abandonner {
    fill: #f44b4b !important;
}

.cercle.abandonner {
    fill: #f44b4b !important;
}

.game-ui {
    margin-top: 10px;
}

.espace-jeu{
    max-width: 800px;
    position: relative;
	margin: auto;
}
.svg-container{
    width: 100%;
    max-width: 800px;
    overflow: hidden;
}

#country-input {
    padding: 8px;
    font-size: 16px;
    width: 250px;
}

svg {
    transform-origin: 0 0;
}

.logo-jeu img{
    width: 60px;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.info-jeu{
    background-color: #F5F5EA;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-info{
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgb(202, 202, 202);
    padding: 5px 10px;
    border-radius: 10px;
}

.bouton-abandonner{
    font-size: 14px;
    padding: 7px 10px;
    border: none;
    background-color: rgb(219, 16, 16) !important;
    color: white;
    font-weight: 300;
    cursor: pointer;
}

.bouton-abandonner:hover{
    background-color: rgb(201, 14, 14) !important;
    transition: all 0.3s ease-in-out;
}

.info-right{
    display: flex;
    gap: 8px;
    align-items: center;
}

.overlay-start {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: rgba(255, 255, 255, 0.053);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* background: linear-gradient(180deg, #f5f5eaee 45%, #f5f5eaba 90%); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.info-overlay{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px
}
.titre-jeu{
    font-size: 28px;
    font-family: "Dela Gothic One", sans-serif;
    text-align: center;
	font-weight: 500;
}
.btn-start {
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 18px;
    padding: 20px;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    background-color: #2eaa2b !important;
    color: white;
    transition: all 0.3s ease-in-out;
}

.btn-start:hover{
    background-color: #20911e !important;
}

.overlay-finish{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 50px;
    margin-bottom: 10px;
}
.container-score{
    background-color: #F5F5EA;
    padding: 20px;
}

.text-result{
    font-size: 20px;
    font-weight: 600;
}

.text-resultats {
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}



.div-result-score{
    display: flex;
    align-items: center;
    gap: 5px;
}
/* From Uiverse.io by abrahamcalsin */
.dot-spinner {
    --uib-size: 2.8rem;
    --uib-speed: .9s;
    --uib-color: #183153;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--uib-size);
    width: var(--uib-size);
}

.dot-spinner__dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
}

.dot-spinner__dot::before {
    content: '';
    height: 20%;
    width: 20%;
    border-radius: 50%;
    background-color: var(--uib-color);
    transform: scale(0);
    opacity: 0.5;
    animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
    box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
}

.dot-spinner__dot:nth-child(2) {
    transform: rotate(45deg);
}

.dot-spinner__dot:nth-child(2)::before {
    animation-delay: calc(var(--uib-speed) * -0.875);
}

.dot-spinner__dot:nth-child(3) {
    transform: rotate(90deg);
}

.dot-spinner__dot:nth-child(3)::before {
    animation-delay: calc(var(--uib-speed) * -0.75);
}

.dot-spinner__dot:nth-child(4) {
    transform: rotate(135deg);
}

.dot-spinner__dot:nth-child(4)::before {
    animation-delay: calc(var(--uib-speed) * -0.625);
}

.dot-spinner__dot:nth-child(5) {
    transform: rotate(180deg);
}

.dot-spinner__dot:nth-child(5)::before {
    animation-delay: calc(var(--uib-speed) * -0.5);
}

.dot-spinner__dot:nth-child(6) {
    transform: rotate(225deg);
}

.dot-spinner__dot:nth-child(6)::before {
    animation-delay: calc(var(--uib-speed) * -0.375);
}

.dot-spinner__dot:nth-child(7) {
    transform: rotate(270deg);
}

.dot-spinner__dot:nth-child(7)::before {
    animation-delay: calc(var(--uib-speed) * -0.25);
}

.dot-spinner__dot:nth-child(8) {
    transform: rotate(315deg);
}

.dot-spinner__dot:nth-child(8)::before {
    animation-delay: calc(var(--uib-speed) * -0.125);
}

@keyframes pulse0112 {

    0%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width:768px){
    .info-jeu{
        flex-direction: column;
        gap: 10px;
    }
}