@import url('https://fonts.googleapis.com/css2?family=Anta&family=Bebas+Neue&family=DotGothic16&family=Micro+5&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "AkiraExpanded";
    src: url("akiraexpanded.otf") format("opentype");
}

html, body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;  
    align-items: center;  
    min-height: 100vh;  
    background-color: #00000000;  
    font-family: "AkiraExpanded", sans-serif;
    color: white;
    text-align: center;
    overflow: auto;
}

.container {
    display: flex;
    justify-content: center;  
    align-items: center;  
    width: 100%;
    height: 100vh; 
    padding: 2rem;
}

h1 {
    font-family: "AkiraExpanded", sans-serif;
    font-size: 4.4rem;
    color: white;
    margin: 0;  
    z-index: 2;
}

h2 {
    font-size: 1.3rem;
    color: rgb(255, 255, 255);
    font-family: "AkiraExpanded", sans-serif;
    margin: 0; 
    z-index: 2;
}

h3 {
    position: fixed;
    bottom: 350px;
    left: 500px;
    font-family: "AkiraExpanded", sans-serif;
    font-size: 15rem;
    color: rgb(0, 0, 0);
    margin: 0;  
    z-index: 0;
}

@media (max-width: 1200px) {
    h3 {
        bottom: 200px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8rem;
    }
}
@media (max-width: 600px) {
    h3 {
        bottom: 150px;
        font-size: 5rem;
        left: 50%;
        transform: translateX(-50%);
    }
}

.homalytegla {
    display: flex;
    flex-direction: column;
    align-items: center;  
    justify-content: center;  
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1100px; 
    width: 90%; 
    z-index: 1; 
}

nav {
    animation-name: SlideUp;
    animation-duration: 1.5s;
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.144);
    padding: 12px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    font-family: "AkiraExpanded", sans-serif;
    font-size: 18px;
    backdrop-filter: blur(8px);
    z-index: 2;
    max-width: 90vw;
    overflow-x: auto;
}

nav > a {
    transition: 0.3s ease;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 18px;
    white-space: nowrap;
}

nav > a:hover {
    transition: 0.3s ease;
    background: #707070;
    color: rgb(255, 255, 255);
    transform: scale(1.05);
}

@keyframes SlideUp {
    0% {
        transform: translate(-50%, 50px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -35px);
        opacity: 1;
    }
}

.sonn-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f1f1f23;
    backdrop-filter: blur(50px);
    padding: 10px 20px;
    border-radius: 15px;
    font-family: "AkiraExpanded", sans-serif;
    max-width: 90vw;
    z-index: 10;
    text-align: center;
}

.sonn-footer p {
    margin: 0;
    padding: 0;
    color: #ffe4e4;
    font-size: 12px;
}

.hangero-szabalyzo {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.hangero-szabalyzo2 {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    max-width: 80vw;
    height: 6px;
    background: linear-gradient(90deg, #ffffff83, #353535);
    outline: none;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.hangero-szabalyzo2:hover {
    height: 8px;
}

.hangero-icon {
    font-size: 18px;
    color: rgb(255, 0, 0);
}

audio {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

audio::-webkit-media-controls-enclosure {
    overflow: hidden;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-pause-button,
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-seek-back-button,
audio::-webkit-media-controls-seek-forward-button,
audio::-webkit-media-controls-overflow-menu-button {
    display: none !important;
}

audio::-webkit-media-controls-volume-slider {
    display: none !important;
}

#hatter-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    z-index: -1;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
}

.overlay-content {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.945);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#enter-gomb {
    transition: 0.3s ease;
    color: #ffffff;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 30px;
    background-color: rgba(255, 255, 255, 0.144);
    font-family: "AkiraExpanded", sans-serif;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    margin-top: 30px;
    max-width: 80vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#enter-gomb:hover {
    transition: 0.3s ease;
    background: #707070;
    color: rgb(255, 255, 255);
    transform: scale(1.1);
}

.piros-br {
    display: block;
    height: 3px;
    width: 200px;
    max-width: 80vw;
    margin: 20px auto;
    background-color: red;
    border-radius: 2px;
    box-shadow: 0 0 10px rgb(255, 19, 19);  
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 1rem;
        height: auto;
        min-height: 100vh;
    }
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    nav {
        font-size: 16px;
        padding: 10px 20px;
        bottom: 20px;
    }
    .hangero-szabalyzo {
        top: 10px;
        left: 10px;
        padding: 8px 10px;
    }
    .hangero-icon {
        font-size: 16px;
    }
    .hangero-szabalyzo2 {
        width: 100px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 1rem;
    }
    #enter-gomb {
        font-size: 24px;
        padding: 15px 30px;
    }
}
