@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic");

/*
	Spectral by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/* Basic */

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}

	@-ms-viewport {
		width: device-width;
	}

	html {
		box-sizing: border-box;
	}

	*, *:before, *:after {
		box-sizing: inherit;
	}

	/*  Mobile background of normal body */
	body {
		background: rgba(232, 209, 254, 1);
		overflow-x: hidden; /* Prevent horizontal scrolling */
		-webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
	}

		body.is-preload *, body.is-preload *:before, body.is-preload *:after {
			-moz-animation: none !important;
			-webkit-animation: none !important;
			-ms-animation: none !important;
			animation: none !important;
			-moz-transition: none !important;
			-webkit-transition: none !important;
			-ms-transition: none !important;
			transition: none !important;
		}

	body, input, select, textarea {
		color: #333333;
		font-family: "Open Sans", Helvetica, sans-serif;
		font-size: 15pt;
		font-weight: 400;
		letter-spacing: 0.075em;
		line-height: 1.65em;
	}

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

			body, input, select, textarea {
				font-size: 13pt;
			}

		}

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

			body, input, select, textarea {
				font-size: 12pt;
			}

		}

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

			body, input, select, textarea {
				font-size: 11pt;
				letter-spacing: 0.0375em;
			}

		}

	a {
		-moz-transition: color 0.2s ease, border-bottom-color 0.2s ease;
		-webkit-transition: color 0.2s ease, border-bottom-color 0.2s ease;
		-ms-transition: color 0.2s ease, border-bottom-color 0.2s ease;
		transition: color 0.2s ease, border-bottom-color 0.2s ease;
		border-bottom: dotted 1px;
		color: inherit;
		text-decoration: none;
	}

		a:hover {
			border-bottom-color: transparent;
		}

	strong, b {
		color: #fff;
		font-weight: 600;
	}

	em, i {
		font-style: italic;
	}

	p {
		margin: 0 0 2em 0;
	}

	h1, h2, h3, h4, h5, h6 {
		color: #fff;
		font-weight: 800;
		letter-spacing: 0.225em;
		line-height: 1em;
		margin: 0 0 1em 0;
		text-transform: uppercase;
	}

		h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
			color: inherit;
			text-decoration: none;
		}

	h2 {
		font-size: 1.35em;
		line-height: 1.75em;
	}

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

			h2 {
				font-size: 1.1em;
				line-height: 1.65em;
			}

		}

	h3 {
		font-size: 1.15em;
		line-height: 1.75em;
	}

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

			h3 {
				font-size: 1em;
				line-height: 1.65em;
			}

		}

	h4 {
		font-size: 1em;
		line-height: 1.5em;
	}

	h5 {
		font-size: 0.8em;
		line-height: 1.5em;
	}

	h6 {
		font-size: 0.7em;
		line-height: 1.5em;
	}

	sub {
		font-size: 0.8em;
		position: relative;
		top: 0.5em;
	}

	sup {
		font-size: 0.8em;
		position: relative;
		top: -0.5em;
	}

	hr {
		border: 0;
		border-bottom: solid 2px #fff;
		margin: 3em 0;
	}

		hr.major {
			margin: 4.5em 0;
		}

	blockquote {
		border-left: solid 4px #fff;
		font-style: italic;
		margin: 0 0 2em 0;
		padding: 0.5em 0 0.5em 2em;
	}

	code {
		background: rgba(144, 144, 144, 0.25);
		border-radius: 3px;
		font-family: "Courier New", monospace;
		font-size: 0.9em;
		letter-spacing: 0;
		margin: 0 0.25em;
		padding: 0.25em 0.65em;
	}

	pre {
		-webkit-overflow-scrolling: touch;
		font-family: "Courier New", monospace;
		font-size: 0.9em;
		margin: 0 0 2em 0;
	}

		pre code {
			display: block;
			line-height: 1.75em;
			padding: 1em 1.5em;
			overflow-x: auto;
		}

	.align-left {
		text-align: left;
	}

	.align-center {
		text-align: center;
	}

	.align-right {
		text-align: right;
	}

