* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f97dd6;
}

.card {
    width: 85vw;
    height: 70vh;
    max-width: 95%;
    margin-right: 5% !important;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    -webkit-perspective: 1200pt;
    perspective: 1200pt;
    transition: 1s;
}

.card:hover {
    transform: rotate(-5deg);
}

.card:hover .outside {
    transform: rotateY(-130deg);
}

.outside,
.inside {
    height: 100%;
    width: 50%;
    position: absolute;
    left: 50.1%;
}

.inside {
    background: linear-gradient(to right, #c2c2c2, #ffffff 20%);
    line-height: 3;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    left: 50%;
}

.outside {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    z-index: 1;
    transform-origin: left;
    transition: 2s;
    cursor: pointer;
}

.front,
.back {
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: rotateX(0deg);
}

.front {
    background-color: #ffffff;
}

.back {
    padding: 5pt;
    transform: rotateY(180deg);
    background: linear-gradient(to left, #e7e7e7, #ffffff 30%);
}

.cake {
    width: 100%;
    position: absolute;
    bottom: 30px;
}

.top-layer,
.middle-layer,
.bottom-layer {
    height: 80px;
    width: 240px;
    max-width: 90%;
    background-repeat: repeat;
    background-size: 60px 100px;
    background-position: 28px 0;
    background-image: linear-gradient(transparent 50px,
            #fedbab 50px,
            #fedbab 60px,
            transparent 60px),
        radial-gradient(circle at 30px 5px, #ff9191 30px, #fcbf29 31px);
    border-radius: 10px 10px 0 0;
    position: relative;
    margin: auto;
}

.middle-layer {
    transform: scale(0.85);
    top: 6px;
}

.top-layer {
    transform: scale(0.7);
    top: 26px;
}

.candle {
    height: 45px;
    width: 15px;
    background: repeating-linear-gradient(45deg,
            #fd3018 0,
            #fd3018 5px,
            #ffa89e 5px,
            #ffa89e 10px);
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 202px;
}

.candle:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 48px;
    transform: rotate(45deg);
    left: -1px;
}

.outside p {
    font-size: 23px;
    text-transform: uppercase;
    margin-top: 30px;
    text-align: center;
    letter-spacing: 6px;
    color: #000046;
}

.inside h1 {
    font-size: 120px;
    line-height: 120px;
}

.table-back {
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

.tr-back {
    height: 33%;
    font-size: 45pt;
}

.td-back {
    width: 33%;
}

.table-img {
    width: 100%;
    height: auto;

    object-fit: cover;
    object-position: center;
}

button {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 12pt;
    background-color: #7db1f9;
}

.button-link {
    color: white;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0;
    transition: visibility 0s 1s, opacity 1s linear;
}

.just-hidden {
    visibility: hidden !important;
    opacity: 0;
    transition: visibility 0s 1s, opacity 1s linear;
}

.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s linear;
}

/* Style applied to the spin button once a power has been selected */
.clickable {
    cursor: pointer;
}

/* Other misc styles */
.margin_bottom {
    margin-bottom: 5px;
}

.the_wheel {
    background-image: url(./wheel_back.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.container {
    display: table;
    width: 100%;
    height: 100%;
}

.container>div {
    vertical-align: top;
}

.left,
.middle,
.right {
    display: table-cell;
    height: 100vh;
    box-sizing: border-box;
}

.left,
.right {
    width: 10%;
}

.middle {
    overflow: auto;
    position: relative;
    display: flex;
    justify-content: center;
}

.prize-image {
    max-width:100%;
    max-height:100%;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

.prize {

}