/* Reset and basic styles */
body {
  margin: 0;
  font-family: 'PT Serif', serif;
}

#daycarelink {
  font-family: 'Dekko', sans-serif;
  font-weight: bold;
  text-decoration: none; /* Remove default underline */
  color: #333; /* Text color */
  padding: 10px;
  display: inline-block;
  transition: border-bottom 0.3s ease; /* Optional: smooth transition */
  margin: 0 10px;
  font-size: 1.2rem; /* A bit larger than the original */
  border-bottom: 2px solid #000; /* Line under the link */
}
#newdaycareopen {
background-color: hsl(0, 0%, 90%);
text-decoration: none !important;
}
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* Navbar Container */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #fff;
padding: 0.75rem; /* Slightly more padding */
height: 100px; /* Slightly taller */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
.navbar-logo img {
height: 50px;
width: auto;
}

/* Top Navigation */
.topnav {
display: flex;
align-items: center;
}

.topnav a, 
.dropdown-button {
background-color: #fff;
border: none;
cursor: pointer;
font-family: 'Dekko', sans-serif;
text-decoration: none; /* Remove default underline */
color: #333; /* Text color */
padding: 10px;
display: inline-block;
transition: border-bottom 0.3s ease; /* Optional: smooth transition */
margin: 0 10px;
font-size: 1.2rem; /* A bit larger than the original */
}

.topnav a:hover,
.dropdown-button:hover {
font-weight: bold; /* Makes the text bold */
border-bottom: 2px solid #000; /* Line under the link */
}

/* Dropdown Menu */
.dropdown {
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: white;
box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
z-index: 1000;
min-width: 200px;
text-decoration: none !important; /* Removes underline */
}

.dropdown-content a {
color: black;
padding: 10px;
text-decoration: none !important;
display: block;
}

.dropdown-content a:hover {
background-color: hsl(0, 0%, 90%);
border-bottom: none; /* Removes any border-bottom */
text-decoration: none; /* Ensures underline is removed */

}

.dropdown:hover .dropdown-content {
display: block;
text-decoration: none !important;
}

.dropdown-button {
background: none;
border: none;
color: black;
cursor: pointer;
display: flex;
align-items: center;
}

/* Hamburger Icon - Hidden by Default */
.icon {
display: none;
font-size: 24px;
color: black;
cursor: pointer;
}

/* Responsive Design for Screens Smaller than 480px */
@media screen and (max-width: 480px) {
.topnav {
  flex-direction: column;
  align-items: flex-start;
  display: none; /* Hidden by default */
  background-color: #f1f1f1; /* Optional: Background for dropdown menu */
  width: 100%; /* Full width */
  position: absolute; /* Overlay behavior */
  top: 100px; /* Adjust based on navbar height */
  left: 0;
  z-index: 1000; /* Ensure it appears above other elements */
  border-top: 1px solid #ddd; /* Optional: Border for clarity */
}

.topnav a,
.dropdown-button {
  display: block; /* Stack as blocks */
  color: #444; /* Slightly darker text color */
  background-color: #f1f1f1; /* Optional: Slightly darker background */
  padding: 10px 20px; /* Adjust padding for better spacing */
  width: 100%; /* Ensure full width for touch-friendly links */
  text-align: left; /* Align text to the left */
  box-sizing: border-box; /* Ensure padding and borders fit */
  border: none; /* Remove default borders */
}

.topnav > a,
.topnav > .dropdown {
  display: block; /* Stack items vertically */
  color: #444; /* Text color */
  background-color: #f1f1f1; /* Background color */
  padding: 10px 20px; /* Padding for touch-friendly areas */
  width: 100%; /* Full width */
  text-align: left; /* Align text to the left */
  box-sizing: border-box; /* Ensure padding and borders fit */
  border-bottom: 1px solid #aaa; /* Small grey line between items */
}

.icon {
  display: block; /* Show hamburger icon */
}

.dropdown-content {
  display: none; /* Ensure dropdowns are hidden initially */
  background-color: #f1f1f1; /* Match background */
}

.dropdown-content a {
  color: #444; /* Match text color */
  background-color: #f1f1f1; /* Match background */
  padding: 10px 20px; /* Same padding as main links */
  width: 100%; /* Full width */
  box-sizing: border-box;
  border: none;
}

  .dropdown-content a + a {
  border-top: 1px solid #ccc; /* Slightly lighter line inside dropdowns */
}

.dropdown-button:focus + .dropdown-content {
  display: block; /* Show dropdown on button press */
}

.topnav.responsive {
  display: flex; /* Show menu when responsive class is added */
}
}

