html {
    scroll-behavior: smooth;
}
body {
    margin:0px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 580;
}
header {
    background-color: darkslategray;
    color: white;
}
.headerdivmain {
    margin: 0 auto;
    text-align: center;
    display:flex;
    justify-content: space-between;
    max-width:1300px;
}
.headerbox {
    display:flex;
}
.headerinfo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    margin-right: 15px;
}
.himage {
    width:15px;
    background-color:white;
    padding:10px;
    border-radius:10px
}
.hp {
    margin-left: 15px;
}
#telefonosmenu {
    display:none;
}
.navbar {
    margin: 0px auto;
    max-width: 1300px;
    display:flex;
    align-items: center;
    justify-content: space-between;
    height:70px;
    top: 30px;
    position: relative;
    background-color: white;
    padding: 5px;
    border-radius: 10px;
}
.menugombok {
    margin-right: 15px;
    display: flex;
    padding-top: 25px;
    padding-bottom: 25px;
    text-transform: uppercase;
}
.img {
    display: flex;
    align-items: center;
}
.logo {
    width: 50px;
    padding: 15px;
}
.logolink {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-size: 18px;
    margin-left: 10px;

}
.menu1 a,.menu2 a,.menu3 a,.menu4 a, .menu5 a {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left:25px;
    padding-right: 25px;
    color:black;
    text-decoration: none;
    transition: all 0.15s ease-out;
    border-radius:10px;
}
.menu5 a {
    background-color: rgb(71, 71, 71);
    color:white;
}
.hatter {
    margin: 0px auto;
    background-image: url(../images/egyeb/background1.jpg);
    background-size:cover;
    background-position: center;
    height: 700px;
    border-bottom:1px solid gainsboro;
}
.kezdo {
    margin: 0 auto;
    margin-top: 400px;
    max-width: 1300px;
}
.ablak {
    width: fit-content;
    background-color: white;
    border-radius: 10px;
    border: 1px solid gainsboro;
}
.cim p {
    font-size: 45px;
    font-weight: 500;
    color: black;
    margin: 0;
    width: fit-content;
    padding: 20px;
}
.cim2 p {
    margin: 0;
    font-size: 25px;
    font-weight: 300;
    color: white;
    width: fit-content;
    background-color: darkslategray;
    padding: 20px;
    border-radius: 10px;
}
.bekezdes {
    margin: 0 auto;
    max-width: 1300px;
    padding-top: 35px;
}
#referenciak .focim {
    margin-top: 0px;
}
#referenciak {
    padding-bottom: 50px;
}


/*galeira*/
.galeriacsaladi,.galerialako, .galeriakoz, .galeriaipari {
    width: 100%;
    height:100vh;
    margin: 0 auto;
    display:none;
    top:0px;
    position:fixed;
    align-items: center;
    justify-content: center;
    background-color: rgb(77, 77, 77, 0.9);
}
.galeriakepek1,.galeriakepek2, .galeriakepek3,.galeriakepek4 {
    position: relative;
    overflow: hidden;
    align-items: center;
    position: static;
    width: 80%;
    border-radius: 10px;
}
.galeriakepek1 img,.galeriakepek2 img, .galeriakepek3 img, .galeriakepek4 img {
    width: 100%;
    display: block;
}
.prev, .next, .x {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 30px;
    background-color: white;
    color: black;
    cursor: pointer;
    font-weight:bold;
    font-size: 20px;
    transition-duration: 0.1s;
    border-radius:10px;
}
.prev:hover, .next:hover, .x:hover {
    background-color: rgb(150,150,150);
    color: white;
}
.x {
    top:60px;
    right: 20px;
}
.prev {
    left: 20px;
}
.next {
    right: 20px;
}

.box {
    display: flex;
}
.kep {
    margin-top: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
    outline: 1px solid gainsboro;
    background-color: rgb(71, 71, 71);
    margin: 10px;
    height: 400px;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 10px;
}
.kep:first-child {
    background-image: url(../images/egyeb/kep1.jpg);
    background-size:cover;
    background-position: center;
    width: 25%;
}
.kep:nth-child(2) {
    background-image: url(../images/egyeb/kep2.jpg);
    background-size:cover;
    background-position: center;
    width: 25%;
}
.kep:nth-child(3) {
    background-image: url(../images/egyeb/kep3.JPG);
    background-size:cover;
    background-position: center;
    width: 25%;
}
.kep:nth-child(4) {
    background-image: url(../images/egyeb/kep4.jpg);
    background-size:cover;
    background-position: center;
    width: 25%;
}
.keplink {
    text-decoration: none;
}
.keplink p {
    margin: 0px auto;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
    color: white;
    text-transform:uppercase;
    background-color: rgba(71, 71, 71, 0.85);
    border-radius: 10px;
}
.box img {
    width: 100%;
}
.focim {
    font-size: 30px;
}
.focim p {
    border-bottom: 2px solid rgb(223 176 105);
    width: fit-content;
    margin-bottom: 30px;
    margin-top:0px;
}
#grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    max-width:1100px;
    margin:0 auto;
    font-weight: 100;
}
.bemutatkozashatter .focim p{
    margin: 0;
    color: black;
    border-bottom: 2px solid rgb(223 176 105);
    margin-bottom: 30px;
    margin-top:0px;
}