/* De babydoctors onze missie text padding */

	section.special, article.special {
		text-align: center;
	}

		header.major p {
			color: #fff;
			top: 0;
		}

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

			header.major {
				margin: 0 0 2em 0;
			}

		}

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

		header br {
			display: none;
		}

	}

/* Icon styling */

	.icon {
		text-decoration: none;
		border-bottom: none;
		position: relative;
	}

		.icon:before {
			-moz-osx-font-smoothing: grayscale;
			-webkit-font-smoothing: antialiased;
			display: inline-block;
			font-style: normal;
			font-variant: normal;
			text-rendering: auto;
			line-height: 1;
			text-transform: none !important;
			font-family: 'Font Awesome 5 Free';
			font-weight: 400;
		}

		.icon > .label {
			display: none;
		}

		.icon:before {
			line-height: inherit;
		}

		.icon.solid:before {
			font-weight: 900;
		}

		.icon.brands:before {
			font-family: 'Font Awesome 5 Brands';
		}

		.icon.major {
			-moz-transform: rotate(-45deg);
			-webkit-transform: rotate(-45deg);
			-ms-transform: rotate(-45deg);
			transform: rotate(-45deg);
			border-radius: 3px;
			border: solid 2px #fff;
			display: inline-block;
			font-size: 1.35em;
			height: calc(3em + 2px);
			line-height: 3em;
			text-align: center;
			width: calc(3em + 2px);
		}

			.icon.major:before {
				-moz-transform: rotate(45deg);
				-webkit-transform: rotate(45deg);
				-ms-transform: rotate(45deg);
				transform: rotate(45deg);
				display: inline-block;
				font-size: 1.5em;
			}

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

				.icon.major {
					font-size: 1em;
				}

			}

	ul.icons {
		cursor: default;
		list-style: none;
		padding-left: 0;
	}

		ul.icons li {
			display: inline-block;
			padding: 0 1em 0 0;
		}

			ul.icons li:last-child {
				padding-right: 0 !important;
			}

		ul.icons.major {
			padding: 1em 0;
		}

			ul.icons.major li {
				padding-right: 3.5em;
			}

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

					ul.icons.major li {
						padding: 0 1em !important;
					}

				}

		ul.icons li a {
			font-size: 1.5rem; /* Increase the font size of the icons */
			padding: auto;
		}

/* Icon styling for Instagram and TikTok */
.icons .fa-instagram, .icons .fa-tiktok {
    font-size: 2rem; /* Increased font size for larger icons */
    color: #ffffff; /* Default icon color */
    transition: color 0.3s ease, transform 0.2s ease; /* Smooth transition for hover effects */
}

.icons .fa-instagram:hover {
    color: #e1306c; /* Instagram brand color on hover */
    transform: scale(1.6); /* Slightly enlarge on hover */
}

.icons .fa-tiktok:hover {
    color: #000000; /* TikTok brand color on hover */
    transform: scale(1.6); /* Slightly enlarge on hover */
}

/* Wrapper */
/* Wrapper base styling */
.wrapper {
    padding: 6em 0 4em 0;
}

/* Inner wrapper styling */
.wrapper > .inner {
    width: 60em;
    margin: 0 auto;
}

/* Responsive adjustments for inner wrapper */
@media screen and (max-width: 1280px) {
    .wrapper > .inner {
        width: 90%;
    }
}

@media screen and (max-width: 980px) {
    .wrapper > .inner {
        width: 100%;
    }
}

/* Wrapper Styling van de sections. (Hoofdstukken van de website) */
.wrapper.alt {
    padding: 0;
}

/* Style 1: De Babydoctors Onze Missie */
.button.primary {
    display: inline-block;
    padding: 0.75em 1.5em;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background-color: #ce9efb; /* Purple background */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button.primary:hover {
    background-color: #e8d1fe; /* Darker purple on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.button.primary:active {
    background-color: #ba7df4; /* Even darker purple when clicked */
    transform: scale(0.95); /* Slightly shrink on click */
}

/* Responsive adjustments for .button.primary */
@media screen and (max-width: 768px) {
    .button.primary {
        font-size: 0.9rem; /* Slightly smaller font size */
        padding: 0.65em 1.2em; /* Adjust padding */
    }
}

