
*{
    box-sizing: border-box;
    margin:0;
    padding:0;
}

#sub {
    /*background-image: url('../img/background_summer.png');*/
	/* background-image: url('../img/background_winter2.jpg'); */
    /* background-image: url('../img/background_fall.png'); */
	/* background-image: url('../img/waldspaziergang.JPEG');  */
	/*background-image: url('../img/background_winter3.JPG');*/
	background-image: url('../img/background_fruehling.JPG');
    background-repeat: no-repeat;
    background-size:cover;
    height: 100vh;
    position: relative;
    color:white;
}

#main {
	/* background-image: url('../img/background_summer.png'); */
	/* background-image: url('../img/background_winter2.jpg'); */
	/* background-image: url('../img/waldspaziergang.JPEG'); */
	/*background-image: url('../img/background_winter3.JPG');*/
	background-image: url('../img/background_fruehling.JPG');
    background-repeat: no-repeat;
    background-size:cover;
    height: 100vh;
    padding: 20px 100px;
    color:white;
}

.layer {
    background-color: rgba(24,24,27,0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#minMaxAvg {
    display: flex;
    align-items: center;
}

.minMaxAvgForm {
    position: absolute; 
    left: 55%; 
    top: 50%; 
    -webkit-transform: translate(-50%, -50%); 
    transform: translate(-50%, -50%);
}

.made-by {
    margin: 0.5em;
}

.current-info{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.date-container{
    font-weight: 100;
}
.date-container .time{
    font-size: 70px;
    color: black;
	font-weight: 400; /* Uhrzeit */
}

.date-container #am-pm{
    font-size: 30px;
    margin-left: 20px;
}

.date-container .date{
    font-size: 30px;
    color: black;
	/*text-shadow: white 2px 2px;*/
	font-weight: 400; /* Datum */
}

.place-container{
    text-align: end;
}

.place-container .time-zone {
    font-size: 30px;
    font-weight: 400; /* Link zur Gutenbrunn Webseite */
    text-decoration: none;
    color: black !important;
}

.place-container .country{
    font-size: 12px;
    font-weight: 700;
}

.current-info .others {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(24,24,27, 0.6);
    border-radius: 10px;
    margin: 10px 0;
    border: 1px solid #eee;
}

.current-info .others .weather-item{
    display: flex;
    justify-content: space-between;
}


.future-forecast{
    background: rgba(24,24,27,0.8);
    padding: 15px 0x 15px 0;
    padding-top: 15px;
    padding-bottom: 15px;
    position: absolute;
    bottom: 0;
    display: flex;
    color:white;
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
}

.future-forecast .today {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 10px;
    padding:15px;
    padding-right: 40px;
    border-radius: 10px;
    background: rgba(0,0,0,0.2)
}

.future-forecast .today .day{
    padding: 5px 15px;
    background: #3c3c44;
    border-radius: 50px;
    text-align: center;
}

.future-forecast .today .temp{
    font-size: 18px;
    padding-top: 15px;
}

.future-forecast .weather-forecast{
    display: flex;
}

.weather-forecast .weather-forecast-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    width: 120px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    background: rgba(0,0,0,0.2)
}

.weather-forecast .weather-forecast-item .day{
    padding: 5px 15px;
    background: #3C3C44;
    border-radius: 50px;
    text-align: center;
}

.weather-forecast .weather-forecast-item .temp{
    font-weight: 100;
    font-size: 14px;
}

.weather-forecast .weather-forecast-item:hover {
    cursor: pointer;
}

.weather-icon {
    width: 40px;
    height: auto;
}

.w-icon {
    width: 60px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

a {
    color:  #fff !important;
}

a:hover {
    text-shadow: 1px 1px #ffffff;
}

.freepik {
    font-size: 8px;
}

@media only screen and  (max-width:730px) {
    .main {
        padding: 20px;
    }

    #main {
        padding: 20px 50px;
    }

    .future-forecast{
        justify-content: start;
        align-items: none;
    }

    .future-forecast .today .temp{
        width: 20vw;
        font-size: 16px;
    }

    .date-container .time{
        font-size: 50px;
    }

    .date-container #am-pm{
        font-size: 20px;
    }

    .date-container .date{
        font-size: 20px;
    }

    .place-container{
        text-align: end;
        margin-top: 15px;
    }

    .place-container .time-zone{
        font-size: 20px;
    }

    .current-info .others{
        padding: 12px;
        font-size: 15px;
        width: 250px;
        padding-right: 10px;
    }

    .current-info .others .weather-item{
        font-size: 14px;
        margin-right: 0;
    }

    .current-info .others .row{
        margin-right: 0;
    }

    .minMaxAvgForm {
        position: relative; 
        left: 50%; 
        top: 20%; 
        -webkit-transform: translate(-50%, -50%); 
        transform: translate(-50%, -50%);
    }
}

