.content-box {
    width: 80%;
    margin: 0 auto;
}

.card {
    background: #d4af37;
    border: 10px solid #fff;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

#services .center {
    display: block;
    margin: 2rem auto;
}

#services .services-content {
    text-align: center;
}

/* LAYOUT */

header {
    padding: 1.5rem 0;
}

header .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 12rem;
}

#main-menu li {
    display: inline-block;
    margin: 0 1rem;
}

#main-menu li a {
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

.tel a {
    display: inline-block;
    background: url(img/tel.svg) center left no-repeat;
    background-size: auto 100%;
    padding-left: 1.5rem;
    margin: 10px auto;
    font-weight: 600;
    color: #fff;
}

#main-menu li a:hover,
.tel a:hover {
    color: #d4af37;
}

.text a:hover {
    color: #fff;
}

section {
    margin-bottom: 4vw;
}

.home section {
    text-align: center;
}

#hero {
    background: url(img/hero-bg.jpg) center center no-repeat;
    background-size: cover;
    padding: 8vw 0 0 0;
    position: relative;
}

#hero img {
    position: absolute;
    bottom: 0;
    right: 15%;
    width: auto;
    height: 95%;
}

#hero-text {
    background: #d4af37;
    padding: 1.5rem;
    max-width: 26rem;
    text-align: left;
    border-radius: 8px;
}

#ribbon {
    background: #333333;
    color: #fff;
    display: flex;
    font-size: 24px;
    font-variant: small-caps;
    line-height: 50px;
    min-height: 50px;
    overflow: hidden;
    padding: 0 5px;
    margin: 4vw auto 0 auto;
    position: relative;
    text-align: center;
    transition: transform .6s ease;
    background: transparent;
    /* Note: currently only Safari supports backdrop-filter */
    backdrop-filter: blur(20.95680046081543px);
    --webkit-backdrop-filter: blur(20.95680046081543px);
    background-color: rgba(0, 0, 0, 0.32);
    /* (plus shape's fill blended on top as a separate layer with 35.26% opacity) */
}


.inner-ribbon {
    background: #333333;
    color: #fff;
    display: flex;
    font-size: 24px;
    font-variant: small-caps;
    line-height: 50px;
    min-height: 50px;
    overflow: hidden;
    padding: 0 5px;
    margin: 4vw auto -4vw auto;
    position: relative;
    text-align: center;
    transition: transform .6s ease;
    background: transparent;
    /* Note: currently only Safari supports backdrop-filter */
    backdrop-filter: blur(20.95680046081543px);
    --webkit-backdrop-filter: blur(20.95680046081543px);
    background-color: rgba(0, 0, 0, 0.32);
    /* (plus shape's fill blended on top as a separate layer with 35.26% opacity) */
}

#hero .transparent-ribbon:hover {
    animation-play-state: paused;
}

#main-content-top {
    background: url(img/inner-hero.jpg) center center no-repeat;
    background-size: cover;
    padding: 3rem 0;
    position: relative;
}

#main-content-gallery p {
    color: #fff;
}

#main-content-gallery .offer p {
    color: inherit;
    padding: 0;
}

#testimonials-content {
    color: #fff;
}

#main-content {
    color: #fff;
}

.services img {
    height: 5rem;
    width: auto;
    margin: 0 auto 1.5rem auto;
}

.services .card {
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    border-radius: 8px;
}

.services a {
    display: block;
    color: inherit;
}

.card:hover {
    box-shadow: 0px 0px 50px #000000;
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.1);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.1);
    transition: all 200ms ease-in;
    transform: scale(1.1);
}

.offer {
    background: url(img/marble-bg.jpg) center center no-repeat;
    background-size: cover;
    padding: 1rem 0;
    position: relative;
    text-align: center;
    padding-top: 2rem;
}

.home .offer {
    border-top: none;
    padding-top: 0;
    justify-content: center;
    z-index: 1;
}

