* {
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.first-half-container {
    max-width: 1350px;
    margin: 0 auto;
}

.max-width-container {
    max-width: 1350px;
    margin: 0 auto;
}

 /* Smart nav start */

.smart-nav {
    max-width: 1920px !important;
    height: 56px;
    background-color: #5624d0;
    margin: 0;
    color: white;
    font-weight: 300;
    font-size: 1rem;
    justify-content: center;
    display: flex;
    align-items: center;
    letter-spacing: 0.4px;
    text-align: center;
    padding: 0 30px;  
}

.smart-nav-content{
    flex-grow: 1;
}

.smart-nav-bold {
    font-weight: 500;
    margin: auto;
    width: 80%;
}

.close-icon {
    cursor: pointer;
}

/* Smart nav end */
/* Navbar start */

.navbar {
    border-bottom: 1px solid rgb(211, 210, 210);
    padding: 0 25px;
    height: 72px;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    color: #1c1d1f;
    font-weight: 300;
    font-size: 0.95rem;   
}

.logo {
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    margin-right: 25px;
    cursor: pointer;
}

a {
    margin-right: 25px;
    font-size: 0.9rem;
    cursor: pointer;
}

.search-bar {
    position: relative;
    margin-right: 25px;
    flex-grow: 1;
}

.search-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    color: grey;
    font-size: 1.1rem;
}

.search-bar-input {
    border: 1px solid black;
    border-radius: 50px;
    height: 46px;
    width: 100%;
    padding-left: 50px;
    outline: none;
    font-size: 0.9rem;
    font-weight: 300;
    background-color: rgb(248, 248, 248);
}

.cart-icon-img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.log-in {
    border: 1px solid black;
    height: 40px;
    width: 75px;
    margin-left: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    background-color: white;
    cursor: pointer;
}

.sign-up {
    border: 1px solid black;
    height: 40px;
    width: 75px;
    margin-left: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    background-color: black;
    color: white;
    cursor: pointer;
}

.change-language {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    height: 40px;
    width: 40px;
    margin-left: 10px;
    background-color: white;
    cursor: pointer;
}

.change-language img {
    width: 18px;
    height: 18px;
}



/* Navbar end */
/* Sub-navbar start */

.sub-navbar {
    color: #1c1d1f;
    height: 50px;
    display: flex;
    align-items: center;
    font-weight: 300;
}

.sub-navbar-links {
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
}

/* Sub-navbar end */
/* Banner start */

.banner-content {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1
}

.banner-content img {
    width: 100%;
    text-align: center;
}

.banner-text {
    width: 470px;
    position: absolute;
    left: 60px;
    top: 60px;
    background-color: white;
    padding: 10px 25px;
    box-shadow: 0 0 10px rgb(214, 213, 213);
    font-family:Georgia, 'Times New Roman', Times, serif;
}

.banner-text p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    letter-spacing: 0.4px;
}

/* Banner end */
/* Course mix start */

.course-mix-container {
    padding: 0 20px;
    position: relative;
    z-index: 500;
    height: 100%;
}

.course-mix-titles h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-top: 30px;
    margin-bottom: 12px;
}

.course-mix-titles p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    letter-spacing: 0.4px;
    margin-top: 0;
    font-size: 1.1rem;
}

.course-mix-categories a{
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgb(94, 94, 94);
}

.course-mix-categories a:nth-child(1) {
    color: black;
    font-weight: bold;
}

.course-mix-selected {
    height: 100%;
    width: 100%;
    border: 1px solid rgb(211, 210, 210);
    margin-top: 15px;
    padding: 15px 30px 50px;;
}

.selected-titles {
    width: 68%;
}

.selected-titles h2 {
    font-weight: 600;
}

.selected-titles p { 
    font-weight: 300;
    letter-spacing: 0.2px;
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.4rem;
}

.explore-button {
    border: 1px solid black;
    padding: 12px 12px;
    font-weight: 700;
    font-size: 0.85rem;
    background-color: white;
    cursor: pointer;
}

.selected-courses-container{
    display: flex;
    margin-top: 30px;
    overflow: hidden;
    height: 100%;
}

.course-image img{
    width: 95%;
    height: 95%;
    cursor: pointer;
}

.course-container {
    width: 100%;
    height: 290px;
}

