*{
    margin: 0;
    font-family: poppins;
}

nav{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0px;
    background: linear-gradient(white , rgb(212, 249, 253));
    z-index: 13;
}

body{
    padding-bottom: 40px;
}

nav h2{
    margin: none;
}
.login{
    background: white;
    backdrop-filter: blur(7px);
    background-size: cover;
    z-index: 20;
}
nav img{
    max-width: 70px;
    margin-right: 10px;
}

.container img{
   width: 600px;
   margin: 10px;
   border-radius: 10px;
}

.container{
    margin: 10px;
    box-shadow: rgba(0, 0, 0, 0.534) 2px 2px 2px 2px;
    
    padding: 20px;
    background: linear-gradient(white , rgb(255, 208, 243));
    border-radius: 20px;
}



button{
  background-color: black;
  color: white;
  border: none;
  width: 90%;
  margin: 20px;
  border-radius: 99px;
  font-size: larger;
  transition: 0.5s;
  cursor: pointer;
}

button:hover{
    border-radius: 10px;
    background-color: rgb(255, 200, 255);
    color: rgb(212, 0, 255);
}

.container h3{
    color: rgb(119, 4, 196);
}

.login button{
    position: block;

}

.quote{
    font-family: "Edu NSW ACT Cursive", cursive;
}

.post{
    width: 250px;
    border-radius: 10px;
}

.course{
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.274) 3px 3px 2px 3px;
   display: flex;
   align-items: center;
   position: relative;

   background: linear-gradient(white , rgb(240, 253, 240));
}

.course button{
     position: absolute;
     bottom: 20px;
     width: 70%;
}

.course p{
    background-color: rgb(161, 233, 255);
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
}

.login{
    width: 100%;
    height: 100%;
    background-color: rgb(255, 254, 254);
    
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

#selected{
    background-color: black;
    border-radius: 10px;
    color: white;
    padding: 10px;
}
html{
    height: 100%;
}

form input{
    width: 90%;
    font-size: larger;
    border-radius: 10px;
    border: black 1px solid;
    margin: 10px;
}

#Class-Selection {
    width: 90%;
    font-size: larger;
    border-radius: 10px;
    border: black 1px solid;
    margin: 10px;
}

form{
    background-color: rgba(255, 255, 253, 0.329);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    text-shadow: rgba(148, 221, 255, 0.603) 3px 3px 3px 2px;
    box-shadow: rgba(0, 0, 0, 0.5) 2px 3px 2px 2px;
}

form input::placeholder{
    color: black;
}

.streak{
   position: fixed;
   right: 25px;
   margin: 0;
}

nav button{
    font-size: large;
    width: 200px;

}
.recommended h2{
   background-color: rgb(11, 80, 2);
   color: white;
   width: fit-content;
   margin: 0;
   border-bottom-left-radius: 10px;
   border-bottom-right-radius: 10px;
   padding: 4px;
   margin-left: 30px;
}
.recommended{
    background: linear-gradient(rgb(241, 250, 237),rgb(165, 255, 147));
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
   
}

#I{
    width: 100%;
}

.Box{
    background-color: rgb(87, 255, 255);
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
}

.choice{
    width: 250px;
    background-color: black;
    color: white;
    margin: 20px;
    padding: 10px;
    display: inline-block;
    vertical-align: top;
    transition: 0.5s;
    cursor: pointer;
}

.choice p{
    color: red;
}

.choice:hover{
    transform: translateY(-15px);
    box-shadow: rgba(255, 102, 102, 0.76) 2px 2px 3px 2px;
}

.quiz{
    width: 300px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.363) 2px 2px 3px 2px;
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    border-radius: 10px;
    background: linear-gradient(white , rgb(219, 252, 255));
}

.question{
    margin: 10px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.466) 2px 2px 3px 3px;
    border-radius: 5px;
    
}

.option{
    background-color: white;
    margin: 10px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.473) 1px 2px 2px 3px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.6s;
}

.option:hover{
    box-shadow: none;
}

.Block{
    
    margin: 10px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.411) 2px 2px 3px 2px;
    background-color: rgb(193, 252, 242);
}

.Block h1{
    color: rgb(102, 1, 1);
}
.Block h2{
    color: rgb(1, 1, 59);
}

.Block strong{
    color: purple;
}

.raja{
    position: fixed;
    width: 170px;
    
   padding: 14px;
   top: 160px;
   right: 30px;
   z-index: 19;
   
}

#Message{
    background-color: rgba(255, 255, 255, 0.637);
    position: fixed;
    top: 170px;
   width: 100px;
    right: 0px;
    border-radius: 100%;
    font-size: small;
    padding: 14px;
    border: black 2px dashed;
}
.raja img{
    width: 100px;
}



.foot-nav {
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); /* Top shadow looks cleaner for a bottom bar */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 3px;
}


.foot-nav i{
    font-size: larger;
    margin: 10px;
    cursor: pointer;
}

.foot-nav a{
    text-decoration: none;
    color: black;
}
#Exp{
    background-color: rgba(255, 255, 255, 0.788);
    position: fixed;
    top: 110px;
    left: 20px;
     padding: 10px;
     border-radius: 99px;
    z-index: 13;
}

img::selection{
  color: darkblue;
}
#name{
    background-color: rgba(255, 255, 255, 0.788);
    position: fixed;
    top: 110px;
    right: 20px;
     padding: 10px;
     border-radius: 99px;
    z-index: 13;
}

#name button{
    width: 50px;
    margin: 0px;
}

.tag{
    background-color: rgb(183, 255, 155);
    width: fit-content;
    font-size: smaller;
    padding: 3px;
    border-radius: 99px;
    margin: 2px;
    min-width: 100px;
}

.tags{
    display: flex;
    overflow-y: scroll;
    scroll-behavior: auto;
  scrollbar-width: none;
}
.tags::-webkit-scrollbar {
  display: none;
}

/* Full-screen dark backdrop */
.streak-div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

/* Active state to show the popup */
.streak-div.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/* The white popup box */
.streak-popup-card {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: popScale 0.3s ease;
}

.streak-popup-card i {
    font-size: 3.5rem;
    color: #ff6b35;
    margin-bottom: 10px;
}

.streak-popup-card h2 {
    margin: 5px 0;
    font-size: 1.6rem;
    color: #222;
}

.streak-popup-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.streak-popup-card button {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    border: none;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.2s;
}

.streak-popup-card button:hover {
    transform: scale(1.05);
}

*::selection{
    background-color: rgb(156, 229, 255);
    color: rgba(1, 70, 70, 0.967);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popScale {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

@media(max-width: 738px){
    .container img{
        width: 90%;
    }
    .course{
        display: flex;
        flex-direction: column;
    }

    .course button{
        width: 90%;
        bottom: -17px;
        left: 4px;
    }

    #name{
        font-size: xx-small;
        margin-left: 10px;
    }

    form{
        width: 90%;
        height: 50%;
    }

    nav button{
        font-size: smaller;
    }

    #Exp{
        font-size: small;
    }

    /* Move the wrapper and any fixed elements inside it */
/* Move the wrapper, nested containers, and iframe to the top-left corner */
/* Move the wrapper and any fixed elements inside it */
   #Margin{
     margin-right: 25px;
   }




}

