/*******************************************************************************
  * Pico CSS  - responsive nav
  * Grows vertically (mobile-first). Changes back to horizontal growth on higher
  * resolutions.
  *****************************************************************************/

  :where(menu, [role="menu"]),
  :where(menu, [role="menu"]) > [role="menuitem"] {
	  flex-direction: column;
	  position: relative;
  }
  
  @media (min-width: 576px) {
	  :where(menu, [role="menu"]),
	  :where(menu, [role="menu"]) > [role="menuitem"] {
		  flex-direction: row;
	  }
  }
  
  /*******************************************************************************
	  * Pure CSS burger menu
	  * Styles a parent + checkbox to look like 3 stacked lines when unchecked and
	  * as a cross when checked. Includes animations.
	  *****************************************************************************/
  
  [data-role="burger"] {
	  opacity: 0.8;
	cursor: pointer;
	border-radius: 10%;
	box-sizing: border-box;
	background-color: transparent;
	height: 24px;
	width: 28px;
	padding: 0;
	  margin: 0;
	border: 0 solid #e7edf2;
  }
  
  [data-role="burger"] > input[type="checkbox"] {
	  height: 4px;
	width: 28px;
	  border: none;
	background-color: #e7edf2;
	transition: all 0.2s ease-in-out;
	box-shadow: 0 0 4px 0 #161724;
	  position: relative;
	  margin-inline: 0;
  }
  
  [data-role="burger"] > input[type="checkbox"]:checked {
	  background-image: none;
	  background-color: transparent;
  }
  
  [data-role="burger"] > input[type="checkbox"]::before, [data-role="burger"] > input[type="checkbox"]::after {
	  height: 4px;
	width: 28px;
	border-radius: 2px;
	  background-color: #e7edf2;
	position: absolute;
	content: "";
	transition: all 0.2s ease-in-out;
	box-shadow: 0 0 4px 0 #161724;
  }
  
  [data-role="burger"] > input[type="checkbox"]::before {
	  top: -10px;
  }
  
  [data-role="burger"] > input[type="checkbox"]::after {
	  top: 10px;
  }
  
  [data-role="burger"] > input[type="checkbox"]:checked::before {
	box-shadow: none;
	transform: rotate(45deg) translate(7px, 7px);
  }
  
  [data-role="burger"] > input[type="checkbox"]:checked::after {
	box-shadow: none;
	transform: rotate(-45deg) translate(7px, -7px);
  }
  
  /*******************************************************************************
	* Pure CSS toggle
	* Uses a checkbox to trigger rules and show/hide related elements.
	*****************************************************************************/
  
  /* adjust menu for toggling */
  :where(menu, [role="menu"]) {
	  position: relative; /* anchor for children */
	  /* needed otherwise it grows to fit all its children */
	  max-height: calc(var(--pico-line-height) * 1em + var(--pico-nav-element-spacing-vertical)*2);
  }
  
  /* hide entries within menu */
  :where(menu, [role="menu"]) > [role="menuitem"] {
	visibility: hidden;
	opacity: 0;
	transition: all 0.2s ease-in-out;
	  position: relative;
	background-color: #EDFEFF;
  }
  
  /* show hidden items when burger is checked :D */
  :where(menu, [role="menu"]):has(> label > input[type="checkbox"]:checked) > [role="menuitem"] {
	visibility: visible;
	opacity: 1;
	  z-index: 9999;
  }
  
  /* position the menu button */
  :where(menu, [role="menu"]) > label {
	position: absolute;
	right: 0;
	top: var(--pico-nav-element-spacing-vertical);
	  padding: var(--pico-nav-element-spacing-vertical) var(--pico-nav-element-spacing-horizontal);
  }
  
  @media (min-width: 600px) {
	  /* hide menu button */
	:where(menu, nav[role="menu"]) > label {
	  display: none;
	}
  
		  /* show all elements */
	  :where(menu, [role="menu"]) > [role="menuitem"] {
		  visibility: visible;
	  	  opacity: 1;
		  display: flex;
		  top: unset;
	  }
  }

  body {
	background-color: #EDFEFF;
	font-size: 25px;
  }
  
  li {
	background-color: #edfeff;
  }

  li a {
	color: #161724;
  }

  img {
	width: 100%; 
	max-width: 600px; 
	height: auto; 
	display: block;
	margin: 0 auto; 
	border-radius: 25px;
	object-fit: cover;
}

.container {
	text-align: center;
	padding: 20px;
	margin: 20px 0;
	font-size: 25px;
}

.container.a {
	background-color: #CBFFA3;
	transform: rotate(1.5deg); 
	transform-origin: bottom center; 
	margin-top: -40px;
}

html {
	scroll-behavior: smooth; 
}
  

.container.b {
	background-color: #EAFFA4;
	border-radius: 5px;
}

/* Container C: full width with rotation and box-sizing */
.container.c {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin-bottom: 50 auto !important;
  box-sizing: border-box;
  transform: rotate(2deg);
}

/* Other container styles */
.container.d {
  background-color: #E5FFDF;
}

.active {
  background-color: #babfff;
}

/* Article and label styling */
article {
  background-color: rgb(255, 255, 255);
  color: black;
}

label {
  color: black;
}

article header {
  background-color: #ffffff;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgb(172, 172, 172);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #EDFEFF;
  border: 1px solid rgb(131, 131, 131);
  border-radius: 10px;
}

/* Video wrapper centers video with padding */
.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  width: 100%;
}

/* Video base styles */
.video {
  width: 100%;
  max-width: 1000px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  height: auto;
}

/* Mobile adjustments for video and wrapper */
@media (max-width: 600px) {
  .video {
    max-width: 95vw; 
    height: auto;
    border-radius: 10px; /* slightly smaller rounding on small screens */
  }

  .video-wrapper {
    padding: 0.4rem; 
  }
}


@media (max-width: 600px) {
  .contact-info {
    font-size: 18px;
    word-break: break-word; 
  }
}