@import url('https://fonts.googleapis.com/css?family=Muli:300,400,500,700&display=swap&subset=latin-ext');
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    font-family: 'Muli', sans-serif;
    background: #f7f7f7;
}
main{
    width: 100%;
    position: relative;
}
#about{
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 1px;
}
section{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    padding: 10px;
}
.background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
a{
    color: unset;
    text-decoration: none;
}
li{
    list-style: none;
}
ul{
    margin: 0;
    padding: 0;
    text-align: center;
}
nav{
    width: 100%;
    background: rgb(40, 85, 138);
    height: 55px;
    display: flex;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    padding: 0px 10px;
    position: sticky;
    position: -webkit-sticky;
    top: 25px;
    z-index: 100;
}
nav ul{
    width: 16rem;
    height: 100vh;
    background: #ffffff;
    position: fixed;
    top: 0;
    right: -16rem;
    margin: 0;
    padding: 15px;
    z-index: 3;
    transition: .3s;
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(22, 29, 34);
}
.active{
    transform: translateX(-16rem);
    -webkit-box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    transition: .3s;
    background:rgba(0, 0, 0, 0);
}
.overlay-active{
    z-index: 1;
}
.back{
    width: 30px;
    fill: rgb(22, 29, 34);
    margin: auto 8px;
    transform: scaleX(-1);
}
.arrow{
    transform: scaleX(-1);
    fill: rgb(27, 83, 156);
    width: 20px;
}
.menu-btn{
    height: 100%;
    width: 60px;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
nav span{
    width: 25px;
    height: 2px;
    background: white;
    position: relative;
}
nav span:after{
    width: 30px;
    height: 2px;
    background: white;
    position: absolute;
    top: -10px;
    right: 0px;
    content: '';
}
nav span:before{
    width: 30px;
    height: 2px;
    background: white;
    position: absolute;
    bottom: -10px;
    right: 0px;
    content: '';
}
.menu{
    text-align: center;
    width: 100%;
    position: relative;
    margin-top: 20px;
}
.social{
    display: flex;
    width: 9em;
    margin: auto;
}
.social div{
    flex: 1;
    text-align: center;
}
.social img{
    width: 40px;
    margin: auto;
}
.menu li a{
    margin: 23px auto;
    text-transform: uppercase;
    display: block;
    font-size: 15px;
}
header{
    width: 100%;
    background: rgba(0,0,0,.2);
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
header:after{
    display: block;
    padding-bottom: 60%;
    content: '';
}
h1, h2, h3, h4, h5, p, div, ul, li{
    grid-column: span 12;
}
h2{
    text-transform: uppercase;
    color: rgb(9, 32, 66);
    text-align: center;
    position: relative;
    padding: 15px 0px;
    font-weight: 300;
}
h2:after{
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-right: -50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgb(9, 32, 66);
    content: '';
}
h3{
    text-align: center;
}
.offer-btn{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 6px 12px;
    background: rgb(9, 32, 66);
    color: white;
    border-radius: 3px;
}
footer{
    background: rgb(40, 85, 138);
    color: white;
    padding-bottom: 60px;
}
footer section ul{
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}
footer section ul li{
    margin: 8px auto;
    font-size: 14px;
}

.item h3{
    font-size: 14px;
    padding: 5px;
    letter-spacing: 1px;
    color: white;
    font-weight: lighter;
    text-transform: uppercase;
}
.blog-cikk{
    margin: 5px;
    display: block;
    padding: 5px;
    transition: .2s;

}
.blog-cikk:hover{
    -webkit-box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);

}
.item .image, .blog-cikk .image{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.item:after{
    padding-bottom:90%;
    content: '';
    display: block;
}
.blog-cikk .image:after{
    padding-bottom: 60%;
    content: '';
    display: block;
}
.item .image h3{
    margin: 0;
}
.btn{
    border-radius: 3px;
    margin: 10px auto;
    display: block;
    text-align: center;
    padding: 8px 12px;
    background: rgb(40, 85, 138);
    color: white;
    width: max-content;
}
.why{
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}
.why .arrow{
    flex: 1;
    padding: 0px 10px;
}
.why p{
    flex: 9;
    padding: 0px;
    text-align: left;
    margin: 0;
}
.gallery-content{
    display: flex;
    position: relative;
    padding:0px 0px;
    margin: auto;
    width: calc(100% - 30px)!important;
}
.gallery-content .active{
    box-shadow: unset;
}
.owl-carousel .owl-nav button.owl-next{
    color: white;
    border: none;
    padding: 0 !important;
    font: inherit;
    position: absolute;
    font-size: 100px;
    top: 0%;
    right: -20px;
    font-size: 28px!important;
    width: 20px;
    height: calc(100% - 4px);
    background-color: rgba(0,0,0,.8);
}
.owl-carousel .owl-nav button.owl-prev{
    color: white;
    border: none;
    padding: 0 !important;
    font: inherit;
    position: absolute;
    font-size: 100px;
    top: 0%;
    left: -20px;
    font-size: 28px!important;
    width: 20px;
    height: calc(100% - 4px);
    background-color: rgba(0,0,0,.8);
}
.gallery-box .image{
    width: 100%;
    background: rgba(0,0,0,.2);
    position: relative;
}
.gallery-box .image:after{
    display: block;
    padding-bottom: 85%;
    content: '';
}
.copy{
    font-size: 13px;
    text-align: center;
    width: 100%;
}
.btn-gallery{
    width: calc(100% - 30px);
    margin: 10px auto;
}
.contact-bar{
    padding: 8px 2px;
    text-align: center;
    background: rgb(182, 4, 4);
    position: sticky;
    position: -webkit-sticky;
    display: flex;
    align-content: center;
    align-items: center;
    top: 0;
    z-index: 100;
    height: 25px;
}
.contact-bar ul{
    margin: 0;
    padding: 0px 10px;
    display: flex;
    width: 100%;
}
.contact-bar ul li{
    font-size: 12px;
    color: white;
    flex: 1;
    text-align: left;
}
.contact-bar ul li:nth-child(2){
    text-align: right!important;
}
.cim{
    padding: 8px 0px;
    border-bottom: 1px solid rgba(0,0,0,.4);
    font-weight: 300;
    margin: 5px 0px;
}
#termek{
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 50px 10px;
    grid-gap: 5px;
    position: relative;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.vagojel{
    width: 100%;
    grid-column: span 1;
    position: relative;
    transition: .3s;

}
.vagojel:after{
    border: 2px solid transparent;
    transform: translate(20px 20px);
    transition: .5s;
    content: '';
    position: absolute;

}
.vagojel:hover:after{
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    content: "";
    border: 4px solid #3368b9;
    border-bottom: unset;
    border-right: none;
    transform: translate(0px 0px);
    transition: .3s;
}
.vagojel:hover:before{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    content: "";
    border: 4px solid #3368b9;
    border-left: none;
    border-top: none;
    transform: translate(0px 0px);
    transition: .3s;
}
#blog{
    display: grid;
    width: 100%;
    max-width: 1100px;
    margin: auto;
    grid-gap: 20px;
    position: relative;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr))!important;
}
#fo{
    position: relative;
}
#item-description{
    margin-top: 70px;
}
#item-description section p{
    text-align: left!important;
}
#fo:after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/mainbg.jpg);
    background-size: cover;
    background-position: top center;
    z-index: -1;
    content: '';
    opacity: .3;
}
#termek header{
    grid-column: span 12;
}
.item{
    background-image: radial-gradient(circle, #3e7cdc, #3a75d0, #376ec5, #3368b9, #3061ae, #2c5aa1, #285395, #244c89, #204479, #1c3b69, #193359, #162b4a);
    transition: .2s;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.item:hover{
    transform: scale(.9);
}
.logo{
    color: white;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}
.gallery{
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    position: relative;
}
.gallery a{
    width: 100%;
    position: relative;
    overflow: hidden;
}
.gallery a:after{
    display: block;
    padding-bottom: 85%;
    content: '';
}
.gallery a img{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    zoom: .1;
}
#lablec{
    background: rgb(40, 85, 138);
    color: white!important;
}
#lablec h2, #rolunk h2{
    color: white;
}
#lablec h2:after, #rolunk h2:after{
    background: white;
}
form{
    max-width: 600px;
    margin: auto;

}
form input[type="text"], textarea, select{
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    width: 100%;
    padding: 6px 10px;
    padding-top: 13px;
    color: white;
}
select option{
    color: black!important
}
form input[type="submit"]{
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid white;
    padding: 8px 18px;
    display: block;
    color: white;
    margin: auto;
    font-size: 16px;
    border-radius: 0px;

}
form span{
    width: 100%;
    display: flex;
    padding: 0px 0px;
    margin: 15px auto;
    align-content: center;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    position: relative;
}
form span b{
    position: absolute;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 16px;
    background: rgb(40, 85, 138);
    top: -8px;
    left: 10px;
    font-size: 13px;
    padding: 3px 10px;
}
.kapcsolat ul li{
    margin: 10px auto;
}
.termek-lablec ul li{
    display: inline-block!important;
}
.termek-lablec ul li a{
    font-size: 12px;
    padding: 3px 6px;
    border: 1px solid white;
    border-radius: 3px;
    display: block;
    margin: 3px;
}
#rolunk{
    background: #20445d;
    color: white!important;
    padding: 30px;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  border: 1px solid #ddd;
  grid-column: span 12;
}
th, td {
  text-align: left;
  padding: 16px 6px;
  font-size: 13px;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}
