:root {
    --font-color: #242424;
    --font: 'TT Norms Pro', Helvetica, sans-serif;
    --light: 300;
    --regular: normal;
    --medium: 500;
    --bold: bold; 
    --octa-blue: #1c43ff;
    --octa-orange: #f85636;
    --octa-purple: #7e34ff;
    --octa-black: #454356;
}

html {
    scroll-behavior:smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
    font-family: var(--font);
    font-weight: var(--medium);
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    color: var(--font-color);
    margin: 0;
}

a {
    color: var(--octa-blue);
    text-decoration: none;
}

@-webkit-keyframes fadeEffect {
    from {opacity: 0.2;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0.2;}
    to {opacity: 1;}
}

@-webkit-keyframes load8 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}


/* Helper classes */

.pt-40 {
    padding-top: 40px;
}
.pt-80 {
    padding-top: 80px;
}
.pb-40 {
    padding-bottom: 40px;
}
.pb-80 {
    padding-bottom: 80px;
}

.border-box * {
    box-sizing: border-box!important;
}

.hidden {
    display: none!important
}

.invisible {
    visibility: hidden;
    opacity: 0;
}

.d-flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
} 

.flex-m-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.justify-content-between {
    justify-content: space-between;
} 

.align-items-center {
    align-items: center;
}

.d-grid {
    display: grid;
}

.btn {
    display: block;
    width: 250px;
    height: 60px;
    padding: 11px 25px;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: 2.1px;
    text-align: center;
    border-radius: 30px;
    border: solid 6px var(--octa-blue);
    box-sizing: border-box!important;
    transition: all 200ms;
}

.btn-white {
    background-color: #f0f0f0;
    color: var(--octa-blue);
}

.btn-white:hover {
    background-color: #fff;
    box-shadow: 0 0 20px 0 #3448ff;
}

.btn-blue {
    display: inline-block;
    background-color: var(--octa-blue);
    color: #fff;
    width: 200px;
    height: 44px;
    padding: 0;
    line-height: 1.18;
    letter-spacing: 2.1px;
    text-align: center;
    margin: 25px 28px 15px 0;
    font-size: 22px;
    cursor: pointer;
    border: none;
    border-radius: 27px;
}

.btn-blue:hover {
    box-shadow: 0 0 5px 0 #3448ff;
}

.btn-bot {
    display: inline-block;
    background-color: #fff;
    color: var(--octa-blue);
    width: 200px;
    height: 44px;
    padding: 0;
    font-size: 19px;
    line-height: 1.18;
    letter-spacing: 1px;
    cursor: pointer;
    border: solid 1.5px var(--octa-blue);;
    border-radius: 27px;
}

.btn-bot:hover {
    box-shadow: 0 0 5px 0 #3448ff;
}

/* END Helper classes */

#page {
    background-color: #eff0f5;
}

#page *{
    box-sizing: content-box;
}

section, header, footer {
    max-width: 100%;
}

.wrap {
    max-width: 1160px;
    margin: auto;
    padding: 0 40px;
    height: 100%;
}

.wrap-big {
    max-width: 1440px;
    margin: auto;
    height: 100%;
}

#cookie-bar {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 100;
    background-color: #f1f7ff;
    border-top: 3px solid var(--octa-blue);
}

#cookie-bar .wrap {
    flex-direction: row;
}

#cookie-bar p {
    margin: 20px 30px 20px 0;
}

#cookie-bar button {
    display: inline-block;
    background-color: var(--octa-blue);
    color: #fff;
    padding: 10px 25px;
    line-height: 1.18;
    letter-spacing: 2.1px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 27px;
}

#cookie-bar button:hover {
    box-shadow: 0 0 5px 0 #3448ff;
}

#header {
    height: 60px;
    background-color: #f1f7ff;
    width: 100%;
    z-index: 90;
}

#site-logo{
    width: 160px;
}

#menu > ul {
    list-style-type: none;
    font-size: 17px;
    line-height: 1.53;
    letter-spacing: 0.89px;
}

