/*--------------------------------------------------------
common CSS
---------------------------------------------------------*/
html,
body {
    height: 100%;

}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Oxygen', sans-serif;
    font-size: 1rem;
    background-image: url(../img/blurred-abstract-background_1980X1300_lightv1.jpg);
    background-size: cover;

}

h1 {
    font-size: 1.6rem;
}

header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #eff1f3;
    text-shadow: 1px 1px 1px black;
    height: 70px;
    width: 100%;
    padding: 0.5rem;
    background-color: rgb(10 105 130);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;

}

header a {
    color: #eff1f3;
    text-decoration: none;
}

.header_element {
    width: 30%;
}

#header_element_middle {
    text-align: center;
}

#header_element_right {
    text-align: right;
}

#email_logo,
#linkedin_logo,
#github_logo {
    height: 45px;
    max-width: 100%;
}


footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-size: 0.8rem;
    color: #eff1f3;
    height: 70px;
    width: 100%;
    padding: 0.5rem;
    background-color: rgb(10 105 130);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.main_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

/*--------------------------------------------------------
Home page
---------------------------------------------------------*/


.home article {
    width: 80%;
    max-width: 815px;
    margin-top: 2%;
    padding: 2.6rem;
    text-align: justify;
    font-size: 1.15rem;
    line-height: 1.8rem;
    border-radius: 5px 5px 20px 20px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.308);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

}

.home article span {
    color : rgb(10 105 130);
    font-weight: 700;
}

.home article a {
    color : rgb(0, 170, 212);
    /* color: rgb(220, 130, 15); */
    /* color: #E68856; */
    text-decoration: underline;
    font-weight: 700;
}

.home .article_title {
    text-align: center;
    font-weight: 700;
    color: rgb(10 105 130);
    margin-bottom: 1%;
}

.home html {
    background-color: #DBD3D8;

}

.home .floating_logo {
    position: absolute;
    width: 200px;

}

.home .node {
    position: absolute;
    top: 35%;
    left: 5%
}

.home .js {
    top: 35%;
    right: 5%
}


/*--------------------------------------------------------
Weather app
---------------------------------------------------------*/


.weatherapp {
    background-color: #DBD3D8;
}

.weatherapp .form {
    display: flex;
    flex-direction: column;
    color: #223843;
    width: 300px;
    height: 400px;
    padding: 30px;
    margin-top: 25px;
    border-radius: 10px 10px 10px 10px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.308);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

}

.weatherapp .form_select-wrapper_text,
.weatherapp .form_unit_text {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #223843;
}

.weatherapp .form_select-wrapper_text,
.weatherapp .form_unit_text,
.weatherapp .form_option_input {
    margin-bottom: 15px;

}

.weatherapp .form_option_container {
    display: flex;
    flex-direction: column;
    margin-bottom: 15%;

}

.weatherapp .form_select-wrapper_list {
    width: 100%;
    font-size: 1.2rem;
    background-color: #eff1f3;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.308);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

}

.weatherapp .button_weather_valid {
    text-align: center;
    height: auto;
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
    font-size: 1.2rem;
    color: rgb(10, 80, 90);
    border: solid;
    border-color: #223843;
    background-color: #00E5E8;
    background-blend-mode: hue;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.308);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

}

@media (hover: hover) {
    .weatherapp .button_weather_valid:hover,
    .weatherapp .button_weather_valid_again:hover {
        background-color: #E68856;
        color: #eff1f3;
    }

    .home header a:hover {
        color: #E68856;
    }

    .home article a:hover {
        color: red;
    }
}


/*--------------------------------------------------------
Weather info
---------------------------------------------------------*/


.weatherapp {
    background-color: #DBD3D8;
}

.weatherapp .main_info_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.6rem;
    color: #223843;
    width: 600px;
    height: auto;
    margin-top: 1%;
    margin-bottom: 1%;
    border-radius: 10px 10px 10px 10px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.308);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

}

.weatherapp .info_result_container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    width: 80%;
    padding-top: 2%;

}

.weatherapp .info_result_container_column {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;

}


.weatherapp .info_result_container_column img {
    width: 125px;
    height: 100px;
    object-fit: cover;
    align-self: center;
    padding-bottom: 1%;

}

.weatherapp .info_result_container_column_short {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 50%;
    text-align: center;
    
}