.logo{
  width: 200px;
  height: 200px;
  border-radius: 20px;
  display: flex;
  position: fixed;
  top: -125px;
  left: -65px;
  background-image: linear-gradient(to right top, #3e8b8e, #00a895, #00c284, #5cd95f, #a8eb12);
  z-index: 100000;
  justify-content: center;
  align-content: center;
  align-items: center;
  transform: rotate(-52deg);
  display: block;
}
.logo:after{
  transform: rotate(5deg);
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  border-radius: 20px;
  bottom: 10px;
  background-image: linear-gradient(to right top, #3e6f8e, #1271a8, #0071c1, #006ed8, #1267eb);
  content: '';
  z-index: -1;
}
.logo img{
  width: 70px;
  position: relative;
  z-index: 1000000000;
  transform: rotate(52deg) translate(105px, 50px);
}
.impresszum{
    margin: 0 auto;
    padding: 0;
    max-width: 1000px;
    width: 100%;
}
.impresszum li{
    background: rgba(250, 250, 250, 0.61);
    margin: 15px auto;
    padding: 10px 0px;
}

@media (min-width: 1024px){
    #termek{
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
    nav span, .social, .back{
        display: none;
    }
    nav{
        position: fixed;
        padding: 0%;
    }
    nav ul{
        height: unset;
        width: 100%;
        right: unset;
        top: unset;
        background: transparent; 
        padding: 0!important;
        color: white;
    }
    #termek, #blog-main{
        margin-top: 70px;
    }
    nav ul li{
        display: inline-block;
    }
    .menu{
        margin-top: unset;
        text-align: right;
    }
    .menu li a{
        margin: auto 6px;
        font-size: 15px;
        transition: .3s;
        padding: 18px 5px!important;
    }
    .menu li a:hover{
        background: rgba(255,255,255,.2);
    }
    .ajanlat-btn{
        background: rgb(100, 16, 16)!important;
        padding: 18px 5px!important;
        margin: auto 0px!important;
        transition: .3s;
    }
    .ajanlat-btn:hover{
        background: rgb(155, 24, 24)!important;
    }
    .menu-btn{
        display: none;
    }
    .ajanlatkero, .kapcsolat{
        grid-column: span 6;
    }
}