.kep:hover {
    width: 50%;
    cursor: pointer;
}
.menugombok div a:hover {
    background-color: gainsboro;
    color: white;
}
.menugombok div:active {
    transform: scale(0.95);
    transition-duration: 0.15s;
}
.bemutatkozashatter {
    background-color: ghostwhite;
    border-top: 1px solid gainsboro;
    height: fit-content;
    background-size:contain;
    border-bottom: 1px solid gainsboro;
    padding-bottom: 50px;
}
#elso {
    grid-row-start: 1;
    grid-row-end:3;
    height:fit-content;
}
#elso .bszoveg{
    background-color: beige;
    margin-top: 80px;
    border-radius: 10px;
}
#harmadik {
    grid-column: 2;
}
.bemutatkozasbox {
    display: flex;
    background-color: white;
    max-width: 100%;
    margin: 0 auto;
    flex-direction: column;
    border-radius:10px;
    border:1px solid gainsboro;
}
#masodikbox .bszoveg {
    padding-bottom: 30px;
}
#masodikbox .bszoveg:nth-child(2) {
    margin-top: 20px;
}
#masodikbox .nev {
    text-align: center;
    widtH: 100%;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
}
#masodikbox ul {
    margin-left: 30px;
}
#masodikbox ul li{
    font-size: 18px;
    font-style:italic;
    list-style:square;
    margin-top: 20px;
    width: 80%;
}

/*harmadik box*/
#harmadik .bszoveg {
    padding-bottom: 30px;
}
#harmadik .bszoveg:nth-child(2) {
    margin-top: 20px;
}
#harmadik .nev {
    text-align: center;
    widtH: 100%;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
}
#harmadik ul {
    margin-left: 30px;
}
#harmadik ul li{
    font-size: 18px;
    font-style:italic;
    list-style:square;
    margin-top: 20px;
    width: 80%;
}


.bemutatkozasbox img {
    width: 100%;
    border-radius:10px;
}
.bkep {
    width: 60%;
    text-align: center;
    margin: 0px auto;
    margin-top: 50px;
}
.bszoveg p {
    width: 400px;
    font-size: 20px;
    padding-left: 50px;
}
.bszoveg .nev {
    font-size: 25px;
    margin: 10px 0px;
    padding-top: 50px;
    font-weight: bold;
}
li #cim1,#cim2,#cim3 {
    text-decoration: none;
    list-style:none;
    font-size: 25px;
    color: black;
    font-weight: bold;
    width: fit-content;
    padding: 15px;
}
#lcim1,#lcim2,#lcim3 {
    background-color: gainsboro;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.szbox {
    display: flex;
    justify-content: space-around;
}
.szbox ul {
    width: 40%;
    color: black;
    background-color: white;
    border-radius:10px;
}
.szbox ul li {
    list-style: none;
}
.szbox li p:not(#cim1,#cim2,#cim3) {
    margin-left: 30px;
}

#elerhetoseg {
    color: black;
    padding-bottom: 40px;
}