.home-inner .offer {
    border-top: none;
    padding-top: 0;
    z-index: 1;
}

.offer h2 {
    max-width: 45rem;
    margin: 1.5rem auto 1rem auto;
    color: inherit;
}

.offer p {
    max-width: 45rem;
    margin: 0 auto 1rem auto;
    color: inherit;
}

/* .offer:first-child p {
    font-weight: 600;
} */

#portfolio .button {
    margin-top: 2rem;
}

#how-we-work .work-item {
    display: flex;
    justify-content: space-between;
    background: #f5f5f5;
    text-align: left;
    margin-bottom: 2rem;
}

#how-we-work .work-item>div:first-of-type {
    width: 30%;
}

#how-we-work .work-item>div:last-of-type {
    width: 70%;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
}

#how-we-work h3 span {
    color: #d4af37;
}

#about {
    background: #f5f5f5;
    text-align: left;
    position: relative;
    z-index: 0;
}

#tippek {
    padding: 1rem 0;
    position: relative;
    text-align: center;
    padding-top: 2rem;
    z-index: 0;
}

.tippek-content h2 {
    color: #fff;
}

.tippek-content h3 {
    color: #fff;
}

.tippek-content p {
    color: #fff;
}

.testimonials-row .custome-card {
    background-color: #fff;
    border: 10px solid #d4af37;
    height: 100%;
}

.testimonials-row .col-4 {
    width: calc(40% - 2rem);
    justify-content: center;
}

.carousel-item .custome-card {
    justify-content: center;
    margin: 1rem auto;
}

.row .col-1-2 {
    padding-right: calc(var(--bs-gutter-x) * 0);
}

.col-1-2:last-child {
    padding-left: calc(var(--bs-gutter-x) * 0);
}

.offset-left {
    padding-left: 10%;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

footer {
    background: #f5f5f5;
    padding: 1.5rem 0;
    font-size: smaller;
}

footer .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#foot-menu li,
#foot-info li {
    display: inline-block;
    margin: 0 0.5rem;
}

#foot-menu li a {
    color: inherit;
}

#copyright {
    padding: 1rem 0;
    font-size: smaller;
    text-align: center;
}

#copyright p {
    color: #fff;
}

/* Testimonials */

.testimonials .carousel-indicators {
    bottom: -35px;
    margin: 2rem;
}

.testimonials-row {
    justify-content: center;
    margin-bottom: 3vw;
    display: flex;
}

.testimonials .carousel-indicators li {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

#carouselExampleIndicators li {
    margin: 0;
}

#testimonials-content h2 {
    text-align: center;
    margin: 2rem auto 3rem auto;
}

.testimonials .testimonials-single {
    border: 10px solid #d4af37;
    padding: 25px;
    border-radius: 5px;
    margin: 1rem;
    width: calc(100% - 1.5rem);
    height: calc(65vh - 1rem);
    object-fit: cover;
}

.testimonials .testimonials-single img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.testimonials-row .testimonials-single {
    background-color: #fff;
}

.testimonials .testimonials-single h4 {
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

.testimonials .testimonials-single p.occupation {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.testimonials .testimonials-single .text p {
    font-size: .9rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: #333;
}

/* CONTACT US FORM */

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

a,
a:hover {
    text-decoration: none !important;
}

.text-black {
    color: #000;
}

.content {
    padding: 1rem 0;
    margin: 1rem auto;
}

.align-items-stretch {
    --bs-gutter-x: 0;
}

.heading {
    font-size: 2.5rem;
    font-weight: 900;
}

.form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    background: none;
}

.form-control:active,
.form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #000;
}

.col-form-label {
    color: #000;
    font-size: 13px;
}

.btn,
.form-control,
.custom-select {
    height: 45px;
}

.custom-select:active,
.custom-select:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #000;
}

.btn {
    border: none;
    border-radius: 0;
    font-size: 12px;
    letter-spacing: .2rem;
    text-transform: uppercase;
}

