@import url('https://fonts.googleapis.com/css2?family=Grandstander:ital,wght@0,100..900;1,100..900&display=swap');
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        background-color: #a7b9cc;
        font-family: 'Grandstander';
    }

    .card-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        background-color: #8CA2BA;
        padding-top: 60px;
        padding-bottom: 60px;
        border-radius: 25px;
        box-shadow: 0px 3px 3px #1a1a1a;
    }

    .card {
        width: 150px;
        height: 150px;
        background-color: white;
        display: inline-block;
        margin: 10px;
        box-shadow: 0px 5px 7px #1a1a1a;
        transition: opacity 0.3s;
        border-radius: 25px;
        border: 8px solid #D8D8D9;
    }

    .card.clicked {
      background-size: cover;
    }

    .card.matched {
        opacity: 0;
        transition-delay: 1.7s;
    }

   .pair1.clicked {
        background-image: url('images/Card1.jpg');
    }

    .pair2.clicked {
        background-image: url('images/Card2.jpg');
    }
    
    .pair3.clicked {
        background-image: url('images/Card3.jpg');
    }
    
    .pair4.clicked {
        background-image: url('images/Card4.jpg');
    }
    
    .pair5.clicked {
        background-image: url('images/Card5.jpg');
    }
    
    .pair6.clicked {
        background-image: url('images/Card6.jpg');
    }
    
    .pair7.clicked {
        background-image: url('images/Card7.jpg');
    }
    
    .pair8.clicked {
        background-image: url('images/Card8.jpg');
    }

#score {
    position: absolute;
    top: 1em;
    background-color: white;
    border-radius: 25px;
    width: 400px;
    height: 60px;
    text-align: center;
    font-size: 25px;
    box-shadow: 0px 3px 3px #919191;
    border: 10px solid #D8D8D9;
}

#winning {
    position: absolute;
    top: 50;
    width: 70%;                                                                         
    height: 70%;
    background-color: white;
    display: none;
    text-align: center;
    font-size: 50px;
    padding-top: 80px;
    box-shadow: 0px 5px 7px #1a1a1a;
    border-radius: 25px;
    border: 10px solid #D8D8D9;
}

button {
    font-family: 'Grandstander';
    font-size: 25px;
}