@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Didact Gothic', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

body.no-scroll {
    overflow: hidden;
    touch-action: none; /* додатково для мобільних */
}

h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    margin: 10px 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    h1 {
        font-size: 35px !important; /* Більший розмір шрифту для планшетів та мобільних пристроїв */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 35px !important; /* Ще більший розмір шрифту для дуже маленьких екранів */
    }
}

p {
    font-size: 16px;
    margin: 5px 0;
}

.logout-button-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.logout-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.logout-button:hover {
    background-color: #ff1a1a;
}



.scroll-to-top-btn {
    position: fixed;
    bottom: 15px;
    left: 15px;
    background-color: lightgray;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
}

.scroll-to-top-btn i {
    color: white;
    font-size: 24px;
}

.scroll-to-top-btn:hover {
    background-color: gray;
}
