* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #fff;
}

html{
    font-family: "Open Sans", "sans-serif";
}
/* Navbar Section*/
#navbar{
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    height: 70px;
}

#navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
}

#navbar ul li a {
    padding: 0.5rem;
}
#navbar ul li a:hover {
    background: #336ea2;
    border-radius: 10px;
}

/*Home Section*/

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid grey;
}

#home img{
    max-width: 100%;
    height: auto;
    border-radius: 100%;
}

#home .name h2 {
    margin-bottom: 0.75rem;
}

#home .name p {
    opacity: 0.75;
    font-style: italic;
}

/* Training */

#training{
    color: #fff;
    padding: 1rem;
}

#training .items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#training .items .item {
    width: 33%;
    text-align: center;
    padding: 0.5rem;
}

#training .items .item:hover {
    color:salmon;
    opacity: 0.6;
}

/* Courses */

#courses {
    color: #333;
    padding: 1rem;
}

.courses {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.courses .course {
    display: flex;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
   
}

.courses .course .course-image {
    margin-right: 0.5rem;
    position: relative;
}

.courses .course .course-image img {
    border-radius: 5px;
}

.courses .course .course-image span {
    background: red;
    padding: 0.25rem;
    color: white;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
}

.courses .course .course-info .title {
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 00.25rem;
} 

.courses .course .course-info .description {
    letter-spacing: 1.2px;
    margin-bottom: 00.25rem;
    opacity: 0.75;
}

.courses .course .course-info .instructor {
    font-size: 0.8rem;
    margin-bottom: 00.25rem;
    opacity: 0.6;
}

.courses .course .course-info .rating {
    font-size: 0.8rem;
    margin-bottom: 00.25rem;
    opacity: 0.6;
    color: red;
}

#contact {
    color: white;
    padding: 1rem;   
}

#contact .contact-form {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;

}