@media screen and (max-width: 480px) {
    .button.primary {
        font-size: 0.8rem; /* Further reduce font size */
        padding: 0.5em 1em; /* Adjust padding for smaller screens */
    }
}

.wrapper.style1 {
    background-color: #1d1a3086;
    color: #c8ece9;
    padding: 6em 4em;
    min-height: 100vh; /* Ensure it covers the full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.wrapper.style1 h2 {
    margin-bottom: 2rem; /* Increased spacing below the header */
}

.wrapper.style1 ul.icons {
    margin-bottom: 1.5rem; /* Added spacing below the icons */
}

.wrapper.style1 p {
    margin-bottom: 2rem; /* Increased spacing below the paragraph */
}

.wrapper.style1 strong, .wrapper.style1 b,
.wrapper.style1 h2, .wrapper.style1 h3, .wrapper.style1 h4, .wrapper.style1 h5, .wrapper.style1 h6 {
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .wrapper.style1 {
        padding: 2em 1em; /* Reduce padding for smaller screens */
    }

    .wrapper.style1 h2 {
        font-size: 1.5em; /* Adjust font size for better readability */
        text-align: center; /* Ensure text is centered */
    }

    .wrapper.style1 p {
        font-size: 1em; /* Adjust paragraph font size */
        text-align: center; /* Ensure text is centered */
    }
}

/* Style 2: Team Section */
.wrapper.style2 {
    background-color: #e8d1fe92;
    padding: 4em 2em; /* Reduce padding for better fit */
    min-height: auto; /* Remove fixed minimum height */
    margin-bottom: 5; /* Remove any bottom margin */
    padding-bottom: 5; /* Remove any bottom padding */
    display: block;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: center;
    max-width: 100vw; /* Ensure it doesn't exceed the viewport width */
    overflow: visible; /* Ensure content is not clipped */
    box-sizing: inherit; /* Include padding in width calculations */
}

@media screen and (max-width: 768px) {
    .wrapper.style2 {
        padding: 1em 0.5em; /* Reduce padding for smaller screens */
        max-height: auto; /* Adjust max height for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .wrapper.style2 {
        padding: 2em 1.5em; /* Further reduce padding for very small screens */
        max-height: 85vh; /* Adjust max height for very small screens */
    }
}

/* Wrapper Styling for Social Media Section */
.wrapper.style3 {
    background-color: #1d1a3083;
    color: #d3d4e4;
    padding: 4em 2em; /* Default padding */
    min-height: auto; /* Remove fixed height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center; /* Center content horizontally */
    text-align: center;
    max-width: 100vw; /* Prevent overflow */
    box-sizing: border-box; /* Include padding in width calculations */
    overflow: visible; /* Ensure content is scrollable */
}

.wrapper.style3 .inner {
    width: 100%;
    max-width: 1200px; /* Constrain the width of the content */
    margin: 0 auto;
    padding: 0 1rem; /* Add padding for smaller screens */
    box-sizing: border-box;
}

.wrapper.style3 h2 {
    font-size: 2rem;
    margin-bottom: 2rem; /* Increased spacing below the header */
    color: #d3d4e4; /* Ensure consistent text color */
}

.wrapper.style3 ul.icons {
    margin-bottom: 2rem; /* Added spacing below the icons */
}

.wrapper.style3 p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem; /* Increased spacing below the paragraph */
    color: #d3d4e4;
}

/* Responsive Design for Social Media Section */
@media (max-width: 768px) {
    .wrapper.style3 {
        padding: 3em 1.5em; /* Reduce padding for smaller screens */
    }

    .wrapper.style3 h2 {
        font-size: 1.5rem; /* Adjust font size for smaller screens */
        margin-bottom: 1rem; /* Adjust spacing for smaller screens */
    }

    .wrapper.style3 p {
        font-size: 1rem; /* Adjust paragraph font size */
        margin-bottom: 1.5rem; /* Adjust spacing for smaller screens */
    }
}