.course-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden; 
    margin-top: 7px;
    margin-bottom: 3px;
    font-weight: bold;
    font-size: 1.1rem;
    width: 95%;
    cursor: pointer;
}

.course-author {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden; 
    font-size: 0.8rem;
    color: rgb(141, 141, 141);
    width: 95%;
    margin-bottom: 5px;
    cursor: pointer;
}

.review-number {
    color: #c78315;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 3px;
}

.full-star {
    font-size: 0.7rem;
    color: #e59819;
    margin-right: -1px;
}

.half-star {
    font-size: 0.7rem;
    color: #e59819;
}

.reviews-amount {
    font-size: 0.8rem;
    color: rgb(155, 155, 155);
    margin-left: 5px;
}

.price {
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 7px;
    margin-right: 10px;
    margin-bottom: 10px;;
}

.discounted-from {
    font-size: 0.9rem;
    color: rgb(155, 155, 155);
    text-decoration:line-through;
    font-weight: 300;
    margin-left: 5px;
}

.best-seller {
    background-color: #eceb98;
    padding: 4px 8px;
    color: #4d4c1b;
    font-size: 0.8rem;
    font-weight: bold;
    
}
/* Course mix end */
/* Marketing bar start */

.marketing-bar-container {
    background-color: rgb(246, 251, 252);
    height: 70px;
    width: 100%;
    margin-top: 70px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.marketing-bar-content {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.marketing-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.marketing-section span {
    width: 75%;
    font-weight: bold;
    font-size: 1.1rem;
}

.icon-container{ 
    background-color: rgb(194, 194, 194);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
}

.play-marketing {
    font-size: 0.7rem;
}

.full-star-marketing {
    font-size: 1.1rem;
}

.infinity-marketing {
    font-size: 1.1rem;
}

/* Marketing bar end */
/* Students viewing start */

.students-viewing-container {
    width: 95%;
    margin: 0 auto 50px;
}

/* Students viewing end */
/* Top categories start */

.top-categories-container {
    width: 95%;
    margin: 0 auto;
}

.top-categories-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    font-size: 0.9rem;
    overflow: hidden;
}

.category h3 {
    margin-top: 5px;
}

.img-container {
    overflow: hidden;
    display: inline-block;
}

.img-container img {
    width: 100%;
    transition: transform 0.1s linear;
}

.img-container:hover img{
    transform:scale(1.08);
    display: inline-block;
    cursor: pointer;
}

/* Top categories end */
/* Featured topics start */

.featured-topics-container {
    width: 100%;
    height: 500px;
    margin-top: 50px;
    padding: 50px 30px;
    background-color: rgb(246, 251, 252);
}

.featured-topics-container h2 {
    margin-bottom: 10px;
}

.topics-container {
    display: flex;
    justify-content: space-between;
    margin-right: 150px;
}

.topic-section {
    display: flex;
    flex-direction: column;
}

.topic-section h3 {
    margin-bottom: 30px;
}

.topic-section a {
    font-weight: bold;
    font-size: 1.05rem;
    color: #5624d0;
    text-decoration: underline;
}

.topic-section p {
    font-size: 0.9rem;
    color: rgb(138, 138, 138);
    font-weight: 300;
}

.explore-more-topics-button {
    border: 1px solid black;
    padding: 12px 12px;
    font-weight: 700;
    font-size: 0.85rem;
    background-color: transparent;
    margin-top: 10px;
    cursor: pointer;
}

/* Featured topics end */
/* Extras start */

.become-instructor-container {
    display: flex;
    width: 70%;
    justify-content: center;
    margin: 70px auto;
}

.become-instructor-image-container {
    width: 100%;
}

.become-instructor-image-container img {
    width: 100%;
}

.become-instructor-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 1rem;
    margin-left: 90px;
    padding-bottom: 60px;
    width: 100%;
}

.become-instructor-content-container p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    letter-spacing: 0.4px;
    margin-top: 0;
    font-size: 1.15rem;
    line-height: 1.5rem;
}

.start-teaching-button {
    border: 1px solid black;
    height: 47px;
    width: 175px;
    font-weight: 500;
    font-size: 1rem;
    background-color: black;
    color: white;
    cursor: pointer;
}

