*{
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

/* body of the page */
body{
    color: rgb(7, 4, 4);
    font-family: arial;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url("/image/weather.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

/* Navigation Bar */
label.homepg{
    color: white;
    font-size: 50px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
}

nav{
    background: #0082e6;
    height: 80px;
    width: 100%;
}

nav ul{
    float: right;
    margin-right: 20px;
}

nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a{
    color: white;
    font-size: 20px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

a.active, a:hover{
    background: #1b9bff;
    transition: .5s;
}

.checkbtn{
    font-size: 25px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 20px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}

i{
    font-size: 40px;
    margin: 5px;
}

@media (max-width:1150px){
    label.homepg{
        font-size: 40px;
        padding-left: 0px;
    }

    i{
        font-size: 40px;
        margin: 5px;
    }

    nav ul li a{
        font-size: 16px;
    }
}

@media (max-width:900px){
    .checkbtn{
        display: block;
        font-size: 30px;
        margin-right: 20px;
    }

    i{
        font-size: 35px;
        margin: 5px;
    }

    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a{
        font-size: 20px;
    }

    a:hover, a.active{
        background: none;
        color: #0082e6;
    }
    
    #check:checked ~ ul{
        left: 0;
    }
}

@media (max-width:550px){
    label.homepg{
        font-size: 35px;
        padding-left: 0px;
        margin-right: 15px;
    }

    .checkbtn{
        display: block;
        font-size: 20px;
    }

    i{
        font-size: 30px;
        display: none;
    }

}

@media (max-width:490px){
    label.homepg{
        font-size: 30px;
        padding-left: 0px;
        margin-left: 0px;
    }

    .checkbtn{
        display: block;
        font-size: 15px;
        margin-right: 8px;
    }

    i{
        font-size: 25px;
    }
}



/* Main Form */
.main-content{
    flex-grow: 1;
}

/* Input Form */
.form_type{
    border: 4px solid grey;
    margin: 16px;
    background: #888888;
    background-color: teal;
    padding: auto;
    font-size: 15px;
}

.help_page{
    width: 200px;
}

.error{
    width: 200px;
}

footer{
    font-weight: 700;
    font-size: 30px;
    border-top: 2px solid #eeeeee;
    margin-top: 16px;
    padding: 16px 0;
    color: palevioletred;
}

header{
    margin-top: 16px;
    margin-bottom: 48px;
}

h1{
    font-size: 55px;
    margin-bottom: 16px;
    animation: color-change 1s infinite;
    margin-top: 50px;
}
  
@keyframes color-change {
    0% { color: black; }
    20%{color: white;}
    40% { color: orangered; }
    60%{color:teal;}
    80%{color: purple;}
    100% { color: black; }
}

.portrait{
    width: 200px;
}

input{
    border: 3px solid gray;
    padding: 10px 80px;
    padding-left: 0%;
    background-color: cornsilk;
    font-size: 15px;
}

button{
    cursor: pointer;
    border: 3px solid #cccccc;
    background: #888888;
    color: white;
    padding: 10px 30px;
    font-size: 15px;
}

p{
    color: white;
    font-size: 24px;
    margin-top: 7px;
    margin-bottom: 7px;
}

.page{
    width: 400px;
}

.abt{
    width: 600px;
    height: 400px;
}

h2{
    font-size: 30px;
    margin-bottom: 16px;
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    text-align: center;
}

.error{
    margin-top: 50px;
    margin-bottom: 20px;   
}

.notfound{
    font-size: 40px;
    font-weight: 800;
    color: red;
}


