html,
body {
    margin: 0;
    min-height: 700px;
    min-width: 700px;
    height: 100%;
    overflow: hidden;
}
body {
    background-color: #ffe8d6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 28' width='56' height='28'%3E%3Cpath fill='%23ddbea9' fill-opacity='0.22' d='M56 26v2h-7.75c2.3-1.27 4.94-2 7.75-2zm-26 2a2 2 0 1 0-4 0h-4.09A25.98 25.98 0 0 0 0 16v-2c.67 0 1.34.02 2 .07V14a2 2 0 0 0-2-2v-2a4 4 0 0 1 3.98 3.6 28.09 28.09 0 0 1 2.8-3.86A8 8 0 0 0 0 6V4a9.99 9.99 0 0 1 8.17 4.23c.94-.95 1.96-1.83 3.03-2.63A13.98 13.98 0 0 0 0 0h7.75c2 1.1 3.73 2.63 5.1 4.45 1.12-.72 2.3-1.37 3.53-1.93A20.1 20.1 0 0 0 14.28 0h2.7c.45.56.88 1.14 1.29 1.74 1.3-.48 2.63-.87 4-1.15-.11-.2-.23-.4-.36-.59H26v.07a28.4 28.4 0 0 1 4 0V0h4.09l-.37.59c1.38.28 2.72.67 4.01 1.15.4-.6.84-1.18 1.3-1.74h2.69a20.1 20.1 0 0 0-2.1 2.52c1.23.56 2.41 1.2 3.54 1.93A16.08 16.08 0 0 1 48.25 0H56c-4.58 0-8.65 2.2-11.2 5.6 1.07.8 2.09 1.68 3.03 2.63A9.99 9.99 0 0 1 56 4v2a8 8 0 0 0-6.77 3.74c1.03 1.2 1.97 2.5 2.79 3.86A4 4 0 0 1 56 10v2a2 2 0 0 0-2 2.07 28.4 28.4 0 0 1 2-.07v2c-9.2 0-17.3 4.78-21.91 12H30zM7.75 28H0v-2c2.81 0 5.46.73 7.75 2zM56 20v2c-5.6 0-10.65 2.3-14.28 6h-2.7c4.04-4.89 10.15-8 16.98-8zm-39.03 8h-2.69C10.65 24.3 5.6 22 0 22v-2c6.83 0 12.94 3.11 16.97 8zm15.01-.4a28.09 28.09 0 0 1 2.8-3.86 8 8 0 0 0-13.55 0c1.03 1.2 1.97 2.5 2.79 3.86a4 4 0 0 1 7.96 0zm14.29-11.86c1.3-.48 2.63-.87 4-1.15a25.99 25.99 0 0 0-44.55 0c1.38.28 2.72.67 4.01 1.15a21.98 21.98 0 0 1 36.54 0zm-5.43 2.71c1.13-.72 2.3-1.37 3.54-1.93a19.98 19.98 0 0 0-32.76 0c1.23.56 2.41 1.2 3.54 1.93a15.98 15.98 0 0 1 25.68 0zm-4.67 3.78c.94-.95 1.96-1.83 3.03-2.63a13.98 13.98 0 0 0-22.4 0c1.07.8 2.09 1.68 3.03 2.63a9.99 9.99 0 0 1 16.34 0z'%3E%3C/path%3E%3C/svg%3E");
    font-family: Arial, Helvetica, sans-serif;
    font: 400 24px Arial;
}

#centered-content {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.unselectable {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

/**********************************************************
 *********************** FLIP CARD ************************
 **********************************************************/

#flip-card-outer-container {
    position: relative;
    background-color: transparent;
    width: 600px;
    height: 400px;
    perspective: 2000px;
    visibility: hidden;
    transition: transform 0.4s;
    z-index: 11;
}

#card-left {
    left: 0px;
}

#card-right {
    right: 0px;
}

#card-left,
#card-right {
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: 200;
    cursor: pointer;
}

#flip-card-inner-container {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.4s;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 100;
}

#potemkin-card {
    position: absolute;
    background-color: #ffe8d6;
    top: 0px;
    left: 0px;
    width: 600px;
    height: 400px;
    perspective: 2000px;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 10;
}

