
*, *::before, *::after {
  margin: 0;
  padding: 0;
}

a {
    text-decoration: none;
}
body {
    left: 0;
    right: 0;
    overflow-x: hidden;
}


.navbar {
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 10;
}

.logo img {
    width: 120px;
    margin-left: 30px;
}

.courses {
    height: 30px;
    width: 130px;
    margin-left: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #929292;
    cursor: pointer;
}
.courses p {
    font-family: "Gabarito", sans-serif;
    font-size: 15px;
}
.courses i {
    margin-left: 5px;
    font-size: 13px;
}
.courses-wrapper:hover i {
    transform: rotate(-180deg);
}

.search {
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Gabarito", sans-serif;
}
.search form {
    margin-right: 20px;
    position: relative; 
    display: inline-block;
}
.search form i {
     position: absolute; 
    left: 15px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: rgba(32, 32, 32, 0.442);
    font-size: 15px;
    padding-right: 10px;
}
.search form input {
    border-radius: 20px;
    height: 35px;
    width: 800px;
    border: none;
    padding-left: 50px;
    font-size: 15px;
    outline: 1px solid rgba(80, 77, 77, 0.736);
    
}
.search form input:focus{
    color: rgb(102, 102, 102);
    outline: 1px solid rgba(162, 68, 68, 0.736);
}
.search form input::placeholder {
    font-size: 15px;
    color: #acabab;
}

.search-dropdown {
    margin-top: 5px;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    max-height: 650px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.search-item {
    padding: 5px;
    border-bottom: 1px solid rgb(222, 222, 222);
    cursor: pointer;
    display: block;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-family: "Gabarito", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    font-weight: 800;
}

.search-item:hover {
    background: #f5f5f5;
    color: rgb(0, 0, 0);
}

.search-thumb {
    width: 70px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

.login-register {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: "Gabarito", sans-serif;
    margin-left: 100px;
}
.register {
    color: rgb(180, 76, 76);
    border: 1px solid rgb(193, 92, 92);
    width: 150px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 300;
}
.login {
    color: rgba(142, 142, 142, 0.736);
    font-size: 17px;
    font-weight: 300;
}
.login:hover {
    color: #b94e4e;
}
.register:hover {
    background-color: #ffd1d157;
    color: rgb(180, 76, 76);
}

.courses-wrapper {
  position: relative;
}

.course-dropdown {
  display: none;
  position: fixed;
  top: 35px;
  left: 0;
  z-index: 2;
}
.dropdown {
    margin-top: 15px;
    height: 400px;
    left: 0;
    width: 100vw;
    background-color: #ffffff;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
    padding-left: 30px;
}

.courses-wrapper:hover .course-dropdown {
  display: block;
  opacity: 100%;
  
}
.categories-wrapper {
    margin-right: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 30px;
}
.categories {
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    border-right: 1px solid rgb(219, 219, 219);
}
.categories-wrapper .categories:first-child {
    border-left: 1px solid rgb(219, 219, 219);
}
.categories a{
    font-family: "Gabarito", sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #272626;
    margin-bottom: 20px;
}
.categories a:hover {
    text-decoration: underline;
}
.course-list-wrapper {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
}
.course-list {
  width: 180px;
}
.course-list a {
    display: flex;
    justify-content: left;
    font-size: 12px;
    color: #747474;
}
.view-more {
    width: 100%;
}
.view-more a{
    text-align: left;
    font-size: 12px;
    color: #b0afaf;
}

.right-navbar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    margin-left: 10px;
}
.right-navbar a {
    color: #4d4d4d;
    font-family: "Gabarito", sans-serif;
    font-size: 15px;
}
.progress-navbar {
    width: 130px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 33px;
    padding-right: 5px;
    padding-left: 5px;
    border: 1px solid white;
    border-radius: 5px;
}
.progress-navbar:hover {
    background-color: #ff9a9a1b;
    border: 0.4px solid rgba(255, 153, 153, 0.477);
}

.right-navbar a img{
    width: 24px;
    padding: 5px;
    opacity: 100%;
}
.right-navbar a img:hover{
   opacity: 100%;
}
.right-navbar-group{
    display: flex;
    align-items: center;
    gap: 20px;

}
.profile-dropdown {
    position: relative;
    display: flex;
    justify-content: center;
}
.profile-dropdown img {
    background-color: #f2f2f2;
}
.profile-wrapper {
  display: none;
  position: fixed;
  top: 35px;
  z-index: 2;
  margin-right: 150px;
}
.profile-dropdown:hover .profile-wrapper {
    display: block;
}
.profile-drop {
    margin-top: 15px;
    height: auto;
    width: 200px;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
}
.student-info {
    display: flex;
    margin-top: 10px;
    padding-bottom: 10px;
    flex-direction: column;
    gap: 1px;
    font-family: "Gabarito", sans-serif;
    text-align: left;
    border-bottom: 1px solid rgb(194, 194, 194);
}
.student-info h1 {
    text-align: center;
    font-size: 15px;
    font-weight: 200;
    color: #585858;
}
.student-info h2 {
    text-align: center;
    font-size: 12px;
    font-weight: 200;
    color: #929292;
}
.drop-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}
.drop-list a {
    height: 40px;
    display: flex;
    align-items: center;
}
.drop-list a p {
    margin-left: 30px;
}
.drop-list a:hover {
    background-color: #dddddd;
}
.image-navbar {
    background-color: #929292;
}
.nav-profile-img {
    width: 40px;          
    height: 40px;
    object-fit: cover;     
    border-radius: 50%; 
    cursor: pointer; 
}


