/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f8ff url('../images/background.jpg') repeat-x 0 0;
    background-size: auto 100%;
    color: #333;
}
/* Navigation Bar */
nav {
    background: linear-gradient(to right, #0072B5, #00A99D);
    padding: 15px;
    text-align: center;
    position: relative;
}
nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}
nav a:hover, .dropdown:hover .dropbtn {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
/* Dropdown Menu */
.dropdown {
    display: inline-block;
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background: #0072B5;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.dropdown-content a {
    color: white;
    padding: 10px;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background: #00A99D;
}
.dropdown:hover .dropdown-content {
    display: block;
}
/* Header */
header {
    background: #010204;
    color: white;
    text-align: center;
    padding: 10px 20px;
}

header h1 {
    margin: 0;
    font-size: 36px;
}
/* Main Content */
.container {
    max-width: 1168px;
    margin: 20px auto;
    padding: 20px;
    background: #e6f0f8;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #00A99D;
    transition: 0.3s;
}
.card:hover {
    background: #e0f5f5;
}
/* Footer */
footer {
    background: #0072B5;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 20px;
    margin-top: 20px;
}
/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 28px;
    }
    .container {
        padding: 15px;
    }
    .container-half {
        max-width: 100%;
  }
}
.notepad {
  background: #fffbe6;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
  padding: 15px;
  max-width: 600px;
  margin: auto;
}
.notepad textarea {
  width: 100%;
  height: 300px;
  border: none;
  background: transparent;
  resize: none;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
}
.notepad-controls {
  text-align: right;
  margin-top: 10px;
}
button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: white;
  cursor: pointer;
}
button:hover {
  background: #0056b3;
}
/* Side-by-side Container Support */
.container-group {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 20px auto;
}

.container-half {
  flex: 1;
  max-width: calc(50% - 10px);
  background: #e6f0f8;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.encryption-tools textarea,
.encryption-tools select,
.encryption-tools input[type="text"],
.encryption-tools button {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    font-size: 1em;
}
#resultBlock {
    background: #f4f4f4;
    border-left: 4px solid #2196F3;
    padding: 10px;
    margin-top: 20px;
}

.weather-form {
    text-align: center;
    margin-bottom: 20px;
}
.weather-form input[type="text"],
.weather-form select {
    width: 250px;
    padding: 8px;
    margin: 5px;
    font-size: 15px;
}
.weather-form button {
    padding: 8px 12px;
    font-size: 16px;
    background-color: #2196F3;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}
.weather-now-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 20px;
    margin: 10px auto 30px auto;
    max-width: 800px;
    background-color: #f0f8ff;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.weather-now-block .weather-icon img {
    width: 100px;
}
.weather-now-block .weather-details {
    font-size: 16px;
}
.forecast-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0 10px;
}
.forecast-day {
    background: #ffffff;
    border: 2px solid #2196F3;
    border-radius: 10px;
    padding: 12px;
    width: 230px;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
    text-align: center;
}
.forecast-day h4 {
    background: #2196F3;
    color: white;
    border-radius: 6px;
    padding: 6px 0;
    margin-bottom: 10px;
    font-size: 16px;
}
.forecast-hour {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0;
    gap: 5px;
    font-size: 13px;
}
.forecast-hour img {
    width: 28px;
    height: 28px;
}
.forecast-hour .hour-label {
    width: 40px;
    font-weight: bold;
}
.forecast-hour .temp {
    width: 50px;
    text-align: right;
}
.forecast-hour .desc {
    flex: 1;
    text-align: left;
    font-style: italic;
    color: #555;
}
.radar-container {
    margin: 20px auto;
    max-width: 100%;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .weather-now-block {
        flex-direction: column;
        text-align: center;
    }
    .forecast-day {
        width: 100%;
    }
}
@media (max-width: 600px) {
    .weather-now-block {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .weather-now-block .weather-icon img {
        width: 80px;
        height: auto;
    }

    .weather-form {
        flex-direction: column;
        gap: 10px;
    }

    .weather-form input[type="text"],
    .weather-form select,
    .weather-form button {
        width: 100% !important;
        max-width: 300px;
        margin: 6px auto;
    }

    .forecast-day {
        width: 100% !important;
        padding: 10px;
    }

    .forecast-hour {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }

    .forecast-hour .hour-label,
    .forecast-hour .temp,
    .forecast-hour .desc {
        text-align: center;
        width: 100% !important;
    }

    .forecast-hour img {
        width: 36px;
        height: 36px;
    }

    .radar-container iframe {
        width: 100% !important;
        height: 300px !important;
    }
}
spkrbody { 
    font-family: Arial; 
    margin: 40px; 
    text-align: center; 
}
spkrbutton { 
    font-size: 24px; 
    padding: 15px 30px; 
    margin: 20px; 
}
