.navbar{
    padding: 20px 0px;
    height: 60px;
    display: flex;
    position: relative;
    align-items: center;
    font-size: 20px;
    z-index: 10;
}
.navbar .email{
    margin-top: 10px;
}
.navbar svg{
    height: 55px;
}
.navbar-img-section{
    margin: auto;
    font-size: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-top: 45px;
    width: 80%;
    height: 60px;
}

.navbar-img-section a{
    color: var(--green);
    text-decoration: none;
}
.navbar .navbar-img-section{
    width: max-content;
    height: 100%;
    margin: 0;
    margin-top: 10px;
    margin-right: 120px;
    margin-left: auto;
    align-items: right !important;
}
.navbar .navbar-img-section a{
    padding: 0 30px;
}

.units-container{
    margin-top: 40px;
}
.units-container, .curriculum-info{
    display: inline-block;
    width: 100%;
}
.curriculum-container{
    display: flex;
    align-items: center;
    max-height: 500px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    width: 80%;
    transition: all .45s ease;
    border: 4px solid transparent;
    cursor: pointer;
}
.curriculum-container:hover{
    transform: scale(1.02);
    border-color: #20122b;
    box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.26);
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.26);
    -moz-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.26);
}
.curriculum-container img{
    width: 50%;
}
.unit-container, .curriculum-container{
    max-width: 1000px;
    margin: auto;
    box-shadow: 0px -3px 15px 3px rgba(75, 75, 75, 0.13);
    margin-bottom: 40px;
    border-radius: 4px;
    height: max-content;
}
.unit-container h3{
    background-color: lightgray;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    padding: 10px 20px;
    margin-bottom: 0px;
}
.lessons-container .lesson{
    height: 42px;
    padding: 5px 30px;
    margin: 5px 0px;
    overflow: hidden;
    cursor: pointer;
    vertical-align: middle;
}
.lessons-container .lesson h4 i{
    vertical-align: middle;
    margin-top: -3px;
    margin-right: 15px;
}
.expanded{
    overflow: visible !important;
    height: max-content !important;
}
.add-unit{
    display: flex;
    width: max-content;
    cursor: pointer;
    overflow: hidden;
}
.add-lesson{
    display: flex;
    margin: 10px 20px;
    margin-top: 10px;
    border: 1px solid lightgray;
    border-radius: 14px;
    overflow: hidden;
}
.add-button{
    background-color: lightgray;
    width: 42px;
    height: 42px;
    padding: 14px;
    line-height: 14px;
    text-align: center;
    font-weight: bolder;
}
.add-unit span, .add-lesson span{
    line-height: 42px;
    margin-left: 20px;
    margin-right: 20px;
}
.save{
    margin: auto;
    position: relative;
    display: block;
}
.hide-opacity{
    opacity: 0;
}
.alerts_box {
    display: flex;
    flex-direction: column-reverse;
    width: 55%;
    max-width: 500px;
    margin: 20px;
    bottom: 0px;
    padding: 5px;
    overflow-y: auto;
    position: fixed;
    z-index: 102;
    left: var(--nav-width);
}
.alerts_box::-webkit-scrollbar {
    width: 2px;
}

.alerts_box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0); 
    border-radius: 10px;
}

.alerts_box::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.alerts_box .alert{
    transition: all .4s ease;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    line-height: 35px;
    border-radius: 5px;
}
.alerts_box .alert span, .alerts_box .alert button{
    margin-top:  0px;
    font-size: 16px;
    color: black;
}

