*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cambria";
}

.nav{
    background-color: rgb(48, 169, 255);
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav img{
    height: 60px;
    padding: 0 10px;
}

.nav h1{
    font-size: 40px;
    font-family: "Cambria";
    color: white;
}

.sec{
    margin: 15px;
    background: linear-gradient(120deg,rgb(1, 22, 183),rgb(0, 140, 255));
    height: auto;
    border-radius: 10px;
    padding: 10px;
}

.p1{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30vh;
    display: flex;
    flex-direction: column;
}

.p1 #cityn{
    padding: 20px;
    font-size: 25px;
    width: 400px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    margin: 20px 0;
}
#cityn::placeholder{
    color: white;
}

#submit{
    width: 400px;
    padding: 10px;
    font-size: 20px;
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 0;
    transition: all .3s ease;
    font-weight: 700;
    cursor: pointer;
}

#submit:hover{
    background-color: rgb(0, 43, 184);
    font-size: 21px;
}

.p2{
    background-color: rgb(39, 93, 220);
    height: auto;
    margin: 20px;
    border-radius: 10px;
    color: white;
    font-size: 23px;
    display: flex;
    flex-wrap: wrap;
}

.p2 .s1{
    width: 100%;
    display: flex;
    align-items:center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    border-radius: 20px;
    margin: 30px;
}

.p2 .s11{
    display: flex;
    align-items:center;
    flex-direction: column;
    color: black;
    justify-content: center;
    margin: 20px;
    padding: 10px;
}

.s11 h2{
    font-size: 35px;
}

.s1 .s11 img{
    height: 350px;
    width: auto;
}

.p2 .s2{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px 30px;
    font-size: 25px;
}

.s2 h2{
    margin: 5px 0;
}

.s2 .s2-part{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.s2-part .s21 {
    width: 50%;
}

.s2-part .s22 {
    width: 50%;
}

.s22{
    display: flex;
    align-items: center;
    justify-content: right;
}

.s22 .la{
    font-size: 15px;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(120deg,rgb(8, 37, 255),rgb(0, 166, 255));
}

footer{
    background-color: rgb(48, 169, 255);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content:center;
    color: white;
}


@media (max-width: 500px){

    .nav h1{
        font-size: 35px;
    }

    .sec{
        margin: 5px;
    }

    .p1 #cityn{
        width:320px;
        padding:15px;
    }

    .p1 #submit{
        width: 320px;
        padding: 15px;
    }

    .p2 .s1{
        margin: 15px;
    }

    .s1 .s11 img{
        height: 180px;
        width: auto;
    }

    .s1 .s11 h2{
        font-size: 25px;
    }

    .p2{
        margin: 5px;
    }

    .p2 .s2{
        font-size: 18px;
    }

    .s2-part{
        flex-direction: column;
    }

    .s2-part .s21{
        width: 100%;
    }

    .s2-part .s22{
        width:100%;
    }

    .s22{
        justify-content: center;
        margin: 20px 0;
    }

}

@media (min-width:500px) and (max-width:800px){

    .s1 .s11 img{
        height: 250px;
        width: auto;
    }

    .s1 .s11 h2{
        font-size: 25px;
    }

    .p2 .s2{
        font-size: 20px;
    }

    .s2-part{
        flex-direction: column;
    }

    .s2-part .s21{
        width: 100%;
    }

    .s2-part .s22{
        width:100%;
    }

    .s22{
        justify-content: center;
        margin: 20px 0;
    }

}


