*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  color: white;
  background-color: #101622;
  font-family: 'Inter';
}
body.py{
  --accent: #1b5358;
}
a{
  text-decoration: none;
  color: inherit;
}
header{
  width: 100%;
  height: 10vh;
  background-color: #101622;
  border-bottom: 0.5px solid white;
  box-shadow: white 0px 0px 2px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(41, 37, 37, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.head{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 30px;
}
.head-2{
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark{
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a6cff, #0b1f46);
  position: relative;
  display: inline-block;
  box-shadow: 0 0 10px rgba(42, 108, 255, 0.4);
}
.logo-mark::before,
.logo-mark::after{
  position: absolute;
  top: 2px;
  font-weight: 800;
  font-size: 14px;
  color: #dbe7ff;
  font-family: 'Inter';
}
.logo-mark::before{
  content: "<";
  left: 4px;
}
.logo-mark::after{
  content: ">";
  right: 4px;
}
.search{
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1b2a44;
  border: 1px solid #2b3f63;
  border-radius: 10px;
  padding: 8px 12px;
  max-width: 360px;
  width: 100%;
}
.search input{
  background: transparent;
  border: none;
  outline: none;
  color: white;
  width: 100%;
  font-size: 13px;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav-link-h{
  text-decoration: none;
  color: #9fb2cc;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: 0.2s ease;
}
.nav-link-h:hover{
  color: #dbe7ff;
  background-color: #1b2a44;
}
.button-home{
  width: 100px;
  height: 40px;
  color: #dbe7ff;
  background-color: #1b2a44;
  border: 1px solid #2b3f63;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  transition-property: all;
  transition-duration: 0.5s;
  transition-delay: 0.01s;
}
.button-home:hover{
  color: white;
  background-color: #253455;
  border-radius: 12px;
  border: 1px solid #3d5aa6;
  font-size: 16px;
}
.login{
  color: white;
  font-size: 16px;
  font-weight: 600;
  width: 100px;
  height: 40px;
  background-color: #135bec;
  font-family: 'Inter';
  border: none;
  border-radius: 12px;
  transition-property: all;
  transition-duration: 0.5s;
  transition-delay: 0.1s;
}
.login:hover{
  color: white;
  background-color: #082661;
}
.main{
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 20px;
}
.box{
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.left{
  width: 260px;
  background-color: #0f172a;
  border: #0f224b solid 2.5px;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.course{
  font-size: 16px;
  font-weight: 700;
}
.prog{
  font-size: 12px;
  color: #98a1ac;
}
.bar{
  height: 6px;
  border-radius: 999px;
  background: #0b1322;
  border: 1px solid #0f224b;
  overflow: hidden;
}
.bar span{
  display: block;
  height: 100%;
  width: 25%;
  background: #135bec;
}
body.py .bar span{
  background: #1b5358;
}
.lesson{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #9fb2cc;
  font-weight: 600;
  font-size: 13px;
}
.lesson:hover{
  background: #1b2a44;
  color: #dbe7ff;
}
.active{
  background: #0d2038;
  color: white;
  border: 1px solid #135bec;
}
body.py .active{
  border: 1px solid #1b5358;
}
.right{
  flex: 1;
  background-color: #0f172a;
  border: #0f224b solid 2.5px;
  border-radius: 12px;
  padding: 18px 20px 26px;
}
.path{
  font-size: 12px;
  color: #98a1ac;
  margin-bottom: 10px;
}
.title{
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.title h1{
  margin: 0;
  font-size: 28px;
}
.tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #135bec;
  color: #ffffff;
  border: 1px solid #0b3aa6;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
body.py .tag{
  background: #1b5358;
  border: 1px solid #0f3437;
}
.sub{
  color: #98a1ac;
  margin: 8px 0 14px;
}
.stitle{
  margin: 16px 0 8px;
  font-size: 16px;
}
ul{
  padding-left: 18px;
  color: #98a1ac;
}
pre{
  background: #0b1220;
  border: 1px solid #0f224b;
  color: #cde1ff;
  padding: 14px;
  border-radius: 12px;
  overflow-x: auto;
}
code{
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
}
.note{
  margin-top: 14px;
  padding: 12px 14px;
  background: #0f1c32;
  border-radius: 12px;
  color: #b8c6de;
  border: 1px solid #0f224b;
}
.call{
  margin-top: 16px;
  background: #0d1e3a;
  border: 1px solid #0f224b;
  padding: 18px;
  border-radius: 14px;
  text-align: center;
}
.call h3{
  margin: 0 0 6px;
}
.call button{
  margin-top: 10px;
  background: #135bec;
  border: none;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
body.py .call button{
  background: #1b5358;
}
.pager{
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #98a1ac;
}
.pager .next{
  color: #135bec;
  font-weight: 700;
}
body.py .pager .next{
  color: #1b5358;
}
@media (max-width: 980px){
  header{
    height: auto;
  }
  .head{
    flex-wrap: wrap;
    padding: 12px 20px;
  }
  .box{
    flex-direction: column;
  }
  .nav-links{
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .search{
    max-width: 100%;
  }
}
