@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@100..700&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    background-image: url("./imgs/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    font-family: "M PLUS 1 Code", sans-serif;

    min-height: 100dvh;
}






::-webkit-scrollbar {
    width: 10px;
}
  

::-webkit-scrollbar-track {
    background: rgb(50, 50, 50);
}
  
/* Handle */
::-webkit-scrollbar-thumb {
    background: #555;
}
  
  /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: gray;
}













#homepage {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
}

#homepage video {
    position: absolute;
    right: 0px;
    bottom: 0px;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    filter: contrast(120%) brightness(40%);
}



#cim {
    text-align: center;
    position: relative;
    font-size: 100px;
    font-weight: bolder;
    color: white;

    mix-blend-mode: difference; /*color-dodge???*/
    margin-top: auto;
    margin-bottom: auto;
}


#alsoresz {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    bottom: 10px;

    width: 100%;
}


#nyil {
    background-color: black;

    width: 70px;
    height: 70px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    text-align: center;

    margin-left: auto;
    margin-right: auto;

    transition: 0.3s;
}

#nyil a {
    color: white;
    text-decoration: none;

    font-size: 50px;
    font-weight: bold;

    transition: 0.3s;
}


#nyil:hover {
    border: 2px solid rgba(255, 255, 255, 0.5);

    transition: 0.3s;
}

#nyil a:hover {
    color: rgb(100, 100, 100);

    transition: 0.3s;
}







#info {
    color: white;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
}


#keszitok {
    width: fit-content;
    text-decoration: underline;
    font-size: 25px;
}



#info ul {
    list-style-type: disc;
    margin: 10px;
    padding: 3px;
    overflow: hidden;
    background-color: #333333;

    width: fit-content;
    margin-left: 20px;
}
  
#info ul li {
    float: left;
    margin-left: 40px;
}

#info ul li:last-child {
    padding-right: 20px;
}















#content {
    margin-top: 100px;
    width: 95%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 80px 120px;

    color: white;
}








.card {
    display: flex;
    flex-direction: row;
    width: 100%;

    border-radius: 30px;
    border: 3px solid white;
    margin-bottom: 50px;

    background-color: rgba(0, 0, 0, 0.5);
}


.card img {
    object-fit: contain;
    min-width: 30%;
    width: auto;
    border-radius: 25px;

    border-right: 3px solid white;

    margin-right: 30px;

    background-color: white;
}



.szoveg {
    padding: 20px;
    line-height: 1.5;
}
.szoveg h2 {
    text-decoration: underline;
    margin-bottom: 10px;
}



.bold {
    font-weight: bold;
}












@media screen and (max-width: 999px) {

    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;
    }


    #cim {
        font-size: 50px;
    }


    .card {
        flex-wrap: wrap;
    }

    .card img {
        min-width: 100%;
        border: none;
    }


    .szoveg {
        list-style-position: inside
    }


    .szoveg li {
        margin-bottom: 5px;
    }
}