* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.header {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-bar {
    width: auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.637);
    color: rgb(100, 100, 100);
}

.logo {
    width: 96px;
    height: 35px;
    margin-left: 25px;
    cursor: pointer;
}

.categories {
    display: flex;
    align-items: center;
    font-size: 17px;
    cursor: pointer;
}
.categories:hover {
    color: rgba(137, 43, 226, 0.838);
}

.search-bar {
    display: flex;
    align-items: center;
}
.search-icon {
    height: 50px;
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    border: 1px solid black;
    border-right: none;
    background-color: rgb(247, 247, 247);
    font-size: 17px;
    color: rgba(128, 128, 128, 0.878);
}
.search-bar-label {
    width: 600px;
    height: 50px;
    border: 1px solid black;
    border-left: none;
    padding: 10px;
    font-size: 15.5px;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    background-color: rgb(247, 247, 247);
}
.business:hover {
    color: rgba(137, 43, 226, 0.838);
}
.teach :hover {
    color: rgba(137, 43, 226, 0.838);
}

.cart {
    display: flex;
    height: 80px;
    width: auto;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.cart:hover {
    color: rgba(137, 43, 226, 0.838);
}

.buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid black;
    cursor: pointer;
}

.globe-button {
    margin-right: 25px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18.4px;
    background-color: white;
}

.globe-button:hover {
    background-color: rgba(225, 225, 225, 0.895);
}
.login {
    background-color: white;
}
.login:hover {
    background-color: rgba(225, 225, 225, 0.895);
}
.signup {
    background-color: black;
    color: white;
    border: none;
    padding: 13px 16px;
}
.signup:hover {
    background-color: rgba(0, 0, 0, 0.734);
}


.top-background {
    width: auto;
    height: 450px;
    background-image: url("./assets/top-background.jpeg");
    background-size: cover;
    margin: 0px 25px 0px 25px;
    position: relative;
}

.promo-box {
    width: 490px;
    height: 290px;
    background-color: #ffffff;
    color: rgb(36, 36, 36);
    position: absolute;
    top: 70px;
    left: 70px;
    padding: 24px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.173);
}
.promo-box h1 {
    width: 400px;
    font-size: 36px;
    font-family: Georgia, Times, serif;
    margin-bottom: 16px;
}
.promo-box p {
    width: 400px;
    line-height: 25px;
    font-weight: 500;
    margin-bottom: 16px;
}
.promo-box button {
    width: 230px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.823);
    border: none;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}
.promo-box button:hover {
    background-color: rgba(0, 0, 0, 0.734);
}


