@import url('https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap");

*{
    margin: 0;
    padding: 0;
}

/* big screen view */
.header-container{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
        font-size: 20px;
}
.header-container p{
    font-size: 14px;
}
.log-container img{
    margin-right: 10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

#project-acroname {
    font-size: 1.7em;
    animation: drop 2s forwards;
  }
  
#project-meaning {
    font-size: 1.1em;
    width: 0;
    color: black;
    overflow: hidden;
    white-space: nowrap;
    transition: width 2s;
    transition-delay: 3s;
  }
  
  @keyframes drop {
    0% {transform: translateY(-50px);}
    100% {transform: translateY(0);}
  }

.side-input-container{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 55%;
    left: 50%;
    width: 60%;
    height: 85%;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease-in-out;

    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
        font-size: 14px;
}

.side-input-container button{
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px;
    font-weight: 600;
    background-color: white;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.side-input-container button:hover{
    color: white;
    background-color: hsl(108, 100%, 50%);
}
#side-copy-right{
    display: none;
}
#file-upload-label {
    width: 100%;
    height: 85%;
    border: 4px dashed #999999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #999999;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    cursor: pointer; /* Change the cursor to a hand when hovering over the label */
}

#file-upload-label:hover {
    color: #666666;
    border-color: #666666;
}

#file-upload-label.dragover {
    color: #333333;
    border-color: #333333;
}
.loading-sign{
    display: none;
    border: 1px solid black;
    border-radius: 5px;
    padding: 20px;
    background-color: yellowgreen; 
    color: rgb(255, 255, 255);
}

.input-form{
    margin-top: 40px ;
    height:auto;
    max-width: 300px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid black;
    text-align: center;
    display: none;
}
.input-form input{
    text-align: center;
}
section{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.evaluation-container{
    
    display: none;
}
.evaluation-container #the-canvas1,
.evaluation-container #the-canvas2{
    width: 60%;
    display: none;
}

.student-form {
    position: fixed;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 75%;
    max-width: 100%;
    max-height: 100%;
    background-color: white;
    overflow: auto;
    display: none;

    font-family: "Aleo", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.2); /* Add this line */
}
.student-form button{
   position: absolute;
   right: 5px;
   top: 10px;
   padding: 5px 10px 5px;
}
#downloadData{
    right:50px ;
    cursor: pointer;
    background-color: hsl(93, 100%, 70%);
    border: none;
    font-family: verdana;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.5s ease-in-out;
}
#downloadData:hover{
    background-color: hsl(93, 100%, 47%);
    color: blanchedalmond;
}
#close-btn{
    padding: 5px 15px 5px;
    cursor: pointer;
    background-color: hsl(93, 100%, 70%);
    border: none;
    font-family: verdana;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.5s ease-in-out;
}
#close-btn:hover{
    background-color: hsl(0, 100%, 50%);
    color: white;
    
} 
.student-form p,
.student-form h1,
.student-form h4,
.student-form h3,
.student-form h6{
    margin:10px 0px 10px;
    text-align: center;
    font-family: Verdana;
}
.guides{
    margin-top: -10px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}
.guides h4{
    text-align: left;
    font-size: 1em;

    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}
.guides p{
    text-align: left;
    font-size: 0.8em;
    margin-left: 5px;
}
.guides #symbol-text{
    text-align: center;
    font-size: 0.6em;
}
.input_grades{
    width: 60px;
    font-family: verdana;
    text-align: center;
}
table{
    width: 100%;
    border-collapse: collapse;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
        font-size: 1em;
}
table h3{
    text-align: center;
    text-decoration: underline;
}
th{
    font-size: 0.9em;
    background-color: #999999;
    padding: 5px;
    color: white;
    margin: 0;
    border: none;
}
th:nth-child(1){
    font-size: 0.9em;
    text-align: left;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}
th:nth-child(6){
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}
td{
    font-size: 0.7em;
    font-family: verdana;
}
td:nth-child(1){
    padding-left: 10px;
    padding-right: 50px;
    font: 1.1em;
    font-weight: bolder;
}
td:nth-child(2),
td:nth-child(3),
td:nth-child(4),
td:nth-child(5){
    padding-top: 5px;
    text-align: center;
    text-align: center;
    align-items:center;
}
th:nth-child(5),
th:nth-child(3){
    width: 80px;
}

#student-FirstYear-FirstSem::after,
#student-FirstYear-SecondSem::after,
#student-FirstYear-ThirdSem::after,
#student-SecondYear-FirstSem::after,
#student-SecondYear-SecondSem::after,
#student-SecondYear-ThirdSem::after,
#student-ThirdYear-FirstSem::after,
#student-ThirdYear-SecondSem::after,
#student-ThirdYear-ThirdSem::after,
#student-FourthYear-FirstSem::after,
#student-FourthYear-SecondSem::after {
    content: "";
    display: block;
    height: 20px; /* Adjust this value to increase or decrease the space */
}
.copy-right{
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 20px;
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;

    display: flex;
    align-items: center;
}
.copy-right img{
    width: 40px;
    height: 40px;
    object-fit:cover;
}
.copy-right p{
    display: inline;
    margin-left: 3px;
    padding: 1px 10px;
    border-radius: 5px;
    background-color: lightseagreen;
    color: rgb(59, 0, 0);
    cursor:pointer;
}