#menu > ul > li {
    line-height: 60px;
}

#menu > ul > li:hover {
    background-color: #c4cad2;
}

#menu a {
    color: var(--font-color);
    display: block;
    padding: 0 20px;
}

#menu > ul > li:hover a {
    color: var(--octa-blue);
}

#menu > ul > li, #menu a {
    transition: all 400ms ease-out;
}

.heading {
    text-align: center;
}

.heading h2 {
    font-size: 60px;
    line-height: 0.97;   
    margin-bottom: 70px;
    margin-top: 15px;
    font-weight: var(--medium);
    letter-spacing: -3px;
    transition: all 1000ms ease-out 00ms;
    position: relative
}

.lines::before, .lines::after {
    content: '';
    width: 150px;
    height: 3px;
    display: inline-block;
    position: relative;
    bottom: 17px;
    transition: all 700ms ease-out;
    border-radius: 8px;
}

.heading.in-view h2 {
    letter-spacing: 0;
}

.heading.in-view h2::before, .heading.in-view h2::after {
    width: 210px;
}

.lines::before {
    left: -25px;
}

.lines::after {
    left: 25px;
}

.lines-orange::before, .lines-orange::after {
    background-color: var(--octa-orange);
    /* box-shadow: 0 0 20px 0 var(--octa-orange); */
}

.lines-purple::before, .lines-purple::after {
    background-color: var(--octa-purple);
    /* box-shadow: 0 0 20px 0 var(--octa-purple) */
}

.lines-black::before, .lines-black::after {
    background-color: var(--octa-black);
    /* box-shadow: 0 0 20px 0 var(--octa-black) */
}

.octa-logo {
    font-size: 18px;
    font-weight: var(--regular);
    line-height: 1.11;
    letter-spacing: 5px;
    text-align: center;
    margin: 0;
}

.octa-logo.purple {
    color: #7e34ff;
}

.octa-logo.gray {
    color: #bebebe;
}

#hero {
   background-color: var(--font-color);
   min-height: 720px;
   max-height: 800px;
   height: calc(100vh - 60px);
}

#hero-video {
    max-width: 880px;
    width: 61.11vw;
    overflow: hidden;
}

#hero-video video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* #hero-video::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../assets/img/svg/logo-big.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    bottom: 100%;
} 
*/

#hero-featured {
    max-width: 560px;
    width: 38.89vw;
    padding: 60px 75px 60px 45px;
    align-self: center;
}

#hero-featured h1 {
  margin-bottom: 50px;
  text-shadow: 4px 0 4px var(--octa-blue), -4px 0 4px rgba(255, 0, 0, 0.51);
  font-size: 60px;
  line-height: 0.97;
  color: #fff;
  font-weight: var(--medium);
}

#hero-featured h1::before {
    content: '';
    display: block;
    width: 210px;
    height: 3px;
    border-radius: 8px;
    background-color: var(--octa-blue);
    position: relative;
    left: 0px;
    top: -43px;
    /* box-shadow: 0 0 20px 0 #3448ff; */
}

#hero-featured p {
    font-size: 19px;
    font-weight: var(--regular);
    line-height: 1.26;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 50px;
}

#szolgaltatasok {
    padding-bottom: 15px;
    scroll-margin-top: -60px;
}

#service-cards {
    height: 230px;
    padding-top: 44px;
}

.service-card {
    width: calc(25% - 15px);
    height: 168px;
    margin: 0;
    margin-bottom: 28px;
    border-radius: 30px;
    box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.1);
    border: solid 8px #f6f6f6;
    background-color: #fff;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: height 700ms, padding 700ms, border-radius 700ms, color 250ms, background-color 250ms; 
}

.service-card:hover {
    background-color: var(--octa-blue);
    color: #fff;
}

.service-card.active {
    background-color: var(--octa-blue);
    height: 230px;
    padding-bottom: 28px;
    color: #fff;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.service-card:not(:last-of-type) {
    margin-right: 20px;
}

