*{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

/*Start Header Section*/
#header {
    height: 100vh;
    background-image: url(images/background.png);
    background-position: center;
    background-size: cover;
    
}

.container {
    margin-right: 100px;
    margin-left: 100px;
}

.logo {
    margin-top: 25px;
    width: 100px;
}

.header-text {
    max-width: 350px;
    margin-top: 140px;
    
}

.header-text h1 {
    font-size: 34px;
    font-weight: bold;
}
 .header-text p {
    font-size: 15px;
    line-height: 18px;
    color: #777;
}

.square {
    height: 12px;
    width: 12px;
    display: inline-block;
    background: #f67c92;
    margin: 15px 0; 
    
}

.common-btn {
    padding: 18px 40px;
    background: transparent;
    outline: none;
    border: 2px solid #f67c92;
    font-weight: bold;
    cursor:pointer;
    font-size: 15px;
}

.header-text button {
    margin-top: 20px;
    margin-bottom: 60px;
}
.line {
    line-height: 8px;
}
.line-1 {
    width: 15px;
    height: 15px;
    background: #f67c92;
    display: inline-block;
}
.line-2 {
    width: 80px;
    height: 1px;
    background: #f67c92;
    display: inline-block;
}
.line-3 {
    width: 60px;
    height: 1px;
    background: #f67c92;
    display:inline-block;
}

#sideNav {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background: #f67c92;
    z-index: 2;
    transition:.3s;
     
}

nav ul li {
    list-style: none;
    margin: 50px 20px;
}
nav ul li a {
    text-decoration: none;
    color: #fff;
}
nav ul li a:hover {
    text-decoration: none;
    color: #fff;
}

#menuBtn {
    width: 50px;
    position: fixed;
    right: 65px;
    top: 35px;
    z-index: 2;
    cursor: pointer;
    
}
/*End the header*/

/*Start about Section, offer Section*/

#about, #offer {
    padding: 100px 0;
    display: flex; /*There are so many important properties for flex-box*/
    align-items: center;
    flex-wrap: wrap;
    
}

#offer .common-btn {
    margin: 25px 0;
    font-weight: normal;
}
.about-left-col {
    flex-basis: 50%;
}

.about-left-col img {
    width: 100%;
}


.about-right-col {
    flex-basis: 50%;
    text-align: right; /*any element inline or inline-block i can controll it with text-align*/
}

.about-text {
    max-width: 500px;
    margin-right: 100px;
    display: inline-block; /*Text-align ht5le el3nsr yb2a na7yt el ymeen*/
}

.about-text h1 {
    font-size: 34px;
    font-weight: bold;
}
.about-text h3 {
    font-size: 27px;
    font-weight: bold;
    margin-top: 25px;
    font-style: italic;
    
}
.about-text h4 {
    font-size: 22px;
    font-weight: bold;
    color: #777;
    font-style: italic;
}
 .about-text p {
    font-size: 15px;
    line-height: 18px;
    color: #777;
}

/*Features Section*/
#features {
    padding-top: 50px;
    padding-bottom: 50px;
}

.feature-row {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    
}
.feature-col {
    flex-basis: 25%;
    text-align: center;
}

.feature-col img {
    width: 100px;
    
}

.feature-col h4 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 400;
}

.feature-btn {
    margin: 80px auto 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feature-btn .line {
    text-align: right;
    display: inline-block;
    margin-right: 25px;
    
}


/*Courses*/


#courses {
    padding: 100px 0;
    
}
.course-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


.course-right-col {
    flex-basis: 50%;
}
.course-right-col img{
    width: 100%;
}

.course-left-col {
    flex-basis: 50%;
}

.course-text {
    max-width: 350px;
    margin-left: 40px;
    
}
.course-text .common-btn {
    margin-bottom: 35px;
}
.course-text h1 {
    font-size: 34px;
    font-weight: bold;
}
.course-text p {
    font-size: 15px;
    line-height: 18px;
    color: #777;
}

/*Contact Section*/

#contact {
    
}

.contact-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    
}