header {
position: relative; /* Ensures the overlay is positioned relative to the header */
background-image: url('images/daycare-banner-rød-fixet.svg'); /* Replace with your image path */
background-size: cover; /* Ensures the image covers the header */
background-position: center; /* Centers the image */
background-repeat: no-repeat; /* Prevents image tiling */
min-height: 500px; /* Sets the height of the header */
text-align: center; /* Centers the text */
color: white; /* Ensures text is visible */
display: flex; /* Centers content vertically and horizontally */
align-items: center;
justify-content: center;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Adds subtle shadow for better readability */
}

header h1 {
font-weight: 300; /* Light font-weight */
font-family: 'Dekko', sans-serif;
font-size: 29px;
}

header p {
color: white; /* Muted text */
font-family: 'PT Serif', serif;
font-size: 16px;
}

  footer a {
    color: black; /* Muted text */
    font-family: 'PT Serif', serif;
    font: 16px;
  }
  
  footer h5 {
    font-family: 'Dekko', sans-serif;
    font-size: 22px; /* Adjust the size as needed */
    font-weight: bold;
  }
  
  footer p {
    color: black; /* Muted text */
    font-family: 'PT Serif', serif;
    font: 16px;
  }

  .site-section {
    padding: 50px 0;
    background-color: white;
  }
  
  .site-section p {
    margin-bottom: 20px;
    color: #555;
    font-family: 'PT Serif', serif;
    font-size: 16px;
  }
  
  .img-fluid {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
  }
  
@media (max-width: 480px) {
.site-section {
  padding: 30px 15px; /* Reduce padding */
}

.row {
  display: block; /* Stack items vertically */
}

.col-md-6,
.col-md-5 {
  width: 100%; /* Full width for columns */
  margin: 0;
  padding: 0;
}

.ml-auto,
.pl-md-5 {
  margin-left: 0;
  padding-left: 0; /* Remove extra spacing */
}

.site-section p {
  font-size: 14px; /* Smaller text for readability */
  line-height: 1.6; /* Increase line spacing */
}

.blyanter {
  display: block;
  margin: 0 auto 20px; /* Center align and add spacing below */
  max-width: 80%;
  height: auto; /* Maintain aspect ratio */
  font-family: 'Dekko', sans-serif;
}
}

  
  
  .container-values {
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between; /* Distribute space evenly */
    flex-wrap: wrap; /* Allow wrapping if necessary */
    width: 90%; /* Make the container bigger (90% of viewport width) */
    flex-direction: column; /* Stack elements vertically */
  align-items: center;    /* Center content horizontally */
  }
  
  .core-values {
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 10px;
  }
  
  .values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  .subtitle {
    margin-bottom: 20px;
    color: #555;
    font-family: 'PT Serif', serif;
    font-size: 16px;
    text-align: center;
  }
  
  .value-item {
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 1; /* Make items grow equally */
    max-width: 20%; /* Ensure 5 items fit in one line */
    text-align: center; /* Optional: center align content */
    box-sizing: border-box; /* Include padding/borders in width */
    padding: 10px; /* Add space around items */
  }
  
  .value-item:hover {
    transform: translateY(-10px);
  }
  
  .icon-value {
    display: inline-block; /* Ensures proper rendering */
    visibility: visible !important; /* Force visibility */
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
    font-size: 2.5rem;
    color: inherit; /* Ensure it takes the correct text color */
    line-height: 1; /* Prevent unnecessary spacing */
  }
  .value-title {
    font-weight: bold;
margin-bottom: 20px;
color: black;
font-family: 'Dekko', sans-serif;
font-size: 20px;
  }
  
  .value-description {
    margin-bottom: 20px;
    color: #555;
    font-family: 'PT Serif', serif;
    font-size: 16px;
    text-align: left;
  }
  
  .value-title {
    font-weight: bold;
margin-bottom: 20px;
color: black;
font-family: 'Dekko', sans-serif;
font-size: 20px;
  }
  
  .value-description {
    margin-bottom: 20px;
    color: #555;
    font-family: 'PT Serif', serif;
    font-size: 16px;
    text-align: left;
  }