.service-card p {
    font-size: 30px;
    line-height: 1.13;
    margin: 0;
    padding-top: 13px;
}

.service-icon {
    width: 88px;
    height: 88px;
    border: solid 2px #e5e5e5;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    position: absolute;
    top: -50px;
    left: calc(50% - 46px);
    transition: border-color 250ms ease-out;
}

.service-card.active .service-icon, .service-card:hover .service-icon {
    border-color: var(--octa-blue);
}

#service-box {
    height: 440px;
    border-radius: 30px;
    background-color: transparent;
    position: relative;
    top: -35px;
    z-index: 2;
    transition: border-radius 600ms;
    overflow: hidden;
    box-shadow: 0 2px 18px 0 rgb(0 0 0 / 10%);
}

#service-box > div {
    height: 100%;
}

.service-text {
    padding: 56px;
    border: solid 8px #f6f6f6;
    background: #fff;
    border-right-width: 0;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.service-text p {
    font-weight: var(--regular);
    font-size: 19px;
    line-height: 1.26;
    letter-spacing: 1px;
    margin: 0;
}

.service-text .highlight {
    font-weight: var(--medium);
    font-size: 30px;
    line-height: 1.13;
    letter-spacing: normal;
    margin-bottom: 60px;
}

.service-text, .service-img {
    width: 50%;
    height: 100%;
}

.service-img {
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} 

#referenciak {
    padding-bottom: 0px;
    scroll-margin-top: -20px;
}

#referenciak .wrap-big {
    clear: both;
}

#referenciak .heading h2 {
    margin-bottom: 20px;
}

#player {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 99;
    left: 0;
}

#player-overlay {
    background-color: #000000d9;
    width: 100%;
    height: 100%;
}

#player-overlay span {
    color: white;
    width: 30px;
    height: 30px;
    display: block;
    background-image: url(../assets/img/svg/xmark-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

#player-overlay span:hover {
    opacity: .7;
}

#player-video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
    height: fit-content;
    width: 60vw;
    max-width: 1200px;
}

#player-video video {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

#player-video video:focus-visible {
    outline: none!important;
}

#player-video::before {
    content: attr(data-title);
    width: 100%;
    position: absolute;
    top: -40px;
    text-align: center;
    color: #fff;
    font-size: 20px;
}

#video-link {
    position: relative;
    top: 10px;
}

#video-link a {
    color: #fff;
    font-weight: var(--regular);
    text-decoration: underline;
}

#ref-swiper {
    max-width: 1148px;
    height: 550px;
    overflow-y: visible!important;
    padding: 95px 20px 20px!important;
}

#ref-swiper-prev.swiper-button-prev, #ref-swiper-next.swiper-button-next {
    position: relative!important;
    top: -300px!important;
    width: 60px!important;
    height: 60px!important;
    color: var(--octa-blue)!important;
    background-color: #fff!important;
    border-radius: 50%!important;
    box-shadow: 0 2px 18px 0 rgb(0 0 0 / 10%);
}

#ref-swiper-prev.swiper-button-prev {
    float: left;
    left: 30px!important;
}

#ref-swiper-next.swiper-button-next {
    float: right;
    right: 30px!important;
}

#ref-swiper-prev.swiper-button-prev::after, #ref-swiper-next.swiper-button-next::after {
    font-size: 25px!important;
    position: relative;
}

#ref-swiper-prev.swiper-button-prev::after {
    left: -1px;
}

#ref-swiper-next.swiper-button-next::after {
    left: 1px;
}

.ref-card {
    box-sizing: border-box!important;
    height: 530px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 30px;
    background-color: #fff;
    position: relative;
    text-align: center;
    box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.1);
    cursor: grab;
}

.ref-video {
    width: 328px;
    height: 185px;
    border-radius: 13px;
    background-color: transparent;
    position: absolute;
    left: -6px;
    bottom: -1px;
    box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.1);
    cursor: auto;
    object-fit: cover;
    z-index: 1;
}