@media (max-width: 530px) {
    .wrapper.style3 {
        padding: 2em 1em; /* Further reduce padding for very small screens */
    }

    .wrapper.style3 h2 {
        font-size: 1.2rem; /* Further adjust font size */
    }

    .wrapper.style3 p {
        font-size: 0.9rem; /* Adjust paragraph font size */
    }
}

/* Posts Container Styling */
.posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: Three columns */
    gap: 1rem; /* Space between posts */
    margin-top: 2rem;
    width: 100%; /* Ensure the container spans the full width */
    box-sizing: border-box;
}

.post-item {
    text-align: center;
}

.post-item .post-thumb img {
    width: 100%; /* Ensure images fit within their container */
    height: auto;
    max-width: 150px; /* Limit the size of the images */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add shadow */
    border: none; /* Remove any border or dotted line */
}

/* Responsive Design for Posts Container */
@media (max-width: 768px) {
    .posts-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns for medium screens */
    }
}

@media (max-width: 530px) {
    .posts-container {
        grid-template-columns: 1fr; /* Single column for small screens */
        padding: 1rem; /* Add padding for smaller screens */
    }

    .post-item {
        margin-bottom: 1rem; /* Add spacing between posts */
    }
}


/* Menu */
	#menu {
		-moz-transform: translateX(20em);
		-webkit-transform: translateX(20em);
		-ms-transform: translateX(20em);
		transform: translateX(20em);
		-moz-transition: -moz-transform 0.5s ease;
		-webkit-transition: -webkit-transform 0.5s ease;
		-ms-transition: -ms-transform 0.5s ease;
		transition: transform 0.5s ease;
		-webkit-overflow-scrolling: touch;
		background: #000000af;
		color: #ffffff;
		height: 100%;
		max-width: 80%;
		overflow-y: auto;
		padding: 3em 2em;
		position: fixed;
		right: 0;
		top: 0;
		width: 20em;
		z-index: 10002;
	}

		#menu ul {
			list-style: none;
			padding: 0;
		}

			#menu ul > li {
				border-top: solid 1px rgba(0, 0, 0, 0.125);
				margin: 0.5em 0 0 0;
				padding: 0.5em 0 0 0;
			}

				#menu ul > li:first-child {
					border-top: 0 !important;
					margin-top: 0 !important;
					padding-top: 0 !important;
				}

				#menu ul > li > a {
					border: 0;
					color: inherit;
					display: block;
					font-size: 0.8em;
					letter-spacing: 0.225em;
					outline: 0;
					text-decoration: none;
					text-transform: uppercase;
				}

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

						#menu ul > li > a {
							line-height: 3em;
						}

					}

		#menu .close {
			background-image: url("images/close.svg");
			background-position: 4.85em 1em;
			background-repeat: no-repeat;
			border: 0;
			cursor: pointer;
			display: block;
			height: 3em;
			position: absolute;
			right: 0;
			top: 0;
			width: 7em;
		}

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

			#menu {
				padding: 3em 1.5em;
			}

		}

	body.is-menu-visible #page-wrapper {
		opacity: 0.35;
	}

		body.is-menu-visible #page-wrapper:before {
			display: block;
		}

	body.is-menu-visible #menu {
		-moz-transform: translateX(0);
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}

/* Header */
#header {
    background: #2e3842; /* Dark background */
    height: 3em;
    left: 0;
    line-height: 3em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    padding-left: 1.5em;
}

/* "De Babydoctors" text styling */
#header h1 {
    height: inherit;
    line-height: inherit;
    margin: 0;
}

#header h1 a {
    color: #ffffff;
    text-decoration: none; /* Removes underline */
    border: none; /* Removes any border or dotted line */
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block; /* Ensures no extra spacing issues */
}

