body {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    background: url("bg.png");
    background-size: cover;
    color: white;
}

h1 {
    margin-top: 20px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 6px #ff7eb9;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

#board {
    width: 540px;
    height: 540px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;

    background: url("screen.png");
    background-size: cover;
    border: 3px solid white;
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#board div {
    width: 180px;
    height: 180px;

    background-image: url("./cloud.png");
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: transform 0.1s ease;
}

#board div:hover {
    transform: scale(1.05);
}

#board div img {
    width: 100px;
    height: 100px;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.score-container{
    display: flex;
    justify-content:center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

#score{
    font-size:1.8rem;
    margin: 0;
}

#restartBtn{
    margin-top:20px;
    padding: 12px 25px;
    font-size: 1.2rem;
    border: none;
    border-radius: 15px;
    background-color: #ff7eb9;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.2s, transform 0.2s;
}

#restartBtn:hover {
    background-color: #ff4fa1;
    transform: scale(1.05);
}

#restartBtn:active {
    transform: scale(0.95);
}


footer {
    background-color: #ff4fa1;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin: 20px -20px -20px -20px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}