.ref-img {
    width: 169px;
    height: 169px;
    border-radius: 50%;
    position: relative;
    top: -80px;
    background-color: rgb(223, 223, 223);
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0px -3px 10px 0px rgb(0 0 0 / 15%)
}

.ref-img img {
    width: 100%;
}

.ref-text {
    position: relative;
    top: -50px;
    display: flex;
    flex-direction: column;
    height: 250px;
    justify-content: space-between;
}

.ref-text p {
    font-weight: var(--regular);
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 1px;
    margin: 0 0 30px;
}

.ref-text .testimonial {
    margin-bottom: 25px;
}

.ref-text p.author {
    font-weight: bold;
}

.ref-text p.author span {
    display: block;
    font-weight: normal;
    font-size: 13px;
}

img.play {
    width: 75px;
    height: 75px;
    cursor: pointer;
    position: absolute;
    left: calc(50% - 37px);
    bottom: 54px;
    z-index: 2;
}

img.play:hover {
    filter: brightness(.9);
}

#werk {
    padding-top: 60px;
    scroll-margin-top: -40px;
}

#gallery {
    box-sizing: border-box;
    border-radius: 30px;
    background-color: var(--font-color);
    padding: 20px 20px;
}

#big-img {
    width: 650px;
}

#big-img img {
    display: block;
    width: 100%;
    border-radius: 20px
}

/* p.caption {
    font-weight: var(--regular);
    font-size: 18px;
    line-height: 1.33;
    letter-spacing: 0.95px;
    color: #fff;
    padding-left: 20px;
    margin-bottom: 0;
} */

#gallery-box {
    width: calc(100% - 690px);
}

#gallery-imgs {
    grid-template-columns: 150px 150px;
    grid-auto-rows: 150px;
    gap: 15px 15px;
    max-height: 480px;
    overflow-y: scroll;
    padding-right: 20px;
    margin-bottom: 60px;
    scrollbar-color: #ffffffb3 #0000007a;
    scrollbar-width: thin;
}

#gallery-imgs::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    height: 7px;
}
#gallery-imgs::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
#gallery-imgs::-webkit-scrollbar-track {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
}

#gallery-imgs img {
    object-fit: cover;
    width: 100%;
    border-radius: 15px;
    filter: brightness(.5);
    cursor: pointer;
}

#gallery-imgs img:hover, #gallery-imgs img.active {
    filter: brightness(1);
}

#arak {
    scroll-margin-top: -60px;
}

#prices-box {
    border-radius: 30px;
    background-color: #fbfbfb;
    padding: 40px 30px 50px;
}

#prices-box h2 {
    margin-bottom: 0;
}

p.price-disclaimer {
    font-weight: var(--regular);
    font-size: 19px;
    line-height: 1.26;
    letter-spacing: 1px;
    max-width: 675px;
    text-align: center;
    margin: 40px auto;
}

.price-card {
    width: 320px;
    border-radius: 30px;
    box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

p.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 95px;
    text-align: center;
    font-weight: var(--regular);
    font-size: 30px;
    line-height: 1.13;
    background-color: var(--font-color);
    color: #fff;
    margin: 0;
}

.price-card ul {
    padding: 20px 30px 120px 50px;
    list-style: none;
    border: solid 4px #f6f6f6;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-width: 0;
    margin: 0;
    height: calc(100% - 239px);
    min-height: 180px;
}

.price-card ul li {
    font-weight: var(--regular);
    font-size: 19px;
    line-height: 1.47;
    letter-spacing: 1px;
}
      
.price-card ul li::before {
    content: "\2022";
    font-size: 31px;
    color: var(--octa-blue);
    font-weight: bold;
    display: inline-block;
    width: .7em;
    margin-left: -.7em;
    line-height: 25px;
}

.card-price {
    font-size: 30px;
    font-weight: var(--light);
    line-height: 1.13;
    text-align: center;
    color: #1c43ff;
    border-radius: 41px;
    background-color: #f1f7ff;
    padding: 20px 40px;
    width: 170px;
    margin: 0 auto 30px;
    position: absolute;
    bottom: 0;
    left: 35px;
}

