body{
    padding: 1px;
    margin: 0px;
    background-color: aliceblue;
    /*text-transform: capitalize;*/
}
h3{
    color: red;
    font-weight: bold;
}
.dash_side2 h3{
        margin: 0rem;
}
.main_user {
    display: flex;
    width: 72vh;
    height: 68vh;
    border: 0px solid;
    margin: -1rem 0rem;
}
label{
    margin: 0.5rem;
    font-weight: bold;
}
.sub_user{
    padding: 1rem 1rem;
    width: 56%;
}
.sub_user1{
    width: 50%;
    padding: 0rem 0.4rem;
}
.sub_user .sub_user1{
    width: 50%;
    display: flex;
    flex-direction: column;
}
.sub_user input{
    width: 50%;
    height: 3vh;
    border-radius: 0.4rem;
}
.students_details {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 30%;
}
.students_details input[name='name'] {
    height: 73%;
    border-radius: 7px;
    width: 94%;
    padding: 0rem 1rem;
}
.students_details input {
    /*height: 70px;*/
    /*width: 528px;*/
    /*border-radius: 14px;*/
    /*padding: 1rem 1rem;*/
    height: 25vh;
    width: 40vw;
}
.another_details {
    
       width: 97%;
    height: 40%;
    display: flex;
    gap: 1rem;
    margin: 0rem 1rem;
}
.first_details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: space-between;
    height: 112%;
    width: 100%;
    align-items: inherit;
}
.first_details input[name='Total_Teachers'] {
    height: 10%;
    border-radius: 5px;
    width: 98%;
}
.first_details select{
        height: 13%;
        border-radius: 5px;
        width: 99%;
}
.option input[name='yes'] ,.option input[name='no']{
    height: 78%;
    width: 72%;
}


.second_details{
   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: space-between;
    height: 112%;
    width: 100%;
    align-items: inherit;
}
.second_details input[name='district']{
    height: 10%;
    border-radius: 5px;
    width: 98%;
}
.second_details input[name='Total_Classrooms']{
    height: 10%;
    border-radius: 5px;
    width: 98%;
}

.third_details{
   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: space-between;
    height: 112%;
    width: 100%;
    align-items: inherit;
}

.third_details input[name='pincode']{
    height: 10%;
    border-radius: 5px;
    width: 98%;
}
.third_details input[name='Total_computers']{
    height: 10%;
    border-radius: 5px;
    width: 98%;
}
.option {
    display: flex;
    width: 10%;
    margin: 0.5rem 0.5rem;
    padding: 0rem 0rem;
}
.distric_details{
    height: 18%;
    width: 100%;
    font-size: 1rem;
}
.distric_details h4{
    padding: 1rem 1rem;
}
.distric_details1{

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 1rem;
}
.distric_details2{
    display: flex;
    justify-content: center;
    margin: 0rem 1rem;
    gap: 1rem;
    align-items: center;
}
.photo {
    display: flex;
    height: 20vh;
}

        .details {
            text-align: left;
            padding: 30px;
            padding-top: 0px;
            padding-bottom: 10px;
        }
        
