html, body{
	height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: grey;
    color: white;
    overflow-x: hidden;
}
.headerLista{
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	gap: 50px;

}
.headerNav{
	display: flex;
	justify-content: space-between;
	flex-flow: row nowrap;
	align-items: center;
	padding-left: 20%;
	padding-right: 20%;
	height: 66px;

}
header{
	background-color: rgba(189, 195, 199, .7);
	position: fixed;
	width: 100%;
	height: 67px;
	z-index: 1;
}
.section1{
	flex:1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-flow: column nowrap;
}
footer{
	background-color: rgba(189, 195, 199, 1);
	text-align: center;
}
.felsoKep{
	width: 100%;
	overflow: hidden;
	position: relative;
	margin-top:67px;
	height: 500px;
	opacity: 0;
	animation: fadeIn 2s ease-out forwards;
	
}
.slider {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    animation: fade 12s infinite;
}
@keyframes fade {
    0% { opacity: 0; }
    15% { opacity: 1; }
    40% { opacity: 1; }
    55% { opacity: 0; }
    100% { opacity: 0; }
}
.slider img:nth-child(1) {
    animation-delay: 0s;
}

.slider img:nth-child(2) {
    animation-delay: 4s;
}

.slider img:nth-child(3) {
    animation-delay: 8s;
}
.fade-in {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4em;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.menu-toggle{
    display: none;
}
.menu-overlay{
    display: none;
}
.menu{
    display: none;
}
.close-menu{
    display: none;
}
.headerLista2{
    display: none;
}
.kocsik{
	width: 60%;
	display: flex;
	margin-top: 30px;
	
	align-items: center;
	flex-flow: column nowrap;
}
.kocsiKep{
	height: 100%;
    width: 100%;
}
.kocsiKep img{
	height: 100%;
    width: 100%;
    object-fit: cover;
}
.kocsiKepLeiras{
    width: 100%;  /* Ensure it fits the container width */
    height: auto;
}
.sliderKep{
    width: 100%;  /* Ensure it fits the container width */
    height: auto;
}
.logoKep{
   
    height: 200px; 
    width: 300px;
    margin-top: 10px;
}
.kocsi{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-flow: row nowrap;
	border:1px white solid;
	border-radius: 30px;
	margin-bottom: 30px;
	overflow: hidden;
	width: 100%;

}
.kocsiLeiras {
    display: flex;
    align-items: flex-start;
    
    flex-direction: column;
    width: 100%;
    font-size: 1.5em;
    padding: 30px;
}

.kocsiLeiras button {
    width: 150px;
    height: 75px;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 80px;
    border: 2px solid #ccc;
    background: linear-gradient(to bottom, #fff, #f0f0f0);
    font-weight: bold;
    color: #333;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: all 0.3s ease-in-out;
    display: inline-block;
    position: relative;
  	padding: 0;
}
a{
    color: inherit;
    text-decoration: none;
}
button a{
	display: block;
	text-align: center;
	height: 100%;
	line-height: 75px;
}
#button1{
	align-self: flex-end;
	
	margin-top: 80px;
}
.kocsiLeiras button:hover {
    background: linear-gradient(to bottom, #f0f0f0, #ddd);
    transform: translateY(-2px);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);
}

.kocsiLeiras button:active {
    transform: translateY(2px);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
}
hr{
	color:white; width: 99.9%; margin:0;
}
ul li {
    position: relative;
    list-style: none;
    text-align: center;
    transition: background-color 0.3s ease;
    cursor:pointer;
}

ul li::before,
ul li::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

ul li::before {
    left: 50%;
    transform: translateX(-50%);
}

ul li::after {
    right: 50%;
    transform: translateX(50%);
}

ul li:hover::before,
ul li:hover::after {
    width: 100%;
}
.nagySzoveg{
	font-size:3em; cursor: default;
}
.tablaDiv{
	margin-top: 30px;
	margin-bottom: 30px;
	width: 60%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.desktopTable{
  	display: table;
  }
  .mobileTable{
  	display: none;
  }
table{
	text-align: center;
	border-collapse: collapse;
	border-radius: 1px;
	border: 1px solid white;
	overflow: hidden;
}
tr{
	
}
td{
	font-size: 2em;
	border: 1px solid white;
	padding: 15px;
}
.kontakt{
	
	padding-right: 30px;
	display: flex;
	align-items: left;
	flex-direction: column;
	border-right: 1px solid white;
	width: 50%;
}
.kontakt i{
	margin: 5px;
}
.kontakt span{
	font-size: 1.3em;
}
.rolunk{
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	background-image: url("kepek/4.jpg");
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    
}
.rolunkSzoveg{
	width: 80%;
}
.sotet{
	display: flex;
	align-items: center;
	flex-direction: column;
	background-color: rgba(0, 0, 0, .5);
}
.autoCim{
	font-size: 1.5em;

}
.kapcsolatok{
	display: flex;
	align-items: center;
	text-align: center;
	flex-direction: row;
	margin-top: 30px;
	margin-bottom: 30px;
	width: 100%;
}

.telefonGomb{
	width: 50%;

}
.reszletekSzoveg{
	margin-top: 100px;
}
.section2{
	flex: 1;
	display: flex;
	padding: 30px;
	align-items: center;
	flex-flow: column nowrap;
	margin-bottom: 40px;
}
.section3{
    flex: 1;
    display: flex;
    margin-top: 70px;
    align-items: center;
    flex-flow: column nowrap;
    margin-bottom: 40px;
}
.reszletekMain{

	width: 1275px;
	height: auto;
	overflow: hidden;
	border: 1px solid white;
	border-radius: 15px;
	height: auto;
}
.mainFelso{
	height: 900px;

	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
.reszletekMain img{
	height: 100%;
    width: 100%;
    object-fit: cover;
}
.mainLeiras{
	flex: 1;
	font-size: 1.3em;
	height: 100%;
	padding:20px;
	box-sizing: border-box;
	display: flex;
	flex-flow: column nowrap;
	align-items: flex-start;
	justify-content: space-between;
}
.leirasGombok{
	align-self: flex-end;
}
.leirasGombok button{
	width: 150px;
    height: 50px;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 80px;
    border: 2px solid #ccc;
    background: linear-gradient(to bottom, #fff, #f0f0f0);
    font-weight: bold;
    color: #333;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: all 0.3s ease-in-out;
    display: inline-block;
    position: relative;
  	padding: 0;

}
.leirasGombok button:hover {
    background: linear-gradient(to bottom, #f0f0f0, #ddd);
    transform: translateY(-2px);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);
}

.leirasGombok button:active {
    transform: translateY(2px);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
}
.mainAlso{
	
}
.reszletekKepek{
	width: 100%;
	display: flex;
	flex-flow: row wrap;
}
.reszletekKepek img{
	width: 175px;
	height: 125px;
	cursor: pointer;
	margin: 40px;
}
.kepekText{
	font-size: 3em;
	margin-left: 40px;
	margin-bottom: 0;
}
.telefonGomb button{
	width: 250px;
    height: 75px;
    border-radius: 15px;
    cursor: pointer;
    border: 2px solid #ccc;
    background: linear-gradient(to bottom, #fff, #f0f0f0);
    font-weight: bold;
    color: #333;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: all 0.3s ease-in-out;
    display: inline-block;
    position: relative;
  	padding: 0;
  	font-size: 1.3em;

}
.telefonGomb button:hover {
    background: linear-gradient(to bottom, #f0f0f0, #ddd);
    transform: translateY(-2px);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);
}

.telefonGomb button:active {
    transform: translateY(2px);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
}
.viewer {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index:9999;
    opacity: 0;
}

/* Image inside viewer */
.viewer img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

/* Close button (top right) */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Navigation buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: white;
}
.thumbnail{
    object-fit: cover;
}
.feltetelekSzoveg{
    margin:40px;
}
@media (max-width: 870px) {
    .headerNav{
        padding-left: 1%;
    }
    .autoCim{
        font-size: 1.1em;
    }
    .feltetelekSzoveg h1{
       font-size: 1.3em;
    }
    .feltetelekSzoveg h2{
        font-size: 1.1em;
    }
    .kepekText{
        font-size: 1.7em;
    }
    .headerLista{
        display: none;
    }
    .menu-toggle{
    display: block;
    margin-right: 5%;
}
.menu-overlay{
    display: block;
}
.menu{
    display: block;
}
.close-menu{
    display: block;
}
.headerLista2{
    display: block;
}
  .felsoKep{
  	height: 200px;
  }
  .nagySzoveg{
  	font-size: 2em;
  }
  .kocsik{
  	width: 90%;

  }
  .kocsi{
  	height: 150px;
  
  }
  .kocsiLeiras{
  	font-size: 1em;
  	padding: 10px;
  }
  .leirasText{
  	display: none;
  }
  .kocsiLeiras button{
  	margin-top:10px;
  	width: 100px;
  	height: 50px;
  }
  #button1{
  	margin-top: 10px;
  }
  button a{
  	line-height: 50px;
  }
  .tablaDiv{
  	width: 90%;
  }
  .desktopTable{
  	display: none;
  }
  .mobileTable {
  display: table;
 }
 td{
 	font-size: 1.3em;
 }
 .kapcsolatok{
 	flex-direction: column;
 	
 }
 .kontakt{
 	padding-right:0px;
 	padding-bottom:30px ;
 	border-right: 0px solid white;
 	border-bottom: 1px solid white;
 	font-size: 1em;
 	align-items: center;
 }
 .telefonGomb{
 	margin-top: 30px;
 	width: 100%;
 }
 .menu-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            font-size: 30px;
            cursor: pointer;
            z-index: 1000;
        }
        .menu-overlay {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            z-index: 999;
        }
        .menu {
            position: fixed;
            top: 0;
            right: -120%;
            width: 100%;
            height: 100%;
            background: grey;
            padding: 20px;
            transition: right 0.3s ease-in-out;
            z-index: 1000;
        }
        .menu.active {
            right: 0;
        }
        .menu-overlay.active {
            display: block;
        }
        .menu .close-menu {
            font-size: 30px;
            cursor: pointer;
            text-align: right;
        }
        .reszletekMain{
            width: 100%;
        }

        .mainFelso{
            display: flex;
            flex-flow: column nowrap;
            height: auto;
        }
        .mainFelso img{
            
            object-fit: scale-down;
        }
        
        .leirasGombok{
            display: flex;
            flex-flow: row nowrap;
            gap:10px;
        }
        .reszletekKepek{
            display: flex;
            flex-flow: column nowrap;
            align-items: center;
        }
        .thumbnail{
            object-fit: cover;
        }
}
@media (min-width: 871px) and (max-width: 1079px) { 
    .leirasText{
        display: block;
    }
    .headerNav{
        padding-left: 10%;
        padding-right: 10%;
    }
    .felsoKep{
  	height: 400px;
  }
  .nagySzoveg{
  	font-size: 3em;
  }
  .kocsik{
  	width: 90%;
  }
  .kocsi{
  	height: 400px;
  
  }
  .kocsiLeiras{
  	font-size: 1em;
  	padding: 10px;
  }
  
  .kocsiLeiras button{
  	margin-top:10px;
  	width: 100px;
  	height: 50px;
  }
  #button1{
  	margin-top: 10px;
  }
  button a{
  	line-height: 50px;
  }
  .tablaDiv{
  	width: 90%;
  }
  .desktopTable{
  	display: none;
  }
  .mobileTable {
  display: table;
 }
 td{
 	font-size: 1.3em;
 }
 .kapcsolatok{
 	flex-direction: column;
 	
 }
 .kontakt{
 	padding-right:0px;
 	padding-bottom:30px ;
 	border-right: 0px solid white;
 	border-bottom: 1px solid white;
 	font-size: 1em;
 	align-items: center;
 }
 .telefonGomb{
 	margin-top: 30px;
 	width: 100%;
 }
 
}
@media (min-width: 360px) and (max-width: 566px){
    .reszletekKepek{
            display: flex;
            flex-flow: column nowrap;
            align-items: center;
        }
}
@media (min-width: 567px) and (max-width: 849px){
    .reszletekKepek{
            display: flex;
            flex-flow: row wrap;
            align-items: center;
            justify-content: center;
        }
}
@media (min-width: 850px) and (max-width: 1133px){
    .reszletekKepek{
            display: flex;
            flex-flow: row wrap;
            align-items: center;
            justify-content: center;
        }
}
@media (min-width: 1134px) and (max-width: 1400px){
    .reszletekKepek{
            display: flex;
            flex-flow: row wrap;
            align-items: center;
            justify-content: center;
        }
}
@media (min-width: 870px) and (max-width: 1400px){
    .reszletekMain{
            width: 90%;
        }

        .mainFelso{
            display: flex;
            flex-flow: column nowrap;
            
            height: auto;
        }
            
        
        .mainFelso img{
            
            object-fit: scale-down;
        }
        .leirasGombok{
            display: flex;
            flex-flow: row nowrap;
            gap:10px;
        }
        
        .thumbnail{
            object-fit: cover;
        }
}
@media (min-width: 1080px) and (max-width: 1440px){
    .felsoKep{
    height: 500px;
  }
  .kocsik{
    width: 90%;
  }
  .kocsi{
    height: 500px;
  
  }
}
.blogMain{
    margin-top: 20px;
    width: 90%;
    background-color: white;
    color: black;
    border-radius: 15px;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    overflow: hidden;
}
.blogChild{
    border: 1px solid black;
    margin:20px;
    border-radius: 15px;
    height: 500px;
    width: 400px;
    display: flex;
    overflow: hidden;
    flex-flow: row wrap;
    
}
.blogChild img{
    object-fit: cover;
    width: 100%;
    height: 50%;
}

.blogChild button{
    width: 150px;
    height: 25px;
    border-radius: 10px;
    cursor: pointer;
   
    border: 2px solid #ccc;
    background: linear-gradient(to bottom, #fff, #f0f0f0);
    font-weight: bold;
    color: #333;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: all 0.3s ease-in-out;
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}
.blogMainPostMain button{

    width: 150px;
    height: 25px;
    border-radius: 10px;
    cursor: pointer;
   
    border: 2px solid #ccc;
    background: linear-gradient(to bottom, #fff, #f0f0f0);
    font-weight: bold;
    color: #333;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: all 0.3s ease-in-out;
    display: inline-block;
    position: relative;
    padding: 0;
    text-align: center;
}
.blogChildDesc{
    height: 50%;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-flow: column wrap;
}
.blogChildDesc h2{
    margin-top: 0;
    margin-bottom: 0;
}
.blogChildDesc h3{
    margin-top: 0;
    margin-bottom: 0;
}
.blogMainPost{
    margin-top:20px ;
    width: 90%;
    background-color: white;
    color: black;
    border-radius: 15px;
    height: auto;
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
}
.blogMainPostMain{
    padding: 20px;
    font-size: 1.3em;
}