.comment {
    font-size: 16px;
    font-weight: var(--regular);
    text-align: center;
    margin: 50px auto 0;
}

#kapcsolat {
    scroll-margin-top: -20px;
}

#contact-box {
    border-radius: 30px;
    box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
    transition: max-height 500ms;
    max-height: 600px;
}

#contact-box.open {
    max-height: 800px;
}

#contact-img, #contact-text {
    width: 50%;
}

#contact-text {
    padding: 30px 50px;
    border: solid 8px #f6f6f6;
    border-left-width: 0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#contact-us {
    margin: 0 0 30px;
    font-size: 30px;
}

#contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#contact-text {
    height: auto;
}

#contacts p {
    font-size: 26px;
    margin: 0;
    text-align: left;
    margin-top: 10px;
}

#contacts a {
    color: var(--font-color);
}

#mail {
    align-self: center;
}

input:not([type='checkbox']), textarea {
    margin-bottom: 15px;
    border: solid 1px #bebebe;
    font-family: var(--font);
    font-weight: var(--regular);
    font-size: 16px;
}

input:not([type='checkbox']) {
    width: 372px;
    height: 47px;
    border-radius: 24px;
    padding: 8px 22px;
}

textarea {
    resize: none;
    width: 100%;
    height: 158px;
    border-radius: 18px;
    padding: 22px;
}

#contact-form span {
    font-weight: var(--regular);
    padding-left: 10px;
}

.loader, .loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

.loader {
    display: inline-block;
    margin: 0;
    font-size: 2px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(28,67,255, 0.2);
    border-right: 1.1em solid rgba(28,67,255, 0.2);
    border-bottom: 1.1em solid rgba(28,67,255, 0.2);
    border-left: 1.1em solid #1c43ff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

#form-result {
    height: 28px;
    transition: opacity 400ms;
}

#form-result > *{
    display: inline-block;
}

#form-result > .loader {
    margin-right: 4px;
}

#form-result > span {
    height: 100%;
    vertical-align: middle;
    transition: all 300ms ease-out;
    font-weight: var(--regular);
}

#form-result.success .loader,  #form-result.error .loader{
    display: none;
}

#form-result.success span::before, #form-result.error span::before {
    content: '';
    width: 21px;
    height: 21px;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 6px;
    transition: all 300ms ease-out;
}

#form-result.success span::before {
    background-image: url("../assets/img/svg/circle-check-solid.svg");
}

#form-result.error span::before {
    background-image: url("../assets/img/svg/circle-xmark-solid.svg");
}

/* p.recaptcha-info {
    font-size: 12px;
    color: #939393;
    font-weight: var(--regular);
}

p.recaptcha-info a {
    color: #939393;
    text-decoration: underline;
} */

footer {
    height: 120px;
    background-color: var(--font-color);
}

#footer-text {
    text-align: center;
}

footer p{
    color: #fff;
    font-size: 19px;
    font-weight: var(--regular);
    line-height: 1.73;
    letter-spacing: 1px;
    margin: 0;
}

footer p.small, footer p.small a {
    font-size: 15px;
    line-height: 1.73;
    letter-spacing: 0.79px;
    color: #bebebe;
}

footer p.small a:hover {
    color: #fff;
}

footer img {
    width: 160px;
    margin-right: 180px;
}


#mobile-menu {
    display: none;
}

#menu-toggle {
  opacity: 0;
}

#menu-toggle:checked + .menu-btn > span {
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-btn > span::before {
  top: 0;
  transform: rotate(0deg);
}

#menu-toggle:checked + .menu-btn > span::after {
  top: 0;
  transform: rotate(90deg);
}

#menu-toggle:checked ~ .menu-box {
  right: 0 !important;
}

.menu-btn {
  position: fixed;
  top: 21px;
  right: 21px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}

.menu-btn > span, .menu-btn > span::before, .menu-btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--font-color);
  transition-duration: .25s;
}

