html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
}

.poprawka {
    color: red;
}

body {
    background: linear-gradient(to bottom, #2c3e50, #4ca1af);
    background-attachment: fixed;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

h1,h2,h3 {
    color: aqua;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
h1 a {
    text-decoration: none;
    font-style: italic;
    color: aqua;
}
h1 a:hover {
    text-decoration: underline;
    font-style: italic;
    color: aqua;
}
h2 a {
    text-decoration: none;
    font-style: italic;
    color: aqua;
}
h2 a:hover {
    text-decoration: underline;
    font-style: italic;
    color: aqua;
}
h3 a {
    text-decoration: none;
    font-style: italic;
    color: aqua;
}
h3 a:hover {
    text-decoration: underline;
    font-style: italic;
    color: aqua;
}

ul {
    list-style: none;
}

a {
    color: #e8f3f8;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.box1 {
    flex: 0 0 40%;
}

.box2 {
    flex: 0 0 60%;
}

.button {
    background-color: #2c3e50;
    color: white;
    padding: 10px 20px;
	border: none;
    border-radius: 4px;
	cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #34495e;
}

input, textarea {
    background-color: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border: 1px solid #4ca1af;
    padding: 8px;
    border-radius: 4px;
}

input:focus, textarea:focus {
    border-color: #2c3e50;
    outline: none;
    box-shadow: 0 0 5px rgba(44, 62, 80, 0.5);
}
.card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.alert {
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.9);
    color: #ffffff;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.9);
    color: #ffffff;
}

.alert-warning {
    background-color: rgba(241, 196, 15, 0.9);
    color: #2c3e50;
}

nav {
    background-color: rgba(44, 62, 80, 0.8);
    padding: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

nav a {
    color: #ffffff;
    margin-right: 15px;
}

nav a:hover {
    color: #4ca1af;
}

footer {
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(44, 62, 80, 0.8);
    color: #ffffff;
    text-align: center;
    backdrop-filter: blur(5px);
}

#social a {
    color: rgb(213, 213, 213);
    font-size: 2rem;
}

#social a:hover {
    padding: 5px;
    color: rgb(50, 50, 50);
    opacity: 1;
    border-radius: 2px;
    transition: all 0.5s;
}

#social .fa-facebook-square:hover {
    color: #1877f2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#social .fa-phone:hover {
    color: #008000;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#social .fa-envelope:hover {
    color: #15509e;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#social a:visited {
    color: #cc2054;
}

.left {
    float: left;
    width: auto;
    height: 50px;
    font-size: 2rem;
    margin: 20px 0 0 20px;
}

.navbar {
    margin: 25px 0;
    position: sticky;
    background-color: #283152;
    color: #017a68;
	}

.navbar ul {
    color: #ffffff;
    margin: auto;
    width: 75%;
    justify-content: space-evenly;
    list-style: none;
}

.navbar ul li a {
    margin-left: 3px;
    color: rgb(213, 213, 213);
    opacity: 0.7;
    font-size: 1.2rem;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-weight: bold;
}
.navbar ul li a:hover {
    color: #ffffff;
    background-color: #31465c;
    border-radius: 5px;
    padding: 8px 20px;
    display: inline-block;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .dropdown-menu {
    margin-left: 13px;
    width: 232px;
}

.dropdown-menu {
    position: fixed;
    z-index: 1050;
    background-color: #2c3e50;
}

.navbar-toggler {
    background-color: #2c3e50;
    color: #ffffff;
    margin-left: 30px;
    border: 2px solid silver;
}

.nav-link {
    text-decoration: none;
}

.nav-link.active {
    text-decoration: underline;
}

.phone {
    font-style: italic;
    color: aqua;
}

.subtitle {
    font-size: 1.5rem;
}

.subtitle a {
    font-style: italic;
    color: aqua;
}

article {
    margin: 2px auto;
}

article.container {
    max-width: 1100px;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

article.container > section {
    width: min(100%, 920px);
    margin: 0 0 20px;
}

article.container > section.article-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.article-text {
    margin: 8px auto;
    font-size: 1.3rem;
}
.article-text a {
    font-style: italic;
    color: aqua;
}

.offert {
    margin-top: -150px;
}
@media (max-width: 1181px) {
    .offert {
        margin-top: -110px;
    }
}
@media (min-width: 1182px) and (max-width: 1300px) {
    .offert {
        margin-top: -150px;
    }
}

.callMe {
    font-size: 1.5rem;
    margin-top: 10px;
}

section {
    margin: 10px;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    text-align: left;
}

.hero-section h1 {
    width: 100%;
    max-width: 100%;
}
section ul {
    justify-content: space-evenly;
    margin-left: 20px;
}
section h1 a {
    font-style: italic;
    color: aqua;
    text-decoration: none;
}
section h1 a:hover {
    font-style: italic;
    color: aqua;
    text-decoration: underline;
}
section h2 a {
    font-style: italic;
    color: aqua;
    text-decoration: none;
}
section h2 a:hover {
    font-style: italic;
    color: aqua;
}
section h3 a {
    font-style: italic;
    color: aqua;
    text-decoration: none;
}
section h3 a:hover {
    font-style: italic;
    color: aqua;
}
section p a {
    font-style: italic;
    color: aqua;
}
.section-next {
    position: absolute;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}  

#contact-section {
    color: rgb(213, 213, 213);
    font-size: 1.6rem;
    text-align: center;
}

#contact-section h1 {
    font-size: 2rem;
}

