*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    display: flex;
}
.logo{
    position: fixed;
    top: 0;
    left: 0;
    height: 90px;
    width: 100px;
    z-index: 1;
}

.box nav {
    width: 100%;
    height: 90px; /* reduces photo/video w/ no scrollbar */
    position: fixed; /* absolute */
    padding: 20px 8%;
    align-items: center;
    justify-content: space-between;
    background-color: #ccc;
} 
.box nav ul{
    width: 100%;
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.box nav ul li{
    display: inline-block;
    margin-left: auto; /*300px;*/ /* Spreads the top links */
}

.box nav ul li a{
    text-decoration: none;
    margin: 10px 10px;
    padding: 10px 10px;
    color: #000;
    font-size: 24px;   
}

.box nav ul li a.active{
    text-decoration-line: underline; 
    text-decoration-color: rgb(0, 123, 255); 
    text-decoration-thickness: 8px; 
    border-radius: 3px;
    /*background-color: #009999; */
}

h1{
    margin-top: 160px; 
    margin-left: 90px;
    padding: 16px;
    color: blue;
}

.hamburger-menu{
    visibility: collapse;
}
.sidebar {
    visibility: collapse;
}

p{
    margin-left: 31.7%; padding: 8px; word-spacing: 2px; font-size: 24px; color: blue;
}

.flagVid{
 
    position: fixed;  /* absolute */
    
    /* top: 90px; */
    right: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}
.menu2 {
    position: fixed; /* absolute */
    
    right: 2%;/* left: 84%; */
    bottom: 2%;
  }

  .menu2 ul {
    list-style: none;
  }

  .menu2 ul li{
    color: #fff;
  }

.menu2 ul li a{
    color: #fff;
    text-decoration: none;
}


@media (max-width: 810px) {

    .box nav {
        visibility: collapse;
    }
    .logo {
        visibility: collapse;
    }

    .sidebar {
        visibility: visible;
    }

    .hamburger-menu{
      visibility: visible;
    }
  
  .menu2 ul li a{
      color: red;
      text-decoration: none;
  } 
           
            *,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  margin: 0;
}

:root {
  --bar-width: 60px;
  --bar-height: 8px;
  --hamburger-gap: 6px;
  /*--foreground: #333;
  --background: white; */
  --foreground: red;
  --background: blue;
  --hamburger-margin: 8px;
  --animation-timing: 200ms ease-in-out;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}

.hamburger-menu {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);

  display: flex;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: max-content;
  position: absolute;
  top: var(--hamburger-margin);
  left: var(--hamburger-margin);
  z-index: 2;
  cursor: pointer;
  /*border: 1px solid black;*/
}

.hamburger-menu:has(input:checked) {
 /*  --foreground: white;
  --background: #333; */
  --foreground: #333;
  --background: white;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid var(--background);
  box-shadow: 0 0 0 1px var(--foreground);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  background-color: var(--foreground);
  border-radius: 9999px;
  transform-origin: left center;
  transition: opacity var(--animation-timing), width var(--animation-timing),
    rotate var(--animation-timing), translate var(--animation-timing),
    background-color var(--animation-timing);
}

.hamburger-menu input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}

.sidebar {
  transition: translate var(--animation-timing);
  translate: -100%;
  padding: 0.5rem 1rem;
  padding-top: calc(var(--hamburger-height) + var(--hamburger-margin) + 1rem);
  background-color: #fff;
  color: var(--background);
  max-width: 6.7rem;
  max-height: 20vh;
  border-radius: 0 25px;
  border: 1px solid black;
  
}
.sidebar a{
  text-decoration: none;
}

.sidebar a.active{
  border: 2px solid red;
  text-decoration:none;
}

.hamburger-menu:has(input:checked) + .sidebar {
  translate: 0;
}

}

@media (max-width: 560px) {
  h1{
    width: 390px;
    margin-top: 200px; 
    margin-left: -10px;
    padding: 16px;
    color: blue;
}
  p{
    margin-left: 14.7%; padding: 8px; word-spacing: 2px; font-size: 24px; color: blue;
    
}

}
/*
@media (min-aspect-ratio: 16/9) {
    .flagVid {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .flagVid {
        width: auto;
        height: 100%;
    }
} */