.contact-left-col, .contact-right-col {
    flex-basis: 50%;
}

 .contact-right-col img{
    width: 100%;
}

.contact-text {
    margin-left: 40px;
}

form {
    max-width: 350px;
    margin: 30px 0;
}

form input {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 5px;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
    border: 2px solid #fab3c4;
}
.contact-text h1 {
    font-size: 34px;
    font-weight: bold;
}
.btn-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    
}
.btn-box button {
    flex-basis: 48%;
    padding: 18px 0;
}
form .line {
    margin-top: 30px;
}

/*Footer*/

#footer {
    padding: 50px 0 30px;
    
}

hr {
    width: 90%;
    margin: 0 auto;
    border: 0;
    border-top: 1px solid #f67c92;
}


.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap:wrap;
    
    
}


.footer-left-col {
    flex-basis: 50%;
    margin-top: 60px;
}

.footer-right-col {
    flex-basis: 35%;
}
.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.link-title h4{
    font-size: 17px;
    color: #fab3c4;
    margin-bottom: 20px;
}

.link-title small{
    font-size: 10px;
    color: #777;

}
.link-title small:nth-of-type(1) {
    display: inline-block;
    font-weight: bolder;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-info small {
    font-size: 15px;
    
}
.footer-info small:nth-of-type(1) {
    margin-top: 60px;
    display: inline-block;
}
.footer-info img{
    width: 100px;
    
}
.footer-info {
    justify-content: space-around;
}

/*Social Icons*/

.social-icons {
    width: 50px;
    position: fixed;
    top: 50%; /*if you want to center vertical, give it top 50% and translateY -50%*/
    left: 0;
    transform: translateY(-50%); /*To make it in the Center*/
    /*In this example, we use positioning and the transform property to vertically center an element inside a container element:*/
    z-index: 50%;
    
}

.social-icons  img {
    display: block;
    width: 20px;
    margin: 0 auto 20px;
    cursor: pointer;
}



@media only screen and (max-width : 770px) {
    * {
        overflow-x: hidden;
    }
    #header {
        background-image: none;
    }
    .container {
    margin-right: 50px;
    margin-left: 50px;
}

.logo {
    margin-top: 21px;
    width: 70px;
}

.header-text {
    margin-top: 100px;
    max-width: 250px;
    
}

.header-text h1 {
    font-size: 25px;
    
}
    
.header-text p {
    font-size: 13px;
}   
    
.common-btn {
    padding: 11px 20px;
    background: transparent;
    outline: none;
    border: 2px solid #f67c92;
    font-weight: bold;
    cursor:pointer;
    font-size: 15px;
}

#menuBtn {
    width: 40px;
    right: 70px;
    position: fixed;
    
}
    
.social-icons  img {
   
    width: 14px;
    margin: 15px auto;
}

    
.about-left-col {
    flex-basis: 100%;
}
.about-right-col {
    flex-basis: 100%;
    }
    
.about-text {
    max-width: 500px;
    margin: 50px 50px 0;
    display: inline-block;
}

.about-text h1 {
    font-size: 24px;
    font-weight: bold;
}
.about-text h3 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 25px;
    font-style: italic;
    
}
.about-text h4 {
    font-size: 14px;
    font-weight: bold;
    color: #777;
    font-style: italic;
}
 .about-text p {
    font-size: 15px;
    line-height: 18px;
    color: #777;
}    

.feature-col {
    flex-basis: 100%;
    margin-bottom: 20px;
}
    
    
.course-left-col {
    flex-basis: 100%;
}  
    
.course-right-col {
    flex-basis: 100%;
    margin-top: 70px;
}      
  
.contact-left-col, .contact-right-col {
    flex-basis: 100%;
}
.contact-right-col {
    margin-top: 50px;
}

.footer-left-col,.footer-right-col {
    flex-basis: 100%;
    
}
    .footer-info div {
        flex-basis: 100%;
    }
.link-title {
flex-basis:50%;         
margin-bottom: 30px;
}
/*End brackets*/}
