.brands-label {
    width: 100%;
    height: 250px;
    background-color: rgb(246, 246, 246);
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.brands {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 50px;
}
.brands img {
    height: 40px;
    width: auto;
}
.brands-heading {
    margin-top: 70px;
    color: rgb(111, 111, 111);
    font-size: 21px;
}

.choose-courses {
    width: 100%;
    height: 160px;
    margin-top: 70px;
    padding-left: 50px;
}
.choose-courses h1 {
    margin-bottom: 25px;
    font-family: serif;
    font-size: 39px;
    margin-left: 0px;
    
}
.choose-courses p {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}
.courses {
    display: flex;
    margin-top: 35px;
}
.courses ul li {
    display: inline;
    margin-right: 20px;
    font-weight: 700;
    font-size: 17.5px;
    cursor: pointer;
    color: rgba(102, 102, 102, 0.936);
}

.course-info {
    width: 1420px;
    height: 580px;
    margin: 0px 50px;
    border: 1px solid rgb(201, 201, 201);
    padding: 38px;
}

.explore-more h2 {
    font-size: 27px;
    margin-bottom: 15px;
}
.explore-more p {
    width: 840px;
    line-height: 25px;
    font-size: 17px;
    margin-bottom: 15px;
}
.explore-more button {
    background-color: white;
}
.explore-more button:hover {
    background-color: rgba(225, 225, 225, 0.895);
}

.course-images {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

.course {
    width: 247px;
    height: 270px;
    border: none;
    cursor: pointer;
}
.course-image img{
    width: 100%;
    height: 130px;
    object-fit: cover;
    border: 4px solid rgba(255, 134, 28, 0.944);
}
.course h2 {
    font-size: 18px;
    margin-top: 12px;
    margin-bottom: 6px;
}
.name {
    font-size: 14px;
    color: rgb(108, 108, 108);
    margin-bottom: 8px;
}
.price {
    font-weight: 700;
    font-size: 19px;
    color: rgba(0, 0, 0, 0.848);
}
.rate {
    padding: 5px;
    margin-top: 10px;
    background-color: rgba(192, 165, 14, 0.503);
    width: 80px;
    font-weight: 700;
    font-size: 14px;
}

.feedback-section {
    width: 100%;
    height: 560px;
    background-color: #f2f2f283;
    margin-top: 70px;
    padding: 60px 0px;
}
.feedback-section h1 {
    margin-left: 50px;
    font-size: 27px;
    margin-bottom: 40px;
}
.feedback {
    width: 390px;
    height: 350px;
    border: 1px solid rgba(201, 201, 201, 0.59);
    margin-left: 50px;
    padding: 30px;
    background-color: white;
    box-shadow: 0px 0px 15px rgba(41, 41, 41, 0.289);
}

.feedback-box {
    display: flex;
    gap: 80px;
}
.symbol {
    font-size: 70px;
    margin-bottom: 0px;
}
.line {
    margin-top: -25px;
    font-size: 17.5px;
    line-height: 25px;
    margin-bottom: 30px;
}
.line span {
    font-weight: 700;
}
.name {
    display: flex;
    gap: 15px;
    align-items: center;
}
.a {
    background-color: black;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}
.b {
    font-size: 17px;
    color: black;
    font-weight: 600;
}

.learners-section {
    width: 100%;
    height: 430px;
}
.xy {
    width: 1420px;
    height: 350px;
    margin: 0px 50px;
    border: none;
    box-shadow: 0px 0px 20px rgba(241, 241, 241, 0.444);
    padding: 1px;
    margin-top: 0px;
}
.learners-section h2 {
    margin-left: 50px;
    font-size: 24px;
    margin-top: 5px;
}
h3 {
    margin-top: 8px;
}

body h1 {
    margin-left: 50px;
    font-size: 27px;
    color: rgb(32, 32, 32);
}
.category-section {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(4, 1fr);
    width: 1420px;
    height: 750px;
    margin: 0px 50px;
    border: none;
    margin-top: 25px;
    row-gap: 55px;
    column-gap: 30px;
}

.category img {
    width: 100%;
    margin-bottom: 8px;
    object-fit: cover;
    cursor: pointer;
}
.category h2 {
    font-size: 18px;
    color: rgb(45, 45, 45);
    cursor: pointer;
}

.featured-section {
    width: 100%;
    height: 500px;
    margin-top: 100px;
    background-color: rgba(247, 246, 246, 0.884);
    padding: 50px;
}
.featured-section h2 {
    margin-bottom: 27px;
    font-size: 27px;
}

.flexbox {
    display: flex;
    width: 1230px;
    justify-content: space-between; 
}
.featured-box h3 {
    font-size: 21px;
    margin-bottom: 27px;
}
.extra {
    margin-bottom: 25px;
}
.extra p {
    margin-top: 12px;
    color: rgba(104, 104, 104, 0.941);
}
.extra h4 {
    font-size: 18px;
}

.topics:hover {
    background-color: rgb(219, 219, 219);
}

.business-section {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
}

.business-section-row {
    width: 950px;
    height: 500px;
    display: flex;
    margin-top: 70px;
}
.content1 {
    width: 55%;
    height: 400px;
}
.content1 ul {
    margin-left: 33px;
    font-size: 19.5px;
    line-height: 27px;
    margin-bottom: 20px;
}
.content1 ul li {
    margin-bottom: 13px;
    width: 400px;
}
.content1 ul li::marker {
    font-size: 30px;
}

.udemy-business {
    width: 192px;
    height: 32px;
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 30px;
    color: blueviolet;
    margin-bottom: 20px;
    margin-top: 10px;
}
.udemy-business img {
    width: 90px;
}
.content1 h1 {
    margin-left: 0px;
    font-size: 37px;
    font-family: Georgia, Times, serif;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.content1 .button1 {
    width: 204px;
    height: 48px;
    padding: 0px 12px;
    margin-right: 5px;
    background-color: black;
    color: white;
    font-size: 17px;
}
.content1 .button1:hover {
    background-color: rgba(0, 0, 0, 0.885);
}

.content1 .button2 {
    width: 135px;
    height: 48px;
    font-size: 17.5px;
    padding: 0px 10px;
}
.content1 .button2:hover {
    background-color: rgb(218, 218, 218);
}

.content2 {
    width: 430px;
    height: 425px;
}
.content2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-section {
    width: 100%;
    height: 500px;
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
}
.customer {
    width: 900px;
    height: 330px;
    border: 1px solid rgb(203, 203, 203);
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    background-color: white;
    box-shadow: 0px 0px 50px rgba(179, 179, 179, 0.152);
}
.part {
    width: 50%;
    height: 100%;
    padding: 20px;
}
.part h1 {
    margin-left: 0px;
    font-size: 55px;
    margin-bottom: -15px;
}
.part p {
    font-size: 16.5px;
    margin-bottom: 78px;
}
.part2 img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-top: 20px;
    margin-left: 100px;
    margin-bottom: 25px;
}
.part2 h2 {
    margin-left: 110px;
    margin-bottom: 2px;
    font-size: 21px;
}
.part2 p {
    margin-left: 139px;
    color: rgb(108, 108, 108);

}
p.college {
    margin-left: 100px;
    margin-top: -60px;
    color: rgba(0, 0, 0, 0.895);
}

.teaching-section {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
}
.box {
    display: flex;
    width: 900px;
    height: 400px;
    margin-top: 80px;
}
.box1  {
    width: 496px;
    height: 400px;
}
.box2 {
   padding-left: 100px;
}
.box2 h1 {
    margin-left: 0px;
    margin-top: 95px;
    font-size: 40px;
    font-family: serif;
    margin-bottom: 25px;
}
.box2 p {
    font-size: 20.6px;
    margin-bottom: 20px;
    color: #2d2f31;
}
.box2 button {
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.844);
    color: white;
    padding: 16px 12px;
}
.box2 button:hover {
    background-color: rgba(0, 0, 0, 0.755);
}

footer {
    width: 100%;
    height: 340px;
    background-color: rgb(22, 22, 22);
    display: flex;
    flex-direction: column;
    position: relative;
}
.row1 {
    width: 800px;
    height: 180px;
    display: flex;
    justify-content: space-between;
    padding: 50px;
}
.row1 .list ul {
    color: white;
    list-style-type: none;
}
.row1 .list ul li {
    margin-bottom: 12px;
    cursor: pointer;
}
.row1 .list ul li:hover {
    text-decoration: underline;
}
footer button {
    width: 147px;
    height: 42px;
    position: absolute;
    top: 35px;
    right: 50px;
    background-color: rgb(22, 22, 22);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 35px;
    border: 1px solid rgb(186, 186, 186);
}
footer button:hover {
    background-color: rgba(29, 29, 29, 0.745);
}

.row2 {
    width: 1420px;
    height: 100px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    margin-left: 50px;
    align-items: center;
}
.footer-logo {
    width: 91px;
    height: 34px;
    background-image: url(./assets/logo-udemy-inverted.svg);
}

.author {
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
}











