/* TYPO */
/* rubik-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  src: url('rubik-v31-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 400;
  src: url('rubik-v31-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  src: url('rubik-v31-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-700italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 700;
  src: url('rubik-v31-latin_latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-900 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 900;
  src: url('rubik-v31-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-900italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 900;
  src: url('rubik-v31-latin_latin-ext-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root {
    --bs-body-font-family: 'Rubik', 'Roboto', 'Helvetica Neue', Arial, 'Segoe UI',sans-serif;
        --bs-card-border-radius: 0px;

}
.fw900 {
    font-weight: 900 !important;
}
.fw700 {
    font-weight: 700 !important;
}
.fw400 {
    font-weight: 400 !important;
}
.fw200 {
    font-weight: 200 !important;
}
a {
    text-decoration: none;
    color: inherit;
}
/* GEN */
body {
    background-color: #383838;
    color: #f8f9fa;
    position: relative;
    overflow-x: clip;
    overflow-y: scroll;
}

.bg-dark-panel {
    background-color: #242424 !important;
}

.text-warning {
    color: #f8dc21 !important;
    /* Construction yellow */
}

.border-warning {
    border-color: #f8dc21 !important;
}

.bg-warning {
    background-color: #f8dc21 !important;;
}
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f8dc21 !important;
}
.card.card {
        --bs-card-border-radius: 0px;
    
}
#mainlogo {
    width: auto;
    height: 48px;
}

.primary-button {
    border-radius: 0 !important;
}

#herosection {
    position: relative;
    isolation: isolate;
    z-index: auto;
    backdrop-filter: blur(5px);
    padding-bottom: 12vh;
    min-height: 102vh;
    mask-image: linear-gradient(to bottom, black 0%, black 88%, transparent 99%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.bg-2 {

    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    mask-image: linear-gradient(to right,black 0%, black 60%, transparent 80%);
    background-image: url("data:image/svg+xml,%3Csvg%20id%3D'stripes-svg'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'100%25'%20height%3D'100%25'%3E%3Cdefs%3E%3Cpattern%20id%3D'svg-stripes-pattern-3345'%20patternTransform%3D'rotate(137)'%20width%3D'100%25'%20height%3D'30'%20x%3D'0'%20y%3D'0'%20patternUnits%3D'userSpaceOnUse'%3E%3Cg%3E%3Crect%20x%3D'0'%20y%3D'0'%20width%3D'100%25'%20height%3D'20'%20fill%3D'rgba(56%2C%2056%2C%2056%2C%201)'%3E%3C%2Frect%3E%3Crect%20x%3D'0'%20y%3D'20'%20width%3D'100%25'%20height%3D'10'%20fill%3D'rgba(70%2C%2070%2C%2070%2C%201)'%3E%3C%2Frect%3E%3C%2Fg%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20x%3D'0'%20y%3D'0'%20width%3D'100%25'%20height%3D'100%25'%20fill%3D'url(%23svg-stripes-pattern-3345)'%3E%3C%2Frect%3E%3C%2Fsvg%3E");
}
.menucont {
    position: relative;
    z-index: 103;
}
.sectioncontent {
    position: relative;
    min-height: 70vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    z-index: 15;
    .texts {
        width: max(55%, 360px);
        padding: 1rem;
        
    }
    .hero-insert {
        position: relative;
        isolation: isolate;
        width: max(35%, 300px);
        .insert {
            width: 100%;
            height: auto;
            position: relative;
            z-index: 10;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            object-position: right;
        }
        .underlay {
            position: absolute;
            top: -3%;
            left: -3%;
            width: 106%;
            height: 106%;
            z-index: 5;
            filter: blur(10px) brightness(90%);
            opacity: 0.7;
        }
    }
}
#stripes-svg-1 {
    position: absolute;
    bottom: 0vh;
    right: 0;
    width: 200px;
    aspect-ratio: 1;
    z-index: -1;
    height: auto;
}
#stripes-svg-2 {
    position: absolute;
    bottom: 30vh;
    left: 0;
    width: 200px;
    aspect-ratio: 1;
    z-index: -1;
    height: auto;
    transform: scale(-1, 1);
}
#decorative-svg-1 {
    position: absolute;
    top: 10vh;
    right: 0;
    width: max(220vw, 130vh);
    aspect-ratio: 711/400;
    z-index: -1;
    height: auto;
    rotate: 33deg;
    opacity: 0.33;

}
#decorative-svg-2 {
    position: absolute;
    top: 50%;
    right: 0;
    width: max(220vw, 130vh);
    aspect-ratio: 711/400;
    z-index: -1;
    height: auto;
    rotate: -33deg;
   
}
body > * {
    position: relative;
    z-index: 2;
}
.herodekor {
    position: absolute;
    top: 15vh;
    right: 0;
    width: 60%;
    height: auto;
    z-index: 5;
    
}
.kapcsolatok {
    /* backdrop-filter: blur(5px); */
}
.fake-shadow {
    position: relative;
}
.fake-shadow::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: #242424;
    z-index: -1;
    
}
.bgcont {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    isolation: isolate;
    overflow: clip;
}
#about > div > p {
    background-color: white;
    color: #242424;
    padding: 0.33em 0.99em;
    margin-top: 0;
    margin-bottom: 0.5em;
    width: fit-content;
}
@media (max-width: 575.98px) {
    
    .sectioncontent {
        align-items: flex-end;
    }
    .herodekor {
        width: 100%;
    }
}

.imginsert-219 {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-image: url('tulm2.jpg');
    background-attachment: fixed;
    background-size: 100vw auto;
    background-position: center;
    background-repeat: no-repeat;
}

#services {
    .service-row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .service {
        display: grid;
        grid-template-columns: 2fr min(550px, 90vw) 1fr;
        grid-template-rows: 1fr 2rem max-content;
        width: 100%;
        margin-bottom: 2.4rem;
        position: relative;
        isolation: isolate;
        .swiper {
            grid-row: 1 / 3;
            grid-column: 1 / 4;
            position: relative;
            z-index: 5;
            width: 100%;
            height: 20vw;
        }
        .swiper-slide {
            width: min(700px, 95vw);
            height: auto;
            max-height: 437.5px;
            aspect-ratio: 16 / 10;
        }
        .card {
            grid-row: 2 / 4;
            grid-column: 2/3;
            position: relative;
            z-index: 10;
        }
        .sevice-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            
        }
    }

}
@media (max-width: 767.98px) {
   #services {
    .service {
        overflow-x:hidden;
        
        .sevice-img {
           
        }
        .swiper {
            max-width: 100vw;
            height: 63vw;
        }
    }

}
}