@media only screen and (max-width: 992px) {
    * p, * figcaption, * button, * a{
    font-size: 17px;
}
* h1{
    font-size: 45px;
}
* h2{
    font-size: 35px;
}
* h3{
    font-size: 25px;
}
    .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000; /* Legfelül legyen */
}

/* A gomb 3 vonala */
.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
#hdr #nv{
    position: fixed;
    top: 0;
    right: -100%; /* Alapból teljesen kitoljuk a képernyő jobb szélére (láthatatlan) */
    width: 50%; /* A mobilmenü szélessége */
    height: 100vh;
    background-color: #000;
    box-shadow: -5px 0 15px #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px; /* Helyet hagyunk a logónak/gombnak */
    transition: right 0.3s ease; /* Sima beúszó animáció */
    z-index: 1500;
}
#hdr #nv ul{
    flex-direction: column;
    justify-content: flex-start;
    gap: 50px;
    padding-left: 30px;
}
#hdr #nv.active {
    right: 0; /* Beúszik a képernyőre a jobb széléről */
}
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0; /* Középső vonal eltűnik */
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
#mn #rolunk{
    flex-direction: column;
}
#left{
    width: 100%;
}
#right{
    width: 100%;
}
#right img{
    width: 25%;    
    margin: 0 auto;
    display: block;
}
#gumi-1{
    align-items: center;
    flex-direction: column;
}
#gumi-1 figure{
    width: 50%;
}
#gumi-2{
    align-items: center;
    flex-direction: column;
}
#gumi-2 figure{
    width: 50%;
}
#auto{
    align-items: center;
    flex-direction: column;
}
#auto figure{
    width: 50%;
}
#egyeb-1{
    align-items: center;
    flex-direction: column;
}
#egyeb-1 figure{
    width: 50%;
}
#egyeb-2{
    align-items: center;
    flex-direction: column;
}
#egyeb-2 figure{
    width: 50%;
}
}
@media only screen and (max-width: 768px){
    #ftr{
        flex-direction: column;
}
#kapcsolatok{
    width: 100%;
}
#terkep{
    width: 100%;
}
#footer-logo{
    width: 100%; 
}
}
@media only screen and (max-width: 480px) {
    * p, * figcaption, * button, * a{
    font-size: 15px;
}
* h1{
    font-size: 40px;
}
* h2{
    font-size: 30px;
}
* h3{
    font-size: 20px;
}
#hdr{
    padding: 0;
}
    #mn #logo-container img{
    width: 25%;
    position: relative;
    left: 100%;
    transform: translate(-100%);
}
#gumi-1 figure{
    width: 75%;
}
#gumi-2 figure{
    width: 75%;
}
#auto figure{
    width: 75%;
}
#egyeb-1 figure{
    width: 75%;
}
#egyeb-2 figure{
    width: 75%;
}
}