#menu-toggle:checked + .menu-btn > span, #menu-toggle:checked + .menu-btn > span::before, #menu-toggle:checked + .menu-btn > span::after {
    background-color: #fff;
}

.menu-btn > span::before {
  content: '';
  top: -8px;
}

.menu-btn > span::after {
  content: '';
  top: 8px;
}

.menu-box {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  margin: 0;
  padding: 60px 0;
  list-style: none;
  background-color: var(--font-color);
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.1);
  transition-duration: 300ms;
  text-align: right;
}

.menu-item {
  display: block;
  padding: 12px 28px;
  color: #fff;
  font-size: 20px;
  transition-duration: 300ms;
}

.menu-item:hover {
  background-color: #c4cad2;
  color: var(--font-color);
}

#mobile-overlay {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #00000082;
    -webkit-animation: fadeEffect 300ms;
    animation: fadeEffect 300ms;
}

#services-mobile {
    display: none;
}

#services-desktop {
    display: block;
}

@media screen and (max-width: 1365px) {
    #ref-swiper {
        overflow-y: hidden!important;
        padding-left: 50px!important;
        padding-right: 50px!important;
    }

    #ref-swiper-prev.swiper-button-prev, #ref-swiper-next.swiper-button-next  {
        width: 20px!important;
        height: 60px!important;
        background: none!important;
        box-shadow: none;
    }

    #ref-swiper-next.swiper-button-next {
        right: 20px!important;
        transform: rotateY(180deg);
    }

    #ref-swiper-prev.swiper-button-prev {
        left: 20px!important;
    }

    #ref-swiper-prev.swiper-button-prev::after, #ref-swiper-next.swiper-button-next::after {
        content: '';
        background-image: url("../assets/img/svg/nyil.svg");
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
    }


}

@media screen and (max-width: 1200px) {

    .btn-blue, .btn-bot {
        width: 180px;
    }

    #referenciak, #kapcsolat {
        scroll-margin-top: 40px;
    }

    #szolgaltatasok, #arak {
        scroll-margin-top: 0;
    }

    #werk {
        scroll-margin-top: 60px;
    }

    .wrap {
        padding: 0 40px;
    }
    
    .flex-m-row {
        flex-direction: column;
    }

    .btn {
        margin-left: auto;
        margin-right: auto;
    }

    .lines::before {
        bottom: 65px;
        width: 220px;
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 90px;
    }

    .lines::after {
        display: none;
    }

    #header {
        position: fixed;
        top: 0;
        left: 0;
        height: 45px;
    }

    #site-logo {
        width: 110px;
    }

    #menu > ul > li {
        line-height: 45px;
    }

    .heading h2 {
        font-size: 34px;
        margin-top: 0;
        margin-bottom: 40px;
        line-height: .6;
        position: relative;
        margin-top: 25px;
    }

    .heading .octa-logo {
        padding-left: 3px;
    }

    .heading.in-view h2::before {
        width: 280px;
    }

    #hero {
        padding-top: 45px;
        height: auto;
        max-height: 100%;
        min-height: 100%;
    }

    #hero br {
        display: none;
    }

    #hero-video {
        width: 100%;
        max-width: 100%;
        position: relative;
    }
    
    #hero-video::after {
        background-size: 280px auto;
        position: absolute;
        left: 0;
        bottom: 0;
    }

    #hero-featured {
        width: 100%;
        max-width: 100%;
        padding: 28px 40px 40px;
    }

    #hero-featured h1 {
        font-size: 50px;
        padding: 0 80px;
        line-height: 1.12;
        text-align: center;
        text-shadow: none;
    } 

    #hero-featured h1::before{
        margin: auto;
        top: -30px;
    }

    #hero-featured p {
        padding: 0 80px;
    }

    #referenciak {
        padding-bottom: 35px;
    }

    #player-video {
        width: 90vw;
    }

    .ref-card {
        margin: auto;
    }

    .ref-video {
        width: calc(100% + 12px);
    }

    .ref-text p {
        font-size: 15px;
    }

    .ref-text .testimonial {
        margin-bottom: 15px;
    }

    #gallery-imgs {
        grid-template-columns: 150px;
    }

    #gallery-box .btn {
        width: 100%;
        max-width: 250px;
        padding-left: 0;
        padding-right: 0;
    }
    
    #price-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #prices-box {
        padding: 35px 20px;
    }
    
    #prices-box .lines::before {
        bottom: 45px;
    }
    
    .price-card {
        width: 100%;
        max-width: 320px;
        margin: 0 20px 40px;
    }
    
    p.price-disclaimer {
        font-size: 17px;
    }
    
    .price-card ul li {
        font-size: 17px;
    }
    
    .comment {
        max-width: 600px;
        margin: 0 auto;
    }
    
    #contact-text {
        padding: 30px;
    }

    #contacts p {
        font-size: 22px;
    }

    footer {
        padding: 20px;
        height: auto;
    }

    footer .wrap {
        align-items: flex-start!important;
        padding: 0;
    }

    footer img {
        margin: 0 0 20px;
        width: 120px;
    }

    footer p{
        font-size: 17px;
    }
}

