 body {
    background: url(bg.jpg)no-repeat center fixed; 
    background-size: cover;
}
@media only screen and (max-width: 440px) {
    body {
        background: url(bg2.jpg)no-repeat center fixed;
        /* background-attachment:scroll; */
        background-repeat:no-repeat;
        background-size:cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        -o-background-size: cover;
        background-position: center center; 
        background-attachment: fixed;
    }
}
*{
    margin: 0px;
    padding: 0px;
    font-family: 'Rubik', sans-serif;
}

/* Header Start From Here */

.navbar{
    height: 70px;
    width: 100%;
    background-color: rgba(239, 239, 235, 0.266);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media only screen and (max-width: 440px){
    .navbar{
        display: flex;
        flex-direction: column;
        height: 70px;
        width: 470px;
        align-items: center;
    }
    html{
        width: fit-content;
    }
}
@media only screen and (max-width: 280px){
    .navbar{
        display: flex;
        flex-direction: column;
        height: 70px;
        width: 167vw;
        align-items: center;
    }
}
.home{
    display: flex;
    list-style: none;
    margin: 28px;
    padding: 9px;
    gap: 10px;
    color: rgb(55, 65, 65);
    text-decoration: none;
    font-size: 30px;
    font-weight: 600;
}
.home:hover{
    text-shadow: 1px 1px 10px rgb(233, 224, 224);
}
@media only screen and (max-width: 550px){
    .home{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 13px;
        padding: 10px;
    }
}
.top{
    display: flex;
    list-style: none;
    margin: 30px;
    padding: 9px;
    gap: 10px;
}
@media only screen and (max-width: 440px){
    ul.top{
        height: 5px;
        display: flex;
        list-style: none;
        margin: 0px;
        padding: 0px;
    }  
}
.typ{
    background-color: rgb(255, 255, 255);
    height: 40px;
    width: 210px;
    margin: 1px;
    padding: 1px;
    border: 1px solid rgb(19 134 145);
    border-radius: 8px;
    cursor: text;
    box-shadow: 1px 1px 8px rgb(233, 224, 224)
}
@media only screen and (max-width:440px){
    .typ{
        width: 250px;
    }
    .searchbutton{
        height: 44px;
        width: 90px;
    }
    
}
input{
    font-weight: 500;
    font-size: 17px;
    color: rgb(19 134 145);
    text-align: center;
}
.typ:focus {
    color: rgb(19 134 145);
    outline: 2px solid rgb(19 134 145);
} 
.searchbutton{
    color: rgb(19 134 145);
    background-color: rgb(255, 255, 255);
    height: 40px;
    width: 80px;
    margin: 1px;
    padding: 1px;
    border: 1px solid rgb(19 134 145);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 1px 1px 80px rgb(233, 224, 224);
}
.searchbutton:hover{
    color: white;
    background-color: rgb(19 134 145);
    box-shadow: 1px 1px 10px rgb(19 134 145);
    border: 1px solid rgb(19 134 145);
    transition-duration: 0.1s;
}

/*Header End Up Here  */

/* Main Content  Start From Here */
.mc{
    display:grid;
}
.maincity{
    color:rgb(33, 37, 41);
    font-weight: 700;
    font-size: 40px;
    margin: 35px;
    display: flex;
    justify-content: center;
}
@media only screen and (max-width:440px){
    .maincity{
        height: 20px;
        padding: 20px;
        font-size: 30px;
    }
    .maincity:nth-child(1){
        position:relative;
        top:15px;
    }   
}
.container{
    display: flex;
    justify-content:center;
    align-items:center;
}
@media only screen and (max-width:440px){
    .container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 470px;
    }    
}
@media  only screen and (min-width: 440px) and (max-width: 990px){
    .container{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}
.box {
    overflow: auto;
    text-align: center;
    margin: 15px;
    height: 270px;
    width: 390px;
    border: 2px solid rgba(105, 127, 138, 0);
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 1px 1px 8px rgb(125 146 148)
}
@media only screen and (max-width:440px){
    .box{
        overflow: auto;
        display: flex;
        flex-direction: column;
        width: 375px;
    }   
}
@media only screen and (min-width: 1160px) and (max-width: 1260px){
    .box{
        display: flex;
        flex-wrap: wrap;
        width: 350px;
        height: 260px;
    }   
}
@media only screen and (min-width: 1080px) and (max-width: 1160px){
    .box{
        overflow: auto;
        display: flex;
        flex-wrap: wrap;
        width: 330px;
        height: 258px;
    }   
}
@media only screen and (min-width: 990px) and (max-width: 1080px){
    .box{
        overflow: auto;
        display: flex;
        flex-wrap: wrap;
        width: 300px;
        height: 248px;
    }   
}
@media only screen and (min-width: 790px) and (max-width: 990px){
    .box{
        overflow: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }   
}
.box h2:first-child{
    padding: 7px;
    height: 52px;
    color:white;
    background-color: rgb(19 134 145);
    border-radius: 8px;
    box-sizing: border-box;   
}
@media  only screen and (min-width: 450px) and (max-width: 1260px) {
    .box h2:first-child{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 2312px;
        padding: 7px;
        height: 52px;
        color:white;
        background-color: rgb(19 134 145);
        border-radius: 8px;
        box-sizing: border-box;
    }
}
@media  only screen and (min-width: 600px) and (max-width: 990px) {
    .box h2:first-child{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 387px;
        padding: 7px;
        height: 52px;
        color:white;
        background-color: rgb(19 134 145);
        border-radius: 8px;
        box-sizing: border-box;
    }
}
@media  only screen and (min-width: 440px) and (max-width: 600px) {
    .box h2:first-child{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 387px;
        padding: 7px;
        height: 52px;
        color:white;
        background-color: rgb(19 134 145);
        border-radius: 8px;
        box-sizing: border-box;
    }
}
@media  only screen and (max-width: 440px){
    .box h2:first-child{
        padding: 7px;
        height: 50px;
        color: white;
        background-color: rgb(19 134 145);
        border-radius: 8px;
        box-sizing: border-box;
    }
}
.cards{
    font-weight: 100;
    font-size: larger;
    list-style: none;
}
.card{
    height: 102px;
    margin: 50px;
}
.card h3{
    margin-bottom: 2px;
    font-size: 30px;
}
@media only screen and (max-width: 440px){
    .card{
        height: 97Px;
    }   
}
@media only screen and (min-width: 1160px) and (max-width: 1260px){
    .card{
        width: 300px;
        height: 100px;

    }   
}
@media only screen and (min-width: 900px) and (max-width: 1160px){
    .card{
        width: 330px;
        height: 93px;
    }    
}
.table{
    width: 1300px;
    margin: auto;  
}
.tables{
    display: flex;
    list-style: none;
    justify-content: space-evenly;
    align-items: center;
    margin: 18px 0px;
    width: 100%;
    height: 300px;
    text-align: center;
}
table { border-collapse:collapse; }
table tbody tr{ border-bottom: 1px solid #000; }

.table ul:first-child{
    font-weight: 1000;
}
@media only screen and (max-width:440px) {
    .tables{
        width: 468px;
        overflow-x: scroll;
        justify-content:space-between;
    }
    .othercity{
        width: 440px;
    }   
}
@media only screen and  (min-width: 541px) and (max-width:761px) {
    .tables{
        width: 710px;
        overflow-x: scroll;
        justify-content:space-between;
    }
    .othercity{
        width: 440px;
    }    
}
@media only screen and  (min-width: 441px) and (max-width:540px) {
    .tables{
        width: 539px;
        overflow-x: scroll;
        justify-content:space-between;
    }
    .othercity{
        width: 440px;
    }    
}
@media only screen and  (min-width: 761px) and (max-width:990px) {
    .tables{
        width: 910px;
        overflow-x: scroll;
        justify-content:space-between;
    }
    .othercity{
        width: 440px;
    }    
}
@media only screen and  (min-width: 991px) and (max-width:1025px) {
    .tables{
        width: 1010px;
        overflow-x: scroll;
        justify-content:space-between;
    }
    .othercity{
        width: 440px;
    }    
}

@media only screen and (max-width:280px) {
    .tables{
        width: 460px;
        overflow-x: scroll;
        justify-content:space-between;
    }
    .othercity{
        width: 430px;
    }   
}
tbody {
    width: 1080px;
}
.weather{
    font-size: larger;
    margin: 14px 14px;
    padding: 7px 14px;
}
.weather:first-child{
    width: 100px;
    font-weight: 1000;
}

/* Main Content Endup Here */


/*  Footer start from Here */
.follow{
    bottom: 0px;
    margin-top: 5px;
    padding-top: 5px;
    font-size: larger;
    font-weight: 1000;
}
.me{
    font-size: smaller;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.media{
    margin: 5px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}
.social{
    width: 30%;
}
.links{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.footers{
    background-color: rgba(239, 239, 235, 0.266);
    width: 100%;
    padding: 0%;
    padding-bottom: 30px;
}
.icon{
    margin: 5px;
    padding: 5px;
    font-size: 28px;
    color: rgb(35, 39, 37);
}
.icon:hover{
    transform: translateY(-5px);
    transition: 0.5s;
    color: rgb(19 134 145);
}
/* Footer end up here */


