@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.bbb {
    border: red solid 2px;
}

.language {
    position: relative;
    /*display: inline-block;*/
}

.language-content {
    display: none;
    position: absolute;
    background-color: white;
    padding: 4px;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    z-index: 1;
}

.language:hover .language-content {
    display: block;
}

.post-body h1 {
    font-size: 2rem;
    margin-top: 1rem;
    font-weight: bold;
    scroll-margin-top: 6rem;
    color: #3f6870;
}

.post-body h2 {
    font-size: 1.6rem;
    margin-top: 1rem;
    font-weight: bold;
    scroll-margin-top: 6rem;
    color: #3f6870;
}

.post-body h3 {
    font-size: 1.4rem;
    margin-top: 1rem;
    font-weight: bold;
    scroll-margin-top: 6rem;
    color: #3f6870;
}

.post-body h4 {
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: bold;
    scroll-margin-top: 6rem;
    color: #3f6870;
}

.post-body h5 {
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: bold;
    scroll-margin-top: 6rem;
    color: #3f6870;
}

.post-body h6 {
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: bold;
    scroll-margin-top: 6rem;
    color: #3f6870;
}

.post-body p {
    margin-top: 1rem;
}

.post-body ol {
    list-style-type: decimal;
    list-style-position: inside;
    padding: 0.5rem;
}

.post-body ul {
    list-style-type: disc;
    margin-left: 2rem;
    padding: 0.5rem;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
}

.dropdown:hover .dropdown-content {
    display: grid;
}

@media only screen and (max-width: 1023px) {
    .dropdown-content {
        position: relative;
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    transform-style: preserve-3d;
    perspective: 550px;
    margin: auto;
}
.container .box {
    position: relative;
    width: 350px;
    height: 350px;
    background: #000;
    transition: 0.5s;
    transform-style: preserve-3d;
    overflow: hidden;
    margin-right: 15px;
    margin-top: 45px;
}

.container:hover .box {
    transform: rotateY(25deg);
}
.container .box:hover ~ .box {
    transform: rotateY(-25deg);
}
.container .box:hover {
    transform: rotateY(0deg) scale(1.25);
    z-index: 1;
    box-shadow: 0 25px 40px rgba(0,0,0,0.5);
}
.container .box .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.container .box .imgBx:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,#075985,#000);
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    mix-blend-mode: multiply;
}
.container .box:hover .imgBx:before {
    opacity: 1;
}
.container .box .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.container .box .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    padding: 20px;
    align-items: flex-end;
    box-sizing: border-box;
}
.container .box .content h2 {
    color: #fff;
    transition: 0.5s;
    text-transform: uppercase;
    margin-bottom: 5px;
    transform: translateY(200px);
    transition-delay: 0.3s;
}
.container .box:hover .content h2 {
    transform: translateY(0px);
}
.container .box .content p {
    color: #fff;
    transition: 0.5s;
    transform: translateY(300px);
    transition-delay: 0.4s;
}
.container .box:hover .content p {
    transform: translateY(0px);
}

.q div textarea::placeholder, .q div input::placeholder {
    opacity: 0.5;
    color: grey;
}

@media only screen and (max-width: 639px) {
    .container {
        perspective: 700px;
    }
    .container .box {
        width: 300px;
        height: 300px;
    }

    .container .box:hover {
        transform: rotateY(0deg) scale(1.1);
    }
}

@media screen and (min-width: 768px) {
    .bg-img {
        /*background-image: url('{{ $serviceCategory->featured_image->large ?? '' }}'); // This line is commented out because it is a Laravel Blade directive and it can not work here */
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
}

/*===ZMIENNY css ===*/
body  {
    background: #f8fafc;
    font-family: 'Fira Sans', sans-serif;
    color: #083344;
}

.font-h {
    color: #3f6870;
}

.header-bg {
    background: white;
}

.menu-bg {
    background: white;
}

.menu-text {
    color: #3f6870;
}

.menu-element {
    border-bottom: 3px solid white;
}

.menu-element:hover {
    border-bottom: 3px solid #3f6870;
}

.text-hero {
    color: white;
}

.text-section {
    color: white;
}

.post-style {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.post-style img {
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.post-element {
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.gallery-modal-bg {
    background: rgba(38,129,253,0.75);
}

.button-style {
    background: #CB9734;
    border-radius: 0.75rem;
    color: white;
    padding: 0.5rem 1rem;
    font-weight: bolder;
}

.button-style:hover {
    background: #3f6870;
}

.button-1-style {
    background: #3f6870;
    border-radius: 0.75rem;
    color: white;
    padding: 0.5rem 1rem;
    font-weight: bolder;
}

.button-1-style:hover {
    background: #CB9734;
}

.splide__pagination__page {
    background-color: white !important;
    opacity: 100% !important;
}

.splide__pagination__page.is-active {
    background-color: #3f6870 !important;
    opacity: 100% !important;
}

.kontakt-style {
    background: #3f6870;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.footer-style {
    background: #3f6870;
    color: white;
}


