/*start nav bar*/
.navbar-light .navbar-brand {
    text-transform: capitalize;
    font-family: serif;
    font-size: 40px;
    color: #fff;
}

.navbar-light .navbar-brand .logo {
    font-family: monospace;
    color: #81ca73;
    font-weight: bold;
}

.navbar {
    position: fixed;
    z-index: 12;
    left: 0;
    right: 0;
    border-bottom: 2px solid #fff;
    padding-bottom: 0;
    padding-top: 5px;
    background-color: #4a4a4a;
}

.nav-item .nav-link {
    color: #fff !important;
    font-size: 18px;
    margin-left: 5px;
    margin-right: 5px;
    font-weight: bold;
}

.nav-item .nav-link:hover {
    color: #72d476 !important;
}

.nav-link:hover {
    position: relative;
    transform: matrix(1, 0, 0, 1, 0, 7);
    transition: all 1s ease;
    color: red !important;
}

@media(max-width:299px) {

    .navbar-brand {
        margin-right: 0px;
    }
}

@media(max-width:275px) {
    .navbar-light .navbar-brand {
        font-size: 25px;
    }

    .navbar-toggler {
        padding: 1px 5px !important;
    }
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
    color: rgb(255 247 247 / 90%);
}

.navbar-toggler {
    background-color: #dfe2df;
}

.navbar-nav {
    padding: 0;
    padding-bottom: 20px;
    padding-top: 10px;
}

.navbar-light .navbar-nav .active > .nav-link {
    color: #94ea97 !important;
}

