@import "font.css";
@import "common.css";
@import "current.css";


.weather__today {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-right: 25px;
    justify-content: space-between;
    margin-bottom: 20px;
}


.weather__current {

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.weather__city {
    font-size: 45px;
    font-weight: 600;
    margin: 20px 0;
    text-align: center;
}

.weather__day {
    font-size: 35px;
    margin: 10px 0;
    font-weight: 400;
    flex-wrap: wrap;
    text-align: center;
}

.weather__description {
    display: flex;
    justify-content: center;
}

.temperature__current {
    display: flex;
    flex-direction: column;
    font-size: 30px;
}

.weather__temperaturevalue {
    font-size: 50px;
    margin: 0px !important;
}

.weather__temperaturevalue::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__temperaturevalue::before {
    background-image: url('../assets/images/temperature.png');
}


.maxmin__temrerature  {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.sunrisesunset__hour  {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.temperature__description {
    color: rgba(231,154,34,1);
    font-size: 40px;
    margin-top: 0;
}

.weather__indicator {
    font-size: 30px;
}
.weather__indicator::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__indicator--humidity::before {
    background-image: url('../assets/images/humidity.png');
}

.weather__indicator--wind::before {
    background-image: url('../assets/images/wind.png');
}

.weather__indicator--pressure::before {
    background-image: url('../assets/images/pressure.png');
}

.weather__temperature {
    font-size: 45px;
    text-align: center;
    margin-top: 25px;
}

.weather__forecast , .weather__hourly, .weather__minutely {
    width: 99%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 30px;
}

.weather__forecast__icon {
    max-width: 50%;
}

.weather__forecast__item {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 10px 10px;
    padding: 15px 5px 15px;
    box-sizing: border-box;
    min-width: 280px;
    width: calc(100% - 20px);
    flex-grow: 1;
}

#errormessage {
    color: red;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 5px;
}

.error {
    display: none;
}

.weather__forecast__maxtemperature::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__forecast__maxtemperature::before {
    background-image: url('../assets/images/threeqarters.png');
}

.weather__forecast__mintemperature::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__forecast__mintemperature::before {
    background-image: url('../assets/images/empty.png');
    color: cornflowerblue;
}

.weather__forecast__sunrise::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__forecast__sunrise::before {
    background-image: url('../assets/images/icons8-sunrise-48.png');
    color: cornflowerblue;
}

.weather__forecast__sunset::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__forecast__sunset::before {
    background-image: url('../assets/images/icons8-sunset-48.png');
    color: cornflowerblue;
}

.weather__forecast__day {
    font-size: 35px;
}

.item__temperature{
    display: flex;
    justify-content: space-around;
}

.item__sunhours{
    display: flex;
    justify-content: space-around;
}

.weather__feelsliketemperature::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__feelsliketemperature::before {
    background-image: url('../assets/images/temperature (1).png');
}

.weather__temperaturevalue {
    text-align: center;
}

.weather__maxtemperature::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__maxtemperature::before {
    background-image: url('../assets/images/threeqarters.png');
}

.weather__mintemperature::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__mintemperature::before {
    background-image: url('../assets/images/empty.png');
    color: cornflowerblue;
}

.weather__sunrise::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__sunrise::before {
    background-image: url('../assets/images/icons8-sunrise-48.png');
    color: cornflowerblue;
}

.weather__sunset::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__sunset::before {
    background-image: url('../assets/images/icons8-sunset-48.png');
    color: cornflowerblue;
}

/* CSS */

.buttoncurrent::after {
    content: "Now";
    text-indent: 0;
    display: block;
    line-height: initial; /* New content takes up original line height */
}


.button48H::after {
    content: "48 Hour Forecast";
    text-indent: 0;
    display: block;
    line-height: initial; /* New content takes up original line height */
}

.button1H::after {
    content: "1 Hour Forecast";
    text-indent: 0;
    display: block;
    line-height: initial; /* New content takes up original line height */
}

.button5d::after {
    content: "8 Day forecast";
    text-indent: 0;
    display: block;
    line-height: initial; /* New content takes up original line height */
}


.button {
    appearance: none;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 15px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 40px;
    min-width: 100px;
    outline: none;
    padding: 10px 5px;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform;
    cursor: pointer;
    text-indent: -9999px;
    line-height: 0; /* Collapse the original line */
}

.weather__forecast__moonrise::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__forecast__moonrise::before {
    background-image: url('../assets/images/icons8-moonrise-48.png');
}

.weather__forecast__moonset::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.weather__forecast__moonset::before {
    background-image: url('../assets/images/icons8-moonset-48.png');
}


.roll__down__arrow__div {
    width: 100%;
    height: 25px;
    position: relative;
}

.roll__icon {
    position: absolute;
    top:1px;
    right: 5px;
    background-color: #fff;
    width: 32px;
    cursor:pointer;
}

.roll__up__arrow__div {
    width: 100%;
    height: 25px;
    position: relative;
}

.additional__temp, .additional__moon {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.additional_temp_title__div, .additional__moon__title__div {
    text-align: left;
}

.additional_temp_title, .additional__moon__title {
    background-color: #fff;
    color: black;
    justify-items: left;
    padding-left: 5px;
    display: inline;
}

.all__day_temp__childDiv  {
    padding-left: 5px;
}

.all__day_temp {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