/* Responsive adjustments */
@media screen and (max-width: 736px) {
    #header h1 a {
        font-size: 1rem;
    }
}


		#header nav {
			height: inherit;
			line-height: inherit;
			position: absolute;
			right: 0;
			top: 0;
		}

			#header nav > ul {
				list-style: none;
				margin: 0;
				padding: 0;
				white-space: nowrap;
			}

				#header nav > ul > li {
					display: inline-block;
					padding: 0;
				}

					#header nav > ul > li > a {
						border: 0;
						color: #fff;
						display: block;
						font-size: 0.8em;
						letter-spacing: 0.225em;
						padding: 0 1.5em;
						text-transform: uppercase;
					}

						#header nav > ul > li > a.menuToggle {
							outline: 0;
							position: relative;
						}

							#header nav > ul > li > a.menuToggle:after {
								background-image: url("images/bars.svg");
								background-position: right center;
								background-repeat: no-repeat;
								content: '';
								display: inline-block;
								height: 3.75em;
								vertical-align: top;
								width: 2em;
							}

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

								#header nav > ul > li > a.menuToggle {
									padding: 0 1.5em;
								}

									#header nav > ul > li > a.menuToggle span {
										display: none;
									}

							}

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

							#header nav > ul > li > a {
								padding: 0 0 0 1.5em;
							}

						}

					#header nav > ul > li:first-child {
						margin-left: 0;
					}

		#header.alt {
			background: transparent;
		}

			#header.alt h1 {
				pointer-events: none;
				opacity: 0;
			}

/* Default Banner Styling */
#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: default;
    height: 100vh; /* Full viewport height */
    min-height: 35em;
    overflow: hidden;
    position: relative;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fixed background for desktop */
}

/* Mobile Adjustments */
@media screen and (max-width: 980px) {
    #banner {
        background-attachment: scroll; /* Prevent performance issues on mobile */
        background-size: contain; /* Ensure it still fits the viewport */
    }
}

@media screen and (max-width: 768px) {
    #banner {
        background-attachment: scroll; /* Prevent performance issues on smaller screens */
        background-size: contain; /* Ensure it still fits the viewport */
    }
}

@media screen and (max-width: 480px) {
    #banner {
        background-attachment: scroll; /* Prevent performance issues on very small screens */
        background-size: contain; /* Adjust to ensure the image fits smaller screens */
    }
}

#banner h2 {
    font-size: 2em;
    margin: 0.5em 0;
    color: #fff;
    position: relative; /* For positioning the lines */
    animation: fadeIn 1s ease-in-out; /* Fade-in animation for the text */
}

#banner h2::before,
#banner h2::after {
    content: "";
    position: absolute;
    width: 0; /* Start with no width */
    height: 2px; /* Line thickness */
    background-color: #fff; /* Line color */
    top: -10px; /* Position above the text */
    left: 50%;
    transform: translateX(-50%);
    animation: growLine 2s ease-in-out forwards; /* Increased duration to 2 seconds */
}

#banner h2::after {
    top: auto; /* Reset top */
    bottom: -10px; /* Position below the text */
}

@keyframes growLine {
    0% {
        width: 0; /* Start with no width */
    }
    100% {
        width: 100%; /* Expand to full width */
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive adjustments for phones */
@media screen and (max-width: 768px) {
    #banner h2 {
        font-size: 1.5em;
    }

    #banner h2::before,
    #banner h2::after {
        height: 1px; /* Reduce line thickness for smaller screens */
    }
}

/* Main */

	#main > header {
		padding: 12em 0 10em 0 ;
		background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,00.0)), url("../../images/Babydoctors.png");
		background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/Babydoctors.png");
		background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/Babydoctors.png");
		background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/Babydoctors.png");
		background-attachment: fixed;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
		text-align: center;
	}

		#main > header h2 {
			font-size: 1.75em;
			margin: 0 0 0.5em 0;
		}

		#main > header p {
			color: inherit;
			letter-spacing: 0.225em;
			text-transform: uppercase;
			top: 0;
		}

			#main > header p a {
				color: inherit;
			}

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

			#main > header {
				padding: 10em 0 8em 0 ;
			}

		}

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

			#main > header {
				padding: 8em 3em 6em 3em ;
			}

		}

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

			#main > header {
				padding: 10em 3em 8em 3em ;
			}

		}

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

			#main > header {
				padding: 5em 3em 3em 3em ;
			}

				#main > header h2 {
					font-size: 1.25em;
					margin: 0 0 1em 0;
				}

		}

	body.is-mobile #main > header {
		background-attachment: scroll;
	}

/* Footer */
#footer {
    margin-top: 0; /* Remove any top margin */
    text-align: center;
}

