@charset "utf-8";
@import url("menu.css");

/* RESET */

@font-face {
  font-family: 'Courgette-Regular';
  src: url('/fonts/Courgette-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Deklaracja dla wersji normalnej */
@font-face {
  font-family: 'Lora';
  src: url('/fonts/Lora-VariableFont_wght.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}
/* Deklaracja dla wersji pochylonej */
@font-face {
  font-family: 'Lora';
  src: url('/fonts/Lora-Italic-VariableFont_wght.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

body{
	font-family: 'Lora', serif;
	font-size: 16px;
	line-height: 1.5;
	color: #37474F;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	min-height: 100vh;
	position: relative;
	background-color: #fcf8ec;
	z-index: 1;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
	color: #2c7a7b;
}
h1, .h1, h2, .h2, h3, .h3{
	margin-top : 20px;
	margin-bottom : 10px;
}
p{
	margin: 0px;

}
a{
	background-color: transparent;
	text-decoration-line: none;
}
.main_center{
	width: 90%;
	margin-left: 5%;
}
.tlo{
	background-image: url('/dietetyk.webp');
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat; /* Zapobiega powtarzaniu obrazu */
	height: 760px; /* Wysokość div-a */
	opacity: 0; /* Domyślnie niewidoczne */
    transition: opacity 1s ease-in-out;
}
.specjal2{
    position: absolute;
	left: 6%;
	top: 60px;
	color: #2c7a7b; 
	font-family: 'Courgette-Regular', sans-serif;
	font-size: 30px;
	text-align:center;
	width: 425px;
	text-shadow: 0 4px 10px #50b590;

}

.main-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
}
.kontakt-container {
    display: flex;
    flex-direction: row;
	align-items: center;
}
.address, .map {
    flex: 1;
    padding: 10px;
}
/* Nagłówki */
.main-heading {
	font-size: 2rem;
	margin-bottom: 20px;
}
.section-heading {
	font-size: 1.5rem;
	margin-top: 20px;
	margin-bottom: 15px;
}
/* Tekst */
.intro-text {
	font-size: 1.1em;
	margin-bottom: 20px;
	text-align: justify;
}
.call-to-action {
	font-size: 1.2em;
	color: #FFA726;
	margin-top: 20px;
}
.closing-text {
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 15px;
}
.thank-you {
	font-size: 1em;
	color: #555;
	margin-top: 20px;
}
/* Lista */
.benefits-list {
	text-align: left;
	margin: 20px auto;
	padding-left: 20px;
	max-width: 700px;
}
.benefits-list li {
	margin-bottom: 15px;
	font-size: 1em;
}
.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}
.person {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
}
.info {
	flex: 1;
}
.image-wrapper img:hover {
	transform: scale(1.1);
}
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
}
.modal img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 10px;
}
.content-wrapper {
	display: flex; /* Ustawia flexbox, aby tekst i obrazek były obok siebie */
	align-items: center; /* Wyśrodkowuje elementy w pionie */
}
.image-wrapper {
	flex-shrink: 0; /* Zapobiega zmniejszaniu się obrazka */
}
.image-wrapper1 img {
	padding-right:5px;
	width: 200px;
	height: 200px;
}
.image-wrapper2 img {
	padding-right:5px;
	width: 125px;
	height: 125px;
}


/* css dla stopki footer */
.footer {
	background-color: #2c7a7b;
	color: white;
	padding: 40px 20px;
	text-align: center;
	font-family: 'Courgette-Regular', sans-serif;
	
	
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
}

.footer-section {
	flex: 1;
	min-width: 250px;
	max-width: 300px;
	margin: 20px;
}

.footer-section h3 {
	margin-bottom: 15px;
	font-size: 1.4rem;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 5px;
}

.footer-section p, .footer-section a {
	color: #f0f0f0;
	text-decoration: none;
	font-size: 1rem;
	line-height: 1.6;
}

.footer-section a:hover {
	text-decoration: underline;
	color: #ffcc00;
}

.social-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 15px;
}

.social-icons img {
	transition: transform 0.3s ease;
}

.social-icons img:hover {
	transform: scale(1.2);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	margin-top: 20px;
	padding-top: 10px;
	font-size: 0.9rem;
	text-align: center;
}
/* end of css dla stopki footer */

.mapa {
	width: 450px;
	height: 450px;
	border: none;
}


/* stylizacja przycisku powrót na górę */

#scrollToTopBtn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background-color: rgba(240, 240, 240, 0.5);
	color: white;
	border-radius: 50%;
	cursor: pointer;
	outline: none;
	opacity: 0.7;
	transition: background-color 0.3s ease;
	display: none; /* Upewnij się, że przycisk jest ukryty na początku */
	align-items: center;
	justify-content: center;
	z-index: 9999; /* Zwiększ z-index, aby przycisk był na wierzchu */
}
#scrollToTopBtn:hover {
	opacity: 1;
	background-color: rgba(224, 224, 224, 0.7); /* Bardziej przeźroczyste tło przy najechaniu */
}
#scrollToTopBtn svg {
	width: 20px; /* Odchudzona strzałka */
	height: 20px; /* Odchudzona strzałka */
}
/* Media queries dla urządzeń mobilnych */
@media screen and (max-width: 768px) {
#scrollToTopBtn {
	bottom: 40px; /* Dostosuj wartość w zależności od potrzeb */
	right: 20px;
}
}
/* end of stylizacja przycisku powrót na górę.. */	