@media screen and (max-width: 1000px) {

    .btn-blue, .btn-bot {
        width: 200px;
    }

    #menu {
        display: none;
    }

    #mobile-menu {
        display: block;
    } 

    .flex-sm-row {
        flex-direction: column;
    }

    #services-mobile {
        display: block;
    }

    #services-desktop {
        display: none;
    }

    .service-card-mobile {
        padding-top: 20px;
        margin-bottom: 30px;
    }

    .service-card-mobile:not(:last-of-type) {
        height: fit-content!important;
    }

    .service-card-mobile .title {
        height: 67px;
        background-color: var(--octa-blue);
        border-radius: 30px;
        position: relative;
        cursor: pointer;
        transition: border-radius 700ms ease-out;
    }

    .service-card-mobile .title p {
        color: #fff;
        text-align: center;
        margin: 0;
        height: 67px;
        line-height: 67px;
        font-size: 20px;
        letter-spacing: 1.9px;
        font-weight: var(--regular);
    }

    .service-card-mobile .title p:after {
        content: '';
        position: absolute;
        right: 30px;
        top: 24px;
        width: 17px;
        height: 20px;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url("../assets/img/svg/chevron-down-solid.svg");
        opacity: 1;
        transition: opacity 300ms;
    }

    .service-card-mobile .service-icon {
        width: 70px;
        height: 70px;
        left: 0;
        top: -20px;
        border-color: var(--octa-blue);
    }

    .service-card-mobile .content {
        background-color: #fff;
        border-radius: 30px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
        transition: border-radius 300ms ease-out, opacity 700ms, max-height 300ms, padding 300ms;
        opacity: 0;
    }

    .service-card-mobile .content > * {
        width: 50%;
    }

    .service-card-mobile.active .content {
        max-height: 1000px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        opacity: 1;
    }

    .service-card-mobile.active .title {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .service-card-mobile.active .title p:after {
        opacity: 0;
    }

    .service-card-mobile .content img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .service-card-mobile .content > div {
        display: flex;
        align-items: center;
        border-style: solid;
        border-color: #f6f6f6;
        border-width: 0 0 8px 8px;
        border-bottom-left-radius: 30px;
        box-sizing: border-box!important;
    }

    .service-card-mobile .content p {
        color: var(--font-color);
        font-size: 16px;
        font-weight: var(--regular);
        line-height: 1.41;
        margin: 0;
        padding: 20px;
    }

    .ref-text p {
        margin-bottom: 40px;
    }

    #werk {
        padding-top: 20px;
    }

    #werk .wrap {
        padding: 0;
    }

    #gallery {
        border-radius: 0;
        padding: 40px 40px 50px;
    }

    #big-img {
        width: 100%;
        margin-bottom: 20px;
    }

    #gallery-box {
        width: 100%;
    }

    #gallery-imgs {
        grid-template-rows: 92px;
        grid-template-columns: auto;
        grid-auto-columns: 92px;
        grid-auto-flow: column;
        overflow-x: visible;
        overflow-y: hidden;
        width: 100%;
        padding-bottom: 12px;
        padding-right: 0;
        margin-bottom: 35px;
        justify-content: start;
    }

    #gallery-imgs img {
        width: 92px;
    }

    #gallery-box .btn {
        width: 250px;
    }

    #contact-box {
        flex-direction: column-reverse;
        max-height: fit-content;
    }

    #contact-box.open {
        max-height: fit-content;
    }

    #contact-img, #contact-text {
        width: 100%;
    }

    #contact-img {
        height: 500px;
    }

    #contact-text {
        padding: 30px 60px;
        border-width: 8px 8px 0;
        border-top-left-radius: 30px;
        border-bottom-right-radius: 0;
    }

    input:not([type='checkbox']) {
        width: calc(50% - 10px);
    }

    input:not([type='checkbox']):first-of-type {
        margin-right: 15px;
    }

    #contact-us {
        text-align: center;
    }

    #contacts p {
        font-size: 26px;
    }
}