#potemkin-card-inner-container {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

#potemkin-card-front-container {
    visibility: hidden;
}

#flip-card-front-container,
#flip-card-back-container,
#potemkin-card-front-container {
    position: absolute;
    width: 560px; /* outer-container width minus padding */
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

#flip-card-front-container,
#potemkin-card-front-container {
    background-color: #ddbea9;
    color: #36382e;
}

#flip-card-back-container {
    background-color: #cb997e;
    color: white;
    transform: rotateY(180deg);
}

ul {
    text-align: left !important;
    margin-bottom: 0;
    margin-top: 0;
}

.text-left {
    text-align: left !important;
}

.cloud-provider-on-card {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 48px;
}

/**********************************************************
 ************************** DECKS *************************
 **********************************************************/

#deck {
    position: absolute;
    left: 15px;
    cursor: pointer;
}

#deck-filter {
    position: absolute;
    right: 15px;
    top: 25px;
}

#deck-filter input {
    background-color: #ffe8d6;
    width: 200px;
    border-radius: 5px;
    border-color: #ddbea9;
}

#deck-filter-clear-button {
    position: absolute;
    top: 2px;
    right: 3px;
    cursor: pointer;
}

#deck-filter-clear-button .svg-container {
    width: 18px !important;
}

.deck-option {
    position: absolute;
    top: -85px;
    left: 15px;
    pointer-events: none;
    cursor: pointer;
    visibility: hidden;
    transition: all 0.4s, transform 0.2s;
    z-index: 10000;
}

.deck-option svg {
    width: 60px;
}

.deck-option:hover {
    transform: scale(1.2);
}

.cloud-provider-on-deck {
    position: absolute;
    left: 80px;
    top: 20px;
    height: 29px;
    transition: all 0s !important;
}

.coming-soon {
    opacity: 0.3;
    pointer-events: none;
}

.coming-soon-text {
    position: absolute;
    left: 120px;
    top: 55px;
    width: 250px;
    font-size: 18px;
    font-style: italic;
}

/**********************************************************
 ********************* ADD CARD BUTTON ********************
 **********************************************************/

#add-card-button {
    position: absolute;
    left: 95px;
    cursor: pointer;
    visibility: hidden;
    transform: rotateZ(90deg);
}

#add-card-input {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100px;
    resize: vertical;
    visibility: hidden;
}

/**********************************************************
 ********************* WARNING TEXT    ********************
 **********************************************************/

#warning-direct-link {
    position: absolute;
    left: 220px;
    top: 10px;
    font-size: 18px;
    font-style: italic;
    color: #36382e;
}

/**********************************************************
 ********************* NAVIGATION BAR *********************
 **********************************************************/

#navigation-bar {
    position: absolute;
    width: 590px;
    left: 0px;
    top: -85px;
    direction: rtl;
}

.navigation-item {
    display: inline-block;
    cursor: pointer;
    margin-left: 10px;
}

/**********************************************************
 *********************** ACTION BAR ***********************
 **********************************************************/

#action-bar {
    position: absolute;
    top: 400px;
    left: 10px;
    z-index: 12;
}

.action-bar-item {
    vertical-align: top;
    display: inline-block;
    text-align: center;
    width: 120px;
    margin: 35px;
    margin-top: 30px;
    cursor: pointer;
}
#abi-soon {
    /* Fix issue caused by different SVGs having different amount of left/right whitespace. */
    margin-left: 40px;
    margin-right: 30px;
}

/**********************************************************
 *************************** SVG **************************
 **********************************************************/

.svg-container {
    width: 60px;
    transition: transform 0.2s;
}
.svg-container:hover {
    transform: scale(1.2);
}
.svg-path {
    fill: #b7b7a4;
}
.svg-caption {
    font-size: 18px;
    font-style: italic;
    color: #36382e;
    display: block;
    margin-top: 5px;
}

/**********************************************************
 ********************** USER DATA CARD ********************
 **********************************************************/

#user-data-card {
    position: absolute;
    background-color: #ffe8d6;
    visibility: hidden;
    top: 0px;
    left: 0px;
    width: 560px;
    height: 360px;
    perspective: 2000px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 20px;
    color: #36382e;
    z-index: 1000;
}

#user-data-card-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
