*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
    scroll-behavior: smooth;
}



a:hover{
    text-decoration: none;
}

.navbar{
    display: none;
}

.navbar-brand img{
    width: 70px;
}

/* NAVBAR MAIN */

.nav-lg{
    background-color: #FFF;
}

.nav-main{
    padding: 15px 0;
    position: relative;
    width: 80%;
    margin: auto;
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-main img{
    width: 73px;
}

.nav-main ul{
    display: flex;
    flex-direction: row;
}

.nav-main ul li{
    margin: 0;
}

.nav-main ul li a{
    color: #034ea2;
    font-weight: 300;
    font-size: 20px;
    text-decoration: none;
    transition: 1s;
    padding: 54px 30px;
    
}

.nav-main ul li a:hover{
    color: rgb(255, 255, 255);
    background-color: #034ea2;
}

.nav-main button{
    color: white ;
    font-size: 15px;
    font-weight: 600;
    border: #FFF;
    padding: 15px 25px;
    border-radius: 40px;
    background: linear-gradient(220deg, #3885dc, #034ea2);
    cursor: pointer;
    transition: 0.5s;
}

.nav-main button:hover{
    background: linear-gradient(220deg, #5b99e0, #1c589d);
}


/* NAVBAR MAIN END */

/* OUR COURSES */

.courses{
    margin-top: 100px;
    text-align: center;
}

.courses h1{
    margin-bottom: 60px;
}


.courses-wrap{
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.courses-item{
    margin: 10px;
    margin-bottom: 30px;
    width: 450px;
    background-color: #43b1ed;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.courses-item:hover img{
    margin-top: -30px;
}

.courses-item img{
    margin-top: -20px;
    width: 90%;
    transition: 0.5s;
}

.courses-item h2{
    margin: 10px 0;
    color: #FFF;
}

.courses button{
    color: white ;
    font-size: 25px;
    font-weight: 600;
    border: #FFF;
    padding: 15px 25px;
    border-radius: 20px;
    background: linear-gradient(220deg, #3885dc, #034ea2);
    cursor: pointer;
    transition: 0.5s;
}

.courses button:hover{
    background: linear-gradient(220deg, #5b99e0, #1c589d);
}

/* GALLERY */

.slide {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 700px;
	background-image: url(img/bg.jpg);
	background-size: cover;
	background-position: center center;
}
.slideshow {
	position: absolute;
	width: 800px;
	margin: auto;
	overflow: hidden;
	box-shadow: 0 20px 20px 5px rgba(0, 0, 0, 0.3);
	border-radius: 15px;
}
.slideshow ul {
	position: relative;
	left: 0;
	width: 9000px;
	transition: left .3s linear;
	animation: slide 15s infinite;
}
.slideshow ul li {
	display: inline-block;
	height: auto;
	float: left;
	width: 800px;
}
.single-img {
	margin: 0 auto;
	padding: 0;
	width: 800px;
}
.single-img img {
	width: 104%;
}

@keyframes slide {
	10% {
		left: 0;
	}
	15% {
		left: -800px;
	}
	25% {
		left: -800px;
	}
	30% {
		left: -1600px;
	}
	40% {
		left: -1600px;
	}
	45% {
		left: -2400px;
	}
	55% {
		left: -2400px;
	}
    60% {
		left: -3200px;
	}
    70% {
		left: -3200px;
	}
    75% {
		left: -4000px;
	}
    85% {
		left: -4000px;
	}
	100% {
		left: 0;
	}
}


/* FOOTER MAIN */

.footer-main{
    margin-top: 200px;
    background-color: #034ea2;
    padding: 50px 0;
}

.footer-cont{

    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.footer-cont img{
    width: 200px;
}

.footer-links{
    display: flex;
}

.footer-list-main{
    margin: 0 50px;
}

.footer-list-main li{
    font-size: 16px;
    color: white;
}

.footer-list-main li a{
    color: white;
}

.footer-list-main li a:hover{
    text-decoration: none;
    color: #43b1ed;
}

.footer-list-main li:first-child{
    font-size: 20px;
    font-weight: 700;
}


.footer-num{
    background-color: black;
    padding: 5px 0;
}

.footer-num p{
    color: white;
    text-align: center;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 300;
}

.footer-num span{
    margin: 0 30px;
}

/* FOOTER STYLE END */



/* MOBILE CSS */

@media only screen and (max-width: 1024px) {

    .nav-main{

        width: 95%;

    }


    .nav-main ul li a{
        font-size: 14px;
    }

    .nav-main button{
        color: white ;
        font-size: 14px;
        font-weight: 600;
        border: #FFF;
        padding: 10px 15px;
        border-radius: 40px;
        background: linear-gradient(220deg, #3885dc, #034ea2);
        cursor: pointer;
        transition: 0.5s;
    }

    /* Gallery */

    .slideshow {
        width: 600px;
    }

    .slideshow ul li {
        width: 600px
    }

    .single-img {
        width: 600px;
    }

    @keyframes slide {
        10% {
            left: 0;
        }
        15% {
            left: -600px;
        }
        25% {
            left: -600px;
        }
        30% {
            left: -1200px;
        }
        40% {
            left: -1200px;
        }
        45% {
            left: -1800px;
        }
        55% {
            left: -1800px;
        }
        60% {
            left: -2400px;
        }
        70% {
            left: -2400px;
        }
        75% {
            left: -3000px;
        }
        85% {
            left: -3000px;
        }
        100% {
            left: 0;
        }
    }


    /* COURSE */

    .courses-wrap{
        flex-direction: row;
    }

    .courses-item{
        width: 400px;
        margin-bottom: 40px;
    }

    .courses-item h2{
        font-size: 20px;
    }


    /* FOOTER */

    .footer-cont{
        flex-direction: row;
    }

    .footer-links{
        margin-top: 30px;
    }
    
    .footer-list-main{
        margin: 0 10px;
    }

}


@media only screen and (max-width: 767px) {
    .nav-lg{
        display: none;
    }

    .navbar{
        display: flex;
    }

    /* COURSE */

    .courses-wrap{
        flex-direction: column;
    }

    .courses-item{
        width: 400px;
        margin-bottom: 40px;
    }

        /* Gallery */

        .slide {
            height: 400px;
        }
    
        .slideshow {
            width: 350px;
        }
    
        .slideshow ul li {
            width: 350px
        }
    
        .single-img {
            width: 350px;
        }
    
    
        @keyframes slide {
            10% {
                left: 0;
            }
            15% {
                left: -350px;
            }
            25% {
                left: -350px;
            }
            30% {
                left: -700px;
            }
            40% {
                left: -700px;
            }
            45% {
                left: -1050px;
            }
            55% {
                left: -1050px;
            }
            60% {
                left: -1400px;
            }
            70% {
                left: -1400px;
            }
            75% {
                left: -1750px;
            }
            85% {
                left: -1750px;
            }
            100% {
                left: 0;
            }
        }

    /* FOOTER */

    .footer-cont{
        flex-direction: column;
    }

    .footer-links{
        margin-top: 30px;
    }
    
    .footer-list-main{
        margin: 0 10px;
    }

}