* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100%;
  height: 100vh;
  background: url(background.png) no-repeat;
  background-size: cover;
  background-position: center;
}

/* Navbar container */
.topnav {
  overflow: visible;
  background-color: #ffa703;
  font-family: Trebuchet MS;
  box-shadow: 1px 1px 9px grey;
  display: flex;
  justify-content: space-between;
  align-items: center; 
  padding: 10px 20px;/* Center items vertically */
  border-radius: 10px;
}

/* Links inside navbar */ 
.topnav .menu-links {
  display: flex;
  gap: 10px;
  color: #d51414;
}

.topnav a {
  display: inline-block;
  font-size: 16px;
  color: #d51414;
  text-align: center;
  padding: 10px;
  text-decoration: none;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown button */
.dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: #d51414;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffa703;
  min-width: 160px;
  box-shadow: 7px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 10px;
  box-shadow: 1px 1px 9px grey;
}

/* Links inside dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change color on hover */
.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: #03c8ff;
  border-radius: 50px;
}

/* Hide hamburger menu on desktop */
@media screen and (min-width: 601px) {
  #hamburgerMenu {
    display: none;
  }
}

/* Responsive navbar */
@media screen and (max-width: 600px) {
  .topnav .menu-links, .menu-icons {
    display: none;
  }

  .topnav.responsive .menu-links,
  .topnav.responsive .menu-icons {
    display: flex;
    flex-direction: column;
  }

  .topnav.responsive .dropdown-content {
    display: block;
  }

  /* Ensure top bar is visible */
  .topnav.responsive {
    display: flex;
    flex-direction: column; align-items: center; }.topnav.responsive .dropdown-content { position: relative; width: 100%; }.topnav.responsive .dropdown-content a { padding: 10px 15px; text-align: center; } }

button{
    width: 200px;
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border:2px solid #ff0303;
    background: #ffa703;
    color:#d51414;
    cursor:pointer;
    position: relative;
    overflow: hidden;
    
}
span{
    background: #d51414;
    height:100%;
    width:0;
    position: absolute;
    left: 0;
    bottom:0;
    z-index: -1;
    transition: 0.5s;
}
button:hover span{
    width: 100%
}
button:hover{
    border: none;
  }
