@font-face {
    font-family: "Rubik";
    src: url("https://realizacje.artday.pl/bartmed/fonts/rubikRegular.ttf") format("truetype");
}

@font-face {
    font-family: 'Rubik-Medium';
    src: url("https://realizacje.artday.pl/bartmed/fonts/rubikMedium.ttf") format("truetype");
}


:root {
    --light-gray: rgb(229, 229, 229);
    --blue: rgb(0, 140, 214);
    --light-blue: rgb(0, 169, 232);
    --yellow: rgb(255, 234, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: Rubik;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: Rubik-Medium;
}

.up {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    background-color: var(--yellow);
}

.icon {
    color: var(--blue);
}

.fast-contact-left {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    background-color: var(--blue);
    color: #fff !important;
}

.fast-contact-right span{
    background-color: var(--blue);
}

.fast-contact,
.fast-contact a {
    border-top-left-radius: 100px; 
    border-bottom-left-radius: 100px;
    background-color: var(--blue);
    color: #fff !important;
}

/* BANER */
.hero-baner > .wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.hero-baner > .wrapper h1 {
    font-size: 3.0em;
}

.hero-baner > .wrapper p {
    font-size: 1.3em;
}

.hero-baner > .wrapper h1 > span:nth-of-type(2) {
    color: var(--blue);
    background-color: var(--yellow);
}

.hero-baner .btn {
    background-color: var(--blue);
}

/* HEADER */

header .nav-item > a{
    color: var(--blue);
}

.dropdown-menu {
    background-color: var(--blue);
}

.dropdown-menu > li {
    margin: 0 10px 0 10px;
}

.dropdown-item {
    color: #fff;
}

.dropdown-item:hover {
    color: var(--blue);
    background-color: var(--yellow);
}

.navbar-text span {
    font-size: 13px;
    font-family: Rubik-Medium;
    background-color: var(--blue);
}

.title {
    background-color: var(--light-gray);
    padding: 40px 0 ;
}

.title h2 {
    color: var(--blue);
}

.content {
    display: flex;
    flex-direction: column;
    gap: 75px;
    padding: 75px 0;
}

.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.reh-box-img {
    width: 35%;
}

.reh-box-content {
    font-family: 'Rubik';
    width: 75%;
}

.reh-box-content h4 {
    color: var(--blue);
}

.centrum-reh-box,
.bon {
    position: relative;
    z-index: 2;
    margin-right: -150px;
    margin-left: 150px;
    background-color: var(--yellow);
}

.centrum-reh-box h2 {
    font-family: 'Rubik';
    color: var(--blue);
}

.centrum-reh-box p {
    font-family: 'Rubik';
    font-size: 0.8em;
    white-space: pre-line;
}

#integration_SI {
    position: relative;
}

#integration_SI::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://realizacje.artday.pl/bartmed/img/kropki.png');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    opacity: 0.3;
}

.integration-SI {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    background-color: var(--light-blue);
}

.integration-SI a {
    padding: 10px;
    margin-left: 10px;
    background-color: var(--blue);
}


.contact h3 {
    background-color: var(--yellow);
    color: var(--blue);
}

.contact .bon {
    background-color: var(--blue);
}

.contact-box {
    margin-left: 150px;
}

.contact-box {
    width: 100%;
    max-width: 300px;
    border: 1px solid #000;
}

.contact-header {
    width: 85%;
    padding: 0 15px;
    font-size: 1.2em;
    text-align: center;
    background-color: #fff;
}

.contact-item,
.contact-item a{
    font-size: 1.2em !important;
    color: var(--blue);
}

.contact-icon {
    padding: 15px 0;
    background-color: #fff;
}

footer {
    position: relative;
    z-index: 1;
    padding: 25px 0;
    background-color: var(--light-blue);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/kropki.png");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    opacity: 0.4;
}

footer ul li > a {
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .parent {
        grid-template-columns: 1fr;
    }

    .reh-box {
        flex-direction: column;
        text-align: center;
    }

    .reh-box-img,
    .reh-box-content {
        width: 100% !important;
        justify-content: center !important;
        align-items: center;
    }

    .reh-box-img img {
        max-width: 150px;
        height: auto;
    }
}

.mobile-img-banner{
	display:none;
}	

@media screen and (max-width: 992px) {
    .centrum-reh-box{
        margin: 150px 0 -150px 0;
    }

    .bon, .contact-box {
        margin: 0;
    }

    #contactForm {
        margin-bottom: 0 !important;
    }
	
	
	.title h2{
		text-align:Center;
		width:100%;
	}
	
	.title .fast-contact{
		display:none !important;
	}
	
	#navbarNav{
		text-align:center;
	}
	
	#navbarNav .navbar-text{
		display:block !important;
	}
	
	#navbarNav .navbar-text a{
		margin:0px 5px;
	}
	
	 .navbar-toggler{
		 outline: none !important;
		 border:0px !important;
	}
	
	
	.up {
		position: fixed;
		bottom: 25px;
		right: 25px;
		z-index: 3;
		width: 70px;
		height: 70px;
		border-radius: 50%;
		cursor: pointer;
		border: 3px solid #fff;
		background-color: var(--yellow);
	}
	
	.up img{
		width:30px !important;
	}
	
	.navbar .container-fluid{
		display:block;
		text-align:center;
	}
	
	.swiper-slide img{
		width:100px !important;
	}
	
	.navbar .navbar-brand{
		display: inline !important;
	}
	
	.slider-subpage .d-flex{
		display:block !important;
		text-align:center;
	}
	
	.slider-subpage .d-flex h5{
		margin-top:10px;
	}
	
	.dekstop-img-banner{
		display:none;
	}
	
	.mobile-img-banner{
		display:block !important;
	}
	
}


/* REH-PAGE */
.recommended {
    padding-left: 25px;
    border-left: 10px solid var(--blue);
}

.success {
    margin-top: 75px;
    padding-left: 25px;
    border-left: 10px solid green;
}

.swiper {
    width: 100%;
}

/* CONTACT-PAGE */
#contactForm {
    position: relative;
    padding: 40px 0;
    margin-bottom: -100px;
    z-index: 2;
    background-color: var(--blue);
}

#contactForm .btn {
    background-color: var(--yellow);
    color: var(--blue);
}

.carousel-control-next, .carousel-control-prev{
	width:5%;
}
