main{
    overflow-x:hidden;
    flex:1;
}
#navbar-egesz .nav-link:active,
#navbar-egesz .nav-link:focus,
#navbar-egesz .nav-link:focus-visible {
  color: white !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
#navbar-egesz .dropdown-item:active,
#navbar-egesz .dropdown-item:focus,
#navbar-egesz .dropdown-item:focus-visible {
  color: black !important;
  background-color: rgba(0,0,0,0.05) !important;
  outline: none !important;
  box-shadow: none !important;
}
 #cim{
    font-size: 17px !important;
  }
.navbar-nav{ display: flex !important; }
#szervezeteink_menu{
    list-style-type: none;
}
#fooldal_menu{
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;

}
#fejleckep{
    width:100%;
    object-fit: cover;
  object-position: center top;
}er{
    padding: 
#fejlec_contain0;
     overflow: hidden;
}
#kartya_kep{
    overflow: hidden;
    width: 100%;
    padding-left: 5px;
    transition: box-shadow .3s;
    border-radius:10px;
    border: 1px solid #ccc;
    padding-left: 10px;
    padding-right: 10px;      /* állítsd, amekkorára akarod */
}
#kartya_kep img{
    object-fit: cover;
    padding-top: 10px;
}
#fooldal_menu img{
    padding-left: 50px;
    display: inline-block;
    margin: 5px;
}
#szoveg{
    text-align: justify;
}
.ikon{
    width: 100px;
}
.dropdown-item disabled{
    color:  black;
}
#fejlec{
    background-color:rgb(219, 185, 151);
    padding-top: 10px;
}
#kreta_logo{
    height: auto; 
    max-height: 265px;
    width: auto;
}
#om{
    color: white;
}
#tan{
    color: white;
}
#navbar-egesz{
    background-color:rgb(128, 28, 17);
}
#logo{
    height: auto; /* Automatikusan alkalmazkodik a szélességhez */
    max-height: 35px; /* A navbar fix magasságához igazított méret */
    width: auto;
}
#fejlec p{
    color:white;
    display:inline-block;
    text-indent: 20px;
}
#dbtk{
    float:right;
}
#logo2{
    height: auto; /* Automatikusan alkalmazkodik a szélességhez */
    max-height: 150px; /* A navbar fix magasságához igazított méret */
    width: auto;
}
#linkek{
    color:black;
    text-decoration: none;
}
#kartya_kep:hover{
    box-shadow: 0 0 11px rgba(33,33,33,.2); 
}
#footer{
    border:1px solid;
}
#fooldal{
    padding-top: 20px;
}
#kepek{
    padding-left: 170px;
}
#fooldal ul{
    font-size:12px;
}
#fooldal h1{
    font-size:25px;
    color: rgb(117, 122, 128);
}
#fooldal p{
    font-size:12px;
}
#fooldal h2{
    font-size:15px;
    color: rgb(117, 122, 128);
}
#szervezeteink_menu{
    padding-left: 10px;
}
#footer{
    background-color: rgb(230, 192, 170);
    padding-top: 30px;
    color: rgb(117, 122, 128);
}
#footer ul{
    list-style-type: none;
    font-size:12px;
}
#footer p{
    font-size:12px;
}
#footer img{
    height: auto; /* Automatikusan alkalmazkodik a szélességhez */
    max-height: 70px; /* A navbar fix magasságához igazított méret */
    width: auto;
}
.container-fluid{
    overflow: hidden;
}
@media screen and (max-width: 576px) {
    #ikonok{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width:  100%;
  }
  #cim{
    font-size: 10px !important;
  }
#ikonok .ikon{
    width: clamp(36px, 12vw, 52px);
    height: auto;
}
  #ikonok a{
    display: block;
  }
    #fejleckep{
        height: 300px;
    }
  #navbar-link {
    background-color: rgb(161, 126, 106);
  }
  #logo {
    height: 30px; /* Kisebb méret */
  }
  .navbar-nav {  
    max-height:400px;
    overflow-y: scroll;
}
    #footer img{
        height: auto; /* Automatikusan alkalmazkodik a szélességhez */
        max-height: 50px; /* A navbar fix magasságához igazított méret */
        width: auto;
        margin-top:20px;
    }
    #kepek img{
        display: inline-block;
        margin: 5px;
    }
    #kepek{
         padding-left: 0;
         text-align: center;
    }
    .ikon{
        width: 10 px;
         height: auto;
    }
    #fejlec_kep{
        padding-top: 200px;
    }
     #fooldal_menu img{
    width: 50px;
    padding-left:0 !important;
    margin: 0 !important;
    display: block;
  }
}   
@media screen and (max-width: 992px) {
    #fejlec_container{
    padding-top: 30px !important;
  }
  #navbar-link {
    background-color: rgb(161, 126, 106);
  }
  #logo {
    height: 30px; /* Kisebb méret */
  }
  #logo2{
    height: auto; /* Automatikusan alkalmazkodik a szélességhez */
    max-height: 100px; /* A navbar fix magasságához igazított méret */
    width: auto;
  }
   .navbar-nav {  
    max-height:400px;
    overflow-y: scroll;
}
    #footer img{
        height: auto; /* Automatikusan alkalmazkodik a szélességhez */
        max-height: 50px; /* A navbar fix magasságához igazított méret */
         width: auto;
         margin-top:20px;
    }
    #cim, #fejlec_egesz,#navbar-egesz,#kartyak{
        font-size:11px;
    }
    #kartyak h2{
        font-size:21px;

    }
    #kartya_kep img{
    }
    #fejlec_egesz{
        display: none;
    }
    .ikon {
        width: 100px;
    }
    #kepek{
    }
    #fooldal_menu{
        height: auto;
        width: auto;
    }
    #sorok{
        margin-right: 10px;
        margin-left: 10px;
    }
      #navbar-egesz .nav-link{
    font-size: 20px !important;
  }
  #navbar-egesz .dropdown-item{
    font-size: 20px;
  }
}
@media screen and (min-width: 1500px) {
    #fejlec_container{
    padding-top: 30px !important;
  }
  #navbar-link {
    background-color: rgb(161, 126, 106);
  }
  #logo {
    height: 30px; /* Kisebb méret */
  }
  #logo2{
    height: auto; /* Automatikusan alkalmazkodik a szélességhez */
    max-height: 100px; /* A navbar fix magasságához igazított méret */
    width: auto;
  }
    #footer img{
        height: auto; /* Automatikusan alkalmazkodik a szélességhez */
        max-height: 50px; /* A navbar fix magasságához igazított méret */
         width: auto;
         margin-top:20px;
    }
  #navbar-egesz .nav-link {
    font-size: 15px !important;
  }

  #navbar-egesz .dropdown-item {
    font-size: 15px !important;
  }
  #fejlec p{
    font-size:15px;
  }

}
@media screen and (min-width: 1400px) {
  .ikon{
    width: 110px;
  }
  #fejlec_container{  
    max-height: 800px;
    width: 100%;
    object-fit: contain;   /* nem vág, de lehet üres sáv */
    }
}
@media (min-width: 1024px) and (max-width: 1400px) {
  #navbar-egesz .nav-link {
    font-size: 12px !important;
  }
#logo {
    height: 25px; /* Kisebb méret */
  }
  #navbar-egesz .dropdown-item {
    font-size: 12px !important;
  }
  #fejlec p{
    font-size:12px;
  }
   #navbar-egesz #cim,
  #navbar-egesz .brand-text{
    font-size: 15px !important;
  }
  #fejlec_egesz{
        display: none;
    }
    #cim{
        display:none;
    }
}