.btn.btn-primary {
    background: #d4af37;
    color: #fff;
    padding: 15px 20px;
}

.btn:hover {
    color: #fff;
}

.btn:active,
.btn:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.contact-wrap {
    -webkit-box-shadow: 0 0px 20px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0px 20px 0 rgba(0, 0, 0, 0.2);
}

.contact-wrap .col-form-label {
    font-size: 14px;
    color: #b3b3b3;
    margin: 0 0 10px 0;
    display: inline-block;
    padding: 0;
}

.contact-wrap .form,
.contact-wrap .contact-info {
    padding: 40px;
}

.contact-wrap .contact-info {
    color: rgba(255, 255, 255, 0.5);
}

.contact-wrap .contact-info ul li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
}

.contact-wrap .contact-info ul li .wrap-icon {
    font-size: 20px;
    color: #fff;
    margin-top: 5px;
}

.contact-wrap .form {
    background: #fff;
}

.contact-wrap .form h3 {
    color: #35477d;
    font-size: 20px;
    margin-bottom: 30px;
}

.contact-wrap .contact-info {
    background: #35477d;
}

.contact-wrap .contact-info h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 30px;
}

label.error {
    font-size: 12px;
    color: red;
}

#message {
    resize: vertical;
}

#form-message-warning,
#form-message-success {
    display: none;
}

#form-message-warning {
    color: #B90B0B;
}

#form-message-success {
    color: #55A44E;
    font-size: 18px;
    font-weight: bold;
}

.submitting {
    float: left;
    width: 100%;
    padding: 10px 0;
    display: none;
    font-weight: bold;
    font-size: 12px;
    color: #000;
}

.work-card-row {
    margin: 0 auto;
    justify-content: center;
}

#poziciok-content .work-card {
    padding: 15px;
    margin: 3rem 1rem;
    width: calc(40% - 2rem);
    background-color: #35477d;
    border: 10px solid #fff;
}

#poziciok-content .content-box:first-child {
    position: relative;
    margin: 0 auto;
    justify-items: baseline;
    text-align: center;
}

#poziciok-content .card-header {
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: underline;
}

#poziciok-content .card-body li {
    background-color: #fff;
    color: #333;
}

#poziciok-content .card-body {
    background-color: #fff;
    color: #333;
    height: calc(100% - 4rem);
}

#autoSizingSelect {
    height: 150px;
}

#autoSizingSelectWork {
    height: 80px;
}

/*SIKERES AJANLATKERES*/
#form-message-success-content-box {
    background-color: #fff;
    height: calc(100% - 1rem);
    line-height: 1.4;
}

/* -------------------------------- 

Animation xzoom 

-------------------------------- */
#google-review {
    border: 10px solid #fff;
    padding: 25px;
    border-radius: 30px;
    max-width: 80%;
}

#google-review .cd-headline {
    color: #fff;
    font-weight: 400;
}

#google-review .cd-headline+p {
    color: #fff;
    line-height: 1.8;
}

#element {
    color: #d4af37;
}

.cd-title {
    position: relative;
    height: 100px;
    line-height: 150px;
    text-align: center;
}

.cd-title h3 {
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

.cd-intro {
    width: 90%;
    max-width: 768px;
    text-align: center;
}

.cd-intro {
    margin: 4em auto;
}


.cd-headline {
    font-size: 3rem;
    line-height: 1.2;
}

@media screen and (max-width:479px) {
    #google-review {
        padding: 20px;
        max-width: 90%;
        }
    
    #element {
        margin-top: 10px;
    }
    .cd-headline {
        font-size: 1.7rem;
        font-weight: 500;
        margin-bottom: 15px;
    }

    .cd-intro {
        margin: 1.7em auto;
        line-height: 1.2;
    }
    
    #google-review .cd-headline+p {
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 768px) {
    .cd-headline {
        font-size: 1.8rem;
        font-weight: 300;
    }

    .cd-intro {
        margin: 1.8em auto;
        line-height: 1.2;
    }
    .cd-title {
        line-height: 150px;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-headline {
        font-size: 4rem;
    }

    .cd-intro {
        margin: 3em auto;
        line-height: 1.2;
    }
    .cd-title {
        height: 200px;
        line-height: 200px;
    }

    .cd-title h3 {
        font-size: 1.5rem;
    }
}

.cd-words-wrapper {
    display: inline-block;
    position: relative;
    text-align: center;
}

.cd-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
}

