@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Hedvig+Letters+Serif:opsz@12..24&display=swap');
/* CSS Document */
* {box-sizing: border-box;
  font-family: 'Hedvig Letters Serif', serif;
}

header {
  background: linear-gradient(135deg, #1a237e, #0d47a1);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 50px;
  height: 50px;
}

.store-name {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.topnav {
  display: flex;
  align-items: center;
}

.topnav a {
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin: 0 5px;
}

.topnav a:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.topnav a.currently-active {
  background-color: rgba(255,255,255,0.3);
  font-weight: bold;
}

.topnav input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 20px;
  border: none;
}

@media (max-width: 760px) {
  .topnav{
    flex-direction: column;
    align-items: center;
    flex:1;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: -50px;
  }
  header img{
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px;
  }
  
  .logo-container {
    margin-bottom: 10px;
  }
  
  .topnav {
    flex-direction: column;
    width: 100%;
  }
  
  .topnav a {
    width: 100%;
    margin: 5px 0;
  }
  
  .store-name {
    font-size: 20px;
  }
}