* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    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;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #888; 
}
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}




#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;
    }
}






/*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;
    }
}
































/*----------------------------------------------------------------------------------------------------------------------------------------------------*/

.bg {
    background-image: url("./imgs/bg.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}




.container {
    height: 100vh;
    width: 100%;
}



.slider-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100vh; 
}


.slider, .slider .tartalom {
    display: flex;

    overflow: hidden;
    scroll-behavior: smooth;
}



.slider .tartalom img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}



.slider-nav {
    position: fixed;
    display: flex;
    column-gap: 2rem;
    bottom: 1.25rem;
    left: 50%;
    transform: translate(-50%);
    z-index: 1;
}



.slider-nav a {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: gray;
    mix-blend-mode: difference;
    opacity: 1;
    transition: opacity ease 250ms;
}



.slider-nav a:hover {
    background-color: white;
    opacity: 1;
}






.tartalom {
    position: relative;
    min-width: 100%;
    max-height: 100%;
    min-height: 100lvh;
    max-height: 100lvh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}



.tartalom .szoveg {
    width: 60%;
    height: 85lvh;
    padding: 20px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: lighter;
    line-height: 150%;

    overflow-y: auto;
}


.tartalom .imgs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: center;

    width: 35%;
    height: fit-content;
    max-height: 90lvh;

    scroll-snap-type: y mandatory;

    overflow-y: auto;
}


.tartalom .imgs img {
    max-width: 100%;
    width: auto;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    margin-top: 100px;
    margin-bottom: 100px;
}

















ul, ol {
    margin-left: 20px;
    list-style-position: inside;
}

li {
    margin: 5px;
    font-size: larger;
}


ol ul {
    margin-left: 15px;
}

ul a {
    font-size: 18px;
    color: white;
    text-decoration: none;

    transition: 0.2s;
}

ul a:hover {
    color: gray;
    text-decoration: underline;
    font-weight: bold;
    font-size: 20px;

    transition: 0.2s;
}








.szoveg h2 {
    text-decoration: underline;
    font-size: 30px;
    margin: 30px;
}


.szoveg h6 {
    margin-top: 30px;
    color: gray;
    font-style: italic;
}

.szoveg h6::before {
    content: "(";
}
.szoveg h6::after {
    content: ")";
}





#mehet {
    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;
}


#mehet:hover {
    font-size: 22px;
    font-weight: bolder;
    text-decoration: underline;

    transition: 0.2s;
}



#mehet {
    color: white;
    text-decoration: none;

    position: relative;
    top: 30%;
    left: 50%;
    transform: translate(-50%, 0);
}





.slider-nav a {
    animation-name: pulsate_navcucc;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: both;
}



@keyframes pulsate_navcucc {
    0% {
        border: none;
        width: 20px;
        height: 20px;
    }
    50% {  
        border: 1px solid red;
        width: 22px;
        height: 22px;
    }
    100% {
        border: none;
        width: 20px;
        height: 20px;
    }
}