.photo input[name='phone'] {
    height: 90%;
    width: 64%;
    background: url('images.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid;
}  
.photo input[name='signature'] {
    height: 90%;
    width: 64%;
    border: 1px solid;
    background: url('signature.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
} 
.sub_user1 input[name='submit'] {
    margin: 1rem;
    width: 25vw;
} 
.addhar{
    display: flex;
    flex-direction: column;
}
.addhar1{
    display: flex;
    flex-direction: column;
}
.addhar2{
    display: flex;
    flex-direction: column;
}
.addhar3{
    display: flex;
    flex-direction: column;
}
#Director{
    margin: 0.4rem;
}

      .main{
        /*border: 1px solid white;*/
        width: 100%;
        height: 85%;
        }
        .main img{
            display: block;
            margin:auto;
        }
        .photo1{
            /*border: 1px solid white;*/
            width: 84%;
            height: 25%;
        }
        
        .name,.address,.phone,.email,.dob{
                    /*border: 1px solid white;*/
                    width: 84%;
                    height: 69%;
                    text-align: center;
                    border-radius: 1rem;
                    margin: 1rem 0rem;
                    align-items: center;
                    justify-content: center;
                    display: flex;
                    box-shadow: inset 0px 0px 5px #528751;
                    background-color: #f1f1f1;
                    transition: all ease 2s;
                    color: black;
                    font-family: math;
                    padding: 0rem 1rem;
        }
        .name:hover, 
.address:hover, 
.phone:hover, 
.email:hover, 
.dob:hover {
    box-shadow: 0px 0px 5px #528751;
}
.photo1{
                width: 17%;
                height: 27%;
                margin: 4px 2rem;
                /*background: url('<?php echo $photo; ?>');*/
                background-size: cover;
                background-repeat: no-repeat;
        }
        #scrl {
            overflow-x: scroll;
            overflow-y: scroll;
            height: 48vh;
        }

        #pading {
            padding-top: 20px;
            padding-right: 30px;
            padding-bottom: 30px;
            padding-left: 20px;
        }

        #div_box_colour {
            background-color: #26acd9;
        }

        div.ex3 {
            overflow-y: scroll;
        }

        .dashboard {
            display: flex;
        }

        .dash_side1 {
            width: 20%;
            background-color: #f4f4f4;
        }

        /*.dash_link a {*/
        /*    display: block;*/
        /*    padding: 10px;*/
        /*    text-decoration: none;*/
        /*    color: #000;*/
        /*}*/

        /*.dash_link a:hover {*/
        /*    background-color: #ddd;*/
        /*}*/

        .main_user {
            padding: 5vh;
            padding-left: 2vh;
        }

        .sub_user, .sub_user1 {
            margin-bottom: 20px;
            padding: 20px;
            background-color: #f9f9f9;
            border-radius: 5px;
        }

        .students_details, .another_details, .distric_details {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 5px;
        }

        input[type="text"], input[type="number"], input[type="date"], input[type="file"], input[type="email"], select {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .option {
            display: flex;
            gap: 10px;
        }

        .p_details h4 {
            margin-bottom: 10px;
        }

        .photo input, .signature input {
            width: 100%;
        }

        .photo, .signature, .addhar, .addhar1, .addhar2, .addhar3 {
            margin-bottom: 10px;
            
            
        }
        .footer {
            /*text-align: center;*/
            /*padding: 20px;*/
            /*background-color: #f4f4f4;*/
            /*position: fixed;*/
            /*bottom: 0;*/
            /*width: 100%;*/
        }
       @media (max-width:1100px) {
           .main {
    /* border: 1px solid white; */
    width: 100%;
    height: 85%;
    padding: 0rem 6rem;
}
.data{
    width: 200%;
}
            .details {
               border: 1px solid;
            width: 40%;
            padding: 1rem;
            display: grid;
            grid-template-columns: repeat(2, minmax(50%, 50%));
            background: url('');
            background-size: cover;
            background-repeat: no-repeat;
}
     .photo1 {
    width: 23%;
    height: 27%;
    margin: 4px 2rem;
    background: url(/images.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}      
           
           
       }
       @media (max-width:750px) {
             .main {
        border: 1px solid black;
        width: 80%;
        height: 85%;
        padding: 0rem 0rem;
        margin: 0rem 7rem;
    }

   .data {
    width: 99%;
    margin: 1rem 3rem;
}
.name, .address, .phone, .email, .dob {
    /* border: 1px solid white; */
    width: 81%;
    height: 7vh;
    text-align: center;
    border-radius: 1rem;
    margin: 4px 0rem;
    align-items: center;
    justify-content: center;
    display: flex;
    box-shadow: inset 0px 0px 5px #528751;
    background-color: #f1f1f1;
    transition: all ease 2s;
    color: black;
    font-family: math;
    padding: 0rem 30px;
    font-size: 14px;
}
            .details {
                width: 68%;
                padding: 1rem;
                display: flex;
                flex-direction: column;
                border-radius: 1rem;
}
   .photo1 {
    width: 32%;
    height: 27%;
    margin: 4px 2rem;
    background: url(/images.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}      
           
       }         

  .dashboard {
               display: grid;
    grid-template-columns: 25% auto;
    min-height: 627px;
        }

        .wt{
            /*width:100vh;*/
        }
     
        #scrl {
            overflow-x: scroll;
            overflow-y: scroll;
            height: 48vh;
        }

        #pading {
            padding-top: 20px;
            padding-right: 30px;
            padding-bottom: 30px;
            padding-left: 20px;
        }



        #div_box_colour {
            background-color: #26acd9;
        }

        div.ex3 {
            overflow-y: scroll;
        }

       
        .dash_side1 {
            width: 20%;
            background-color: #f4f4f4;
        }

        .main_user {
            padding: 5vh;
            padding-left: 2vh;
        }

        .sub_user, .sub_user1 {
            margin-bottom: 20px;
            padding: 20px;
            background-color: #f9f9f9;
            border-radius: 5px;
        }

        .students_details, .another_details, .distric_details {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 5px;
        }

        .option {
            display: flex;
            gap: 10px;
        }

        .p_details h4 {
            margin-bottom: 10px;
        }

        .photo input, .signature input {
            width: 100%;
        }

        .photo, .signature, .addhar, .addhar1, .addhar2, .addhar3 {
            margin-bottom: 10px;
        }
 .student_portal{
            display: grid;
            grid-template-columns: auto 25%;
            font-size: 13px;
        }
        .box1{
              background-color: #9393fd;
    color: white;
    border-radius: 50%;
    text-align: center;
    height: 45px;
    width: 45px;
    display: inline-block;
    line-height: 41px;
    margin: 2px;
        }
        .box1.color_changed{
            background-color: #8fd128;
        }
        label{
            text-transform: capitalize;
            margin: 0rem 1rem;
            font-size: 12px;
        }
        label input{
         margin: 1rem 1rem;
        }
       button {
  margin: 1rem 46px;
    background-color: #03a9f4;
    color: white;
    font-size: 1rem;
    padding: 0rem 2rem;
    border: none;
    cursor: pointer;
}
button:hover{
    background-color: #1c6fff;
}
.handwriting{
    width: 60%;
    text-transform: capitalize;
    display: none;
    border: 2px solid #ffffff;
    border-radius: 13px;
    padding: 1rem;
    z-index: 100;
    transform: translateY(-39rem);
    position: absolute;
    background-color: aqua;
    padding: 3rem;
    left: 388px;
    
}
.first {
    display: flex;
    margin: 0rem 1rem;
    justify-content: space-between;
    align-items: center;
}
.first p{
    width: 50%;
}
.question_box{
    margin: 1rem 4rem;
    width: 100%;
}