@keyframes fadeInOut {
    0% {opacity: 0;}
    50% {opacity: 1;}
    100% {opacity: 0;}
}

.fade-in-out {
    animation: fadeInOut 5s infinite;
}

/* landing page */

    body {
        background-color: #f6f0f9;
    }
    header {
        position: fixed;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 18px;
        background: #f6f0f9;
        box-shadow:  5px 5px 5px #9d9a9f,
             -5px -5px 5px #ffffff;
             width: 100%;
             top:-10px;
        z-index: 9999;
    }
    header img {
        margin-top: 10px;
        margin-left: 20px;
        width: 50px;
    }
    nav {
        position: relative;
        right: 5%;
        font-family: 'Fredoka';
        transition: 50ms ease-in-out;
    }
    nav a {
        background: #8a65f1;
        border-radius: 5px;
        box-shadow:  2px 2px 3px #9d9a9f,
             -2px -2px 3px #ffffff;
        padding: 10px;
        text-decoration: none;
        color: white;
        font-weight: 600;
        
    }
    nav:hover {
        transform: scale(1.1);
    }
    main{
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      margin-top: 50px;
      margin-bottom: 20px;
    }
    .opstitle-container{
      margin-top: 40px;
      border-radius: 5px;
      box-shadow:  3px 3px 3px 3px #9d9a9f;
      height: 170px;
    }
    .opstitle-container h1 {
      padding-top: 10px;
    }
    .opestitle {
        font-weight: 500;
        font-family: 'Fredoka';
        color: #453474;
        text-align: center;
        width: 80%;
    }
    .opestittle-text{
      display: flex;
      justify-content: center;
      align-items: center;
    }

    #swiper-sector{
      display: flex;
      justify-content: center;
      margin-top: 20px;
      height: 100%;
      margin-top: 80px;
    }
    
    #about{
        text-align: center;
        color:#453474;

        font-family: "Open Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: 800;
        font-style: normal;
        font-variation-settings:
            "wdth" 100;
    }
    #about-section{
        height: auto;
    }
    .about_developer{
        padding: 10px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 95%;
        margin-bottom: 20px;
        overflow: hidden;
        font-size: 0.9em;
    }
    .devDetails{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right: 5px;
        text-align: center;
        padding: 10px;
        background:#f6f0f9;
        color:#333333;
        border-radius: 10px;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        height: 220px;

        font-family: "Open Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: 600;
        font-style: normal;
        font-variation-settings:
            "wdth" 100;
        font-size: 0.9em;
    }
    
    .devDetails p{
        display: block;
       white-space: wrap;
    }
    .devDetails img{
        width: 120px;
        height: 120px;
        border-radius: 30%;
        margin-bottom: 10px;
    }

/* mobile view main page */
@media (max-width: 700px) {
    .guides{
        font-size: 0.5em;
    }
    .guides p{
        margin-top: -5px;
    }
    .guides #symbol-text{
        margin-top: 20px;
    }
    section{
        margin-top: 80px;
    }
    #project-meaning{
        font-size: 0.8em;
    }
    #project-meaning span {
        white-space: wrap;
    }
    th:nth-child(3),
    th:nth-child(4),
    th:nth-child(6),
    td:nth-child(3),
    td:nth-child(4),
    td:nth-child(6){
        display: none;
    }
    th:nth-child(5){
        border-bottom-right-radius: 5px;
        border-top-right-radius: 5px;
    }
    th:nth-child(1){
        text-align: center;
        font-size: 0.8em;
    }
    .canva-container{
        display: none;
    }
    .side-input-container{
       top: 45%;
       height: auto;
    }
    #file-upload-label {
        margin-top: 80px;
        padding: 20px 30px 20px;
        height: 200px;
    }
        
    .input-form{
        margin-top: 120px;
        font-size: 0.8em;
    }
    .log-container{
        align-items: center;
    }
    .logo-text{
        width: 230px;
    }
    .copy-right {
        display: flex;
        justify-content: center;
        width: 100%;
        bottom: 5px;
        font-size: 0.7em;
        text-align: center;
    }    
    #copy-right img{
        width: 30px;
        height: 30px;
    }
    .student-container{
        margin-top: 20px;
        font-size: 0.8em;
    }
    .student-form{
        top:47%;
        font-size: 0.9em;
        height: 75%;
        width: 75%;
    }
    #student_details{
        font-size: 0.7em;
    }
    td{
        font-size: 0.7em;
    }
    td:nth-child(1){
        padding-right: 10px;
    }
    td:nth-child(3){
        text-align: center;
    }
    .input_grades{
        width: 35px;
        font-size: 1em;
    }

}
