/* Retro Windows 95 style basic reset and style */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;

}
.splink:link{color: blue;
  text-decoration: none;
}
.splink:visited{color: blue;
  text-decoration: none;
}
.splink:hover{color: purple;
  text-decoration: underline;
} 

/* Ensure the body takes up the full height of the viewport */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: black;
  font-size: 18px;
  line-height:1.5;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


header {
  position: fixed;
  width: 100%;
  border-bottom: 2px solid black;
    z-index: 9999;

}
main {
  flex-grow: 1;
  margin-top: 50px; /* Match the height of the fixed header */
  padding: 10px;
  background: #e0e0e0;
  border: 2px solid #808080;
  box-shadow: inset 1px 1px 1px #fff, inset -1px -1px 1px #404040;
}
.logo {
  font-weight: bold;
  font-size: 28px;
  color: navy;
  text-shadow: 1px 1px 0 white;
  letter-spacing: 1px;
  
}
nav{
  background: linear-gradient(to top, #c0c0c0 0%, #808080 100%);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #404040;
}
nav ul{

  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
}
nav a:hover{
  background-color: #2929297c;
}
nav li:first-child{
  margin-right: auto;
}
nav a.sideactive:not(.logo) {
  color: white !important;
  background-color: #2929297c;
  outline: 2px solid black;
  transition: background-color 0.3s, color 0.3s;
}
.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.sidebar.active {
  transform: translateX(0);
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
  color: black;
}
.sidebar a:hover{
  background-color: #2929297c;
}
.sidebar a.active {
  background-color: #2929297c;
   color: white;
}
.menu-button{
  display: none;
}
.section-highlight {
  animation: highlight-fade 1.5s ease-out;
}

@keyframes highlight-fade {
  0% {
    background-color: lightskyblue;
  }
  100% {
    background-color: transparent;
  }
}
.privacycss div {
  padding-left: 10px;
  margin-bottom: 10px ;
}
.privacycss div p {
  padding-left: 15px;
  margin-bottom: 10px ;
}
.privacycss div h2 {
  /* Respect Reading Settings: inherit font and scale relative to main */
  font-family: inherit;
  font-size: 1.25em;
  line-height: 1.2;
  margin-bottom: 10px;
  transition: font-size 150ms ease-in-out;
}
.privacycss div ul {
  padding-left: 20px;
}
.privacycss h1 {
  /* Respect Reading Settings: inherit font and scale relative to main */
  font-family: inherit;
  font-size: 1.5em;
  line-height: 1.2;
  margin-bottom: 20px;
  transition: font-size 150ms ease-in-out;
}
footer {
  background: linear-gradient(to top, #3a3939  0%, #3a3939 100%);
  color: white;
  text-align: center;
  padding: 1px 2px 2px;
}

.socials-container {
  display: flex;
  gap: 14px;
  padding: 1em;
  justify-content: center;
}

.socials-container a {
  background-color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: background-color 0.3s;
}

.socials-container a svg {
  height: 20px;
  width: 20px;
}

.socials-container a::before {
  content: attr(data-social);
  position: absolute;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  padding: 0.3em 0.7em;
  font-size: 0.75rem;
  border-radius: 100px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-26px) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
}

.socials-container a:hover {
  background-color: var(--accent-color);
  fill: white;
}

.socials-container a::after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--accent-color);
  transform: translateY(0) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
}

.socials-container a:hover::before {
  transform: translateY(-52px) rotate(0);
  opacity: 1;
}

.socials-container a:hover::after {
  transform: translateY(-32px) rotate(0);
  opacity: 1;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav li {
  margin: 0 15px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #aaa;
}

footer p {
 font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

footer span {
  font-weight: bold;
  color: #bbb;
}
section {
  padding: 20px;
}
@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}
@media(max-width: 400px){
  .sidebar{
      width: 250px;
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .socials-container {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0.8em;
  }

  .socials-container a {
    width: 40px;
    height: 40px;
  }

  .socials-container a svg {
    height: 18px;
    width: 18px;
  }

  .socials-container a::before {
    font-size: 0.65rem;
    padding: 0.25em 0.6em;
    transform: translateY(-22px) rotate(25deg);
  }

  .socials-container a:hover::before {
    transform: translateY(-45px) rotate(0);
  }

  .socials-container a::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--accent-color);
  }

  .socials-container a:hover::after {
    transform: translateY(-28px) rotate(0);
  }
}