.update_question{
   color: #9E9E9E;
    background: white;
    font-size: 13px;
    box-shadow: 0px 0px 10px 0px #3e3e3e1f;
    height: 621px;
}
.update_question h2{
    text-align: center;
    background-color: #3b3bfb8c;
    color: white;
}
.handwriting ol{
    border: 2px solid papayawhip;
    border-radius: 10px;
    padding: 0rem 0rem;
}
.handwriting ol li{
    background-color: #0000ff2b;
    border-radius: 9px;
    margin: 1rem 0rem;
    box-shadow: 2px 2px #31141461;
}
.handwriting ol li:hover{
    background-color: #8a2be2;
    color: white;
}
.handwriting ol li div input{
    height: 25px;
    font-size: 1rem;
    background-color: blue;
    color: white;
    border: none;
    cursor: pointer;
    width: 96px;
}
.handwriting ol li div input button{
    margin: 1rem 46px;
    background-color: #8a2be2;
    color: white;
    font-size: 1rem;
    padding: 0rem 2rem;
}
#btn{
    margin: 1rem 46px;
    background-color: #8a2be257;
    color: white;
    font-size: 1rem;
    padding: 5px 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 2px 2px #31141461;
}
.dashboard h3{
    text-align: center;
    background-color: #7272c9;
    color: white;
        top: -20px;
}
.active {background: #03A9F4;
      color: white;
    position: relative;
    border-radius: 5px;
    padding: 5px 14px 7px;
    top: 8px;}
