@import url('https://fonts.googleapis.com/css2?family=SN+Pro:ital,wght@0,200..900;1,200..900&display=swap');

body {
    color: #b88ffc;
    font-family: SN Pro;
    background-color: #4a09b3;
    text-align: center;
    background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='140' height='40'>\<style>\text { font: bold 25px Arial; fill: rgba(255,255,255,0.07); }\</style>\<text x='8' y='30'>IMÁDLAK</text>\</svg>");
    overflow-x: hidden;
    cursor: default;
    user-select: none;
}

h1 {
    font-weight: bold;
    margin-top: 5rem;
    margin-bottom: 2rem;
    font-size: 5rem;
    -webkit-text-stroke: 2px white;
    text-shadow: 3px 3px 5px black;
}

main {
    width: 93%;
    margin: 10px auto;
}

.tile {
    font-size: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.329);
    border-radius: 15px;
    margin-top: 15px;
    padding: 12px;
    transition: 0.4s;
    border: transparent solid 3px;
}

.tile:hover {
    scale: 1.02;
    border: yellow solid 3px;

}

.img-btn {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid white;
    border-radius: 10px;
    transition: 0.4s;
    cursor: pointer;
}

.img-btn:hover {
    filter: brightness(0.5);
}

#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: yellow;
    color: black;
    font-size: 24px;
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav {
    display: flex;
    border-radius: 10px;
    justify-content: space-around;
    width: 30%;
    gap: 20px;
    flex-direction: column;
    margin: auto;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.589);
    border: 4px dotted white;
}