body {
  user-select: none;
  background-color: black;
  margin: 0;
  padding: 0;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}


#flag {
  float: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
}

#flag1 {
  width: 15px;
  height: 5px;
  background-color: rgb(0, 87, 183);
}

#flag2 {
  width: 15px;
  height: 5px;
  background-color: rgb(255, 215, 0);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 35px;
  width: 100%;
  box-sizing: border-box;
  /* transition: 0.5s; */
  z-index: 10;
}

/* makes items in nav turn left-side */
header nav {
  float: right;
}

header nav ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

header nav ul li {
  list-style: none;
  float: left;
}

header a {
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-left: 15px;
  padding-bottom: 5px;
  position: relative;
  color: rgba(234, 128, 154, 1);
  /* color: rgba(236, 184, 136, 1); */
  text-decoration: none;
}

/* makes underline under elements in nav */

header a:hover {
  color: #dfdfdf;
}

header a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #dfdfdf;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

header a:hover::before {
  transform: scaleX(1);
}

/* selected page element */
nav li#selectedPage a {
  color: #dfdfdf;
}

nav li#selectedPage a::before {
  content: "";
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #dfdfdf;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

nav li:last-child > a {
  margin-right: 15px;
}

/* nav li:last-child > a::before,
nav li:last-child > a:hover::before,
nav li:last-child > a:focus::before {
    
} */



/* selected page element do this */

/* nav li#selectedPage a:hover {
  
} */

.sticky {
  background: #111;;
}

.menu_toggle {
  color: #dfdfdf;
  float: right;
  line-height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

/* toggle menu */

@media (max-width: 900px) {
  header {
    padding: 0 20px;
    transition: 0.2s;
    background: #1C1C1C;
  }

  .menu_toggle {
    display: block;
  }

  header nav {
    display: none;
    position: absolute;
    width: 100%;
    /* height: calc(100vh - 50px); */
    background: #1C1C1C;
    top: 50px;
    left: 0;
    transition: 0.2s;
  
  }

  nav li:last-child > a {
  margin-right: 0px;
}

  header nav.active {
    display:unset;
    transition: 0.2s;
  }
  
  header nav ul {
    display: block;
  }
  
  header nav ul li {
    float: none;
    height: 100%;
    display: flex;
  }

  header nav ul li a {
    text-align: center;
    width: 100%;
    padding: 0;
    margin-left: 0px;
    border-bottom: 2px solid rgba(71, 71, 71, 0.2);
  }

  #background {
    height: 420px;
  }

  footer {
    font-size: calc(10px + .95vw);
  }

}

/* footer */

footer {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  height: max-content;
  color: #dfdfdf;
  text-align: center;
  background-color: black;
  bottom: 0;
}

footer p {
  text-align: center;
  font-size: 16px;
}

footer a {
  color: rgba(234, 128, 154, 1);
  text-decoration: none;
}

footer a:hover {
  color: rgba(236, 184, 136, 1);
}


/* nav li#selectedPage a:after{ 
  content: ''; 
  position: absolute; 
  left: 0px; 
  bottom: -2px; 
  width:0px; 
  height: 2px; 
  background: #333; 
  transition: all 0.45s;
} */