.active ul{
        width: 37%;
    /* margin: -1rem; */
    /* z-index: 100; */
    height: 74px;
    /* position: absolute; */
    background-color: #03a9f4;
    /* border-radius: 48px; */
    padding: 0rem;
    text-align: center;
    top: 18px;
    left: 12rem;
    transition: all 3s ease-in;
     display: none;
}
.active:hover >ul{
    display:block;
    transition: all 3s ease-in;
}
.active ul li{
    background-color: #1078a7;
    /*width: 100%;*/
}
.hide_body{
    display:none;
}
.show_check_question {
        width: 16%;
    color: #85b5ca;
    background: white;
    font-size: 12px;
    box-shadow: 0px 0px 10px 0px #3e3e3e1f;
    padding: 1rem 1rem;
    height: 100%;
    position: fixed;
    right: 10px;
}
        .box1.change_box_color {
            background-color: #4CAF50;
            color: white;
            transition: all 0.5s ease-in;
        }
        .student_test ol{
                height: 100%;
                overflow: scroll;
                width: 90%;
        }
        form{
            height: 82vh;
        }


form input[type='submit'] {
    position: fixed;
    bottom: 3rem;
    right: 30rem;
    z-index: 999;
    width: 205px;
    height: 55px;
    background-color: #03a9f4;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* जब माउस बटन पर जाएगा तो हल्का डार्क हो जाएगा */
form input[type='submit']:hover {
    background-color: #0288d1;
}




#forgot_pass {
    display: none;
}

  .main{
        /*border: 1px solid white;*/
        width: 100%;
        height: 85%;
        }
        .main img{
            display: block;
            margin:auto;
        }
        .photo1{
            /*border: 1px solid white;*/
            width: 84%;
            height: 25%;
        }
        
/*        .details {*/
/*            width: 100%;*/
/*            padding: 1rem;*/
            /*display: grid;*/
/*            grid-template-columns: repeat(2, minmax(50%, 50%));*/
/*            border-radius: 1rem;*/
/*}*/
        .name,.address,.phone,.email,.dob{
                    /*border: 1px solid white;*/
                    width: 84%;
                    height: 69%;
                    text-align: center;
                    border-radius: 1rem;
                    margin: 1rem 0rem;
                    align-items: center;
                    justify-content: center;
                    display: flex;
                    box-shadow: inset 0px 0px 5px #528751;
                    background-color: #f1f1f1;
                    transition: all ease 2s;
                    color: black;
                    font-family: math;
                    padding: 0rem 1rem;
        }
        .name:hover, 
.address:hover, 
.phone:hover, 
.email:hover, 
.dob:hover {
    box-shadow: 0px 0px 5px #528751;
}
.photo1{
                width: 17%;
                height: 27%;
                margin: 4px 2rem;
                /*background: url('<?php echo $photo; ?>');*/
                background-size: cover;
                background-repeat: no-repeat;
        }
        #scrl {
            overflow-x: scroll;
            overflow-y: scroll;
            height: 48vh;
        }

        #pading {
            padding-top: 20px;
            padding-right: 30px;
            padding-bottom: 30px;
            padding-left: 20px;
        }

        #heig {
            height: calc(150% - 0px);
             width: 100%; 
        }

        #div_box_colour {
            background-color: #26acd9;
        }

        div.ex3 {
            overflow-y: scroll;
        }

        .dash_side1 {
            width: 20%;
            background-color: #f4f4f4;
        }

        .main_user {
            padding: 5vh;
            padding-left: 2vh;
        }

        .sub_user, .sub_user1 {
            margin-bottom: 20px;
            padding: 20px;
            background-color: #f9f9f9;
            border-radius: 5px;
        }

        .students_details, .another_details, .distric_details {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 5px;
        }


        .option {
            display: flex;
            gap: 10px;
        }

        .p_details h4 {
            margin-bottom: 10px;
        }

        .photo input, .signature input {
            width: 100%;
        }

        .photo, .signature, .addhar, .addhar1, .addhar2, .addhar3 {
            margin-bottom: 10px;
            
            
        }