.notif  {
    scale: 0.9;
    opacity: 0.7;
}
.cart-dropdown {
    position: relative;
    display: flex;
    justify-content: center;
}
.cart-dropdown a {
    opacity: 0.7;
    scale: 0.9;
}
.cart-wrapper {
  display: none;
  position: fixed;
  top: 35px;
  z-index: 2;
  margin-right: 250px;
}
.cart-dropdown:hover .cart-wrapper {
    display: block;
}
.cart-drop {
    margin-top: 15px;
    height: auto;
    width: 280px;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 10px 10px;
}

.cart-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(216, 216, 216);
}
.cart-header h1 {
    font-family: "Gabarito", sans-serif;
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 2px;
    color: #000000;
}
.cart-header p {
    font-family: "Gabarito", sans-serif;
    font-size: 13px;
    font-weight: 200;
    color: #565656;
}
.cart-header a {
    color: #787878;
}
.cart-header a:hover {
    color: #323232;
}
.cart-items {
    margin-top: 25px;
    padding-bottom: 20px;
    margin-left: 20px;
}
.empty-cart-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5e5e5e;
    margin-right: 20px;
}
.empty-cart-drop img {
    width: 50px;
    margin-bottom: 20px;
    opacity: 0.5;
}
.empty-cart-drop p {
    font-family: "Gabarito", sans-serif;
    font-size: 13px;
}

.course-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.image-name {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}
.image-name img {
    width: auto;
    height: 55px;
}
.item-wrapper h1 {
     font-family: "Gabarito", sans-serif;
    font-size: 11px;
    font-weight: 200;
    color: #acabab;
}
.item-wrapper h2 {
    font-family: "Gabarito", sans-serif;
    font-size: 15px;
    font-weight: 80;
}
.item-wrapper p {
    font-family: "Gabarito", sans-serif;
    font-size: 12px;
    color: #000000;
}
.item-wrapper span {
    font-family: "Gabarito", sans-serif;
    font-size: 12px;
}
.total-price {
    border-top: 1px solid rgba(0, 0, 0, 0.173);
    margin-right: 20px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;

}
.total-price p {
    color: rgb(0, 0, 0);
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 20px;

    text-align: center;
    display: flex;
    align-items: left;
    gap: 5px;
}

.total-price p span {
    font-size: 13px;
    margin-top: 2px;
}