.trusted-by-container {
    background-color: rgb(246, 251, 252);
    height: 170px;
    width: 100%;
    margin-top: 70px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trusted-by-content {
    text-align: center;
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 1.05rem;
}

.trusted-by-content img{
    margin-right: 25px;
}

.business-logo {
    width: 275px;
    margin-bottom: 10px;
}

.udemy-business-container {
    display: flex;
    width: 70%;
    justify-content: center;
    margin: 70px auto;
}

.udemy-business-image-container {
    width: 100%;
}

.udemy-business-image-container img {
    width: 100%;
}

.udemy-business-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 1rem;
    margin-right: 90px;
    margin-top: 50px;
    padding-bottom: 60px;
    width: 100%;
}

.udemy-business-content-container p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    letter-spacing: 0.4px;
    margin-top: 0;
    font-size: 1.15rem;
    line-height: 1.5rem;
}

.get-business-button {
    border: 1px solid black;
    height: 47px;
    width: 175px;
    font-weight: 500;
    font-size: 1rem;
    background-color: black;
    color: white;
    cursor: pointer;
}

.transform-life-container {
    display: flex;
    width: 70%;
    justify-content: center;
    margin: 70px auto;
}

.transform-life-image-container {
    width: 100%;
}

.transform-life-image-container img {
    width: 100%;
}

.transform-life-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 1rem;
    margin-left: 90px;
    margin-top: 50px;
    margin-bottom: 100px;
    width: 100%;
}

.transform-life-content-container p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    letter-spacing: 0.4px;
    margin-top: 0;
    font-size: 1.15rem;
    line-height: 1.5rem;
}

.find-out-how-button {
    border: 1px solid black;
    height: 47px;
    width: 120px;
    font-weight: 500;
    font-size: 1rem;
    background-color: black;
    color: white;
    cursor: pointer;
    margin-right: auto;
}

/* Extras end */
/* Footer start */

.footer {
    background-color: #1c1d1f;
    width: 100%;
    height: 290px;
    display: flex;
    flex-direction: column;
}

.footer-top-content {
    display: flex;
    padding: 35px 45px;
    justify-content: space-between;
}

.columns { 
    display: flex;
    flex-direction: column;
    width: 100%;
}

.columns a {
    font-weight: 300;
    color: white;
    margin-bottom: 10px;
}

.columns a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    padding: 10px 45px 0;
    color: white;
    align-items: flex-end;
}

.change-language-img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    margin-left: 10px;
}

.change-language-button {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    margin-left: auto;
    height: 40px;
    width: 140px;
    cursor: pointer;
}

.copyright {
    font-size: 0.8rem;
}

/* Footer end */

/* ---Media Queries--- */
/* Hidden elements start */

@media screen and (min-width: 884px) {
    .hamburger {
        display: none;
    }
    .search-tablet {
        display: none;
    }
    .banner-text-mobile {
        display: none;
    };
}

@media screen and (min-width: 700px) {
    .why-learn-text {
        display: none;
    }
    .banner-image-mobile{
        display: none;
    }
    .mobile-change-language {
        display: none;
    }
}

/* Hidden elements end */
/* Tablet and mobile changes start */

@media screen and (max-width: 1176px) {
    .sub-navbar {
        display: none;
    }
}

