@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');
/*font import*/

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    font-family: Arial, sans-serif;
}


#fuggony {
    position: absolute;
    top: 0px;
    left: 0px; /*vagy right*/

    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: black; 
}
::-webkit-scrollbar-thumb {
    background: gray; 
}
::-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 {
    display: flex;
    flex-direction: row;

    width: 100%;
    height: 100lvh;

    position: relative;
    z-index: 5;

    overflow: hidden;
}







.img{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    top: 0px;

    min-width: 30%;
    max-width: 30%;
    height: 100lvh;

    padding: 10px;

    z-index: 1;
}

img {
    height: 100%;
    width: 100%;
    object-fit: contain;

    border-radius: 20px;
    border: 2px solid black;

    background-color: rgba(5, 5, 5, 0.8);
}







.szoveg {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;

    min-width: 40%;
    max-width: 40%;
    height: 100lvh;
    padding: 10px;

    background-color: rgba(0, 0, 0, 0.5);

    border-top: 3px solid black;
    overflow-y: scroll;
    overflow-x: hidden;

    position: relative;
    z-index: 2;
}

.szoveg p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 150%;

    color: lightgray;
}
.szoveg p:last-child {
    margin-bottom: 0px;
}




.szoveg .jobb {
    text-align: end;
    align-items: end;

    margin-left: auto;
}


.kozep {
    height: fit-content;
    text-align: center;

    margin-left: auto;
    margin-right: auto;
}


.bal, .jobb, .kozep, .bali, .jobbi {
    padding: 15px;
}






.megnevezes h2 {
    -webkit-text-stroke-width: 2.2px;
    -webkit-text-stroke-color: black;
    color: white;
    font-weight: bolder;
    width: fit-content;
    margin-left: 30px;
    margin-right: 30px;
}

.megnevezes h3 {
    width: fit-content;
    font-style: italic;
    font-size: larger;
    color: rgb(150, 150, 150);
}

.megnevezes h3::before {
    content: "(";
}
.megnevezes h3::after {
    content: ")";
}



.megnevezes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.jobb .megnevezes {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: center;
}



.kozep .megnevezes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}



.szoveg .tarsalgas {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid purple;
    border-radius: 30px;

    background-color: rgba(5, 5, 5, 0.9);
}












hr {
    width: 100%;
    height: 5px;
    opacity: 1;
    color: white;
    background-color: white;
    border-radius: 20px;

    margin-top: 150px;
}






.buttons {
    height: fit-content;
    min-width: 50%;
    max-width: 90%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    text-align: center;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}



.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;

    margin-bottom: 30px;
}


.buttons button:hover, .buttons a:hover {
    color: gray;
    text-decoration: underline;

    transition: 0.2s;
}



.buttons a {
    color: white;
    text-decoration: none;
}




.tarsalgas button {
    padding: 10px;

    border-radius: 30px;
    border: 1px solid gray;

    background-color: rgba(20, 20, 20, 0.8);
    color: white;

    font-size: 20px;

    transition: 0.2s;
}

.tarsalgas button:hover, .tarsalgas a:hover {
    color: gray;
    text-decoration: underline;
    border: 2px dotted green;

    transition: 0.2s;
}









.alex {
    text-transform: uppercase;
    letter-spacing: 10px;
}









.bali {
    animation-name: beuszas_balimage;
    animation-duration: 1s;
    animation-fill-mode: forwards;

    animation-play-state: paused;
}

.jobbi {
    animation-name: beuszas_jobbimage;
    animation-duration: 1s;
    animation-fill-mode: forwards;

    animation-play-state: paused;
}




.szoveg .bal {
    animation-name: beuszas_bal;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;

    animation-play-state: paused;
}


.szoveg .jobb {
    animation-name: beuszas_jobb;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;

    animation-play-state: paused;
}


.szoveg .kozep {
    animation-name: beuszas_kozep;
    animation-delay: 0.5s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}







/*nem tudom hogyan kellene beúsztatni*/

@keyframes beuszas_bal {
    from {
        transform: translate(-100%);
        width: 51%;
        opacity: 0;
    }

    to {
        transform: translate(0%);
        width: 80%;
        opacity: 1;
    }
}



