* {
    margin: 0;
    padding: 0;
    color: white;
    border: none;
    text-align: center;
    text-transform: uppercase;
}

body {
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    background: url(../assets/bg.svg) no-repeat 0px;
    background-size: cover;
    cursor: auto;
    cursor: url(../assets/cursor.png) 0 0, auto;
}

.game__heading {
    color: rgba(255, 171, 0, 1);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.flex-center {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.flip {
    transform: rotateY(180deg);
}

.card {
    margin: 0 20px 20px 0;
    width: 100px;
    height: 150px;
}

.container {
    max-width: 750px;
    flex-wrap: wrap;
}

.card__container {
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(74, 20, 140, 1);
    transform-style: preserve-3d;
    transition: 0.6s;
}

.card_front,
.card_back {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 15px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.card_back {
    background-image: url(../assets/cb.svg);
    background-size: 150px;
}

.card_front {
    background-color: #1a1440;
    transform: rotateY(180deg);
}

.card__image {
    width: 50px;
    height: 50px;
}

.win__container {
    width: 350px;
    height: 300px;
    position: absolute;
    z-index: 2;
    flex-direction: column;
    background-size: contain;
    background: center url(../assets/frame2.svg) no-repeat;
    opacity: 0;
    transition: 0.5s;
}

.win__heading {
    font-size: 24px;
}

.win__button {
    height: 60px;
    width: 100px;
    outline: none;
    position: absolute;
    bottom: -20px;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    background-color: transparent;
    background: url(../assets/button.svg) no-repeat;
}

.win__button:hover {
    transform: scale(1.05);
}

.card_front:hover,
.card_back:hover,
.win__button:hover {
    cursor: pointer;
    cursor: url(../assets/pointer.png) 0 0, pointer;
}


.game__heading,
.win__heading,
.win__button {
    font-family: "Slackey", cursive;
}