.flex{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0%;
}

*{
    padding: 0;
    margin: 0;
}

.main-content{
    /* display: none; */
}

.loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

body{
    margin: 0px;
    padding: 0%;
    background-color: black;
}
header{
    background-color: rgba(0, 0, 0, 0);
    margin: 0px;
    padding: 0px;
    width: 100%;
}
nav{
    width: 100%;
    margin-top: 15px;
    margin-left: 0px;
}
section.section1{
    margin: 0px;
    padding: 0%;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 633px;
}
.section1::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 110%;
        background-image: url('/images/Background.jpg');
        background-size: cover;
        opacity: 0.5;
        z-index: -1;
      
}
.and{
    margin-bottom: 70px;
    padding-top: 0px;
}
nav ul a{
    color: white;
    text-decoration: none;
    margin: 7px;
    padding: 7px;
    border-radius: 5px;
}

.links:hover{
    background-color: rgba(0, 0, 0, 0.366);
}

nav ul{
    margin-left: 0px;
    padding: 6px;
    padding-bottom: 10px;
}

.servicebtn{
    background-color: #00ced1;
    border-radius: 5px;
    height: 35px;
    width: 120px;
    color: black;
    font-weight:400;
    margin-left: 850px;
}
.intro{
    color: white;
    font-size: 32px;
    font-weight: normal;
    margin: 100px;

}

.contact{
    width: 200px;
    height: 40px;
    text-align: center;
    margin-left: 50px;
    background-color: rgba(0, 0, 0, 0);
    color: darkturquoise;
    border: 1px solid;
    border-radius: 5px;
}
.contact:hover{
    opacity: 70%;
}

.image1 img{
    height: 250px; 
    width: 250px;
    border: 1px;
    border-color: white;
    border-radius: 100%;
}

.title{
    color: darkturquoise;
}
.images{
    margin-top: 9px;
    display: flex;
    justify-content: center;
}
.logos{
    margin: 10px;
    height: 25px;
    width: 25px;
}

.logos.a{
    animation-name: slidefromleft;
    animation-duration: 2.5s;
}
.logos.b{
    animation-name: slidefromleft;
    animation-duration: 3s;
}
.logos.c{
    animation-name: slidefromleft;
    animation-duration: 3.5s;
}
.logos.d{
    animation-name: slidefromleft;
    animation-duration: 4s;
}

section.section2{
    margin: 0px;
    padding-top: 20px;
    background-color: white;
    height: 700px;
}

.section3{
    background-color: white;
}

.education{
    margin: 50px;
}
.heading{
    font-size: 36px;
    display: flex;
}
.headlogo{
    height: 50px;
    width: 50px;
    margin-left: 15px;
    margin-right: 15px;
}

.headlogo.institute{
    margin-top: 20px;
}

.grid a{
    text-decoration: none;
}

.grid{
    margin-top: 50px;
    margin-left: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1px;
}

.card{
    background-color: #ffffff;
    border-radius: 10px;
    border: 5px solid;
    border-color: rgb(222, 222, 222);
    max-width: 300px;
    margin: 50px;
    padding: 10px;
    text-align: center;
    height: 300px;
    font-size: small;
    width: 270px;
    color: black;
    text-decoration: none;
}

.card li{
    margin-top: 10px;
    margin-bottom: 5px;
    margin-left: 20px;
    text-align: left;
    background-color: rgba(222, 222, 222, 0.26);
}

ul.courses li{
    background-color: #ffffff;
    margin-left: 20px;
    margin-top: 1px;
    text-decoration: none;
}

.card:hover{
    scale: 105%;
}
.card.sec3 {
    height: 250px;
}

li.lang{
    width: 85%;
}

.desc{
    margin: 10px;
    margin-top: 70px;
    padding: 10px;
}

.column{
    display: flex;
}
fieldset{
    margin: 4px;
}

footer{
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    height: 250px;
    background-color: darkturquoise;
}
footer a{
    color: black;
}

.contacts{
    margin-left: 100px;
    text-decoration: none;
}

.contacts a{
    margin: 20px;
    text-decoration: none;
}

.end{
    margin-right: 400px;
}
.images.foot{
    padding: 0px;
    justify-content: left;
    margin: 0px;
    margin-left: -10px;
}

@keyframes slidefromleft{
    0%{
        transform: translateX(500%);
    }

100%{
        transform: translateX(0%);
    }
}
@keyframes slidefrombelow{
    0%{
        transform: translateY(100%);
    }

100%{
        transform: translateY(0%);
    }
}


.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 460px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 10px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}


@media (max-width:450px){

    *{
        margin: 0%;
        padding: 0%;
    }

    .section1{

    }

    .servicebtn{
        margin-left: 50px;
    }

    header{
        width: 10%;
    }

    nav{
        width: 10%;
        margin-top: 15px;
        margin-left: 0px;
    }

    .section1::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 83%;
        height: 85%;
        background-image: url('/images/Background.jpg');
        background-size: cover;
        opacity: 0.5;
        z-index: -1;
      
}

    .grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .grid2{
        grid-template-columns: repeat(2, 1fr);
    }



}

.form{
   margin-top: 150px;
   margin-left: 250px;

}

.timebody{
    display: inline-block;
    justify-content: center;
}

.add{
    width: 60px;
}

.label{
    margin: 5px;
    font-weight: bold;
    margin-left: 50px;
}

.label1{
    width: 30px;
    margin: 0px;
}

.coursess{
    display: inline-block;
}


::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
  }
  
  /* Customize the scrollbar thumb (the draggable handle) */
  ::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the thumb */
    border-radius: 5px; /* Rounded corners for the thumb */
  }
  
  /* Change the color when the thumb is hovered */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }