#actions {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

#card-back {
    transform: rotateY(180deg);
}

#checkboxes {
    font-size: 1.1rem;
    float: right;
}

* {
    margin: 0;
    --radius: calc(var(--unit) * .025);
}

.card {
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
    background-image: url("../img/card.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #DADADA;
    border: 1px solid black;
    border-radius: var(--radius);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 2.75rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

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

.card-face:before {
    color: black;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    border: 3px solid black;
    font-size: 1.75rem;
    padding: 4px 8px;
}

.card-face:before .is-flipped {
    left: 1rem;
}

.card-text li {
    padding-bottom: 2rem;
}

.card-text ul {
    margin: 0 .75rem;
    text-align: left;
    list-style-type: upper-alpha;
}

.card-text {
    margin: 0 2rem;
    line-height: 1.75;
}

.card.is-flipped {
    transform: rotateY(-180deg);
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.extraDirty:before {
    content: "Extra Dirty";
    background: rgba(235, 64, 52, .75);
}

.happyHour:before {
    content: "Happy Hour";
    background: rgba(0, 179, 12, .6);
}

.lastCall:before {
    content: "Last Call";
    background: rgba(208, 227, 0, .45);
}

.onTheRocks:before {
    content: "On The Rocks";
    background: rgba(0, 85, 212, .6);
}

.scene {
    overflow: revert;
    width: calc(var(--unit) * .8);
    height: var(--unit);
    border-radius: var(--radius);
    margin: auto;
    perspective: 600px;
}

.slider-container {
    padding-top: 1.75vh;
}

@media screen and (orientation: landscape) {
    * {
        --unit: 90vh;
        --padding: 5vh;
    }
}

@media screen and (orientation: portrait) {
    * {
        --unit: 98vw;
        --padding: calc((100vh - var(--unit)) * .5);
    }
}

body {
    overflow: hidden;
    margin: 0;
    padding-top: var(--padding);
    font-family: sans-serif;
    height: calc(100vh - var(--padding));
    background-image: url(../img/background.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #2E2E2E;
    width: 100vw;
}

button {
    color: #FFFFFF;
    font-size: 2rem;
    background: transparent;
    border: solid #FFFFFF .25rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

label .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

label input:checked ~ .checkmark {
    background-color: #2196F3;
}

label input:checked ~ .checkmark:after {
    display: block;
}

label {
    color: white;

    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label:hover input ~ .checkmark {
    background-color: #ccc;
}
