/* navbar */
* {
    padding: 0px;
    margin: 0px;
}

@media (max-width: 1000px)   {
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        top: 0px;
        position: sticky;
        justify-content: space-between;
        background-color: #f7bf4f62;
        z-index: 1;
        width: 100%;
    }

    #navbar ul li {
        list-style: none;
        margin: 7px;
        font-size: 1.5rem;
        font-weight: 500;

    }

    #logo {
        margin: 5px 16px;
        height: 50px;
        width: 170px;
    }

    #logo img {
        height: 50px;
        width: 150px;
        cursor: pointer;
    }

    #about p{
        font-size: small;
        margin: -20px;
    }
}

@media (max-width: 510px) {
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        top: 0px;
        position: sticky;
        justify-content: space-between;
        background-color: #f7bf4f62;
        z-index: 2;
        width: 100%;
    }

    #navbar ul li {
        list-style: none;
        margin: 10px;
        font-weight: 500;

    }

    #navbar ul li a {
        padding: 0px 7px;
        font-size: 0.9rem;
    }

    #logo {
        height: 40px;
        width: 130px;
        align-self: center;
    }

    #logo img {
        align-self: center;
        height: 40x;
        width: 130px;
        cursor: pointer;
    }
}

/* Home Section */
#home::before {
    height: 600px;
    padding: 0px;
    width: 100%;

}

#home {
    width: 100%;
    height: 600px;
    padding: 10px;
}

#home p {

    font-size: 0.8rem;
    overflow: hidden;
}


/* Services */

.services {
    background-color: #ffffff00;
    margin: 0px 0px;
    margin-top: -70px;
    padding: 0px 0px;
}

.services h1 {
    font-size: large;
    padding: 0px 0px;
}

#services {
    display: flex;
    flex-direction: column;
    width: 90%;

    /* max-width: 1200px; */
}

#services .box {
    width: 90%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-self: center;
    margin-top: auto;
    margin-left: 4%;
}

.box h2 {
    font-size: medium;
}

.box p {
    font-size: small;
}


/* about */

#about {
    overflow: hidden;
    padding: 5px 5px;

}

.about h1 {
    font-size: 1.2rem;

}

#about p{
    font-size: small;
    margin: 5px;
    margin-top: 5px !important;
}

.about h1 p {
    font-size: small;
    margin: 0px 0px;

}




.marquee-logo img {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 50px;
    height: auto;
    display: block;
    margin: 10px;
    padding: 5px;
    z-index: -1;
}

.marquee-logo img:hover {
    width: 55px;
    transition: 2s ease-in;
    padding: 6px;
}

@keyframes scrolling {
    0% {
        transform: translateX(98%);
        opacity: 1;
    }

    100% {
        transform: translatex(-96%);
        opacity: 0.5;
    }

}

.client h1 {
    font-size: large !important;
}


/* Form */
.form-control {
    width: 80%;
}

.form-btn {
    height: 20px;
    width: 50vw;
    /* padding: 5px 5px; */
}

/* Contact */
#contact {
    background-image: none;
    margin-bottom: 10px;
}

/* Navigation */


.navigation {
    background-color: rgba(2, 0, 0, 0.947);
    padding-top: 30px;
    padding-left: 10px 20px;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0px;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.navbox {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}



/* Map */

.map {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 20vh;
    color: #f3f3f3;
    justify-content: center;

}

.map h2 {
    letter-spacing: .1em;

    font-family: Verdana, Geneva, Tahoma, sans-serif;
    /* font-weight: 600; */
    font-size: 1.2rem;
    margin-top: 5px;
    padding-top: 5px;

}

.map iframe {
    padding-top: 10px;
}


/* Navigation Bar Footer */

.nav-link {
    width: 100%;
    display: block;
    justify-content: space-between;
    text-align: left;
    margin-left: 0px;
    padding-left: 0px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.nav-link h2 {
    font-size: 1.2rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: .1em;
    color: white;
    margin-bottom: 0px;
    margin-top: 10px;
}

.nav-link ul {
    margin-top: 0px;
}

.nav-link ul li {
    list-style: none;
    color: white;
}

.nav-link ul li a {
    padding: 8px;
    font-size: 0.8rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    text-align: left;
    display: block;
    color: white;
}

.nav-link ul li a:hover {
    font-size: 0.9rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    text-align: left;
    display: block;
    color: white;
    transition: 1s ease-out;
    color: #f7bf4f;
}


/* Navigation Address */


.nav-address {

    display: block;
    width: 100%;
    justify-content: space-between;
}

.nav-address h2 {
    margin-left: 0px;
    font-size: 1.2rem;
    color: #ffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: .1em;
    font-weight: 600;
    margin-bottom: 0px;
}

.address-area {
    margin-left: 0px;
    font-size: 0.8rem;
    padding: 8px;
    color: #ffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.address-area a {
    font-size: 0.8rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    text-align: left;
    display: block;
    color: white;
}



/* footer */

footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background-color: #f7bf4f;
    padding: 5px;
    margin-bottom: 0px;
    padding: 10px 10px;
    justify-content: left;

}

.footer-logo {
    /* margin-left: 40px; */
    display: flex;
    flex-direction: column;
    width: 30%;
    padding: 0px;
    margin-bottom: 60px;
    align-self: center;
    display: none;
}

.social-media {
    display: flex;
    align-self: flex-end;
    gap: .7em;
    margin-right: 30px;
    padding: 10px;

}

.social-grp {
    display: flex;
    justify-content: center;
    margin: auto;
}

.copyright {
    padding: 10px;
    display: block;
    /* flex-direction: column; */
    align-self: flex-start;
    margin-bottom: -60px;
    margin-left: 20px;
}



@media(max-width: 820px) {
    #about p{
        font-size: small;
        margin: -26px;
    }
    
    footer {
        width: 100%;
        /* display: none; */
    }

    .footer-logo {
        display: none;
    }

    

    .copyright {
        padding: 10px;
        display: block;
        flex-direction: column;
        align-self: center;
        margin: auto;
        margin-bottom: 0px;
    }

    .social-media {
        display: block;
        margin: auto;
        margin-bottom: 0;
        align-self: baseline;
        padding: 0px 0px;
    }
}

/* utility class */
#h-primary {
    font-size: 1.2rem;
    padding: 0px 10px;
}

.h-primary {
    font-size: 1.2rem;
}

.center {
    text-align: center;
}

p {
    font-size: 0.8rem;
}