* {
  box-sizing: border-box;
}

.header {
  position: absolute;
  top: 20px;
  right: 9px;
}

nav {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: rgba(219, 231, 215, 0.95);
  padding: 17px;
  font-size: 1.35rem;
  border-radius: 15px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.nav-item {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  top: 100%; 
  padding-top: 10px;
  margin-top: 10px;
  display: none;
  border-radius: 18px;
  position: absolute;
  background-color: rgba(231, 227, 215, 0.795);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
  font-size: 12px;
}

.dropdown-content a {
  margin-left: 10px;
  margin-bottom: 10px;
  color: #333;
  padding: 9px 2px;
  text-decoration: none;
  display: block;
}

.dropdown-content a::after {
  content: '';
  position: absolute;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #2255bd;
  transition: width 0.3s ease;
  width: 0;
}

.dropdown-content a:hover::after {
  width: 100%;
  height: 2px;
}

.nav-item:hover .dropdown-content {
  display: block;
}

nav a {
  color: #333;
  text-decoration: none;
  padding: 10px 15px;
  margin: 0 13px;
  font-weight: bold;
  border-radius: 8px;
  margin-top: -10px;
  margin-bottom: -10px;
  transition: all 0.3s ease; 
  display: inline-block;      
}

nav a:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(11, 126, 122, 0.4);
}

.logo {
  background-image: url('../../../../assets/img/logo.png');  
  position: absolute;
  top: 20px;
  left: 20px;
  width: 200px;
  height: 170px;  
  background-size: contain; 
  background-repeat: no-repeat;  
}