.cd-words-wrapper b.is-visible {
    position: relative;
}

.no-js .cd-words-wrapper b {
    opacity: 0;
}

.no-js .cd-words-wrapper b.is-visible {
    opacity: 1;
}

/* -------------------------------- 
  
  xzoom 
  
  -------------------------------- */
.cd-headline.zoom .cd-words-wrapper {
    -webkit-perspective: 300px;
    -moz-perspective: 300px;
    perspective: 300px;
}

.cd-headline.zoom b {
    opacity: 0;
}

.cd-headline.zoom b.is-visible {
    opacity: 1;
    -webkit-animation: zoom-in 0.8s;
    -moz-animation: zoom-in 0.8s;
    animation: zoom-in 0.8s;
}

.cd-headline.zoom b.is-hidden {
    -webkit-animation: zoom-out 0.8s;
    -moz-animation: zoom-out 0.8s;
    animation: zoom-out 0.8s;
}

@-webkit-keyframes zoom-in {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(100px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
    }
}

@-moz-keyframes zoom-in {
    0% {
        opacity: 0;
        -moz-transform: translateZ(100px);
    }

    100% {
        opacity: 1;
        -moz-transform: translateZ(0);
    }
}

@keyframes zoom-in {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(100px);
        -moz-transform: translateZ(100px);
        -ms-transform: translateZ(100px);
        -o-transform: translateZ(100px);
        transform: translateZ(100px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@-webkit-keyframes zoom-out {
    0% {
        opacity: 1;
        -webkit-transform: translateZ(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateZ(-100px);
    }
}

@-moz-keyframes zoom-out {
    0% {
        opacity: 1;
        -moz-transform: translateZ(0);
    }

    100% {
        opacity: 0;
        -moz-transform: translateZ(-100px);
    }
}

@keyframes zoom-out {
    0% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateZ(-100px);
        -moz-transform: translateZ(-100px);
        -ms-transform: translateZ(-100px);
        -o-transform: translateZ(-100px);
        transform: translateZ(-100px);
    }
}

/* -------------------------------- 

Animation xzoom ends

-------------------------------- */

/* MEDIA QUERIES */

@media screen and (max-width:1280px) {
    .content-box {
        width: 90%;
    }

    .offset--left {
        padding-left: 5%;
    }

    #poziciok-content .work-card {
        padding: 15px;
        margin: 1.5rem auto;
        width: calc(100% - 2rem);
    }
}

@media screen and (max-width:1199px) {
    header .content-box {
        flex-wrap: wrap;
    }

    #main-menu {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: solid 1px #ccc;
    }

    #hero img {
        right: 5%;
    }

    footer .content-box {
        display: block;
        text-align: center;
    }

    #foot-info {
        margin-bottom: 1rem;
    }

    #poziciok-content .work-card {
        padding: 15px;
        margin: 1.5rem auto;
        width: calc(100% - 2rem);
    }
}

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

    #foot-info li,
    #foot-menu li {
        display: block;
        margin-bottom: 0.5rem;
    }

    #main-content-top {
        padding-bottom: 0;
        margin-bottom: 5rem;
    }

    #main-menu li {
        margin: 5px 1rem;
    }

    #services .center {
        width: 45%;
    }

    .services .card {
        padding: 0.5rem;
    }

    .services img {
        height: 5rem;
        width: auto;
        padding: 10px;
        margin: 0 auto 0.9rem auto;
    }

    .services h3 {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        overflow-wrap: break-word;
    }

    #poziciok-content .work-card {
        padding: 15px;
        margin: 1.5rem auto;
        width: calc(100% - 2rem);
    }

    .contact-wrap .col-md-8,
    .col-md-4 {
        width: 100%;
        flex-direction: column;
    }

    .carousel-item .custome-card {
        width: calc(100% - -2rem);
    }

    .testimonials .testimonials-single {
        height: calc(50vh - 3rem);
        width: calc(100% - 2rem);
    }
}