.weatherapp .info_result {
    margin-bottom: 5%;
}

.weatherapp .mini_info {
    font-size: 0.9rem;
    padding-bottom: 2%;

}

.weatherapp #temperature {
    color:#ffffff;
    text-shadow: 3px 3px 10px #223843;
    font-size: 6rem;
    padding-top: 2%;
    padding-bottom: 2%;

}

.weatherapp .info_result_container h2 {
    font-size: 1.8rem;

}

.weatherapp header h1 {
    text-align: center;
    font-size: 1.8rem;

}

.weatherapp header a {
    font-size: 0.8rem;

}

#valid_again {
    width:100%;

}

.weatherapp .button_weather_valid_again {
    text-align: center;
    height: auto;
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
    font-size: 1.2rem;
    color: rgb(12, 116, 137);
    background-color: #00e5e88f;
    background-blend-mode: hue;
    border-radius: 0px 0px 10px 10px;

}


/*--------------------------------------------------------
viewport tablet
---------------------------------------------------------*/


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

    .home article {
        width: 75%;
        padding: 2rem;
        font-size: 1rem;

    }

    header h1 {
        font-size: 1.2rem;
    }

    #header_element_right,
    #header_element_left {
        font-size: 0.9rem;
        font-weight: 400;
    }

    .home .floating_logo {
        position: fixed;
        width: 150px;

    }

    .home .node {
        top: 25%;
        left: 1%;

    }

    .home .js {
        top: 25%;
        right: 1%
    }


    /*---------------------------------------------------------------------------------------------*/


    .weatherapp .main_info_container {
        font-size: 1.4rem;
        width: 75%;
        height: auto;

    }

    #wind_blow_logo {
        height: 100px;
        width: 100px;
    }

    .weatherapp header {
        font-size: 1rem;
        width: 100%;
        padding: 0.5rem;

    }

    .weatherapp .info_result_container h2 {
        font-size: 2rem;
    }

    .weatherapp header a {
        font-size: 0.8rem;
        margin-bottom: 1%;
    }

    .weatherapp footer {
        font: 0.6rem;
        padding: 0.5rem;
        margin-top: 0px;
        /* height: 3%; */
        width: 100%;
    }

}


/*--------------------------------------------------------
viewport mobile
---------------------------------------------------------*/


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

    .home header,
    footer {
        height: 50px;
    }

    .home header h1 {
        font-size: 0.9rem;
    }

    .home #header_element_right,
    .home #header_element_left {
        font-size: 0.7rem;
    }

    #email_logo,
    #linkedin_logo,
    #github_logo {
        height: 20px;
        max-width: 100%;
    }

    .home footer {
        font-size: 0.6rem;
        padding: 0.5rem;
        margin-top: 0px;
        height: auto;
        width: 100%;

    }

    .home article {
        font-size: 0.8rem;
        line-height: 1.3rem;
        width: 85%;
        padding: 0.95rem;

    }

    .home .floating_logo {
        position: fixed;
        width: 100px;

    }

    .home .node {
        top: 25%;
        left: 1%;

    }

    .home .js {
        top: 25%;
        right: 1%
    }

    /*---------------------------------------------------------------------------------------------*/

    .weatherapp header,
    footer {
        height: 50px;
    }
    
    .weatherapp header h1 {
        font-size: 0.9rem;
    }

    .weatherapp #header_element_right,
    .weatherapp #header_element_left {
        font-size: 0.7rem;
    }
    
    .weatherapp .main_info_container {
        font-size: 0.95rem;
        width: 90%;
        height: auto;
        margin-top: 2%;
        margin-bottom: 2%;

    }

    .weatherapp .info_result_container_column {
        padding-top: 2%;
        padding-bottom: 2%;
    }

    
    .weatherapp .info_result_container_column img {
        height: 100px;
        align-self: center;

    }
    
    #wind_blow_logo {
        height: 0;
        visibility: collapse;
    }

    .weatherapp .mini_info {
        font-size: 0.8rem;

    }

    .weatherapp #temperature {
        font-size: 3.5rem;

    }

    .weatherapp .info_result_container h2 {
        font-size: 1.5rem;

    }

    .weatherapp header h1 {
        text-align: center;

    }

}


/*--------------------------------------------------------
viewport smartwatch
---------------------------------------------------------*/


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