/*cookie baner*/
#cookie-banner {
	position: fixed;
	bottom: 30%;
	left: 0;
	width: 100%;
	background-color: #324940;
	color: #fff;
	text-align: center;
	padding: 10px 0;
	z-index: 1001;
	border-radius: 8px;
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

#cookie-banner p {
	margin: 0;
	font-size: 14px;
	flex: 1;
}

#cookie-banner a {
	color: #007BFF;
	text-decoration: underline;
}

#cookie-banner button {
	background-color: #2c7a7b;
	color: #fff;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
	border-radius: 3px;
	margin-left: auto; /* Utrzymuje przycisk po prawej stronie */
}

#cookie-banner button:hover {
	background-color: #FFA726;
}

#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

/*koniec cookie baner*/

/* Responsywność */
@media (max-width: 768px) {

.tlo{
	height: 580px;
}
.specjal2{
    position: static; /* lub relative, w zależności od kontekstu */
    text-align: center;
    margin: auto;
	font-size: 28px;
	width: 410px;
}

.main-heading {
	font-size: 1.8rem;
	}

.section-heading {
	font-size: 1.3rem;
	}

.intro-text, .call-to-action, .closing-text, .thank-you {
	font-size: 1em;
	}

.benefits-list {
	font-size: 0.9em;
	}
.image-wrapper img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	cursor: pointer;
	border-radius: 8px;
	transition: transform 0.2s;
	}
.image-wrapper1 img {
	padding-right:5px;
	width: 100px;
	height: 100px;
}
.image-wrapper2 img {
	padding-right:5px;
	width: 80px;
	height: 80px;
}
.footer-container {
	flex-direction: column;
	text-align: center;
}

.footer-section {
	max-width: 100%;
	padding: 10px 20px;
}
.mapa_mobile {
	width: 100%;
	height:350px;
	border: none;
}
.kontakt-container {
    flex-direction: column;
}
.address, .map {
    width: 100%;
}
}
/* Ogólne style dla formularza */
#contactForm {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Lora', serif;
}

/* Style dla etykiet */
#contactForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

/* Style dla pól input i textarea */
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* Zapobiega "uciekaniu" poza kontener */
}

/* Style dla textarea */
#contactForm textarea {
    resize: vertical; /* Pozwala na zmianę wysokości tylko w pionie */
}

/* Style dla przycisku */
#contactForm button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #2c7a7b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Efekt hover dla przycisku */
#contactForm button:hover {
    background-color: #1a535c;
}

/* Dodatkowe style dla lepszej czytelności */
#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #2c7a7b;
    outline: none; /* Usuwa domyślny outline */
    box-shadow: 0 0 5px rgba(44, 122, 123, 0.5);
}
@media (max-width: 600px) {
    #contactForm {
        padding: 15px;
    }

    #contactForm input[type="text"],
    #contactForm input[type="email"],
    #contactForm textarea {
        font-size: 14px;
    }

    #contactForm button {
        font-size: 14px;
        padding: 10px;
    }
}
#contactForm {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* koniec Ogólne style dla formularza */

.stamp {
    width: 250px;
    height: 60px;
    border: 2px solid #2c7a7b;
	border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Courgette-Regular, sans-serif;
    background-color: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(5px);
	position: absolute;
    left: 40%;
    transform: translateX(-85%);
    margin: 5px;
	top: 625px;
	color: #2c7a7b; 
	line-height: 1.2;
}
.stamp::before,
.stamp::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}
.stamp::before {

    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 3px solid #2c7a7b;
	border-radius: 8px;

}

.stamp span {
    display: block;
}
.name {
    font-size: 28px;
}
.title {
    font-size: 20px;
}

/* Responsywność */
@media (max-width: 768px) {
.stamp {
    width: 180px;
    height: 45px;
	top: 440px;
    left: 40%;
    transform: translateX(-85%);
    margin: 5px;
}
.stamp::before {
    top: -8px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
}
.name {
    font-size: 20px;
}
.title {
    font-size: 16px;
}
}