@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');
.navbar {
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
      }

nav {
    width: 100%;
    height: 80px;
    background-color: hsl(266, 54%, 23%);
    display: flex;
    justify-content: space-evenly;
    z-index: 2;
  }
  
  .selected {
    background-color: hsl(273, 39%, 39%);
  }
  
  .nav-link {
    color: white;
    width: 20%;
    text-align: center;
    cursor: pointer;
  }
  
  .nav-link:hover {
    background-color: rgb(243, 236, 236);
    color: hsl(266, 54%, 23%);
  }
  
  i {
      margin-top: 25px;
  }

  #main {
    position: relative;
    /* vh is unit of measurement. 1vh is equal to 1% of viewport */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* "padding: 0px 20px" so the text doesn't touch edges of screen on smaller devices */
    padding: 80px 20px;
}

#video.container {
    position: absolute;
    /* Set in percentage instead of vh/vw because percentage will be relative to the container its in rather than the viewport */
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    margin-top: 80px;
    background-image: url("cover.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#content {
    z-index: 1;
    color: whitesmoke;
    text-align: center;
}
 
body {
    padding: 0;
    margin: 0;
    /* "box-sizing: border-box" includes padding/border when setting width/height */
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.5;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* "object-fit: cover" sets video to cover/fit the background size */
    object-fit: cover;
    z-index: -9999;
    filter: blur(1px);
    filter: brightness(40%);
}

a {
    /* "text-decoration: none" removes the underline from links */
    text-decoration: none;
    color: whitesmoke;
    font-weight: 800;
}