* {
  box-sizing: border-box;
}

body{
  margin: 0%;
  padding: 0%;
}

.navbar {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  background-color: #062330;
  color: white;
  font-size: 20px;
  width: 100%;
}

h2[draggable]{
  color:red
}

.p1{
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  color: #0a1426;
  font-family: fangsong;
  border: 4px solid black;
  padding: 30px 30px;
  margin: 20px 30px;
}
h2 {
  color:rgb(21, 143, 58)
font-size: 2px;
}
.nav-list{
  height: 100%;
}

.nav-list{
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-list li a{
display: block;
text-decoration: none;
color: #29d5cb;

}

.nav-list li  {
  display: block;
  padding: 1rem;
  padding: 20px 10px;
}



.navbar a:hover {
  color: #d95615;
}

 img {
  width: 130px;
}

.toggle-button {
  position:absolute;
  top: .75rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

@media (max-width: 500px) {
  .toggle-button {
    display: flex;
  }

  .nav-list{
    display: none;*
    width: 100; 
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
  }
  .nav-list li {
    text-align: center;
  }

  .nav-list li a {
    padding: .5rem 1rem;
  }

  .nav-list.active {
    display: flex;
  }
}