/* default */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background-color: #e4e4e4;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media (min-width: 992px) {
    html,
    body {
        overflow-y: hidden;
    }
}


/* card general */

.card {
    display: block;
    position: fixed;
    width: 90%;
    max-width: 300px;
    height: 90%;
    min-height: 500px;
    max-height: 500px;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    perspective: 1500px;
}

.card .content {
    position: relative;
    width: 300px;
    height: 500px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.more {
    display: none;
}

.more:checked~.content {
    transform: rotateY(180deg);
}

.front,
.back {
    position: absolute;
    background-color: #502d2d;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border-radius: 30px;
    box-shadow: 7px 15px 20px rgba(0, 0, 0, 0.2);
}

.front {
    background-image: url('../images/background.jpg');
    background-size: 300px 500px;
    background-repeat: no-repeat;
    background-position: center center;
}

.back {
    background-image: url('../images/background2.jpg');
    transform: rotateY(180deg);
}

.inner {
    height: 100%;
    transform: scale(0.94) translateZ(100px);
    padding: 0 30px 0 29px;
}

@media (min-width: 992px) {
    .front .inner,
    .back .inner {
        transform: scale(0.94) translateZ(100px);
        backface-visibility: hidden;
    }
}

.button,
.button.return {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 12px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    opacity: 0.7;
    transition: 0.3s;
}

.button:hover,
.button.return:hover,
.button.return:active {
    background-color: #000000;
    opacity: 1;
    transition: 0.3s;
}

.button.return {
    transform: translateX(180deg);
}

.funcoes {
    position: absolute;
    left: 35px;
    bottom: 60px;
    text-align: left;
}

.funcoes img {
    width: 19px;
    margin-right: 7px;
    vertical-align: -4px;
}

.funcoes a {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
    margin: 5px 0;
    opacity: 0.7;
    transition: 0.3s;
}

.funcoes a:hover {
    color: white;
    text-decoration: none;
    opacity: 1;
    transition: 0.3s;
}

.oxe {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    font-weight: 400;
    font-size: 11px;
    color: #ffffff;
    opacity: 0.5;
    transition: 0.3s;
}

.oxe:hover {
    opacity: 1;
    transition: 0.3s;
}

.bn01 {
    transition: all 0.2s;
    animation: bn13bouncy 5s infinite linear;
}

@keyframes bn13bouncy {
    0% {
        right: 12px;
    }
    40% {
        right: 12px;
    }
    43% {
        right: 4px;
    }
    46% {
        right: 12px;
    }
    48% {
        right: 4px;
    }
    50% {
        right: 12px;
    }
    100% {
        right: 12px;
    }
}


/* Toast */

.dialog-mobile-toast {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    width: auto;
    max-width: 550px;
    animation: fadeIn 1s ease-in-out;
}

.dialog-mobile-toast .toast-content {
    font-size: 14px;
    text-align: center;
    margin: 0 15px;
    padding: 0.45em 1em;
    color: #FFFFFF;
    background-color: #333333;
    border-radius: 12px;
}