@media only screen and (min-height: 491px) and (max-height: 730px) {
   #main {
        padding: 20px 25px;
    }

    .future-forecast {
        max-height: 160px;
    }

    .weather-forecast .weather-forecast-item{
        margin: 5px;
        padding: 5px;
        width: 150px;
        height: 50vh;
        max-height: 140px;
    }

    .w-icon {
        margin-top: 10px;
    }

    .weather-forecast .w-icon {
        height: 50vh;
        max-height: 35px;
        width: auto;
    }

    .weather-forecast .weather-forecast-item .day {
        height: 28px;
        font-size: 14px;
        text-align: center;
    }

    .current-info .others{
        padding: 12px;
        padding-right: 0;
        padding-right: 10px;
    }

    .current-info .others .row .col-8 {
        width: 60%;
    }

    .temp {
        font-size: 14px !important;
    }
}

@media only screen and (max-height: 572px) {
   #main {
        padding: 5px 10px !important;
    }

    .future-forecast{
        max-height: 140px;
    }

    .weather-forecast .weather-forecast-item{
        margin: 5px;
        width: 130px;
        padding: 5px;
        width: 120px;
        height: 50vh;
        max-height: 116px;
    }

    .w-icon {
        margin-top: 5px;
    }

    .weather-forecast .w-icon {
        height: 50vh;
        max-height: 30px;
        width: auto;
    }

    .weather-forecast .weather-forecast-item .day {
        height: 28px;
        font-size: 12px;
        text-align: center;
    }

    .current-info .others{
        padding: 12px;
        font-size: 13px;
        padding-right: 10px;
        max-height: 40vh;
        overflow-y: scroll;
    }

    .current-info .others .row .col-8 {
        width: 60%;
    }

    .temp {
        font-size: 12px !important;
    }

    .date-container {
        display: flex;
        flex-direction: row;
    }

    .weather-icon {
        width: 20px;
        height: auto;
    }
    .date-container .time{
        font-size: 30px;
    }

    .date-container .date{
        font-size: 15px;
    }

    .date-values {
       margin-right: 10px; 
    }

    .minMaxAvgForm {
        position: relative; 
        left: 50%; 
        top: 20%; 
        -webkit-transform: translate(-50%, -50%); 
        transform: translate(-50%, -50%);
    }

}

@media only screen and (max-width:  380px) and (max-height: 572px) {
    .weather-forecast .weather-forecast-item .day {
        height: 28px;
        font-size: 12px;
        text-align: center;
    }


    .date-container {
        display: flex;
        flex-direction: column;
    }

    .current-info .others{
        padding: 12px;
        padding-right: 0;
        font-size: 13px;
        padding-right: 10px;

    }

    .minMaxAvgForm {
        position: absolute; 
        left: 50%; 
        top: 20%; 
        -webkit-transform: translate(-50%, -50%); 
        transform: translate(-50%, -50%);
    }
}


@media only screen and (max-height: 320px) {
    .future-forecast {
        display: none;
    }

    .date-container {
        display: flex;
        flex-direction: row;
    }

    .current-info .others{
        max-height: 80vh;
        max-width: 60vw;
        overflow-y: scroll;
    }

    .minMaxAvgForm {
        position: relative; 
        left: 50%; 
        top: 20%; 
        -webkit-transform: translate(-50%, -50%); 
        transform: translate(-50%, -50%);
    }
}

@media only screen and (max-width: 235px) {

    .current-info .others{
        max-height: 50vh;
        max-width: 70vw;
        overflow-x: scroll;
    }

    .date-container {
        display: flex;
        flex-direction: column;
    }

    .minMaxAvgForm {
        position: relative; 
        left: 50%; 
        top: 20%; 
        -webkit-transform: translate(-50%, -50%); 
        transform: translate(-50%, -50%);
    }
}

@media only screen and (max-width: 300px) {
    #main {
        padding: 7px 10px;
    }

    .minMaxAvgForm {
        position: relative; 
        left: 50%; 
        top: 20%; 
        -webkit-transform: translate(-50%, -50%); 
        transform: translate(-50%, -50%);
    }
}


/* Medienabfrage für Smartphones */
@media (max-width: 768px) {
  /* Modal im #temperaturChangeModal auf Smartphones höher machen */
  #temperaturChangeModal {
    height: 500px !important; /* Beispiel für eine höhere Modal-Höhe */
  }

  /* Line-Chart innerhalb von #temperaturChangeModal auf Smartphones höher machen */
  #temperaturChangeModal canvas {
    height: 350px !important; /* Beispiel für eine höhere Chart-Höhe */
  }
}

  