@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #0056b3; 
    }

header a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

header a:hover {
    color: #ffd700;
}

.logo {
    height: 80px; 
    margin-right: 20px;
}

.nav-container {
    flex-grow: 1;
    display: flex;
    justify-content: center; 
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #444;
}

h1 {
    color: #0056b3;
    text-align: center;
}

.container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
#contrast-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color:  #ffd700;
    color: #1a0033;
    border: none;
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}


body.contrast {
    background-color: #1a0033 !important;
    color: #00ffd5 !important;
}

body.contrast header, body.contrast a {
    color: #ffd700 !important;
    background-color: #330066 !important;
}

body.contrast aside {
    background-color: #330066 !important;
}

body.contrast .container {
    background-color: #2b0057 !important;
    color: #00ffd5 !important;
}

body.contrast .weather-box {
    background-color: #330066 !important;
    color: #00ffd5 !important;
}
body.contrast .weather-temp {
    color: #00ffd5 !important;
}

body.contrast p {
    color: #00ffd5 !important;
}

body.contrast h1, body.contrast h2{
    color: #00ffd5 !important;
}

aside {
    position: fixed;
    left: 10px;
    width: 180px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px 8px;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

aside h3 {
    margin-top: 0;
    font-size: 16px;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li {
    margin-bottom: 10px;
}

aside ul li a {
    text-decoration: none;
    color: #0056b3;
}

aside ul li a:hover {
    text-decoration: none;
    color: #ffd700;
}

.weather-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.weather-icon {
    font-size: 20px;
}

.weather-temp {
    font-weight: bold;
    color: #0056b3;
}

@media (max-width: 768px) {
  .logo {
    display: block;
    margin: 0 auto;
  }

  header {
    flex-direction: column;
    align-items: center;
  }

  .nav-container {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 5px 0;
  }

  nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 5px 15px;
  }

  aside {
    position: static;
    width: auto;
    margin: 20px;
  }

  .container {
    margin: 20px;
    padding: 15px;
  }

  #contrast-toggle {
    top: 20px;
    right: 20px;
  }
}