@keyframes beuszas_jobb {
    from {
        transform: translate(100%);
        width: 51%;
        opacity: 0;
    }

    to {
        transform: translate(0%);
        width: 80%;
        opacity: 1;
    }
}





@keyframes beuszas_kozep {
    from {
        transform: translate(-100%);
        width: 80%;
        opacity: 0;
    }

    to {
        transform: translate(0%);
        width: 80%;
        opacity: 1;
    }
}









@keyframes beuszas_balimage {
    from {
        transform: translate(-100%);
        width: 30%;
        height: 30%;
        opacity: 0;
    }

    to {
        transform: translate(0%);
        width: 100%;
        height: 100%;
        opacity: 1;
    }
}



@keyframes beuszas_jobbimage {
    from {
        transform: translate(100%);
        width: 30%;
        height: 30%;
        opacity: 0;
    }

    to {
        transform: translate(0%);
        width: 100%;
        height: 100%;
        opacity: 1;
    }
}





@keyframes lebeges {
    0% {
        transform: translateY(5px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(5px);
    }
}






















@media screen and (max-width: 799px) {
    .bg > * {
        display: none;
    }


    .bg::before {
        display: inline;
        content: "A teljes élményhez gépen játsz a játékkal!";
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        font-size: 50px;
        padding: 10px;
    }
    
    /*

    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;
    }



    #content {
        display: flex;
        flex-direction: column;
    }



    .img {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        margin-left: auto;
        margin-right: auto;

        max-height: 25%;
        min-width: fit-content;
        max-width: 100%;
        overflow-x: hidden;
        object-fit: contain;
    }



    img {
        width: auto;
        height: auto;
        object-fit: contain;
    }



    .szoveg {
        min-width: 100%;
        min-height: 40%;
    }





    .buttons {
        min-width: 100%;
    }

    .buttons > * {
        margin-bottom: 10px;
    }
    */
}



















#book {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;

    position: absolute;
    z-index: 6;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    max-width: 60%;
    max-height: 80%;


    font-family: "Kalam", cursive;
    color: rgb(220, 220, 220);


    background-color: rgba(0, 0, 0, 0.7);
    background-image: url("../imgs/book.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-attachment: fixed;
    background-blend-mode: darken;


    animation-name: book;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-play-state: paused;


    display: none;
}




@keyframes book {
    from {
        width: 10%;
        height: 20%;
    }
    to {
        width: 60%;
        height: 80%;
    }
}




#book .tartalom {
    width: 90%;
    height: 90%;

    margin-top: 20px;
    margin-left: 30px;

    overflow-y: scroll;
}


#book #minigame {
    border: 1px solid black;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    min-height: 100%;
    min-width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}


.minigame_foimage {
    max-width: 50%;
    max-height: 50%;
}


#minigame hr {
    margin-top: 30px;
}   






#minigame button {
    padding: 10px;

    border-radius: 30px;
    border: 1px solid gray;
    text-align: center;

    background-color: rgba(20, 20, 20, 0.8);
    color: white;

    font-size: 20px;

    transition: 0.2s;

    margin-top: 40px;
    margin-bottom: 10px;
}


#minigame button:hover {
    color: gray;
    text-decoration: underline;

    transition: 0.2s;
}







.dragplace {
    width: 100px;
    height: 50px;
    border: 1px solid white;
    border-radius: 10px;
}


.dragplace img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.dragok {
    display: flex;
    flex-direction: row;

    width: 50%;
    justify-content: space-evenly;
}









#bohoc {
    position: relative;
    top: 0px;
    left: 50%;
    right: 50%;
    transform: translate(-50%, 0);

    animation-name: bohocugras;
    animation-duration: 0.2s;
    animation-play-state: running;
    animation-fill-mode: forwards;
}

#szivroham_bohoc {
    position: absolute;
    left: 50%;
    right: 50%;
    transform: translate(-50%, 0);

    width: fit-content;

    z-index: 8;
    text-align: center;
}


@keyframes bohocugras {
    from {
        width: 10%;
        height: 10%;
        opacity: 0.5;
    } 
    to {
        width: 100%;
        height: 100%;
        opacity: 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: -2px;
    left: -2px;


    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;
    }
}