/* Importing Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;

}
.publeiras {
width: 1200px;
margin: 10px auto; text-align: center;}
.rolunklogo {
    width: 600px;
}

.nagylogo {
    width: 50px;
    height: 50px;
    margin: 10px;
    transition: .5s;
    scale: 1.2;
}

.menuimg {
    width: 600px;
    margin: 10px auto;
    justify-content: center;
    display: flex;
}
.menuu{flex-wrap: wrap; display:flex;width:1300px; margin:10px auto}
.pubimg {
    width: 1200px
}

.programkeret {
    display: flex;
}

.programkep {
    width: 600px;
}

.nagylogo:hover {
    scale: 1.1;
    cursor: pointer;
}

header {
    position: fixed;
    top: 0;
    padding: 5px;
    height: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(246, 203, 159, .7);
    backdrop-filter: blur(4px);
}

.nyitvatartasp {
    padding-left: 130px;
}

p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 36px;
    color: black;
}

a {
    text-decoration: none;
}

.section {
    overflow-x: hidden;
    width: 100%;
    padding-top: 100px;
}

.cim {
    font-size: 64px;
    margin: 10px auto;
    text-align: center;
    transition: .5s;
    width: fit-content;
    color: black;
    font-family: "CustomFont"
}

@font-face {
    font-family: "CustomFont";
    src: url("other/alg.ttf");
}

@font-face {
    font-family: "CustomFont3";
    src: url("other/mel3.otf");
}

@font-face {
    font-family: "CustomFont2";
    src: url("other/ce.ttf");
}

.cim:hover {
    scale: 1.1;
    transition: .5s;
}

.alcim {
    font-size: 56px;
    font-weight: 1000px;
    width: fit-content;
    margin: 10px 50px;
    font-family: "CustomFont2";
    transition: .5s;
    color: black;
}

.alcim:hover {
    scale: 1.1;
    transition: .5s;
}

.termekcim {
    font-size: 32px;
    width: fit-content;
    margin: 10px auto;
    text-align: center;
    transition: .5s;
    color: black;
}

.termekcim:hover {
    scale: 1.1;
    transition: .5s;
}

.programleiras {
    width: 500px;
}

.termek {
    width: 450px;
    margin: 10px auto;
    overflow: hidden;
    text-align: center;
}

.programok {
    margin: 10px auto;
    justify-content: center;
    width: 800px;
}

.termekkep {
    border-radius: 36px;
    width: 400px;
    height: 400px;
}

.nyitvatartas {
    margin: 10px auto;
    padding: 10px;
    width: fit-content;
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar .logo {
    color: #000;
    font-weight: 600;
    font-size: 2.1rem;
    text-decoration: none;
    font-family: "CustomFont3";
    scale: 1.7;
}

.navbar .menu-links {
    display: flex;
    list-style: none;
    gap: 35px;
    font-size: 24px;
}

.navbar a {
    color: #000;
    text-decoration: none;
    transition: .5s ease;
}



#close-menu-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    display: none;
}

#hamburger-btn {
    color: #000;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    header.show-mobile-menu::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
    }

    .navbar .logo {
        font-size: 1.7rem;
    }


    #hamburger-btn,
    #close-menu-btn {
        display: block;
    }

    .navbar .menu-links {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        background: rgba(246, 203, 159, .9);
        flex-direction: column;
        padding: 70px 40px 0;
        transition: left .5s ease;
    }

    header.show-mobile-menu .navbar .menu-links {
        left: 0;
    }

    .navbar a {
        color: #000;
    }

    .hero-section .content {
        text-align: center;
    }

    .hero-section .content :is(h2, p) {
        max-width: 100%;
    }

    .hero-section .content h2 {
        font-size: 2.3rem;
        line-height: 60px;
    }

    .hero-section .content button {
        padding: 9px 18px;
    }
}

@media (max-width: 400px) {
    .cim {
        font-size: 42px;
    }

    p {
        font-size: 24px;
    }

    .rolunklogo {
        width: 300px;
    }

    .rolunkszoveg {
        text-align: justify;
        font-size: 18px
    }

    .alcim {
        font-size: 36px;
        margin: 10px auto;
        text-align: center;
    }

    .termekkep {
        width: 150px;
        height: 150px;
    }

    .termek {
        width: 50%;
    }

    .termekcim {
        text-align: center;
        margin: 10px auto;
        height: 70px;
    }

    .programkep {
        width: 360px;
    }

    .programkeret {
        display: unset;
        width: 360px;
    }

    .programcim {
        margin: 10px;
        text-align: center;
        margin: 10px auto;
    }

    .programok {
        justify-content: center;
        width: 360px;


    }

    .section {
        padding: 0px;
    }

    .nyitvatartas {
        padding: 10px;
    }

    .nyitvatartasp {
        padding-left: 50px;
        padding-top: 20px;
    }

    .pubimg {
        width: 100%;
        margin: 0px;
        padding: 0px;
    }

    .menuimg {
        width: 100%;
        margin: 5px 0px 0px 0px;
        padding: 0px;
    }
    .menuu{flex-wrap: wrap; display:flex;width:100%
        ;}
    .publeiras {
        font-style: initial;
        width: 1000px;
        text-align: center;
        font-family: 'Times New Roman', Times, serif;
        width: 350px;
        margin: 10px auto;
        text-align: center;
    }
    .mentes{font-size: 20px;}
}