@font-face {
    font-family: 'RobotoBold';
    src: url('Roboto-BoldCondensed.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    src: url('Roboto-Condensed.ttf') format('truetype');
}


body {
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}


header {
    background-color: #3D656F;
    color: #fff;
    text-align: center;
    padding-left: 20px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 60px;
}

footer {
    background-color: #3D656F;
    color: #fff;
    text-align: center;
    padding: 10px;
    height: 60px;
}


h1 {
    font-size: 2.0rem;
}

.h2nev {
	padding:5px;
	font-size: 1.3rem;
}

nav ul {
    background-color: #03a9f4;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    text-align: center;
}

nav ul li {
    margin: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Térkép */
#map {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border: 1px solid #ccc;
}

/* Adattáblázat */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}


th, td {
    padding: 3px;
    text-align: center;
}

th {
    background-color: #03a9f4;
    color: #fff;
}

/* Kapcsolat */
address {
    font-style: normal;
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        text-align: center;
    }
}

#popup {
    position: fixed;
    top: 0;
    right: -490px; /* Az eredeti pozíció jobb oldalon, de kívül az ablakon */
    width: 480px;
    height: 100%;
    z-index: 9999;
    overflow-y: scroll;
    transition: right 1s; /* Animáció a right tulajdonság változásához */
  }

#popup::-webkit-scrollbar {
      width: 5px;
    }

#popup::-webkit-scrollbar-thumb {
      background-color: #888;
    }

#popup::-webkit-scrollbar-thumb:hover {
      background-color: #555;
    }


  #closeButton {
    position: absolute;
    color: #ffffff;
    top: 5px;
    right: 23px;
    cursor: pointer;
  }

@media screen and (max-width: 767px) {
    #popup {
      right: 0; /* Alulról érkezik és betölti a képernyőt */
      bottom: -500%;
      width: 100%;
      height: 500px;
	transition: bottom 1s;
    }
  }

.weather-card {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    margin-top: 20px;
}

.data {
    text-align: center;
}

.name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.time, .temperature, .pressure, .humidity, .pm10, .pm25 {
    font-size: 18px;
    margin-bottom: 10px;
}


.icon i {
    font-size: 24px;
    margin-right: 10px;
}

.icon i.fa-smog {
    color: #555555;
}

.icon i.fa-smog:before {
    content: "PM ";
}

.icon i.fa-smog:after {
    content: " µg/m³";
}

.weather-table {
    width: 100%;
    background-color: #ffffff;
    border: 0px;
}

.left {
    text-align: left;
    padding: 5px 0;
}

.right {
    text-align: right;
    padding: 5px 0;
}

.atlag24cimke {
	width:50px;
	text-align:center;
	border: 1px solid white;
	border-radius: 5px;
}
.atlag24adat {
	width:50px;
	text-align:right;
	border: 1px solid white;
        border-radius: 5px;
}

.turkiz {
	text-align:center;
	background-color: #339F95;
	color: #ffffff;
	vertical-align: center;
	height: 30px;
	font-size: 20px;
}
.tablacimke {
	text-align:center;
	font-weight:bold;
}

.grafnegyzet {
	width: 370px;
	height: 120px;
	border: #339F95 1px solid;
	margin: 5px auto 0;
}

@media only screen and (max-width: 600px) {
	.grafnegyzet {
		margin-left:auto;
	}
}

#underpopup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 20px;
            background-color: yellow;
            color: black;
            font-size: 18px;
            border: 2px solid black;
            z-index: 1000;
}

#underclose {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
}


