/*---===FONTS===---*/
/*Roboto*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*Ubuntu*/
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/*Poppins*/
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

/*Livvic*/
@import url('https://fonts.googleapis.com/css2?family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');
/* font-family: "Livvic", sans-serif;*/


body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #d1e5f1;
    /* Világos háttér */
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Ez biztosítja az elemek vertikális középre igazítását */
    background-color: #333;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #ccc;
    text-decoration: none;
}

.navbar-brand img {
    width: 12rem;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    /* Hogy biztosan egy vonalban legyenek a menüpontok, ha flex-elemet tartalmaznak */
    align-items: center;
}

.nav-links li {
    position: relative;
    width: auto;
    /* Nincs szükség extra beállításra itt, ha az 'a' elemen jól van definiálva a padding */
}

.nav-links a {
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    color: #eee;
    padding: 10px 15px;
    /* Ezt a paddinget fogjuk használni a link magasságához */
    display: block;
    font-weight: bold;
    transition: background-color 0.1s ease;
    /* Itt van a kulcs: explicit sormagasság beállítása */
    line-height: 1.2;
    /* Vagy egy fix érték, pl. 20px, hogy a szöveg vertikálisan középen legyen a paddingen belül */
}

.nav-links a:hover {
    background-color: #666;
    border-radius: 4px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 160px;
    border-radius: 4px;
    padding: 5px 0;
    top: 100%;
    /* A lenyíló menü pont a főmenü alá kerüljön */
    left: 0;
}

.dropdown-menu a {
    color: #eee;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.1s ease;
    line-height: 1.2;
    /* A lenyíló menük linkjeinél is egységes sormagasság */
}

.dropdown-menu a:hover {
    background-color: #666;
}

.nav-links li:hover .dropdown-menu {
    display: block;
}

/*.logo {
    width: 100rem;
    margin: 1rem auto;
}*/

.logo img {
    display: block;
    margin: 0 auto;
    width: 25%;
}

.logo2 img {
    display: block;
    margin: 0 auto;
    width: 15%;
}

.footer {
    width: 80%;
    margin: 0 auto;
}

.footer .footerTitle {
    text-align: center;
}

.footer .footerText {
    text-align: center;
    font-family: "Ubuntu", sans-serif;
    letter-spacing: 1px;
    line-height: 1.2rem;
}

.offwebpage {
    margin: 0 auto;
    text-align: center;
}

.offwebpage p{
    font-style: italic;
    font-weight: bold;
}

.offwebpage .links2 {
    display: block;
    padding: 0.7rem;
    background-color: rgb(35, 67, 248);
    color: #fff;
    border-radius: 15px;
    margin: 0.2rem auto;
    width: 20rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    box-shadow: 4px 8px 16px#333;
}

.main{
    width: 60%;
    margin: 2.5rem auto 1.5rem auto;
}

.main h2{
    text-align: center;
    font-family: "Ubuntu", sans-serif;
}

.main h3{
    text-align: center;
    font-family: "Ubuntu", sans-serif;
}

.main p{
    font-size: 1.1rem;
    font-family: "Livvic", sans-serif;
    text-align: justify;
}

a {
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.main h4 {
    margin: 0;
    font-size: 1.1rem;
    font-family: "Livvic", sans-serif;
    font-style: normal;
    font-weight: normal;
    line-height: 1.5rem;
}

.main span{
    font-weight: 600;
}

.container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.kep {
    padding: 0.3rem;
    margin: 1rem;
    max-width: 10rem;
    border: 1px solid #000;
}

.videoarea {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.videoarea1{
    display: flex;
    justify-content: center;
align-items: center;    
}

.videobox{
    width: 40rem;
    height: 25rem;
    margin: 1rem;
}

small{
    display: block;
    text-align: center;
    margin-top: 2px;
}

.main ul li{
    font-size: 1.1rem;
    font-family: "Livvic", sans-serif;
    text-align: justify;
    padding: 2px;
}

/* Reszponzív beállítások */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        align-items: flex-start;
        /* Mobil nézetben a menüpontok balra legyenek igazítva */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        padding-left: 20px;
        top: auto;
        /* Mobil nézetben ne ragadjon meg a 'top: 100%' beállítás */
    }

    .menu-toggle {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: #555;
        align-self: flex-end;
    }

    .logo img {
        display: block;
        margin: 0 auto;
        width: 35%;
    }
}

@media (min-width: 900px) {
    .menu-toggle {
        display: none;
    }
}