* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Foglihten';
    src: local('Foglihten'), url(Foglihten.ttf);
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top right, #1a2b5c 0%, #000 60%);
    color: #ccc;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 0.8rem;
    scrollbar-color: #51515a #0b0b0b;
    background-color: black;
}

footer {
    box-shadow: 5px 1px 20px rgb(0, 0, 0);
    background-color: black;
    color: #fff;
    padding: 1rem;
    text-align: center;
    z-index: 111;
}

h1 {
    font-family: Foglihten, sans-serif;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.container {
    display: flex;
    flex-direction: column;
}

#banner, #canvas_block {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    overflow: hidden;
    height: 60vh; 
}

#canvas_block {
    height: auto;
    display: none;
}

#banner .ornament {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('images/ornament.webp') no-repeat center center;
    background-size: contain;
    z-index: 1;
}

#character {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('images/character.webp') no-repeat center center;
    background-size: contain;
    z-index: 2;
    transition: background-image 1s ease-in-out;
}

.menu {
    overflow-x: hidden;
    width: 100%; 
    background-color: transparent; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 3; 
    margin-left: 0; 
    padding: 0;
    box-shadow: 5px 1px 20px rgb(0, 0, 0);
}

.page-caption, sup {
    width: 100%;
    text-align: center;
    color: #ccc;
    margin: 10px 0;
}

.menu-buttons {
    width: 100%;
    transform: translateX(100%);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.back-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FF5C5C;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.back-button:hover {
    background-color: #FF3030;
}

.menu-item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    border: 2px solid #ff0059; 
    border-radius: 10px;
    background-color: #000; 
    color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    margin-bottom: 0.2rem; 
    text-decoration: none;
}

.menu-item img {
    height: 3rem;
    margin: 1rem;
}

.menu-item:hover {
    background-color: #ff0059;
    border-color: #ff0059;
}

.social-buttons {
    justify-content: space-around;
    display: flex;
    gap: 1rem;
    margin: 1rem;
}

.phones-stack {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    padding: 1rem;
    flex: 1;
}

.phone-svg {
    width: 10rem;
    height: 2rem;
    display: block;
}

header {
    display: flex;
    justify-content: space-around;
}

.social-buttons img {
    height: 3rem;
}

.social-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-buttons a:hover {
    filter: brightness(150%);
}

.desktop-tittle {
    display: none;
}

.mobile-tittle {
    display: block;
}

@media (min-width: 768px) {
    .phones-stack {
        flex-direction: row;
    }

    .desktop-tittle {
        display: block;
    }

    .mobile-tittle {
        display: none;
    }

    .container {
        flex-direction: row;
    }

    #banner {
        height: 90vh; 
    }

    .menu {
        flex: 1 1 60%; 
        height: auto;
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        padding: 0;
        box-shadow: none;
    }

    .social-buttons {
        justify-content: flex-start;
        align-items: flex-start;
    }
}

.gallery {
    display: inline-flex;
    width: 90%;
    height: 80vh;
    margin-bottom: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    background-color: #222;
}

.gallery .image-container {
    position: relative;
    height: 100%;
}

.gallery img {
    height: 100%;
    width: auto;
    object-fit: cover;
    margin-right: 10px;
}

.comment {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    font-size: 18px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}