*{
  position: relative;
  font-size: 18px;
}
body{
  margin: 0;
}
.top-banner{
  background-color: rgb(255, 160, 0);
  position: fixed;
  display: block;
  height: 100px;
  width: 100%;
  box-shadow: 0px -7px 8px 10px black;
  z-index: 100;
  top: 0;
}
.top-banner-text{
  display: inline-block; 
  top: 40px; 
  left: 390px; 
  font-size: 24px; 
  font-weight: bold;
}
.default-button{
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-button{
  background-color: black;
  width: 30px;
  height: 3px;
  display: inline-block;
  position: absolute;
  left: 53px;
  top: 14px;
  transition: transform 0.5s;
  transform: translate(0, 0) rotate(0);
}
.menu-element{
  border-bottom: 2px solid black;
  text-decoration: none;
  color: black;
  height: 30px;
  background-color: rgb(255, 160, 0);
  transition: background-color 0.5s;
  line-height: 40px;
  cursor: pointer;
}
.menu-element:hover{
  background-color: rgb(209, 132, 0);
}
.submenu{
  padding-left: 20px;
  height: auto;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s, opacity 0.5s;
}
.submenu-active{
  max-height: 500px;
  opacity: 1;
}
div:has(> .submenu) > .menu-element > span{
  border: solid black;
  border-width: 0 3px 3px 0;
  width: 7px;
  height: 7px;
  display: inline-block;
  transition: transform 0.5s;
  transform: rotate(-45deg);
  transform-origin: 75% 75%;
  position: absolute;
  right: 40px;
  top: 8px;
}
div:has(> .submenu-active) > .menu-element > span{
  transform: rotate(45deg);
}
#top-banner-img{
  display: block;
}
#top-banner-img-small{
  display: none;
}

@media (max-width: 840px){
  .top-banner-text{
    display: none;
  }
}
@media (max-width: 510px){
  #top-banner-img{
    display: none;
  }
  #top-banner-img-small{
    display: block;
  }
}