@media (max-width: 480px) { /* Target small phone screens */
.values-list {
  display: block; /* Stack items vertically */
  width: 100%; /* Container takes full width */
  padding: 10px; /* Add padding around container */
}

.value-item {
  display: block; /* Ensure items stack */
  width: 90%; /* Use 90% of the screen width */
  max-width: 400px; /* Set a maximum width to prevent stretching */
  margin: 20px auto; /* Center items and add vertical spacing */
  padding: 20px; /* Internal padding for content */
  box-sizing: border-box; /* Ensure padding is included in width */
  background-color: #f9f9f9; /* Light background for contrast */
  border-radius: 8px; /* Rounded corners for aesthetics */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.value-title {
  font-size: 22px; /* Larger titles for readability */
  font-weight: bold;
  margin-bottom: 15px; /* Space below the title */
  text-align: center;
}

.value-description {
  font-size: 18px; /* Larger description font size */
  line-height: 1.6; /* Improved line spacing */
  text-align: center; /* Center-align descriptions */
}

.icon-value {
  font-size: 2.5rem; /* Ensure visibility on smaller screens */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
  visibility: visible !important;
}
}

.day-section {
padding: 30px 15px;
background-color: white;
}

.day-section h2 {
font-weight: bold;
margin-bottom: 15px;
color: black;
font-family: 'Dekko', sans-serif;
font-size: 18px;
}

.day-section p {
margin-bottom: 15px;
color: #555;
font-family: 'PT Serif', serif;
font-size: 16px;
}

@media (max-width: 480px) {
.day-section {
  padding: 20px 10px;
}

.day-section h2 {
  font-size: 22px;
}

.day-section p {
  font-size: 14px;
}

}

.activities-section {
padding: 40px;
background-color: white;
display: flex; /* Enable flexbox */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically (if needed) */
}

.activities-container {
display: flex;
justify-content: space-between; /* Space items evenly within the container */
flex-wrap: nowrap; /* Prevent wrapping */
gap: 100px; /* Space between items */
max-width: calc(500px * 2 + 20px); /* Width for two items and the gap */
width: 100%; /* Adjusts to fit the parent container */
}

.activity-item {
background-color: white;
border-radius: 8px;
overflow: hidden;
text-align: center;
flex: 0 0 500px; /* Fixed width for each item */
box-sizing: border-box;
}

.activity-item img {
width: 100%; /* Make images responsive */
height: 500px; /* Maintain aspect ratio */
object-fit: cover;
border-radius: 8px;
}

/* Responsive adjustments for phones */
@media (max-width: 480px) {
.activities-container {
  flex-wrap: wrap; /* Allow wrapping */
  gap: 20px; /* Reduce gap between items for small screens */
}

.activity-item {
  flex: 1 1 100%; /* Full width */
  width: 100%; /* Ensure the item spans the full container width */
  height: auto; /* Allow height to adjust dynamically */
}

.activity-item img {
  width: 100%; /* Make images adapt to container */
  height: auto; /* Maintain aspect ratio */
}

.activity-item h3 {
  font-size: 18px; /* Adjust font size for smaller screens */
}

.activity-item p {
  font-size: 14px; /* Adjust font size for smaller screens */
}
}


.activity-item h3 {
  font-weight: bold;
  margin-bottom: 20px;
  color: black;
  font-family: 'Dekko', sans-serif;
  font-size: 22px;
  text-align: center;
}

.activity-item p {
  text-align: center;
  margin-bottom: 20px;
  color: #555;
  font-family: 'PT Serif', serif;
  font-size: 16px;
}
/* Generel stil til containeren af galleriet */
/* Layout og stil for hver kolonne i galleriet */
.col-lg-4.col-sm-6 {
padding: 10px;
display: flex;
justify-content: center;
align-items: center;
}
.traditions-section {
padding: 50px 0;
background-color: white;
}
.traditions-section p {
margin-bottom: 20px;
color: #555;
font-family: 'PT Serif', serif;
font-size: 16px;
}
.traditions-section h4 {
font-weight: bold;
margin-bottom: 20px;
color: black;
font-family: 'Dekko', sans-serif;
font-size: 22px;
}

.service-item {
position: relative;
padding-left: 80px;
}
.service-item i {
position: absolute;
left: 0px;
top: 5px;
font-size: 50px;
opacity: .4;
}
.menu-container {
width: 90%;
max-width: 1200px;
margin: 20px auto;
padding: 20px;
}
.menu-container p {
margin-bottom: 20px;
color: #555;
font-family: 'PT Serif', serif;
font-size: 16px;
}
.aligned-list-numberless {
margin-left: 5px; /* Matches the container's padding */
padding-left: 0; /* Removes unnecessary inner padding */
list-style-position: inside; /* Aligns bullets with text */
margin-bottom: 20px;
color: #555;
font-family: 'PT Serif', serif;
font-size: 16px;
}
.aligned-list-numberless b {
margin-left: 5px; /* Matches the container's padding */
padding-left: 0; /* Removes unnecessary inner padding */
list-style-position: inside; /* Aligns bullets with text */
margin-bottom: 20px;
color: black;
font-family: 'PT Serif', serif;
font-size: 16px;
}
.aligned-list {
margin-left: 5px; /* Matches the container's padding */
padding-left: 0; /* Removes unnecessary inner padding */
list-style-position: inside; /* Aligns bullets with text */
list-style: none; /* Remove default numbering */
counter-reset: list-counter; /* Initialize counter */
}
.aligned-list li {
counter-increment: list-counter; /* Increment counter for each <li> */
margin-left: 0; /* Ensure alignment */
display: flex; /* Align numbers and text neatly */
align-items: baseline; /* Align text and numbers properly */
margin-bottom: 20px;
color: #555;
font-family: 'PT Serif', serif;
font-size: 16px;
}
.aligned-list li::before {
content: counter(list-counter) ". "; /* Add custom numbers */
font-weight: bold; /* Make numbers bold */
margin-right: 8px; /* Add spacing between number and text */
color: inherit; /* Inherit text color */
margin-bottom: 20px;
font-size: 22px;
font-family: 'Dekko', sans-serif;
}

.food-section h3 {
font-weight: bold;
margin-bottom: 20px;
color: black;
font-family: 'Dekko', sans-serif;
font-size: 22px;
}
/* Grid Layout */
.menu-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
/* Left Column */
.menu-item {
margin-bottom: 20px;
}
.item-title {
display: flex;
justify-content: space-between;
font-size: 22px;
font-weight: bold;
margin-bottom: 20px;
font-family: 'Dekko', sans-serif;
text-align: center;
}
.item-description {
margin-top: 5px;
margin-bottom: 20px;
color: #555;
font-family: 'PT Serif', serif;
font-size: 16px;
}
/* Right Column Image */
.circle-image {
display: flex;
justify-content: center;
align-items: center;
margin: 20px auto; /* Centers it horizontally with auto margins */
}
.circle-image img {
width: 300px;
height: 300px;
object-fit: cover;
border-radius: 50%;
}

.food-section b {
margin-bottom: 20px;
color: black;
font-family: 'PT Serif', serif;
font-size: 16px;
}

.food-section h3 {
font-size: 22px;
font-weight: bold;
margin-bottom: 20px;
font-family: 'Dekko', sans-serif;
text-align: center;
}

/* Responsive Design for Phone Screens (max-width: 480px) */
@media (max-width: 480px) {
.menu-container {
  width: 100%; /* Full-width for small screens */
  padding: 10px; /* Slightly larger padding for breathing space */
}

.menu-grid {
  display: block; /* Stack columns vertically */
}

.menu-left, .menu-right {
  margin-bottom: 20px; /* Spacing between sections */
}

.circle-image img {
  width: 180px; /* Larger image size */
  height: 180px;
}

.item-title, h3 {
  font-size: 22px; /* Larger font for headings */
  margin-bottom: 10px;
}

.menu-container p, 
.aligned-list li, 
.item-description, 
.aligned-list-numberless li {
  font-size: 14px; /* Bigger font size for body text */
  line-height: 1.5; /* Improve readability with more line spacing */
}

.aligned-list li::before {
  font-size: 18px; /* Bigger list counter */
}

.menu-item {
  margin-bottom: 15px; /* Maintain good spacing */
}

.circle-image {
  margin: 15px auto; /* Center image with enough margin */
}

/* Ensure list alignment */
.aligned-list, 
.aligned-list-numberless {
  padding-left: 10px;
  margin-left: 0;
}

.food-section h3 {
  font-weight: bold;
  margin-bottom: 15px; /* Adjusted margin */
  color: black;
  font-family: 'Dekko', sans-serif;
  font-size: 20px; /* New size for smaller screens */
}

.food-section b {
  margin-bottom: 20px;
  color: black;
  font-family: 'PT Serif', serif;
  font-size: 14px;
  }
}

.hand-drawn-line-blue {
background-image: url('./images/dotted-line-blå.svg'); /* Path to your SVG */
height: 10px;                /* Adjust height based on line style */
background-repeat: repeat-x; /* Repeat the pattern horizontally */
}
.hand-drawn-line-green {
background-image: url('./images/dotted-line-grøn.svg'); /* Path to your SVG */
height: 10px;                /* Adjust height based on line style */
background-repeat: repeat-x; /* Repeat the pattern horizontally */
}
.hand-drawn-line-yellow {
background-image: url('./images/dotted-line-gul.svg'); /* Path to your SVG */
height: 10px;                /* Adjust height based on line style */
background-repeat: repeat-x; /* Repeat the pattern horizontally */
}
.hand-drawn-line-red {
background-image: url('./images/dotted-line-rød.svg'); /* Path to your SVG */
height: 10px;                /* Adjust height based on line style */
background-repeat: repeat-x; /* Repeat the pattern horizontally */
}
.blyanter {
height: 70px; /* Matches the font size */
width: auto; /* Maintains aspect ratio */
align-content: center; /* Aligns image with the text baseline */
display: block; /* Makes the image behave like a block element */
margin: 0 auto; /* Horizontally centers the image */
}