.curriculum-info{
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.curriculum-info-text-container{
    max-width: 800px;
    height: max-content;
    padding: 50px 0px;
    margin: auto;
    position: relative;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 100px;
    background: rgba( 255, 255, 255, 0.25 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.inline-screen{
    margin: auto;
    position: relative;
    margin-top: 40px;
    background-color: #2d2f31;
    color: white;
    padding: 1px 0px;
    max-width: 740px;
    width: 85%;
}
.lesson-viewer{
    position: fixed;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    top: 0;
    background-color: #202020cc;
    opacity: 0;
    transition: opacity 1s ease;
    overflow: auto;
}
.video-gpt{
    background-color: #dddddd;
    padding-bottom: 20px;
}
.video-gpt svg{
    width: 100%;
    height: 78%;
}
.video-gpt p{
    text-align: center;
    width: 100%;
}
.question-box{
    margin: auto;
    background-color: white;
    width: max-content;
    padding-left: 10px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    margin-top: 10px;
}
.question-box textarea{
    height: 34px;
    border: 0px;
    width: 300px;
    margin-top: 10px;
    resize: none;
    white-space: normal;
    padding-right: 5px;
}
.question-box textarea:focus {
    outline: none;
  }
.question-box button{
    background-color: rgb(138, 255, 196);
    border: 0px;
    padding: 11px;
}
.chat-window{
    margin-top: 15px;
    height: 200px;
    color: black;
    overflow: hidden;
}
.chat-window::-webkit-scrollbar {
    width: 6px;
    height: 6px;
} 
/* Track */
.chat-window::-webkit-scrollbar-track {
    background: #f1f1f1;
} 
/* Handle */
.chat-window::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
} 
/* Handle on hover */
.chat-window::-webkit-scrollbar-thumb:hover {
    background: #555;
}
  
.chat-message{
    width: 400px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    height: auto;
    padding: 10px;
    float: left;
    position: relative;
    background-color: rgb(203, 201, 201);
    border-radius: 5px;
}
.chat-question{
    background-color: rgb(247, 245, 245);
    float: right;
    margin-right: 5px;
}
.chat-question:nth-child(1){
    margin-top: 15px;
}
.typing-animation {
    display: inline-flex;
  }
  
.dot {
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1s infinite;
}
.dot:nth-child(1){
    animation-delay: 0.2s;
}
.dot:nth-child(2){
    animation-delay: 0.4s;
}
.dot:nth-child(3){
    animation-delay: 0.6s;
}
@keyframes typing {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
}
.lesson-viewer iframe{
    margin: auto;
    display: block;
    width: calc(100% - 40px);
    margin: 0px 20px;
    max-height: 42vh;
    aspect-ratio: 16 / 9;
}
.lesson-viewer .back{
    margin: 20px;
    width: max-content;
    background-color: lightgray;
    padding: 10px 20px;
    border-radius: 40px;
    position: absolute;
    cursor: pointer;
    z-index: 4;
}
.lesson-viewer .back i{
    margin-right: 10px;
}
.lesson-viewer h3{
    width: max-content;
    display: block;
    margin: auto;
    padding: 20px 0px;
    font-size: 40px;
}
.curriculum-container div{
    width: 40%;
    margin: 20px auto;
}

.quiz-select-lesson{
    display: flex;
}
.quiz-select-lesson a{
    line-height: 25px;
    margin-left: 10px;
    color: black;
}
.quiz-select-lesson i{
    margin-right: 6px;
}

.l-shape {
    margin-left: 6px;
    width: 15px;
    height: 15px;
    border: 1px solid black;
    border-top: 0px;
    border-right: 0px;
    position: relative;
  }

  .vertical-line {
    width: 2px;
    height: 100%;
    background-color: black;
    position: absolute;
  }

  .horizontal-line {
    width: 100%;
    height: 2px;
    background-color: black;
    position: absolute;
    bottom: 0;
  }
@media screen and (max-width:1000px){
    .inline-screen{
        margin-top: 80px;
    }
}
@media screen and (max-width:400px) {
    .inline-screen{
        width: 100%;
        height: 100%;
        margin-top: 0;
        padding-top: 80px;
    }
    .inline-screen iframe{
        width: 100%;
        margin: 0px;
    }
    .chat-message{
        width: 200px;
    }
}
