/* Main CSS - Core layout and typography */

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  text-align: center;
  background-color: #000000;
  color: white;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  touch-action: pan-y; /* Allow vertical scrolling but handle horizontal swipes */
}

@media (min-width: 768px) {
  body {
    padding: 0;
  }
}

/* Header styles */
h1 {
  font-size: 24px;
  margin: 20px 0 10px 0;
  font-weight: 600;
  text-align: left;
  color: white;
  width: 100%;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

h1:hover {
  color: #a0aec0;
}

@media (max-width: 767px) {
  h1 {
    font-size: 20px;
    margin: 15px 0 8px 0;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .weather-section {
    padding: 0;
  }
}

img {
  max-width: 45%;
  margin: 4px;
  border-radius: 8px;
}

/* Weather layout components */
.weather-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  max-width: 1200px;
  position: relative;
  min-height: auto;
  height: auto;
  overflow: visible;
  padding: 0;
}

.weather-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  min-height: auto;
  height: auto;
  overflow: visible;
}

.weather-info {
  margin: 3px 0;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}

.status-text {
  font-size: 18px;
  padding-left: calc(0.5rem + 3px);
}
