* {
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

main {
    width: 100%;
    height: 100vh;
    background-color: rgba(45,46,57,1);
}
nav {
    width: 100%;
    display: flex;
    top: 10px;
    right: 0;
    left: 0;
    background: #fff;
    padding: 20px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(45,46,57,1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02);*/
}

ul {
    padding: 0;
    list-style: none;
    width: 100%;
}

li {
    font-size: 1.3em;
}

input {
    width: 600px;
    height: 21px;
    border-color: transparent;
    border: none;
    padding: 2px;
    background-color: rgba(45,46,57,1);
    font-size: 1.3em;
    color: rgba(255,255,255,.95);
}

form {
    height: 21px;
    width: 100%;
    background-color: rgba(45,46,57,1);
}

textarea:focus, input:focus{
    outline: none;
}

button:focus {
    outline: none;
}

h1 {
    margin-top: 0;
    margin-bottom: 5px;
}

/*global classes*/
.hidden {
    display: none !important;
}

#view {
    width: 100%;
    height: 40vh;
    margin-bottom: 0px;  

}

/*modal classes and ids*/
.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rbg(0,0,0);
    background-color: rgba(0,0,0,0.9);
    display: block;
    justify-content: center;
    vertical-align: middle;
}

#modal_title {
    color: rgba(190,36,145,1);
    text-align: center;
    justify-content: center;
    font-size: 2.0em;
}

#modal-content {
    background-color: rgba(0,0,0,.9);
    color: rgba(155,155,155 ,1);
    z-index: 0.9;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid rgba(190,36,145,.9);
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*navigation classes and IDs*/
.nav-items {
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 0;
    margin-top: 0;
    height: 100%p;
    font-size: 0.8em;
}

.nav-items li {
    cursor: pointer;
}

.nav-items li:hover{
    color: rgba(85,172,238 ,1);
}

.find_pow {
    width: 15%;
}

.label_field {
    height: 0;
    width: 0;
    opacity: 0;
    padding: 0;
    margin:0;
    overflow: hidden;
    font-size: 0;
}

.nav-items li:not(:last-child):not(.mountain_icon) {
    margin-right: 10px;
}

.nav-items li  i:not(.fa-mountain_icon):not(.fa-search) {
    margin-right: 3px;
}

.nav-items li > button {
    font-size: 1.3em;
    border: none;
    color: rgba(255,255,255,.95);
    background-color: rgba(45,46,57,1);
    border: 1px solid rgba(190,36,145 ,1);
}


/*result classes and IDs*/
.result_div {
    padding: 10px;
    color: rgba(255,255,255,.78);
}

.weather_results {
    padding: 10px;
}


#lets_go {
    color: rgba(190,36,145,1);
    text-align: center;
    justify-content: center;
    font-size: 1.5em;
}

#results_view_list.hidden {
    display: none;
}

#results_view_list {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(190,36,145 ,1);
    margin-top: 20px;
    text-align: center;
    justify-content: center;
}

#resort_view {
    width: 50%;
}

#results_title {
    height: 30px;
    color: rgba(255,255,255,.78);
    background-color: rgba(45,46,57,1);
    padding: 5px;
    vertical-align: middle;
}

#results_title > h3 {
    margin: 0;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    color: rgba(190,36,145,1);

}

#results_view {
    width: 100%;
    /*padding: 10px;*/
    color: rgba(255,255,255,.78);
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0;
}

#weather_result_view {
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    color: rgba(255,255,255,.78);
    background-color: rgba(45,46,57,1);
    vertical-align: middle;
}

#weather_results_list {
    width: 60%;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    padding: 5px;
    vertical-align: middle;
    justify-content: center;
}

#results_view_list {
    background-color: rgba(45,46,57,1);
}

#icon_li {
    margin-left: 20px;
}

#temp {
    margin-top: 10px;
    text-align: center;
    font-size: 2.3em;
}

#weather_desc {
    font-size: 2.3em;
    margin-top: 10px;
}

#icon {
    font-size: 3em;
}
/*responsive rules*/
@media(min-width: 1400px) {
    .find_pow {
        width: 7.5%;
    }
}

@media(min-width: 1000px) {
    .find_pow {
        width: 12.5%;
    }
}

@media(max-width: 790px) {
    form {
        height: 30px;
        justify-content: center;
    }

    .find_pow {
        width: 20%;
    }

    .find-address {
        width: 70%;
        justify-content: center;
        margin-bottom: 25px;
    }

    #results_view > ul {
        width: 60%;
    }
}

@media(max-width: 620px) {
    .find_pow {
        width: 25%;
    }

    .find-address {
        width: 75%;
}

@media(max-width: 500px) {
    .find_pow {
        width: 30%;
    }

    .find-address {
        width: 70%;
    }
}

@media(max-width: 475px) {
    nav {
        display: flex;
        flex-direction: column;
    }

    ul {
        display: flex;
        flex-direction: column-reverse;
        align-content: left;
    }

    .find_pow {
        align-items: flex-start;
    }

    .find-address {
        width: 100%;
        padding-top: 10px;
    }

    .nav-items li > button {
        margin-top: 10px;
    }

    .nav-items {
        align-items: flex-start;
    }

    .weather_results > li {
        width: 33%;
    }

    #results_title > h3 {
        font-size: 1em;
        border: none;
    }

    #results_view_list {
        width: 100% !important;
    }

    #resort_view {
        width: 100%;
    }
    #weather_result_view {
        width: 100%;
        height: 100px;
        display: flex;
        flex-direction: row;
        color: rgba(255,255,255,.78);
        background-color: rgba(45,46,57,1);
    }

    #weather_results_list {
        display: flex;
        flex-direction: row;
        padding: 5px;
        width: 100%;
    }

    #icon_li {
        width: 30%;
        margin-left: 20px;
        padding: 0;
    }

    #temp {
        width: 20%;
        margin-top: 10px;
        text-align: center;
        font-size: 2.3em;
        margin-right: 5px;
    }

    #weather_desc {
        width: 50%;
        display: flex;
        font-size: 2.3em;
        margin-top: 10px;
        margin-left: 5px;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        justify-content: flex-start;
    }

    #js-search-form {
        width: 80%;
        padding: 5px;
    }

    #results_view {
        flex-direction: column;
    }
}

@media(max-width: 400px) {

    form {
        border-bottom: 1px solid rgba(190,36,145 ,1);
    }
    #icon_li {
        width: 20%;
        margin-left: 0;
    }

    #temp {
        width: 20%;
        margin-top: 10px;
        margin-left: 10px;
        text-align: center;
        font-size: 2.1em;
    }

    #weather_desc {
        width: 60%;
        font-size: 2.1em;
        margin-top: 10px;
    }
}

@media(max-width: 340px) {
    #icon_li {
        width: 20%;
        margin-left: 0;
    }

    #temp {
        width: 20%;
        margin-top: 10px;
        margin-left: 25px;
        text-align: center;
        font-size: 2em;
    }

    #weather_desc {
        width: 60%;
        font-size: 2em;
        margin-top: 10px;
    }
}
}