@font-face {
    font-family: 'regular';
    src: url('fonts/PixelifySans-Regular.ttf'); 
}

@font-face {
    font-family: 'bold';
    src: url('fonts/PixelifySans-Bold.ttf'); 
}


* {
    --font_regular: 'regular';
    --font_bold: 'bold';
    box-sizing: border-box;

    font-family: var(--font_regular);

}

body {
    background: url('img/End_Poem_background_BE.webp') center/cover no-repeat;
    height: 100vh;
    max-height: 100vh;
    overscroll-behavior: none;
    margin: 0;
}


div#status {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
    margin-inline: auto;
    max-width: 600px;
    aspect-ratio: 2/3;
    box-sizing: border-box;
    background: url(img/background.png) center/contain no-repeat;
    padding: 90px;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-height: 90vh;
}

@media screen and (max-width:670px) {
    div#status {
        padding: 15vw;
    }
}

div#status img {
    width: 80px;
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center;
}

div#status h1 {
    color: aliceblue;
    font-family: var(--font_bold);
    text-align: center;
}

@media screen and (max-width:390px) {
    div#status h1 {
        font-size: 1.4rem;
        margin-bottom: 0px;
        margin-top: 4px;
    }

    div#status img {
        width: 40px;
    }
}

div#status {
    color: aliceblue;
}

div#status span.flex {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

div#status span,
div#status a {
    font-size: 1.4rem;
    text-align: center;
}

@media screen and (max-width:670px) {
    div#status span,
    div#status a {
        font-size: 1rem;
    }
}

a.download {
    display: flex;
    color: #1B140D;
    gap: 10px;
    transition: all .15s cubic-bezier(1, -0.01, 0, 1.01);;
    transform-origin: center;


}

a.download:hover {
    transform: scale(1.1);
    color: #3a2a1b;
}

div.info::before {
    content: '';
    mask: url('img/info-circle-svgrepo-com.svg') center/contain no-repeat;
    -webkit-mask: url('img/info-circle-svgrepo-com.svg') center/contain no-repeat;
    height: 1em;
    aspect-ratio: 1/1;
    background-color: #1B140D;;
    cursor: pointer;
    display: block;
    transform-origin: center;

    transition: all .15s cubic-bezier(1, -0.01, 0, 1.01);;

}

div.info:hover::before {
    transform: scale(1.1);
    color: #3a2a1b;
}

div.info {
    position: relative;
}

div.info div.hraci {
    width: fit-content;
    position: absolute;
    top: -160%;
    left: 130%;
    padding: 5px;
    background: #00000094;
    opacity: 0;
    transition: all .15s ease-in-out;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

div.info:hover div.hraci {
    opacity: 1;
    pointer-events: all;
}

a.download::after {
    content: '';
    mask: url('img/download-minimalistic-svgrepo-com.svg') center/contain no-repeat;
    -webkit-mask: url('img/download-minimalistic-svgrepo-com.svg') center/contain no-repeat;
    height: 1em;
    aspect-ratio: 1/1;
    background-color: #1B140D;;
    display: block;

}