*{

margin:0;
padding:0;
box-sizing:border-box;

}


body{

min-height:100vh;

font-family:
"Comic Sans MS",
"Trebuchet MS",
sans-serif;


background:

linear-gradient(
180deg,
#7bdcff,
#c8f7ff,
#c7ff9b
);


overflow:hidden;

}



.game{

height:100vh;

position:relative;

text-align:center;

padding-top:20px;

}



.logo{

width:clamp(100px,25vw,180px);

}



h1{

color:#ff5ca8;

font-size:clamp(25px,6vw,40px);

}



p{

font-size:18px;

}



#world{

position:absolute;

top:180px;
left:0;

width:100%;

height:calc(100% - 250px);

overflow:hidden;

z-index:1;

}



.icon,
.star{


position:absolute;

font-size:

clamp(25px,4vw,45px);


user-select:none;

}



.icon{

pointer-events:none;

opacity:.9;

}



.star{

cursor:pointer;

z-index:5;

transition:.3s;

}



.star.found{

filter:grayscale(1);

opacity:.45;

cursor:default;

animation:none;

transform:scale(.9);

}



.star:hover{

transform:scale(1.4);

}



.star:active{

transform:scale(1.5);

}



.star.found{

animation:pop .5s;

}



@keyframes pop{


50%{

transform:scale(1.8) rotate(20deg);

}


}



#counter{

position:absolute;

bottom:25px;

width:100%;

z-index:10;

color:#ff5ca8;

font-size:clamp(20px,5vw,30px);

}

/* TILLBAKA KNAPP */

.back-button{

position:absolute;

top:15px;

left:15px;


background:rgba(255,255,255,.7);


color:#ff5ca8;


padding:8px 16px;


border-radius:30px;


text-decoration:none;


font-weight:bold;


font-size:clamp(12px,1.5vw,16px);


box-shadow:

0 3px 10px rgba(0,0,0,.08);


border:

1px solid rgba(255,255,255,.8);


z-index:10;


transition:.2s;

}



.back-button:hover{

transform:scale(1.03);

}



.back-button:active{

transform:scale(.95);

}



@media(max-width:600px){

.back-button{

top:10px;

left:10px;

padding:7px 14px;

}

}
