body,
html {
    height: 100%;
    background-image: linear-gradient(to bottom right, #FFF, #ECFCE7);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
    flex-direction: column;
}

body>.main {
    flex: 1;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th,
td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

#contact-table {
    margin-left: auto;
    margin-right: auto;
    width: auto;
    color: black;
    text-shadow: none;
    margin-bottom: 20px;
}
#contact-table td{
    border:none;
}

.contact-holder td{
    border:none;
}

#icons {
    position: fixed;
    top: 40%;
    left: 0;
}

.icons-ul {
    list-style-type: none;
    padding-left: 0;
}

.icon {
    width: 45px;
}

.footer-main {
    height: 80px;
    background-color: #061602;
    color:#3DE010;
    text-align: center;
}

/*header{
    background-image: url('/img/fejreszkep.webp');
    background-position: bottom;
    height: 250px;
   
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}*/

#header-img {
    width: 100%;
    height: 300px;
    margin-bottom: 0px;
    object-fit: cover;
    object-position: bottom;
}

.horizontal-menu {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    height: 60px;
    background-color: #061602;
    color: white;
    align-items: center;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0);
}

.horizontal-menu ul {
    display: flex;
    margin-left: auto;
    margin-right: 10%;
    gap: 60px;
    list-style-type: none;
}

.horizontal-menu li {
    margin-left: 20px;
    position: relative;
}

.horizontal-menu a {
    text-decoration: none;
    color: #ECFCE7;
    line-height: 100%;
    padding: 15px 18px;
}

.horizontal-menu a:hover {
    color: #061602;
    background-color: #3DE010;
}
#home-a:hover{
    background-color: transparent;
}

.navbar {
    display: flex;
}

.horizontal-menu .dropdown {
    margin-top: 10px;
    color: #061602;
    padding-left: 0;
    position: absolute;
    top: 100%;
    z-index: 999;
    display: none;
    list-style-type: none;
}

.dropdown li {
    width: 100%;
    background-color: #3DE010;
    padding-top: 15px;
    margin-left: 0px;
    padding-bottom: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.dropdown li:hover a,
.dropdown li:hover {
    background-color: #061602;
    color: #3DE010
}

.dropdown a {
    width: 100px;
    background-color: #3DE010;
    color: #061602;
    padding: 0px 10px 10px 10px;
    line-height: 100%;
}

.dropdown a:hover {
    padding: 0px 10px 10px 10px;
    background-color: #061602;
    color: #3DE010;
}

.horizontal-menu ul>li:hover .dropdown {
    display: block;
}

.main-menu-ul {
    list-style-type: none;
    color: #3DE010;
    padding-bottom: 50px;
    
}
.main-menu-ul ul {
    list-style-type: none;
 }
#sub-item-reveal{
    font-weight: bold;
}

.sidebar-menu-subitem{
    display: none;
}

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    background-color: #061602;
    height: 100%;
    width: 15%;
    text-align: justify;
    z-index: 1000;
    margin-top: 0px;
    overflow-y: auto;
    color: #3DE010;
}

#sidebar ul {
    padding-left: 15px;
    padding-top: 0%;
}

#sidebar ul li {
    padding: 30px 0px;
    border-bottom: 1px solid #061602;
    cursor: pointer;
}

#sidebar ul li:hover {
    background-color: #3DE010;
    color: #061602;
    border-bottom: 1px solid #3DE010;
}

#sidebar a {
    color: inherit;
    text-decoration: none;
}

.front-menu-icon {
    display: none;
    text-align: right;
    z-index: 1100;
}

.home-title {
    font-size: 74px;
    color: #ECFCE7;
    text-align: center;
    text-shadow: 6px 6px 4px black;

}
#welcome-h2{
    color:#ECFCE7 !important;
}
.home-title2 {
    font-size: 34px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px black;

}

.welcome {
    height: 100vh;
    padding-top: 30px;
    background-color: #061602;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub-welcome{
    height: 100vh;
    padding-top: 30px;
    /*background: linear-gradient(to bottom,#061602 80%, rgba(18, 52, 86, 0) 100%);*/
    background-color: #061602;
    display: block;
    
}
#sub-welcome-holder{
    color:white;
    display: flex;
    width:90%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}
#sub-welcome-holder ul{
    list-style-type: none;
    font-size:48px;
}
.sub-welcome-h1{
    font-size: 60px;
}
#sub-welcome-holder li{
    margin-top: 30px;
    font-size:48px;
}

#welcome-logo {
    max-width: 500px;
}
#logo-400{
    margin-left:10%;
    width:100%;
    max-width: 500px;
    height: auto    ;
}
.main {
    display: flex;
    padding-left: 5%;
    padding-right: 5%;
    min-height: calc(100vh - 80px);
}

.main-content {
    margin-top: 30px;
    width: 100%;
}

#introduction {
    display: flex;
    flex-direction: column;
    transform: translateX(-150%);
}

#introduction h2 {
    text-align: center;
    font-size: 48px;
    color: white;
}

.wpkep {
    width: 300px;
}

.squareimg {
    box-shadow: 2px 2px 5px rgba(0, 0, 0);
}

#wpkep-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.front-main {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    display: block;
}

.front-main a {
    text-decoration: none;
}

.front-main img:hover {
    filter: brightness(1.2);
}

.introduction {
    display: flex;
    padding: 30px;
    align-items: center;
    justify-content: center;

}

.introduction:has(#contact) {
    padding: 0px;
}

.text1 {
    padding: 10px;
    width: 100%;
    text-align: justify;
    line-height: 1.6;
    color: #124305;
}