@media (max-width:1100px) {
           .main {
    /* border: 1px solid white; */
    width: 100%;
    height: 85%;
    padding: 0rem 6rem;
}
.data{
    width: 200%;
}
            .details {
               border: 1px solid;
            width: 40%;
            padding: 1rem;
            display: grid;
            grid-template-columns: repeat(2, minmax(50%, 50%));
            background: url('');
            background-size: cover;
            background-repeat: no-repeat;
}
     .photo1 {
    width: 23%;
    height: 27%;
    margin: 4px 2rem;
    background: url(/images.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}      
           
           
       }
       @media (max-width:750px) {
             .main {
        border: 1px solid black;
        width: 80%;
        height: 85%;
        padding: 0rem 0rem;
        margin: 0rem 7rem;
    }

   .data {
    width: 99%;
    margin: 1rem 3rem;
}
.name, .address, .phone, .email, .dob {
    /* border: 1px solid white; */
    width: 81%;
    height: 7vh;
    text-align: center;
    border-radius: 1rem;
    margin: 4px 0rem;
    align-items: center;
    justify-content: center;
    display: flex;
    box-shadow: inset 0px 0px 5px #528751;
    background-color: #f1f1f1;
    transition: all ease 2s;
    color: black;
    font-family: math;
    padding: 0rem 30px;
    font-size: 14px;
}
            .details {
                width: 95%;
                padding: 1rem;
                display: flex;
                flex-direction: column;
                border-radius: 1rem;
}
   .photo1 {
    width: 32%;
    height: 27%;
    margin: 4px 2rem;
    background: url(/images.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}      
           
       }         


        #timer {
            font-size: 50px;
            font-weight: bold;
            color: #fff;
            background: linear-gradient(45deg, #ff5733, #ffbd69);
                padding: 5px 15px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 1s infinite alternate;
    bottom: 3rem;
    right: 3rem;
    position: fixed;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(1.05);
            }
        } 
        
        
        
.boxes {
    font-family: Arial, sans-serif;
    /*background-color: #d7b0b0;*/
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    height: 100%;
    margin: 1px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 10pt;
}

.profile-container {
    width: 100%;
    max-width: 500px; /* डेस्कटॉप पर अधिकतम चौड़ाई */
    text-align: center;
    /*padding: 10px;*/
    border-radius: 10px;
    position: relative;
    border: 14px solid #f1f1f1;
    background: #fff;
    height: 33rem;
    box-sizing: border-box;
}

/* छोटे स्क्रीन (मोबाइल) के लिए */
@media (max-width: 768px) {
    .profile-container {
        width: 95%;
        max-width: none;
        height: auto;
    }
}

.profile-container img {
    width: 67px;
    height: 78px;
    border-radius: 7%;
    /* object-fit: cover; */
    border: 5px solid #e7f1f6;
    /* margin-bottom: 0px; */
}

.details p {
    font-size: 10px;
    margin: 0px 0;
    color: #5a3333;
    display: flex;
    /* justify-content: stretch; */
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    /* text-transform: math-auto; */
    padding: 4px;
}

.details p b {
    color: #7c6ec5;
    font-size: 10px;
}

.imgbg {
    background-color: #e0feff;
    width: 100%;
    height: 5rem;
    }
    
/* Profile Container */
/*.profile-container {*/
/*    background: #fff;*/
/*    padding: 15px;*/
/*    border-radius: 10px;*/
/*    border: 2px solid #ddd;*/
/*    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);*/
/*    text-align: center;*/
/*    width: 250px;*/
/*    overflow: hidden;*/
/*}*/

.news-container {
    overflow: hidden;
    height: 27rem;
    position: relative;
}

.news-scroll {
    display: flex;
    flex-direction: column;
    /*gap: 10px;*/
    animation: scrollUp 10s linear infinite; /* 10s Slow Speed */
    position: absolute;
}

@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}
/* Stop scrolling on hover */
.news-container:hover .news-scroll {
    animation-play-state: paused;
}

/* Footer Styling */
footer {
    background-color: black;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: center;
    padding: 10px 0;
}