@media screen and (max-width: 1014px) {
    .business-link {
        display: none;
    }    
    .course-5 {
        display: none;
    }
    .viewing-course-5 {
        display: none;
    }
    .marketing-section span {
        font-size: 0.8rem;
    }
    .become-instructor-image-container {
        max-width: 65%;
    }    
    .become-instructor-container {
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
        width: 90%;
        padding: 0 13%;
    }
    .become-instructor-content-container {
        text-align: center;
        width: 100%;
        margin: 0;
    }
    .start-teaching-button {
        margin: 0 auto;
    }
    .udemy-business-image-container {
        max-width: 65%;
        margin: 0 auto 20px;
        justify-content: center;
    }    
    .udemy-business-container {
        flex-direction: column-reverse;
        margin: 0 auto;
        align-items: center;
        width: 90%;
        padding: 0 13%;
        margin-top: 50px;
    }
    .udemy-business-content-container {
        text-align: center;
        align-items: center;
        width: 100%;
        margin: 0;
    }
    .transform-life-image-container {
        max-width: 65%;
    }    
    .transform-life-container {
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
        width: 90%;
        padding: 0 13%;
    }
    .transform-life-content-container {
        text-align: center;
        width: 100%;
        margin: 0 0 50px;
    }
    .find-out-how-button {
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 882px) {
    .smart-nav {
        display: none;
    }
    .category-link  {
        display: none;
    }
    .search-bar input {
        display: none;
    }
    .search-bar {
        display: none;
    }
    .teach-link {
        display: none;
    }
    .log-in {
        display: none;
    }
    .sign-up {
        display: none;
    }
    .change-language{
        display: none;
    }
    .nav-content {
        justify-content: space-between;
    }
    .search-tablet {
        font-size: 1.2rem;
        margin-right: 30px;
        color: grey;
        cursor: pointer;
    }
    .hamburger {
        font-size: 1.2rem;
        cursor: pointer;
    }
    .course-4 {
        display: none;
    }
    .viewing-course-4 {
        display: none;
    }
    .banner-text {
        display: none;
    }
    .banner-content {
        height: 260px;
    }
    .banner-text-mobile h1 {
        font-family:Georgia, 'Times New Roman', Times, serif;
        margin: 0;
        font-size: 1.4rem;
    }
    .banner-text-mobile p {
        font-family: 'Roboto', sans-serif;
        font-weight: 300;
        letter-spacing: 0.4px;
        font-size: 0.8rem;
    }
    .course-title {
        font-size: 0.9rem;
    }
    .course-image {
        width: 95%;
    }
    .featured-topics-container {
        height: 100%;
    }
    .topics-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-right: 0;
    }  
    .topic-section {
        display: inline-block;
    }
    .business {
        justify-content: flex-end;
    }
    .course-mix-titles h1{
        font-size: 1.4rem;
    }
    .course-mix-titles p {
        font-size: 0.8rem;
    }
    .course-mix-categories a{
        font-size: 0.8rem;
    }
    .trusted-by-container {
        margin: 0;
    }
    
}

@media screen and (max-width: 700px) {
    .marketing-bar-container {
     height: 350px;
     width: 98%;
     margin: 60px auto 30px;
    }
    .marketing-bar-content {
        flex-direction: column;
        width: 100%;
    }
    .why-learn-text {
        margin: 0 auto 10px;
        font-size: 0.8rem;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }
    .marketing-section {
        margin-bottom: 20px;
        justify-content: flex-start;
        padding-left: 10px;
    }
    .marketing-section span {
        font-size: 1rem;
    }
    .category {
        grid-auto-rows: auto;
    }
    .banner-image {
        display: none;
    }
    .banner-image-mobile {
        height: 250px;
    }
    .explore-more-topics-button {
        width: 100%;
    }
    .footer {
        height: 100%;
    }
    .footer-top-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 25px 20px;
    }
    .desktop-change-language {
        display: none;
    }
    .mobile-change-language-button {
        margin: 0 0 30px;
    }
}

@media screen and (max-width: 640px) {
    .selected-titles {
        display: none;
    }
    .course-mix-titles{
        display: none;
    }
    .explore-button {
        display: none;
    }
    .course-mix-selected {
        padding-bottom: 0;
    }
    .start-teaching-button {
        width: 100%;
    }
    .become-instructor-content-container h1 {
        font-size: 1.4rem;
    }
    .become-instructor-content-container p {
        font-size: 0.8rem;
    }
    .become-instructor-image-container {
        max-width: 90%;
    }
    .business-logo {
        width: 200px;
    }
    .udemy-business-image-container {
        max-width: 90%;
    }
    .udemy-business-content-container p {
        font-size: 0.8rem;
    }
    .get-business-button {
        width: 100%;
    }
    .transform-life-content-container h1 {
        font-size: 1.4rem;
    }
    .transform-life-content-container p {
        font-size: 0.8rem;
    }
    .transform-life-image-container {
        max-width: 90%;
    }
    .find-out-how-button {
        width: 100%;
    }
    .trusted-by-container{
        margin: 0;
    }
    .trusted-by-content h2 {
        font-size: 1.2rem;
    }
    .course-3 {
        display: none;
    }
    .viewing-course-3 {
        display: none;
    }
}

@media screen and (min-width: 1400px) {
    .featured-topics-container {
        padding: 25px 30px 25px 105px;
    }
}
/* Tablet and mobile changes end */