/* Social Icons */
#footer .icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

#footer .icons a {
    font-size: 1.5rem;
    color: #c49beb;
    transition: color 0.3s ease-in-out, transform 0.2s;
}

#footer .icons a:hover {
    color: #9b59b6;
    transform: scale(1.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .profile-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
}


/* Footer Icons */
#footer .icons a {
    font-size: 24px;
    margin: 0 10px;
    color: #333;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-container {
        padding: 20px;
        width: 90%;
    }

    .profile-container img {
        max-width: 220px;
    }

    .profile-container h2 {
        font-size: 2rem;
    }

    .profile-container p {
        font-size: 1.05rem;
    }

    .back-button {
        padding: 0.75rem 1.3rem;
    }
}

@media (max-width: 600px) {
    .profile-container {
        padding: 15px;
        width: 100%;
    }

    .profile-container img {
        max-width: 200px;
    }

    .profile-container h2 {
        font-size: 1.8rem;
    }

    .profile-container p {
        font-size: 1rem;
    }

    .back-button {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}



/* Footer */

	#footer {
		padding: 6em 0 4em 0 ;
		background-color: #1d242a;
		text-align: center;
	}

		#footer .icons {
			font-size: 1.25em;
		}

			#footer .icons a {
				color: rgba(255, 255, 255, 0.5);
			}

				#footer .icons a:hover {
					color: #fff;
				}

		#footer .copyright {
			color: rgba(255, 255, 255, 0.5);
			font-size: 0.8em;
			letter-spacing: 0.225em;
			list-style: none;
			padding: 0;
			text-transform: uppercase;
		}

			#footer .copyright li {
				border-left: solid 1px rgba(255, 255, 255, 0.5);
				display: inline-block;
				line-height: 1em;
				margin-left: 1em;
				padding-left: 1em;
			}

				#footer .copyright li:first-child {
					border-left: 0;
					margin-left: 0;
					padding-left: 0;
				}

				#footer .copyright li a {
					color: inherit;
				}

					#footer .copyright li a:hover {
						color: #fff;
					}

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

					#footer .copyright li {
						border: 0;
						display: block;
						line-height: 1.65em;
						margin: 0;
						padding: 0.5em 0;
					}

				}

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

			#footer {
				padding: 4em 3em 2em 3em ;
			}

		}

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

			#footer {
				padding: 3em 2em 1em 2em ;
			}

		}
/* Ensure consistency with the site's layout */
.search-section {
	margin-top: 2rem;
  }
  
  .search-button {
	transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .search-button:hover {
	background-color: rgba(142, 68, 173, 1); /* Matches hover effect */
	transform: scale(1.05);
  }
  
  .search-input,
  .search-select {
	font-family: 'Open Sans', sans-serif; /* Matches the site's font */
  }

/* Landing Background */
body.landing {
    position: relative;
}

body.landing::before {
    content: "";
    position: fixed; /* Keep the background fixed for smooth scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(232, 209, 254, 1); /* Solid background color as a fallback */
    background-image: url("../../images/Baby doctorsbanner.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; /* Ensure it covers the entire viewport */
    z-index: -1; /* Place it behind all content */
}

/* Mobile Adjustments */
@media screen and (max-width: 980px) {
    body.landing::before {
        background-attachment: scroll; /* Prevent performance issues on mobile */
        background-size: contain; /* Ensure it still fits the viewport */
    }
}

@media screen and (max-width: 768px) {
    body.landing::before {
        background-attachment: scroll; /* Prevent performance issues on smaller screens */
        background-size: contain; /* Ensure it still fits the viewport */
    }
}

@media screen and (max-width: 480px) {
    body.landing::before {
        background-attachment: scroll; /* Prevent performance issues on very small screens */
        background-size: contain; /* Adjust to ensure the image fits smaller screens */
    }
}

/* Adjustments for .wrapper.alt.style2 */
.wrapper.alt.style2 {
    min-height: 100vh; /* Ensure it fills the entire screen */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

@media screen and (max-width: 480px) {
    .wrapper.alt.style2 {
        padding: 2em 1em; /* Adjust padding for smaller screens */
    }
}