#contact-section a {
    margin-left: 10px;
    color: rgb(213, 213, 213);
    text-decoration: none;
    font-size: 1.3rem;
}

#contact-section a:hover {
    padding: 5px;
    color: rgb(50, 50, 50);
    opacity: 1;
    border-radius: 2px;
    transition: all 0.5s;
}

#contact-section .fa-facebook-square:hover {
    color: #1877f2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#contact-section .fa-phone:hover {
    color: #008000;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#contact-section .fa-envelope:hover {
    color: #15509e;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#contact-section a:visited {
    color: #cc2020;
    font-size: medium;
}

#stopkaJW {
    font-size: medium;
}

#stopkaJW a {
    color: aqua;
    font-size: medium;
}
#stopkaJW a:hover {
    color: rgb(0, 115, 255);
    text-decoration: underline;
}

#stopkaJW a:visited {
    color: #cc2054;
}


#container {
    display: grid;
    grid-template-areas:
        "header"
        "nav"
        "article"
        "footer";
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: 2fr;
    min-height: 100vh;
}

#container * {
    padding: 5px;
}

#container header {
    grid-area: header;
    padding: 0;
    margin-right: auto;
}

#container article {
    display: grid;
    grid-area: article;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(100%, 1200px);
    max-width: 1200px;
    margin: 0 auto;
    justify-self: center;
    justify-content: center;
    align-content: start;
    padding: 0;
}

@media (min-width: 1501px) {
    #container article {
        column-gap: 20px;
    }
}

#container nav {
    grid-area: nav;
}
#container footer {
    grid-area: footer;
}

@media (max-width: 900px) {
    h2 {
        margin-top: 12px;
    }

    .navbar ul {
        width: 100%;
    }

    .navbar ul li a {
        font-size: 1.2rem;
    }

    #container {
        grid-template-areas:
        "header"
        "nav"
        "article"
        "footer";
        grid-template-rows: auto auto 1fr auto;
        grid-template-columns: 1fr;
    }
    #container article {
        display: grid;
        grid-area: article;
        grid-template-columns: 1fr;
    } 
}

.scrollTopButton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    opacity: 0.5;
    border-radius: 50%;
    cursor: pointer;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    z-index: 1000;
}

.scrollTopButton:hover {
    opacity: 1;
}

.scrollTopButton img {
    width: 60px;
    height: 60px;
}

#policy {
    position: absolute;
    justify-content: center;
    text-align: center;
    margin-top: 90px;
    color: #174c6a;
}

.hide {
	display: none;
}

.cookie-box {
    position: fixed;
    bottom: 20px;
    margin: 5px 10px;
    width: 400px;
    background-color: #cecece;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    opacity: 0.7;
    z-index: 1000;
}
@media (max-width: 568px) {
    .cookie-box {
        width: auto;
    }
}

.cookie-box:hover {
    opacity: 1;
}

.cookie-box a {
    text-decoration: none;
    color: rgb(0, 115, 255);
    
}
.cookie-box a:hover {
    text-decoration: underline;
    color: hsla(191, 100%, 25%, 0.903);
}

.cookie-box p {
    margin-top: 20px;
}

.cookie-btn {
	padding: 12px 30px;
	border: none;
	outline: none;
	background-color: hsla(191, 100%, 25%, 0.903);
    color: #fff;
	font-size: 16px;
	font-weight: 400;
	border-radius: 5px;
	cursor: pointer;
    margin-left: 10px;
    width: 130px;
	transition: all 0.3s ease;
}

.accept-btn {
    background-color: hsla(191, 100%, 25%, 0.903);
    color: white;
}
.cancel-btn {
    background-color: hsla(191, 100%, 25%, 0.903);
    color: white;
}
.cancel-btn:active {
    background-color: hsla(0, 100%, 50%, 0.9);
    transition: background-color 0.1s;
}
.cancel-btn:hover {
    color: #fff;
    background-color: hsla(0, 100%, 50%, 0.9);
}
.accept-btn:active {
    background-color: hsla(119, 100%, 40%, 0.9);
    transition: background-color 0.1s;
}
.accept-btn:hover {
    color: #fff;
    background-color: hsla(119, 100%, 40%, 0.9);
}

.btn {
	position: relative;
	padding: 1em 2em;
	overflow: hidden;
}

.btn:focus {
	outline: none;
}

.circle {
	position: absolute;
	width: 80px;
	height: 80px;
	background-color: #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0);
	animation: zoom .3s;
}
@keyframes zoom {
	to {
		transform: translate(-50%, -50%) scale(2);
		opacity: 0;
	}
    }