#elerhetosegbox {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}
#elerhetosegbox img {
    width: 35px;
    padding: 20px;
    background-color: ghostwhite;
    border-radius: 10px;
}
#elerhetosegbox div {
    width: 32%;
    text-align: center;
    border: 1px solid gainsboro;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius:10px;
}
#elerhetosegbox > div > p {
    font-size: 20px;
    margin:0;
    padding: 20px;
}
#footer {
    display: flex;
    text-align: center;
    margin: 0 auto;
    color: black;
    background-color: white;
    justify-content: space-between;
    padding: 5px;
}
#footer a {
    width: fit-content;
    padding: 15px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.15s ease-out;
    border-radius:10px;
}
#footer a:hover {
    background-color: gainsboro;
    color: white;
}
#footer a:active {
    transform: scale(0.95);
    transition-duration: 0.15s;
}
#footer > div {
    display: flex;
    align-items: center;
}
#footer > div > img {
    width: 30px;
    height:30px;
}
#footer p {
    font-size:16px;
    text-transform: uppercase;
    margin-left:15px;
}
#szolg {
    background-color:darkslategray;
    padding-bottom: 60px;
}
.focim .szolgaltatasok {
    margin-top:0px;
    margin-bottom:30px;
}
#szcim {
    margin: 0px;
    color: white;
}
.menu6 {
    display: none;
}
footer {
    background-color: white;
}
footer > .bekezdes {
    padding:0px;
}
@media only screen and (max-width: 900px) {
    header {
        display: none;
    }
    #telefonosmenu {
        position: absolute;
        top: 70px;
        background-color: white;
        width: 100%;
        z-index: 1;
        animation: slide 0.3s cubic-bezier(0.5, 0.82, 0.2, 1);
    }
    @keyframes slide {
        0% {
            top:-355px;
        }
        100% {
            top:70px;
        }
    }
    #telefonosmenu > div > a {
        padding: 25px;
        display: block;
        color:black;
        text-decoration: none;
    }
    .menu6 {
        display: block;
        transition-duration: none;
    }
    .menugombok div:active {
        transform: none;
        transition-duration: none;
    }
    .logolink {
        display:none;
    }
    .menu1,.menu2,.menu3,.menu4, .menu5 {
        display: none;
    }
    .menu1 a,.menu2 a,.menu3 a,.menu4 a, .menu5 a {
        display: block;
    }
    .navbar {
        top: 0;
        background-color: white;
        padding:0px;
        border:0px;
        border-radius:0px;
        z-index:100;
    }
    .menugombok {
        padding:0px;
        border: 0px;
        background-color: white;
        text-transform: uppercase;
        box-shadow: none;
        flex-direction: column;
        margin: 0;
        display:none;
    }
    .menu6 a {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 25px;
        padding-right: 25px;
        text-decoration: none;
        color: white;
        background-color: rgb(71, 71, 71);
        display: block;
        margin-right: 5px;
        border-radius: 10px;
    }
    .logo {
        border: 0px;
        box-shadow: none;
        width: 50px;
        margin-left: 15px;
        padding:0px;
    }
    .hatter {
        height: 550px;
        outline:none;
    }
    .kezdo {
        width:90%;
        margin-top: 150px;
    }
    .ablak .cim p {
        font-size: 35px;
        text-align: center;
    }
    .ablak .cim2 p {
        font-size: 23px;
    }
    .bekezdes .focim p {
        text-align: center;
        margin: 0 auto;
    }
    .kep:first-child {
        width: 90%;
        height: 250px;
    }
    .kep.kep:nth-child(2) {
        width: 90%;
        height: 250px;
    }
    .kep:nth-child(3) {
        width: 90%;
        height: 250px;
    }
    .kep:nth-child(4) {
        width: 90%;
        height: 250px;
    }
    .kep img {
        width: 100%;
    }
    .kep:hover {
        width: 90%;
        box-shadow: none;
        cursor: none;
    }
    .box {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    #ref {
        margin-bottom: 25px;
    }
    .bemutatkozashatter {
        height: fit-content;
        padding-bottom:0px;
    }
    .bemutatkozasbox {
        width: 90%;
        flex-wrap: wrap;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 40px;
    }
    .bkep, .bszoveg {
        width: 100%;
    }
    .bkep {
        margin:0;

    }
    #elso .bszoveg{
        margin: 0px;
    }
    .bkep p, .bszoveg p {
        padding-left: 0px;
        width: 100%;
        text-align: center;
        font-size: 15px;
    }
    .bszoveg p:nth-child(2) {
        font-size: 15px;
        width: 80%;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .bszoveg p:nth-child(1) {
        padding-top: 20px;
    }
    .szbox {
        flex-wrap: wrap;
    }
    .szbox ul {
        width: 80%;
        padding-left: 20px;
        padding-right: 10px;
    }
    #szolg .szolgaltatasok {
        margin-bottom: 25px;
    }
    #elerhetosegbox {
        justify-content: center;
        flex-direction: column;
    }
    #elerhetosegbox > div {
        width: 90%;
        padding: 10px;
        border: none;
        text-align: center;
        margin:0 auto;
        border:1px solid gainsboro;
        margin-bottom: 10px;
    }
    #elerhetosegbox > div > p {
        font-size: 18px;
        font-weight:none;
    }
    #grid {
        display:block;
    }
    .focim {
        font-size: 22px;
    }
    #footer {
        flex-direction: column-reverse;
    }
    #footer > div:first-of-type {
        justify-content: center;
        margin-bottom: 10px;
        margin-top:10px;
    }
    #footer > div:nth-of-type(2) {
        flex-direction: column;
        background-color:darkslategray;
        border-radius: 10px;
    }
    #footer a {
        width: 100%;
        padding: 30px 0px;
        color:white;
    }
    .prev, .next {
        top: 70%;
    }
    .galeriakepek1, .galeriakepek2, .galeriakepek3, .galeriakepek4{
        width: 95%;
    }
    .galeriacsaladi, .galerialako, .galeriakoz, .galeriaipari {
        background-color: white;
    }

}