/* general */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 8px;background-color: #eee;
} 

*::-webkit-scrollbar-track {
    background-color: #ccc;
} 

*::-webkit-scrollbar-thumb {
    background-color: var(--color);
    border-radius: 5px;
}

:root {
    --color: #5c9ef5;
    /* #5c9ef5, #f67c92  */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
}

h1 {
    font-size: 24px;
}

p {
    font-size: 15px;
    line-height: 25px;
    color: #777;
    text-align: justify;
}

a {
    text-decoration: none;
    color: #777;
}

img {
    max-width: 100%;
    height: auto;
}

li {
    list-style-type: none;
}

form {
    max-width: 100%;
    margin: 30px 0;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    outline: none;
    border: 2px solid var(--color);
    box-shadow: none;
    border-radius: 5px;
}

hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--color);
}

/* general class */

.container {
    width: 80%;
    margin: auto;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 15px 0;
    background-color: var(--color);
    border-radius: 50%;
}

.line {
    line-height: 8px;
}

.line-1, .line-2, .line-3 {
    display: inline-block;
    background-color: var(--color);
}

.line-1 {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.line-2 {
    width: 80px;
    height: 1px;
}

.line-3 {
    width: 60px;
    height: 1px;
}

.btn {
    padding: 15px 35px;
    outline: none;
    border: 2px solid var(--color);
    background-color: transparent;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background 1px;
}

.btn:hover {
    background-color: var(--color);
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background 1px;
    color: white;
}

/* header */

#header {
    height: 80vh;
    background: url(img/background.png) center right/contain no-repeat;
}

.logo {
    width: 200px;
    margin-top: 30px;
}

.header-content {
    max-width: 400px;
    margin-top: 150px;
}

.read-more {
    margin: 20px 0 30px 0;
}

#sidenav {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background-color: var(--color);
    z-index: 1;
    overflow: hidden;
    transition: 0.5s;
}

#sidenav ul li {
    margin: 30px;
}

#sidenav ul li:first-child {
    margin-top: 45px;
}

#sidenav ul li a {
    color: white;
}

#menubtn {
    background-color: var(--color);
    width: 50px;
    position: fixed;
    right: 40px;
    top: 35px;
    border-radius: 5px;
    z-index: 1;
    cursor: pointer;
}

/* about us and offer */

#about-us, #offer {
    padding: 70px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-left, .about-right {
    flex-basis: 50%;
}

.about-left img {
    border-radius: 50px;
}

.about-content {
    max-width: 400px;
    display: inline;
}

.about-content h2 {
    font-size: 18px;
    margin: 50px 0 10px;
    font-style: italic;
}

.about-content h3 {
    font-size: 20px;
    font-style: italic;
    color: #757575;
}

#offer .btn {
margin: 30px 0;
}

/* features */

#features {
    padding: 70px 0;
}

.features-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    width: 80%;
    margin: auto;
}

.features-col {
    flex-basis: 25%;
    text-align: center;
}

.features-col img {
    width: 100px;
}

.features-col h4 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 400;
}

.features-col P{
    text-align: center;
}

.features-btn {
    margin: 80px auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.features-btn .line {
    text-align: right;
    margin-right: 25px;
}

/* courses - contact */

#courses, #contact {
    padding: 70px 0;
}

.courses-row, .contact-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.courses-left, .courses-right, .contact-left, .contact-right {
    flex-basis: 50%;
}

.courses-content {
    max-width: 400px;
}

.courses-content .btn {
    margin: 30px 0;
}

/* contact */

.btn-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.btn-box .btn {
    flex-basis: 48%;
}

/* footer */

.ekrem {
    color: black;
}

#footer {
    margin: 30px 0;
}

.footer-row, .footer-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.footer-left {
    flex-basis: 30%;
}

.footer-right {
    flex-basis: 70%;
    margin-top: 50px;
}

.link-title h4 {
    margin-bottom: 15px;
    color: var(--color);
}

.copyright img {
    display: block;
    width: 200px;
    margin: 40px 0;
}

.copyright small, .link-title small {
    display: block;
    font-size: 14px;
    color: #777;
    line-height: 1.8;
}

/* social icons */

.social-icon {
    position: fixed;
    top: 35%;
    left: 0;
    z-index: 1;
}

.social-icon a {
    display: block;
    margin: 0 0 15px 20px;
    cursor: pointer;
    font-size: 25px;
}

.social-icon a:hover {
    transform: scale(1.2);
}

/* responsive */

@media only screen and (max-width: 700px) {

     /* general */
    h1 {
        font-size: 22px;
    }

    .btn {
        padding: 10px 16px;
    }
    
    .container {
        margin: 0px 45px;
    }
   /* header */

   #header {
    height: 75vh;
    background-image: none;
   }

   .logo {
    width: 175px;
    /* margin-top: 25px; */
   }

   #sidenav {
    max-width: 200px;
   }

   #menubtn {
    width: 40px;
    right: 20px;
   }

   /* about us */

   .about-left, .about-right {
    flex-basis: 100%;
   }

   .about-content {
    margin: 50px 20px 0px;
   }

   /* features, course, contact and footer */

   .features-col {
    flex-basis: 100%;
    margin-bottom: 20px;
   }

   .courses-left, .courses-right,
   .contact-left, .contact-right,
   .footer-left, .footer-right {
    flex-basis: 100%;
   }

   .courses-left, .courses-right {
    margin-top: 75px;
   }

   #courses img {
    display: none;
   }

   .link-title {
    flex-basis: 50%;
    margin-bottom: 30px;
   }
}



   













































































































