@media screen and (max-width:767px) {
    #main-menu li {
        display: block;
        margin: 5px 1rem 0.5rem;
    }

    #main-menu li:last-of-type {
        margin-bottom: 0;
    }

    #hero {
        padding: 2rem 0 0;
    }

    #hero img {
        right: 50%;
        margin-right: -8rem;
        height: auto;
        width: 16rem;
    }

    #hero-text {
        max-width: initial;
        text-align: center;
    }

    #main-content-top {
        padding: 3rem 0 0;
        margin: 0 0 3rem 0;
    }

    #services .center {
        display: block;
        margin: 2rem auto;
        width: 50%;
    }

    #poziciok-content .work-card {
        padding: 15px;
        margin: 1.5rem auto;
        width: calc(100% - 2rem);
    }

    aside {
        display: none;
    }

    .contact-wrap .col-md-8,
    .col-md-4 {
        width: 100%;
        flex-direction: column;
    }

    /*pozíciók carousel*/
    .testimonials-row .col-4 {
        width: calc(90% - 2rem);
        margin: 1rem auto;
    }

    .testimonials-row {
        width: 100%;
        flex-direction: column;
        margin: 0 auto;
    }

    .testimonials .testimonials-single {
        height: calc(45vh - 1rem);
        width: calc(100% - 1rem);
    }
}

@media screen and (max-width:479px) {
    .logo {
        max-width: initial;
        width: 70%;
        margin: 0 auto 1rem auto;
    }

    .tel {
        margin: 0 auto;
    }

    h2,
    h1 {
        font-size: 2.25rem;
    }

    #how-we-work .work-item {
        flex-flow: column wrap;
    }

    #how-we-work .work-item>div:first-of-type {
        width: 100%;
    }

    #how-we-work .work-item>div:last-of-type {
        width: 100%;
        padding: 1.5rem;
    }

    .services .card {
        width: calc(50% - 2rem);
        padding: 0.5rem;
    }

    #services .center {
        width: 70%;
    }

    aside {
        display: none;
    }

    aside .col-1-4 {
        width: calc(25% - 2rem);
    }

    .no-margin #myModal {
        width: 100%;
    }

    #poziciok-content .work-card {
        padding: 15px;
        margin: 1.5rem auto;
        width: calc(100% - 2rem);
        height: calc(100% - 3rem);
    }

    .no-margin.column-3>div,
    .no-margin.column-6>div,
    .no-margin.column-7>div,
    .no-margin.column-8>div {
        width: 50%;
    }

    .testimonials-row {
        width: 100%;
        flex-direction: column;
    }

    .testimonials .testimonials-single {
        height: calc(40vh - -1rem);
        width: calc(100% - 2rem);
    }

    .testimonials-row .col-4 {
        width: calc(100% - 1rem);
    }

    .carousel-item .custome-card {
        justify-content: center;
        margin: 1rem auto;
        max-width: fit-content;
    }

    /*Gallery.css */
    .mySlides>img {
        height: 50vh;
    }

    .column {
        float: left;
        width: calc(30% - 0rem);
        margin-left: 0;
        margin-right: 0;
    }

    .column-3 div[class*=col] {
        margin-left: 0;
        margin-right: 0;
    }

    .blockquote {
        width: 90%;
    }
}