@media screen and (max-width: 760px) {
    .wrap {
        padding: 0 10px;
    }

    .btn-blue, .btn-bot {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        width: 280px;
    }

    #cookie-bar .wrap {
        flex-direction: column;
        text-align: center;
    }

    #cookie-bar button {
        margin-bottom: 20px;
    }

    #hero-featured {
        padding: 28px 10px;
    }

    #hero-featured h1 {
        font-size: 34px;
        padding: 0;
    }

    #hero-featured p {
        font-size: 17px;
        font-weight: var(--light);
        padding: 0 18px;
    }

    .service-card-mobile .content {
        flex-direction: column;
        align-items: center;
    }

    .service-card-mobile .content > * {
        width: 100%;
    }

    .service-card-mobile .content > div {
        border-width: 0 8px 8px;
        border-bottom-right-radius: 30px;
    }

    .service-card-mobile .content p {
        padding: 20px 10px;
    }

    .ref-card {
        height: fit-content!important;
    }

    .ref-text {
        height: fit-content;
        margin-bottom: -60px;
    }

    .ref-text p {
        margin-bottom: 30px;
    }

    .ref-video {
        width: calc(100% + 44px);
        position: relative;
        left: -22px;
        bottom: -5px;
    }

    #gallery {
        padding: 20px;
    }

    #gallery-imgs {
        margin-bottom: 20px;
    }

    #price-cards {
        flex-direction: column;
    }

    .price-card {
        margin: 0 0 40px;
    }

    #contact-img {
        height: 340px;
    }

    #contact-text {
        padding: 30px 15px;
    }

    input:not([type='checkbox']) {
        width: 100%;
    }

    input:not([type='checkbox']):first-of-type {
        margin-right: 0;
    }

    #contact-form span {
        padding-left: 5px;
        width: calc(100% - 30px);
        height: auto;
        vertical-align: top;
    }

    #contacts {
        flex-direction: column;
    }

    #contacts p {
        text-align: center;
    }

}

/* Swiper fixes */

@media screen and (max-width: 1280px) {
    #ref-swiper-next.swiper-button-next {
        right: 12px!important;
    }

    #ref-swiper-prev.swiper-button-prev {
        left: 12px!important;
    }
}

@media screen and (min-width: 500px) and (max-width: 760px) {
    #ref-swiper {
        padding-left: 20%!important;
        padding-right: 20%!important;
    }

    #ref-swiper-next.swiper-button-next {
        right: 7%!important;
    }

    #ref-swiper-prev.swiper-button-prev {
        left: 7%!important;
    }
}

@media screen and (min-width: 1200px) {
    .ref-card {
        width: 316px!important;
    }

    #ref-swiper-prev.swiper-button-prev:not(.swiper-button-disabled):hover, #ref-swiper-next.swiper-button-next:not(.swiper-button-disabled):hover {
        filter: brightness(.92);
    }
}



