/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  margin: 0px;
  background-image: url("img/background.webp");
  background-repeat: no-repeat;
  background-size: 200vw;
  background-position: center;
  background-attachment: fixed;
  background-color: rgb(100, 75, 200);
  color: black;
  font-family: Roboto, sans-serif;
  margin: 0px;

  @media screen and (orientation: portrait){
      background-size: 200vh;
    }
}

.background {
  margin: 0px;
  background-image: url("img/background.webp");
  background-repeat: no-repeat;
  background-size: 100vw;
  background-position: center;
  background-attachment: fixed;
  background-color: rgb(100, 75, 200);
  color: black;
  border-radius: 0px;
  font-family: Roboto, sans-serif;
}

.windowblur {
  h1 {text-align: center;
  font-size: 50px;
  }
  a:link {
    color: rgb(255, 255, 255);
    -webkit-text-stroke: 1px black;
    text-decoration: none;
  }
  a:visited {
    color: rgb(255, 255, 255);
    -webkit-text-stroke: 1px black;
    text-decoration: none;
  }
  margin: 10px;
  padding: 30px;
  border-radius: 15px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.5);
  background: rgba(22,22,22,0.33);
  backdrop-filter: blur(10px);
  color: rgb(255, 255, 255);
  font-family: Roboto, sans-serif;
  background-repeat: no-repeat;
  animation-name: mainFadeIn;
  animation-duration: 0.5s;
}

.topnavbar {
  h1 {text-align: center;
    font-size: 50px;
    line-height: 25px;
    @media screen and (max-width: 800px){
      font-size: 25px;
      line-height: 12px;
    }
  }
  img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    @media screen and (max-width: 800px){
      width: 35px;
      height: 35px;
      border-radius: 5px;
    }
  }
  a {
    color: white;
    padding: 10px 10px;
    text-decoration: none;
  }
  a:hover:not(.active) {
    background-color: rgba(100,75,200,0.5);
  }
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: rgba(22,22,22,0.33);
  overflow: hidden;
  padding: 0px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.5);
  
}

.imgfill {
    object-fit: cover;
    width: 100%;
  }

.imgicon {
  height: 2em;
  background-color: rgba(255,255,255,0.5);
  padding: 10px;
  border-radius: 5px;

}

.active {
  background-color: rgb(100, 75, 200);
}

li a:hover:not(.active) {
  background-color: #111;
}

@keyframes mainFadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}