.text2 {
    padding: 10px;
    width: 50%;
    margin-left: 30px;
    text-align: justify;
    line-height: 1.6;
    color: white;
}

.text-singlepost {
    padding: 20px;
    width: 80%;
    font-size: 20px;;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    line-height: 1.6;
    color:#061602;
   /* box-shadow: 0 2px 5px rgba(0, 0, 0);*/
}

.text-contact {
    width: 100%;
    text-align: center;
}

.text-contact table {
    box-shadow: 0 2px 5px rgba(0, 0, 0);
}

.text-contact p {
    color:#061602;
}

.text1 h2,
.text-contact h2 {
    text-align: center;
    color: #061602;
    font-size: 38px;
}

#section0 {
    box-shadow: unset;
}

.services-ul {
    list-style-type: none;
    margin-left: 15%;
    padding: 0;
}

.services-li {
    margin-top: 10px;
    font-size: 20px;
}

.inner-text-li{
    font-size: 24px;
    font-weight: bold;
}

.fly, .fly-header {
    opacity: 0;
    transform: translateX(-150%);
}

.web-li {
    margin-top: 20px;
    font-size: 24px;
}

section {
    margin-bottom: 40px;
}

.main-img-holder {
    height: 500px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.main-img-holder img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0);
}
.alert{
    color:red;
    margin: 15px 30px;
}
.sub-h2 {
    text-align: center;
    font-size: 40px;
    color:#061602;
}

#contact-sub-h2{
    margin-top:80px;
}

.contact-line a{
    text-decoration: none;
}

.front-h1 {
    margin-bottom: 40px;
    font-size: 54px;
    color:#061602;
    text-align: center;
}
.front-h2 {
    margin-top: 40px;
    margin-bottom: 80px;
    font-size: 34px;
    color:#061602;
    text-align: center;
}

.reveal {
    opacity: 0;
    margin-right: 150%;
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    margin-right: unset;
}

.phone{
    text-align: center;
    font-weight: bold;
    font-size: 30px;
}

#contact-img {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

#contact-img img {
    border-radius: 10px;
}

#contact {
    text-align: center;
    background-color: #2f9313;
    color: white;
    border-radius: 15px;
    overflow: hidden;
    padding: 10px 10px;
    box-shadow: 2px 2px 4px black;
    margin-bottom: 50px;
}

#contact:hover, .contact-btn:hover {
    filter: brightness(1.4);
    cursor: pointer;
}
.padded-0 { padding-left: 0px; }
.padded-1 { padding-left: 50px; }
.padded-2 { padding-left: 100px; }
.padded-3 { padding-left: 150px; }
.padded-4 { padding-left: 200px; }
.padded-5 { padding-left: 250px; }
.padded-6 { padding-left: 300px; }

.hidden-row{
    display:none;
}
.contact-holder{
    display: inline-block;
}

.contact-holder table{
    border-radius: 10px;
    overflow: hidden;
    font-size: 16px;
}

.contact-btn{
    width:100%;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: #2f9313;  
    color:white;
    font-size: 20px;
}

/* MOBIL NÉZET */
@media only screen and (max-width: 800px) {
    .front-main {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        display: block;
    }
  /*  * {
  outline: 1px solid red; 
}*/
*, *::before, *::after {
    box-sizing: border-box;
}
    .home-title {
        font-size: 28px;
    }

    .sub-h2 {
        font-size: 30px;
    }

    #welcome-logo{
        width:100%;
    }
    .text1 h2 {
        color: #061602;
        text-align: center;
    }

    .text1 {
        margin-left: 0;
        display: block;
    }

    .text2 {
        text-align: left;
        margin-left: 0;
        width: 90%;
    }

    .text-singlepost {
        padding: 20px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: justify;
        line-height: 1.6;
        color:#061602;
    }

    .front-menu-icon {
        text-align: center;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

    .horizontal-menu ul {
        display: none;
    }
    .front-h1{
        font-size: 30px;
    }
    .horizontal-menu {
        display: block;
    }

    #sidebar {
        width: 100%;
        padding-bottom: 100px;
    }

    .introduction {
        height: unset;
        padding: 15px;
        display: block;
    }

    #introduction h2 {
        font-size: 30px;
    }

    .welcome {
        padding-top: 80px;
        min-height: 100vh;
        overflow: hidden;
    }

    .services-ul {
        margin-left: 0px;
        padding-left: 0px;
    }

    .services-li {
        margin-top: 10px;
        font-size: 20px;
        padding-bottom: 20px;
        padding-left: 0px;
        font-weight: bold;
    }

    .text1 {
        margin-top: 30px;
    }

    .main-img-holder {
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .main-img-holder img {
        width: 90%;
        height: auto;
        max-width: 300px;
    }

    #contact-img {
        display: flex;
        justify-content: center;
    }

    #contact-img img {
        border-radius: 10px;
        width: 97%;
        height: auto;
        max-width: 300px;
    }

    .main-content {
        width: 100%;
        display: block;
        overflow: unset;
        height: 100%;
    }

    .reveal h2 {
        text-align: center;
    }
    .sub-welcome{
        height: auto;
    }
    .sub-welcome-h1{
        margin-top: 40px;
        font-size: 35px;
        text-align: center;
    }
    #sub-welcome-holder{
        display: block;
    }
    #sub-welcome-holder li{
        display: block;
    }
    .sub-header-li{
        font-size: 34px !important;
        padding-left: 0px !important;
    }
    #logo-400{
        display: none;
    }
    #home-a img {
        position: fixed;
        top:10px;
    }
    #wpkep-div{
        align-items: center;
    }
}