body {
    font-family: 'Inter', sans-serif;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.horizontal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 600px) {
    .horizontal {
        flex-direction: column;
        align-items: flex-start;
    }
}

canvas {
    width: 100% !important;
}

.container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    margin-bottom: 15px;
	flex: 1;
    box-sizing: border-box;
}


@media (max-width: 600px) {
    .container {
        border-radius: 0px;

    }
	
	.city-window {width:100%;height:100%}
}

h2 {
    text-align: left;
    margin-top: 0;
    font-size: 20px;
}

button {
    border: 0px solid #ccc;
    background-color: #F3F3F3;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    outline: none;
	font-size: 0.7em;
}

button:hover, button.active {
    background-color: #8FD3FF;
}

/* City window style */
.city-window {
    #width: 400px;
    #height: 300px;
    background-color: rgba(27, 87, 194, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    #justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
	box-sizing: border-box;
	
}
#today-main {line-height: 200px;}
.city-title {
    font-size: 2em;
    font-weight: 600; /* Semi-bold */
    margin-bottom: 10px;
}

.date-weather , .temp{
    font-size: 2.5em;
    margin-bottom: 20px;
}

.date-weather .date {
    margin-bottom: 5px;
}

.weather-info img {
    width: 150px;
    height: auto;
}

.temperature {
font-size: 5em;
    margin-top: 10px;
}

/* Today window style */
.today-window {
    width: 350px;
    height: 210px;
    background-color: rgba(27, 87, 194, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    #display: flex;
    flex-direction: column;
    #align-items: center;
    justify-content: center;
    color: white;
    #text-align: center;
    padding: 20px;
}
@media (max-width: 600px) {

.today-window {
	display:none;
	
}}


.today-title {
    font-size: 35px;
    background-color: #1B57C2;
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
	    display: inline-block; /* This ensures the background only covers the text */

}

.temp-info {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.location-country {
    font-size: 2em;
    font-weight: 600;}

/* Daily forecast */
.forecast-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.daily-forecast {
    background-color: #EEF8FF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    margin: 10px;
    #flex: 0 0 auto;
    width: 140px;
}

.daily-forecast .day {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.daily-forecast img {
    width: 80%;
    height: auto;
    margin-bottom: 8px;
}

.daily-forecast .temperature {
    font-size: 200px;
    font-weight: 600;
}

.temperature-max {
    font-size: 24px;
    font-weight: 500;
}

.temperature-min {
    font-size: 24px;
    font-weight: 500;
    color: #2a81f3;
}

.daily {
    justify-content: center;
    gap: 20px;
}

/* Current weather */
.weather-info {
    display: flex;
    justify-content: space-around;
}

.weather-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    margin-bottom: 20px;
}

.weather-item img {
    width: 50px;
    height: auto;
    margin-bottom: 8px;
}

.data-name {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #4A4C56;
    margin-bottom: 4px;
	    display: block;
}

.data-value {
    font-size: 1.8em;
    font-family: 'Inter', sans-serif;
    color: #07080B;
	   margin-bottom: 10px;
    font-weight: 200;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 600px) {
    .weather-info {
        justify-content: center;
        flex-wrap: wrap;
    }

    .weather-item {
        width: 32%;
    }
}

/* Air quality */
.aqi-display {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.aqi-score {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-right: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.aqi-info .aqi-level {
    font-size: 18px;
    color: #07080B;
    margin-bottom: 5px;
    font-weight: 500;
}

.aqi-info .aqi-max {
    font-size: 14px;
    color: #4A4C56;
}

.aqi-graph {
    width: 100%;
    height: 200px;
}

/* Weather map */
.main .container {
    display: flex;
    flex-direction: column;
}

header > div:nth-child(1){        flex-direction: row;}

.header-with-icon h2 {
    display: flex;
    align-items: center;
}

.icon-with-text {
    margin-left: 10px;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1B57C2;
	font-size: 0.6em;
	text-decoration:underline;
}

.map-placeholder {
    margin-top: 20px;
}
.footer {
  background-color: #fff;
  color: #000;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #ddd;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  margin-bottom: 20px;
  text-align: left;
}

.footer-column h3 {
  margin-bottom: 10px;
}

.footer-column a {
  color: #000;
  display: block;
  margin: 5px 0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #555;
}

.footer-copy {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  position: relative;
}

.footer-download {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.footer-download a img {
  width: 150px;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-column {
    margin-bottom: 0;
    flex: 1;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-download {
    position: static;
    transform: none;
    margin-top: 10px;
  }
}


.header {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    min-height: 580px;
    background-image: url('assets/bg.webp');
    background-size: cover;
    background-position: center;
}

h1 {
    font-size: 42px;
}

.header .logo h1 {
    font-size: 42px;
    color: #fff;
}

.header .search-bar input {
margin-top: 34px;
    padding: 8px 16px;
    font-size: 24px;
    border: 2px solid #ccc;
    border-radius: 12px;
    #min-width: 200px;
	box-sizing: border-box;
	    width: 100%; /* Allow input to take full width */

}

.main {
    margin-top: 30px;
}

/* Laptop and desktop screens */
@media (min-width: 601px) {
    .main {
        margin-left: 10%;
        margin-right: 10%;
    }
}

/* Mobile devices */
@media (max-width: 600px) {
    .main {
        margin-left: 0;
        margin-right: 0;
    }
}

#chartContainer {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


.chart{width: 100%;    margin-top: 20px;}
chart svg {
  width: 100%;
  height: auto;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

.iframe-container {
            position: relative;
            width: 100%;
            height: 100%;
        }
        iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        .iframe-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            cursor: pointer;
        }
        #map {
            width: 100%;
            height: 100%;
        }
        #controls {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 1000;
            background: white;
            padding: 10px;
            border-radius: 5px;
			}
			    .expand-icon-container {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(27, 87, 194, 0.7);
            border-radius: 8px;
            padding: 8px;
            cursor: pointer;
        }
        .expand-icon-container img {
            width: 36px;
            height: 36px;
        }
		
.svg-container {
  display: inline-block;
  position: relative;
  width: 100%;
  padding-bottom: 30%; /* Adjusted aspect ratio */
  vertical-align: top;
  overflow: hidden;
}

.svg-content-responsive {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}

.data-unit{    font-size: 0.8em;
    margin-left: 2px;}

h3{    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.3em
	 }
	.weather{font-size:0.8em;} 
	