/*font import ha kell*/

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    font-family: Arial, sans-serif;
}


#fuggony {
    position: absolute;
    top: 0px;
    right: 0px; /*or left*/

    height: 100%;
    width: 100%;
    
    z-index: 10;

    background-color: rgba(0, 0, 0, 0.99);

    animation-fill-mode: forwards;
    animation-name: fuggony;
    animation-duration: 0.6s;
    animation-delay: 0.3s;
}



@keyframes fuggony {
    from {width: 100%;}
    to {width: 0px;}
}



::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #888; 
}
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}










.bg {
    background-image: url("./imgs/bg.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}




#loading {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100dvh;

    background-color: #2e2e2e;

    z-index: 11;
}

#loading h1 {
    color: white;
    font-weight: bolder;
    font-size: 100px;

    animation-name: loading;
    animation-duration: 1s;
    animation-delay: 0.1s;
    animation-iteration-count: infinite;
}

#loading p {
    color: white;
    font-size: 30px;
    margin-top: 20px;
}

@keyframes loading {
    from {
        rotate: 0deg;
    } 
    to {
        rotate: 360deg;
    }
}




#content {
    width: 100%;
    height: 100lvh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}




#fooldal {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 75%;
    max-height: 75lvh;

    border-radius: 30px;
    border: 1px solid black;

    color: white;
    background-color: rgba(5, 5, 5, 0.8);

    padding: 15px;
}




#bevezeto {
    display: flex;
    flex-direction: column;
    max-height: 100%;
}


#bevezeto h1 {
    text-align: center;
    font-size: 45px;
}



#bevezeto .tartalom {
    display: flex;
    flex-direction: row;
    max-height: 100%;
    overflow: hidden;
}




.tartalom .szoveg {
    max-width: 70%;
    padding: 10px;
    overflow-y: auto;
}

.tartalom .szoveg p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 150%;

    color: lightgray;
}

.tartalom .img{
    max-width: 30%;
    height: fit-content;
    margin-top: auto;
    margin-bottom: auto;
}

.tartalom img {
    max-width: 100%;
    object-fit: cover;

    border-radius: 20px;
    border: 2px solid black;
}







#bevezeto .buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    
    text-align: center;
}



.buttons button, .buttons a {
    padding: 10px;

    border-radius: 30px;
    border: 2px solid purple;

    background-color: rgba(20, 20, 20, 0.8);
    color: white;

    font-size: 20px;

    transition: 0.2s;
}


.buttons button:hover, .buttons a:hover {
    font-size: 22px;
    font-weight: bolder;
    text-decoration: underline;

    transition: 0.2s;
}



.buttons a {
    color: white;
    text-decoration: none;
}


































@media screen and (max-width: 999px) {
    #bevezeto .tartalom {
        height: 100%;
        display: block;
        overflow-y: auto;
    }


    .tartalom .szoveg {
        min-width: 100%;
        min-height: 100%;
        padding: 10px;
        overflow-y: hidden;
    }

    .tartalom .img{
        max-width: 100%;
        height: auto;
        margin-top: 0;
        margin-bottom: 0;
    }


    body {
        background-color: black;
    }

    .bg {
        position: relative;
        background-image: url("./imgs/bg.png");
        background-repeat: no-repeat;
        background-position: center;
        height: 100lvh;
        width: 100vw;
        position: fixed;

        z-index: -1;
    }

}

































/*kurzor*/
body {
    overflow: hidden;
}


body {
    /*cursor: url("../imgs/cursor.png"), auto;*/
    cursor: none;
}

a:hover, button:hover {
    cursor: none;
}


.cursor {
    position: fixed;
    top: 0px;
    left: 0px;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;

    border: none;
    border-radius: 50%;
    background-color: white;

    z-index: 999;
    pointer-events: none;
}




.cursor-border {
    position: fixed;
    top: 0px;
    left: 0px;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;

    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background-color: none;

    z-index: 999;
    pointer-events: none;
}



.cursor_pulse::after {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    border: 8px solid gray;
    border-radius: 50%;
    opacity: 0.5;
    
    top: -10px;
    left: -10px;


    animation-name: cursorAnim1;
    animation-duration: 0.4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}







#menufelul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    
    position: fixed;
    top: 10px;
    left: 10px;
    width: 5%;
    height: 5%;
    border: 2px solid black;
    border-radius: 20px;

    overflow: hidden;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7);


    animation-name: expandmenu;
    animation-duration: 1s;
    animation-fill-mode: forwards;

    animation-play-state: paused;
}




@keyframes expandmenu {
    from {
        width: 5%;
        height: 5%;
    }
    to {
        width: 500px;
        height: 70px;

        overflow-x: auto;
    }
}



@keyframes closemenu {
    from {
        width: 500px;
        height: 70px;

        overflow-x: auto;
    }
    to {
        width: 5%;
        height: 5%;
    }
}







#menufelul #kurzorvaltas, #menufelul #fullscreenbe, #menufelul #exitmenufelul  {
    position: relative;
    top: 0px;
    left: 0px;
    padding: 10px;
    width: fit-content;
    height: fit-content;

    z-index: 8;
}


#menufelul #kurzorvaltas button, #menufelul #fullscreenbe button, #menufelul #exitmenufelul button {
    cursor: url("../imgs/cursor.png"), auto;

    border-radius: 20px;

    border: 2px solid rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.6);

    color: white;
    font-weight: bolder;
    padding: 10px;

    transition: 0.2s;
}
#menufelul #exitmenufelul button {
    background-color: rgba(255, 0, 0, 0.5);
}

#menufelul #kurzorvaltas button:hover, #menufelul #fullscreenbe button:hover, #menufelul #exitmenufelul button:hover {
    font-size: 17px;
    text-decoration: underline;
    transition: 0.2s;
}




.button_with_changed_cursor:hover {
    cursor: url('../imgs/cursor.png'), auto;
}










.clicked_cursor {
    animation-name: clicked_cursor;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;

    border: 1px solid red;
}




@keyframes clicked_cursor {
    0% {
        transform: translate(-50%, -50%) scale(1);
        border: 1px solid red;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
        border: 1px solid red;
    }
}




@keyframes cursorAnim1 {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.5);
    }
}








.clicked_img {
    animation-name: clicked_img;
    animation-duration: 1.0s;
    animation-fill-mode: forwards;

    border: 1px solid red;
}




@keyframes clicked_img {
    0% {
        border: 1px solid red;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(5);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        border: 3px solid gray;
        opacity: 1;
        border: 1px solid red;
    }
}







.mouse_enter {
    animation-name: mouse_entered;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

.mouse_leave {
    animation-name: mouse_leaved;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}





@keyframes mouse_entered {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
    }
    100% {
        transform: translate(-50%, -50%) scale(7);

        background-color: white;
        mix-blend-mode: difference;
    }
}



@keyframes mouse_leaved {
    0% {
        transform: translate(-50%, -50%) scale(7);

        background-color: white;
        mix-blend-mode: difference;
    }
    50% {
        transform: translate(-50%, -50%) scale(4);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}











.mouse_enter_buttons {
    animation-name: mouse_entered_buttons;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

.mouse_leave_buttons {
    animation-name: mouse_leaved_buttons;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}





@keyframes mouse_entered_buttons {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
    }
    100% {
        transform: translate(-50%, -50%) scale(50);

        background-color: white;
        mix-blend-mode: hue;
    }
}



@keyframes mouse_leaved_buttons {
    0% {
        transform: translate(-50%, -50%) scale(50);

        background-color: white;
        mix-blend-mode: soft-light;
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(20);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
