/* General Reset and Box Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Body Styling */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #FAFAFA;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0; /*top left bottom right*/
}


/** Main Sections **/

/* NOSCRIPT */
.noscript-pp-object {
  width: 100%;
  border: none;
  height: 1600px; /* Ensure the height expands automatically */
  /*overflow: visible; /* Prevent internal scrolling */
}

/* Header Styling */
header {
  background: linear-gradient(135deg, #4CAF50, #00BCD4);
  color: white;
  text-align: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
}

header h1 {
  font-size: 2.5rem;
  margin-top: 2rem;
  text-align: center;
}

header p {
  font-size: 1.2rem;
}


/* Navigation Styling */
nav {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

nav a.active {
  font-weight: bold; /*on scroll - TODO: does this work?*/
}


/* Main Styling -> styles_main.css */


/* Footer Styling */
footer {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  line-height: 1.2rem;
  padding-top: 0.4rem;
  padding-bottom: max(6px, env(safe-area-inset-bottom, 20px));
  background: #F5F5F5;
  font-size: 0.8rem;
  border-top: 1px solid #ddd;
}

footer a {
	margin: 0.2rem;
  color: #FF9335;
  text-decoration: none;
  font-weight: 500;
}

footer a:focus {
  box-shadow: none;
  border: none;
  text-decoration: underline;
}

footer a:hover {
  box-shadow: none;
  border: none;
  text-decoration: underline;
}


/* Media Queries */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }
  footer {
    position: fixed;
  }
}
