* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #d4f2fb;
    overflow-x: hidden;
}

/* responsive images */
img {
    max-width: 100%;
    height: auto;
}

header a {
    padding: 15px;
    text-decoration: none;
    color: black;
}

/* ================= Header Code===================== */

.header {
    display: inline-block;
    vertical-align: top;
    border: 1px solid black;
    margin-top: 40px;
    margin-left: 2%;
}

/* logo */
#logo {
    height: 150px;
    width: 9%;
    text-align: center;
    border: none;
}

/* panchyat-name */
#panchyat-name {
    height: 150px;
    width: 50%;
    border: none;
}

#panchyat-name h1 {
    font-size: 40px;
    margin: 5px 0px;
    color: rgb(22, 68, 105);
}

#panchyat-name h2 {
    font-size: 40px;
    margin: 0px;
    color: rgb(0, 0, 0);
}

/* empty */
#empty {
    height: 150px;
    width: 15%;
    border: none;
}

/* about, contact */
#about_contact {
    height: 30px;
    width: 90%;
    margin-top: 5px;
    font-weight: bold;
    border: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10px;
}

#about_contact img {
    height: 20px;
    width: 80px;
    border-radius: 5px;
}

/* menu */
#menu {
    height: 45px;
    width: 96%; 
    margin-top: 0;
    margin-left: 2%;
    font-size: 14px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    align-items: center;
    background-color: #0bad5f;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px;
}

/* mukhya-suchana */
#mukhya-suchana {
    height: 45px;
    width: 96%; 
    margin-left: 2%;
    margin-top: 12px;
    border-radius: 10px;
    border: 1px solid #ffccc7;
    background-color: rgb(252, 237, 239);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

#mukhya-suchana a {
    font-size: 18px;
    color: red;
}

.blink {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* pravahi-suchana */
#pravahi-suchana {
    height: 50px;
    width: 96%; 
    margin-left: 2%;
    margin-top: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #0bad5f;
    padding: 0 10px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    font-size: 18.72px;
    font-weight: bold;
    padding-left: 100%;
    animation: scroll-text 30s linear infinite;
}

@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ================= Footer Code===================== */

/* logos */

footer {
    color: white;
}

#footer-logos {
    height: 90px;
    width: 100%;
    background-color: #275292;
    padding: 0px 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

#footer-logos img {
    height: 100%;
    width: 100%;
}

.footer-logos-img {
    height: 65px;
    width: 15%;
}

/* footer */

#footer {
    height: 300px;
    width: 100%;
    background-color: #0d6efd;
    padding: 0 10px;
    color: white;
}

#footer a {
    text-decoration: none;
    color: white;
}

#footer1,
#footer2,
#footer3 {
    margin-top: 50px;
    display: inline-block;
    vertical-align: top;
    margin-left: 17%;
}

/* Ending footer */

#footer-ending {
    text-align: center;
}

#powered-by {
    margin-top: 30px;
}

#powered-by a {
    text-decoration: underline;
    font-weight: bold;
}

#copyright {
    text-align: center;
}

/* ================= Tablet ================= */

@media (max-width: 992px) {
    #panchyat-name h1 {
        font-size: 40px;
    }

    #panchyat-name h2 {
        font-size: 40px;
    }

    #footer1,
    #footer2,
    #footer3 {
        width: 80%;
        margin-left: 10%;
        text-align: center;
    }

    #footer {
        height: auto;
    }

    #footer ul {
        list-style: none;
    }
}

/* ================= Small Tablet ================= */

@media (max-width: 791px) {

    #logo {
        width: 18%;
    }

    #panchyat-name {
        width: 55%;
    }

    #empty {
        width: 10%;
        margin: 0;
    }

    #panchyat-name h1 {
        font-size: 32px;
    }

    #panchyat-name h2 {
        font-size: 32px;
    }

    #menu {
        width: 95%;
    }

    #mukhya-suchana {
        width: 95%;
        height: auto;
        text-align: center;
    }

    #pravahi-suchana {
        width: 95%;
    }

    #footer-logos {
        flex-wrap: wrap;
        height: 200px;
        padding: 0 10px;
    }

    .footer-logos-img {
        width: 30%;
        margin: 10px;
    }

}

/* ================= Mobile ================= */

@media (max-width: 600px) {
    .header {
        display: block;
        width: 90%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    #logo {
        width: 100%;
    }

    #panchyat-name {
        width: 100%;
    }

    #empty {
        width: 100%;
        height: 50px;
    }

    #empty span {
        margin-top: 20px;
    }

    #about_contact {
        justify-content: center;
        width: 100%;
        padding: 0 10px;
        font-size: 13px;
    }

    #mukhya-suchana {
        height: auto;
    }

    #footer {
        width: 100%;
        height: auto;
    }

    #footer ul {
        list-style: none;
    }

    #footer-logos {
        flex-wrap: wrap;
        height: 200px;
        padding: 0 10px;
    }

    .footer-logos-img {
        width: 40%;
        margin: 10px;
    }
}