.topnav {
    top:0;
    width: 100%;
    z-index: 99999999999;
    overflow: hidden;
    background-color: transparent;               
    box-shadow: none;                             
    border-bottom: 1px solid rgb(255, 255, 255);
    transition: background-color 500ms ease, box-shadow 500ms ease, color 500ms ease;
}

@media (min-width: 600px){
  .topnav{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .HomePage2{
    display: none;
  }
}

.topnav.scrolled {
    background-color: rgb(25, 25, 25);
    box-shadow: 0 0.5px 10px #ffffff;
    border: none;
}

.topnav a{
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 25px;
    margin: 10px 0 10px 30px;
    font-weight:500;
    letter-spacing: 3px;
    font-family: helvetica, arial;
    transition: 300ms;
}

.topnav a:hover{
  transform: scale(1.01);
}
.topnav a:hover:not(.english){
    color: #ffffff;
}
.topnav .english:hover{
    color: white;
}

.topnav .icon {
  display: none;
}


footer{
    width: 100%;
    height: 50px;
    box-shadow: 0 0.5px 10px rgb(101, 101, 101);
    gap: 15px;
    display: flex;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
    background-color: black;
}

footer a{
    text-decoration: none;
    color: white;
    margin-left: 10px;
    text-align: center;
    box-shadow: none;
    transition: 300ms;
}

#menu-toggle {
  display: none;
}

/* hamburger */
.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* mobile dropdown panel */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  width: 100%;
  background-color: rgb(25, 25, 25);
  z-index: 999999999;
  flex-direction: column;
}

.mobile-menu a {
  padding: 16px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 3000px){
  .topnav{
    height: 85px;
  }
  .topnav a{
    font-size: 24px;
  }
}
@media (min-width: 1100px){
  .topnav{
    position:fixed;
  }
}
@media (max-width: 1100px){
  .topnav{
    background-color: rgb(25, 25, 25);
    box-shadow: 0 0.5px 10px #ffffff;
    border: none;
    position: sticky;
  }

  .topnav a{
    font-size: 20px;
    padding-left: 0;
  }
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a:first-child{font-weight: 500; font-size: 20px;}
  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav.responsive {position: sticky;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav a{
    float: left;
    display: block;
  }

  .topnav{
    align-items: left;
  }
}
