body {
    background-color: #000;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}



.container {
    /* background: url(images/background.jpg) no-repeat center center;
    background-size: contain;*/
    width: auto;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.background {
    height: 100%;
    width: auto;
    max-width: 100%;

}

.cryto {
    position: absolute;
    z-index: 2;
    height: 100%;
    width: auto;
    max-width: 100%;
    animation: move 9s linear 0s infinite;
    left: -10px;

}

/* .coin-container {
    position: absolute;
    left: -10px;
    z-index: 2;
    width: 110%;
    height: 100%;
    overflow: hidden;
}

.cryto {
    position: absolute;
    height: 100%;
    width: auto;
    max-width: 100%;
    animation: move 9s linear 0s infinite;
}

*/
.button,
a {
    position: absolute;
    z-index: 3;
    bottom: 10%;
    width: 50%;
    cursor: pointer;
    transition: opacity 0.5s ease;
    /* animation: move 2s linear 0s infinite; */

}

a .button {
    width: 100%;
}

.packet,
.packet2 {
    position: absolute;
    z-index: 1;
    width: 100%;
    /* max-width: 400px; */
    /* transition: opacity 0.5s ease; */
    transition: opacity 0.5s ease;

}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        /* height: 100vh; */
    }

    .background {
        height: auto;
        width: 100%;
    }

    .cryto {
        height: auto;
        width: 100%;
    }

    .packet,
    .packet2 {
        width: 100%;
        height: auto;
    }

    .button {
        width: 50%;
        height: auto;
        bottom: 10%;
    }

}


@keyframes move {
    100% {
        transform: rotate(360deg) translatex(5px) rotate(-360deg);
    }

    0% {
        transform: rotate(0deg) translatex(5px) rotate(0deg);
    }
}