@font-face {
    font-family: 'BioRythme';
    src: url('/assets/fonts/BioRhyme-VariableFont_wdth,wght.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

* {
    color: white;
    font-size: 1.6rem;
    font-family: 'BioRythme', sans-serif;
}

body {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    background: center;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06486344537815125) 0%, rgba(0, 0, 0, 0.6362920168067228) 61%, rgba(0, 0, 0, 1) 97%), url('/front/images/bg.webp');
    background-size: cover;
    background-attachment: fixed;
}

.page {
    text-align: center;
    padding: 2rem 0;
    max-width: 20rem;
}

.info {
    margin-bottom: 2rem;
    margin-top: -38%;
    background: rgba(0, 0, 0, .7);
    border-radius: 0.6rem;
    padding: 1rem;
    border: 1px solid rgb(225 169 99);
    backdrop-filter: blur(0.2rem);
    box-shadow: 0 0 2.6rem rgba(255, 255, 255, .2);
}

.info .cover {
    padding: 1.4rem 0.5rem 0.4rem;
}

.info .cover img {
    width: 100%;
    border-radius: 1rem;
    border: 2px solid rgb(34 76 81);
    box-sizing: border-box;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, .8);
}

.info .text {
    line-height: 2.1rem;
}

h2 {
    font-size: 2.8rem;
    margin: 0.2rem 0;
    color: rgb(225 169 99);
}

#dog, #hat {
    max-width: 14rem;
    margin: 0 auto;
}

#dog .image-square {
    background: center url('/front/images/dog.webp');
    background-size: cover;
    max-width: 100%;
    padding-bottom: 100%;
}

#hat .image-square {
    background: center url('/front/images/hat.webp');
    background-size: cover;
    max-width: 100%;
    padding-bottom: 86%;
}

#hat {
    max-width: 19rem;
}

#hat .image-square {
    margin-left: -0%;
    margin-top: -11%;
}

.prepare {
    transition: 1s;
}

.reveal {
    transition: 1s;
    display: none;
}

.info a {
    display: block;
    text-decoration: none;
    border-radius: 10rem;
    color: black;
    padding: 0.4rem 1.7rem;
    border: 0;
    margin-top: 1rem;
    background: rgb(225 169 99);
    cursor: pointer;
    transition: .5s;
    box-shadow: 0 0 .6rem rgba(0, 0, 0, .8);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(.9);
    }
    100% {
        transform: scale(1);
    }
}

.info a:hover {
    background: white;
    box-shadow: 0 .5rem .6rem rgba(0, 0, 0, .8);
}

body.revealed .prepare {
    /*opacity: 0;*/
    display: none;
}

body.revealed .reveal {
    /*opacity: 0;*/
    display: block;
}

.app-version {
    margin-top: 5rem;
    font-size: .8rem;
}