/*end nav bar*/
/*start courses*/
.courses {
    background-image: url(../image/courses.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 700px;
    background-position: top;
    padding-top: 5rem;
    padding-bottom: 1rem;
}

.courses .about {
    background-color: #000000c7;
    color: #fff;
    margin-top: 4.5rem;
    padding: 30px;
}

.courses .about h1,
.footer .h1,
.image .follow .h1 {
    text-align: center;
    text-transform: capitalize;
    font-family: serif;
    font-size: 40px;
    color: #fff;
}

.courses .about h1 span,
.footer .h1 span,
.image .follow .h1 span {
    font-family: monospace;
    color: #81ca73;
    font-weight: bold;
}

.about h2 {
    text-align: right;
    padding-bottom: 18px;
    font-family: serif;
    font-size: 35px;
}

.about p {
    text-align: right;
    font-size: 20px;
}

@media(max-width:550px) {
    .courses .about {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

@media(max-width:365px) {
    .about p {
        font-size: 15px;
    }
}

@media(max-width:365px) {

    .courses .about h1 {
        font-size: 28px;
    }

    .about h2 {
        padding-bottom: 5px;
        text-align: center;
    }
}

/*end courses*/
/*start info*/
.info {
    color: black;
    background-color: #d9d4e6;

}


.info h2 {
    font-family: cursive;
    font-weight: bold;

}

.info a {
    display: block;
    text-align: right;
    color: black;
    font-size: 20px;
    text-decoration: none;
}

.info a i {
    color: red;
    margin-left: 20px;
}

.info img {
    width: 95%;
    height: 170px;
}

@media(max-width:992px) {
    .info a {
        text-align: center;
    }
}

@media(max-width:270px) {

    .info a {
        font-size: 13px;
    }

    .info a i {
        margin-left: 7px;
    }


}

/*end info*/
/*start safty*/
.safty {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.safty h2 {
    text-align: right;
}

.safty p {
    text-align: right;
    margin-top: 2rem;
    line-height: 1.8;
    font-size: 20px;
}

.safty .start {
    margin-top: 0;
    margin-top: 0;
    line-height: 1.1;
    font-size: 18px;
}

.safty i {
    color: #4CAF50;
    margin-left: 16px;

}

@media(max-width:550px) {}

@media(max-width:365px) {


    .safty h2 {
        font-size: 20px;
    }

    .safty p {
        margin-top: 1rem;
        font-size: 13px;
    }

    .safty .start {
        font-size: 12px;
    }

    .safty i {

        margin-left: 2px;

    }
}

@media (max-width: 265px) {
    .safty .start {
        font-size: 12px;
        line-height: 2;
    }


}

/*end safty*/
/*start traffic*/
.traffic {
    background-image: url(../image/gray.jpg);
    background-position: center;
    color: #fff;
}

.traffic p {
    font-size: 20px;
}

.traffic .special {
    color: #ffc219;
}

/*end traffic*/
/*strt driving*/
.driving {
    padding-top: 2rem;
    padding-bottom: 2rem;
}


.driving h2 {
    padding-top: 3rem;
    padding-bottom: 1rem;
    text-align: right;
    font-size: 40px;
    font-family: serif;
    font-style: italic;
}

.driving p {
    text-align: right;
    font-size: 21px;
    color: red;
}

.driving .where {
    font-size: 19px;
    letter-spacing: 1px;
    line-height: 1.8;
    color: #808080;
}

.driving .teacher {
    margin-top: 3rem;
}

.driving .teacher p {
    color: red;
}

@media(max-width:992px) {
    .driving .teacher {
        margin-top: 0;
    }


}

@media(max-width:365px) {
    .driving .teacher img {
        width: 200px;
    }

    .driving h2 {
        font-size: 23px;
        padding-top: 10px;
    }

    .driving p {
        font-size: 19px;
    }

    .driving .where {
        font-size: 14px;
        letter-spacing: normal;
    }
}

/*end driving*/
/*strat event*/
.event {
    padding-bottom: 1rem;
    padding-bottom: 1rem;
}

.event h2 {
    text-align: center;
    padding-bottom: 15px;
}

.event h5 {
    text-align: center;
    padding-bottom: 20px;
    font-size: 17px;
}

.event img {
    width: 100%;
    height: 220px;
    margin-bottom: 2.5rem;
}

.event p {
    color: red;
    font-weight: bold;
}

/*end event*/
/*start follow*/
.follow h3 {
    padding-top: 7rem;
    padding-bottom: 2rem;
    text-align: center;
    font-size: 30px;

}

.image {
    background-image: url(../image/follow.jpg);
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.image .follow .h1 {
    font-size: 90px;
    text-align: left;
    padding-bottom: 0;
    padding-top: 5rem;
}

@media(max-width:410px) {

    .image .follow .h1 {

        font-size: 35px;
        padding-top: 9rem;
    }
}

.image .follow p {
    font-size: 30px;
    color: #61b964;
}

/*end follow*/
/*start pro_image*/
.pro_image {
    padding-top: .5rem;
}

.pro_image .follow .h1 {
    font-size: 90px;
    text-align: center;
    padding-bottom: 0;
    padding-top: 5rem;
}

.pro_image .follow p {
    text-align: center;
    font-size: 20px;
    color: #3c8e42;
}

.pro_image .follow .h1 span {
    color: #3c8e42;
}

@media(max-width:440px) {
    .pro_image .follow .h1 {
        font-size: 40px;
    }

}

/*end pro_image*/
/*start prog_page*/
.prog_page {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.prog_page h3 {
    color: #3c8e42;
    text-align: center;
    padding-bottom: 2rem;

}

.prog_page h2 {
    color: #3c8e42;
    text-align: center;
    padding-bottom: 13px;
    padding-top: 13px;
    font-size: 17px;
}

@media(max-width:440px) {

    .prog_page h3 {
        font-size: 20px;
    }

}

/*end prog_page*/
/*start footer*/
.footer {
    padding-top: 3rem;
    padding-bottom: 1rem;
    background-color: #333435;
}

.footer h1 {
    font-size: 60px;
    font-weight: bold;
    text-transform: capitalize;
    font-family: serif;
    color: #fff;
}

.footer .logo img {
    width: 100px;
}

.footer p {
    margin-top: 15px;
    color: #fff;
    text-align: center;
}

.footer h4 {
    text-align: center;
    text-transform: capitalize;
    margin: 29px 0;
    font-size: 26px;
    font-weight: bold;
    color: #d8c8c8;
    font-family: serif;
}

.footer a {
    display: block;
    text-align: center;
    text-transform: capitalize;
    text-decoration: none;
    margin-top: 10px;
    color: #fff;
}

.footer a:hover {
    color: #5fd464;
}

.footer .contact {
    text-align: center;
    margin-top: 2rem;
}

.footer .contact a {
    display: inline;
}

.footer .fa-facebook-f {
    padding: 10px 17px !important;
}

.footer .contact a i {
    border: 1px solid #4CAF50;
    padding: 10px;
    margin: 5px;
}

.footer .copyright p {
    border-top: 1px solid;
    text-align: right;
    padding-top: 32px;
    margin-top: 2rem;
}

.footer .home {
    color: #5fd464;
}

@media(max-width:300px) {
    .footer h1 {
        font-size: 40px;
        text-align: center;
    }

    .footer .logo img {
        width: 50px;
    }

    .footer p {
        font-size: 15px;
    }
}

@media(max-width:237px) {
    .footer h4 {
        font-size: 20px;
    }

    .footer .copyright p {
        text-align: center;
    }

    .footer a {
        font-size: 14px;
    }
}

.footer .logo {
    margin-top: 1rem;
}

/*end footer*/
