@media (max-width:992px) {
    #header nav {
        position: fixed;
        background-color: var(--color2);
     
        padding: 26px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        border-radius: 8px;
        max-width: 280px;
        margin-top: 50px;
        opacity: 0;
        pointer-events: none;
        transition: all ease .3s;
    }

    #header nav ul {
        flex-direction: column;
    }

    #header nav.show {
        opacity: 1;
        pointer-events: all;
        margin-top: 0;
        z-index: 99999999999;

    }

    #slider p.title {
        font-size: 32px;
    }

    #slider h1 {
        font-size: 80px;
        line-height: 70px;
    }

    #slider .right img {
        max-width: 340px;
    }
    #why h2{
        text-align: center;
    }
    #why{
        padding-bottom: 40px;
    }
    #rewards .right img{
        max-width: 300px;}
        #rewards span{
            font-size: 34px;
            line-height: 40px;
        }
        #rewards h2{
            font-size: 22px;
        }
        #rewards a{
            font-size: 14px;
        }
        #rewards p{
            font-size: 14px;
        }
       #footer::before {
           left: -255px;
           transform: rotate(314deg);
           top:-52px;
    }
}

/* media query (768) for small screen desktop - laptops */
@media (max-width:767px) {
    .sectionHeading{
        font-size: 28px;
        margin-bottom: 20px;
      }

    #header .logo img {
        width: 160px;
    }

    #slider .right img {
        display: block;
        margin: auto;
        max-width: 400px;
    }
    #slider  p.title{
        font-size: 26px;
    }
    #slider h1{
        margin: auto;
              font-size: 48px;
        padding: 10px 30px;
        line-height: 50px;
    }

    #slider .themeButton {
        margin: auto;
        margin-top: 20px;
    }

    #slider .left {
        text-align: center;
    }
    #about .courseDiv h5{
        font-size: 14px;
    }
    #about .left p{
        font-size: 14px;
    }
    #rewards{
        text-align: center;
    }

    #rewards .right img{
        margin: auto;
        display: block;
    }
    #rewards .left{
        padding-block: 40px;
    }
    #footer::before {
    left: -277px;
    }
    .Notification-links{
        text-align:center;
    }
}


/* media query (300) for small mobiles screen  */
@media (max-width:576px) {
    
.register1,.login {
    font-size:16px;
      margin-right:4px;
    background:transparent !important;
    padding:0;
    color:white !important;
    box-shadow:none !important;
    
}
.register1:hover,.login:hover {
    color:var(--color1) !important;
}
    #slider p.title{
        line-height: 30px;
        font-weight: 500;
    }
    #header{
        padding: 14px 10px !important;
    }
    .register {
        font-size: 14px;
    }

    #header .buttons button {
        width: 36px;
        height: 36px;
    }

    #header .buttons button span {
        width: 16px;

    }

    #header .buttons button span:nth-child(2) {
        width: 12px;
    }

    #slider .right img {
           max-width: 300px;
    }
    
    #points .content-box {
    flex-direction: column;
    text-align: center;
}
    #points .c-icon {
    margin-bottom:10px;
    gap:0px;
}

.Notification-links {
    margin-top:0px !important;
}
#slider .carousel-item .imgContainer {
    height: 200px;
}

}
