:root {
  --white-clean: #fff;
  --white-mid: #fdfeff;
  
  --gray-light: #f5f6f8;
  --gray-mid: #E9EEF2;
  --gray-blue: #c1d0db;
  --gray-dark: #333332;
  --green-soft: #39e5ad;
  --color01: #396277;
  --color02: #2AB2AB;
  --color03: #37acd9;
  --color04: #e4873c;
  
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background-color: var(--gray-mid);
}

h1, .h1 {
    font-size: 37px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h2, .h2 {
    font-size: 30px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h3, .h3 {
    font-size: 24px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h4, .h4 {
    font-size: 17px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h5, .h5 {
    font-size: 14px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

p {
    font-size: 1em;
    font-weight: 400;
}

.space-between {
	display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
}


.hide-scroll {
	-webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/*=====================================icon Login Start===========================================*/





.logicon {
	
	display:none;
    
}

.user-profile {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

.profile-menu {
	display: block;
	width: auto;
	height: fit-content;
    border-radius: 50%;

    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

    z-index: 10;
}

.rounded-circle {
    border-radius: 50% !important;
	width: 55px;
	height: 55px;
	background: var(--gray-light);
	border-style: solid;
    border-width: 2px;
    border-color: var(--color02);
}

.dropdown-menu {
	display: block;
    border: none;
    border-radius: 10px 35px;
    margin-top: -150px;
    padding: 20px 30px 10px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
    width: 200px;
	background: var(--gray-light);
	font-family: "roboto";
	color: var(--color01);
	top: 1vw;
    right: clamp(1vw, calc(3vw - 35px), 100px);
    position: fixed;
    z-index: 9;
	
	-webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.dropdown-menu.show {

    margin-top: 0px;

}

.dropdown-menu .user-dropdown-menu {
    display: none;
}

.dropdown-menu.show .user-dropdown-menu {
    display: block;
}

.dropdown-item {
    width: 100%;
    display: block;
}

.user-dropdown-menu .menu-item:hover {
	padding-left: 10px;
}

.user-set-header {
    padding-bottom: 15px;
	padding-top: 6px;
}



/*=====================================icon Login End===========================================*/


/*=====================================card courses Start=====================================*/




.card.continue {
  background-color: var(--color02);

}


.card.completed {
  background-color: var(--color02);
}




.courses .card.open {
  background-color: var(--color01);
}

.courses .course-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}


.courses .course-image img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
    -webkit-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.courses .card:hover .course-image img {
  transform: scale(1.1);
    -webkit-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.courses .course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  background: linear-gradient(to top, var(--gray-dark), rgb(39 38 38 / 60%), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgb(39 38 38 / 60%));
}

.courses .card:hover .course-overlay {
  background: linear-gradient(to top, var(--gray-dark), rgb(39 38 38 / 60%), rgb(39 38 38 / 60%));
}

.courses .course-meta {
  font-size: 13px;
  opacity: 0.9;
}



.courses .course-title {
  font-weight: bold;
  font-size: calc(8px + 0.5vw);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.courses .card:hover .course-title {
    -webkit-line-clamp: 2;
}

.courses .course-name {
	font-size: 13px;
	height: 40px;
	padding: 0px 17px;
    -webkit-transition: height 0.3s ease-in-out;
    -o-transition: height 0.3s ease-in-out;
    transition: height 0.3s ease-in-out;
}

.courses .card:hover .course-name {
  height: 50px;
    -webkit-transition: height 0.3s ease-in-out;
    -o-transition: height 0.3s ease-in-out;
    transition: height 0.3s ease-in-out;
}

.courses .progress-bar {
  height: 12px;
  background-color: var(--gray-mid);
  overflow: hidden;
  display: flex;
  position: relative;
}

.courses strong.value-progress {
	font-size: 10px;
	color: var(--color01);
	position: absolute;
    right: 8px;
    top: -.4px;
}

.courses .lock .progress-bar {
    background-color: #2b2929;
}

.courses .open .progress-bar {
    //background-color: #2b2929;
	height: 0;
}

.courses .progress-fill {
  height: 100%;
  background-color: var(--color04);
  width: 0%;
}

.courses .completed .progress-fill {
  background-color: var(--green-soft);
}

.courses .continue-btn {
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  height: 20%;
}

.courses .card.open .continue-btn,
.courses .card.continue .continue-btn,
.courses .card.completed .continue-btn {
  color: white;
}

.courses .card.lock .continue-btn{
  color: var(--gray-blue);
}



.courses .course-status {
    display: flex;
    flex-direction: column;
    letter-spacing: .1px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 16px;
    height: 17px;
}


.courses .continue-btn .course-status span.course-open {
    transform: translateY(0px);
    transition: transform .3s;
}


.courses .continue-btn:hover .course-status span.course-open {
    transform: translateY(-17px);
    transition: transform .3s;
}

.courses .card.info.large {
  grid-column: span 2;
  background-color: var(--gray-blue);
  cursor: auto;
}

/*=====================================card courses end===========================================*/

/*=====================================sidebar start===========================================*/

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: calc(220px + 3vw);
  height: 100vh;
}

.logo {
  height: calc(50px + 5vw);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
}

.logo-image {
  //background-image: url("../images/learnova-black.png");
  //background-size: 100% auto;           /* Fit to width, tinggi otomatis */
  //background-position: center center;   /* Center horizontal & vertical */
  //background-repeat: no-repeat;
  //height: 50px;
  //width: 70%;
}

img.logo-png {
    max-width: calc(170px + 2vw);
    margin: auto;
    display: block;
}



.sidebar .menu {
  margin: 0 0 10px;
  padding: 0 min(20px, 1vw);
  font-weight: 700;
}

.menu li {
	list-style: none;
}


.menu-item {
  font-family: "roboto";
  color: var(--color01);
  font-size: 16px;
  line-height: calc(20px + 2vh);
  height: calc(20px + 2vh);
  display: flex;
  align-items: center;
  border-radius: 10px;
  margin: 0 0 5px;
  transition: all 0.3s ease 0s;
}




.sidebar .menu-item:hover {
  color: var(--color02);
  background-color: var(--white-clean);
}

.sidebar .menu-item.active {
  background-color: var(--color02);
  color: var(--white-clean);
}


.menu-label {
    padding-top: 2px;
}

a {
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
}

.sidebar .menu .icon {
    position: relative;
	padding-left: 30px;
	padding-bottom: 3px;
}

.icon.left {
    margin-right: 10px;
    width: auto;
    height: auto;
    top: 1px;

}

/* filter */

.add-wrapper {
	padding: 0 20px 0 25px;
	padding: 0 min(20px, 1vw) 0 min(25px, 1.1vw);
	margin-top: 1vw;
	color: var(--color01);
}

.menu-add {
    background-color: var(--white-clean);
	border-radius: 10px;
	box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
	min-height: 200px;
	overflow: hidden;
	color: var(--color01);
}

.add-heading {
    margin: 10px 0px;
}

.head-section {
    padding: 12px 10px;
    border: none;
    cursor: pointer;
    appearance: none;
	color: var(--color01);
    background-color: var(--white-clean);
}




.keywords-section {
    font-size: 14px;
    border-radius: 10px;
    height: 30px;
    padding: 5px;
    border: 2px solid var(--gray-blue);
    background-color: #fff;
	width: 100%;
}

span.tag {
    font-size: 12px;
    padding: 4px 8px;
    background-color: var(--gray-mid);
    border-radius: 10px;
    margin-bottom: 0.2rem;
    display: inline-flex;
    justify-content: center;
    white-space: nowrap;
    align-items: center;
	cursor: pointer;
}

.section-bar.border {
    border-bottom: 1px solid var(--gray-mid);
}

.section-bar.collapsed {
    padding-bottom: 0;
}


.sidebar .section-bar.keyword {
	padding: 12px 10px;
}


.content-section {
	height: auto;
	padding: 2px 10px;
	padding-top: .2vw;
	transform: scaleY(1);
    transform-origin: center top;
    transition: height 140ms ease-out, transform 140ms ease-out;
	padding-bottom: .3vw;
}

.section-bar.collapsed .content-section {
	height: 0;
	transform: scaleY(0);
    transform-origin: center top;
	padding: 0;
    transition: height 140ms ease-out, transform 140ms ease-out;
}

.section-bar.collapsed  span.icon {
    transform: rotate(180deg);
	transition: 200ms ease-in-out;
}

.section-bar  span.icon {
	transition: 200ms ease-in-out;
}

span.tag.active {
    background-color: var(--color02);
	color: var(--white-clean);
}


/*=====================================sidebar end===========================================*/

/*=====================================header start===========================================*/

.main .header-wrapper {
  background-color: var(--gray-mid);
  padding-top: 1vw;
  padding-right: clamp(1vw, calc(3vw - 35px), 100px);
  padding-left: 10px;
  flex-shrink: 0;
  position: fixed;
  right: 0;
  width: calc(100% - ((220px + 3vw)) + 10px);
}

.main .header {
  height: 140px;
  min-height: 75px;
  display: flex;
  background-color: var(--gray-blue);
  border-radius: 35px 35px 0 0;
  box-shadow: 0px -2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.main img.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}



.main .header-content {
	width:100%;
	color:#fff;
	padding-left: min(3vw, 40px);
	align-items: center;
    display: flex;
	background: linear-gradient(to left, #ffffff00, rgb(62 97 118 / 50%) 40%);
	z-index: 2
}

.main .header-text {
	padding-top: 2px;
}

/*=====================================header end===========================================*/


.card {
  background-color: var(--white-clean);
  height: 330px;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.04);
  outline: 2px solid var(--gray-light);
  display: flex;
    flex-direction: column;
    justify-content: space-between;
}






/*========================================================================*/
.main {
  margin-left: calc(220px + 3vw);
  background-color: var(--gray-mid);
  display: flex;
  flex-direction: column;
}


.content-wrapper {
  background-color: var(--gray-mid);
  margin-top: calc(1vw + 140px);
  padding-right: clamp(1vw, calc(3vw - 35px), 100px);
}

.content {
  background-color: var(--white-mid);
  margin-bottom: 10px;
  border-radius: 0 0 35px 35px;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.05);
}

.information
 {
    padding: 25px 3vw 30px;
}

.information-wrapper {
    color: #fff;
    padding: 15px 30px;
    background-color: var(--color01);
    border-radius: 10px;
	display: grid;
}

.cards.information {
  padding: 25px 3vw;
}

.card.courses-ava {
	cursor: auto;
	height: max(150px , 18vw);
	padding: 12px 29px 20px;
}

.card.courses-chart {
	grid-column: span 3;
	cursor: auto;
	height: max(150px , 18vw);
	padding: 12px 29px 20px;
}


.cards {
  padding: 0 3vw 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  min-height: 200px;
  gap: 1.5vw;
  grid-auto-flow: dense;
}



.courses .card:hover {
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.13);
  outline: 2px solid var(--gray-mid);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.page-wrapper {
  padding: 0px 3vw 25px;
}

.pagenav {
  height: 50px;
  text-align: center;
  list-style: none;
}

li.page-item {
    display: inline-block;
    margin-top: 5px;
    height: 40px;
    width: 40px;
    background-color: var(--gray-light);
	border-radius: 50%;
}

li.page-item.active {

    background-color: #2AB2AB;

}
li.page-item.next {

    background-color: var(--gray-blue);

}

.footer-wrapper {
  background-color: var(--color01);
  padding: 25px 3vw;
  height: 240px;
  border-radius: 0 0 35px 35px;
}

.footer {
  background-color: var(--color02);
  height: 40px;
}

@media (max-width: 1600px) {
  .cards {
	grid-template-columns: repeat(3, 1fr); /* Tambahan opsional */
  }
	.card.courses-chart {
		grid-column: span 2;
	}
}

@media (max-width: 1000px) {
  .cards {
	grid-template-columns: repeat(2, 1fr); /* Tambahan opsional */
  }
	.card.courses-chart {
		grid-column: span 1;
	}
	
	
	.main-title {
    font-size: 1.5em !important;
}

h3.information-wrapper {
    font-size: 18px;
}
  
}


@media (max-width: 880px) {
	
	p.main-sub {
		font-size: 12px !important;
	}
	
/* =================Tambahan opsional================= */

  
  .courses .card .continue-btn {
    padding: 10px 15px;
  }
	
  .courses .card .course-name {
    font-size: 10px;
    height: 20px;
	padding: 0px 3px;
  }
  
  .courses .card .course-meta {
    font-size: 10px;
  }
  
  .courses .progress-bar {
	  height: 16px;
	}

  .courses strong.value-progress {
	font-size: 8px;
	}
	
	.courses .continue-btn {

		font-size: 10px;
	}
	
	.courses .card:nth-child(4),
	.courses .card:nth-child(12)	{
	  grid-column: span 1;
	}
	

	
/* =================Tambahan opsional================= */


  .cards {
    grid-template-columns: repeat(2, 1fr); /* Tambahan opsional */
  }
  
    .card {
    height: 200px;
  }
  

  .main {
    margin-left: 0;
	}
	
  .sidebar .menu .icon {
    padding-left: 0;
	margin-right: 0;
	}
	
  .main .header-wrapper {
    padding: 0;
    width: 100%
	}
	
  .main .header {
    border-radius:0;
	}
	
  .content-wrapper {
    margin-top: 130px;
    padding: 0;
	}
	
	.header-content {
		padding-left: 30px;
	}
	
  .sidebar {
    bottom: 0;
	top: auto;
    position: fixed;
    width: 100%;
    height: 60px;
    background-color: var(--white-clean);
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	z-index: 2;
	}
	
  .logo {
    height: 0;
    display: none;

	}
	
  .sidebar .menu {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
	padding: 0;
	}
	
  nav .menu-item {
    height: 60px;
    padding-left: 0;
    position: relative;
    display: flex;
    align-items: center;
	border-radius: 0px;
	justify-content: center;
	margin: 0;
	}
	
  .sidebar .menu-item {
	display: flex;
    flex-direction: column;
	}
	
  .menu-label {
        font-size: 10px;
        line-height: 15px;
	}
	
  nav .icon {
	padding-left: 0px;
	margin-right: 0px;
	}
  
}