@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
/*font-family: 'Open Sans', sans-serif;*/

@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
/* font-family: 'Poppins', sans-serif; */

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background:rgb(0,21,77);
}
.container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.activeblur
{
  filter: blur(20px);
  pointer-events: none;
}
header {
  display: inline-flex;
  justify-content: space-between;
  padding: 10px;
  font-family: "Open Sans ", sans-serif;
  background-color: rgb(214, 208, 208);
  border: 1px solid black;
}
header .nav {
  display: flex;
  flex-direction: row;
  padding: 5px;
  gap: 10px;
  justify-content: space-around;
  overflow: auto;
}
.MobNav {
  display: none;
}
header .nav a {
  color: blue;
  width: 130px;

  border-radius: 3px;
  padding: 5px;
  text-align: center;
  margin: auto;
  text-decoration: none;
}
header .nav a:hover {
  background-color: blue;
  color: white;
}

/* content section starts from here */
.contents {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items:center;
  
  margin-top:50px;
}

.contents .index {
  overflow-y: auto;
  padding: 10px;
  border-left: 3px solid black;
  border-right: 3px solid black;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  color: black;
}

/*--------------Login page------------------*/

.index .loginright
{
  
  width:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
 
  
}
.index .loginright img 
{
  width:80%;
}
.contents .index .section {
  width: 100%;
  
  padding: 10px;
 
  text-align: center;
  color: black;
}
.contents .index .news,
.contents .index .login {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.LoginForm {
  width: 50%;
  background: rgb(26, 90, 179);
  color: white;
  text-align: center;
  padding: 10px 10px 30px 10px;

  border:1px solid yellow;
  font-size: 24px;
  display: flex;
  margin: auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 5px 5px 25px 1px black;
}
.LoginForm .inputs {
  width: 100%;
  margin: auto;
  display: inline-flex;
  justify-content: space-between;
}
.LoginForm .inputs input {
  width: 100%;
  font-size: 20px;
  padding: 10px;
}

.LoginForm input,
select {
  font-size: 18px;
  padding: 2px;
}

.LoginForm #LoginBtn {
  width: 60%;
  font-size: 18px;
  color: black;
  padding: 5px;
  margin: auto;
  background:yellow;
}
.error {
  width: 19%;
  background-color: #fcb9b9;
  color: red;
  display: block;
  font-size: 24px;
  text-align: center;
  margin: auto;
  padding: 10px;
  border-radius: 5px;
  position: absolute;
  top: 150px;
  z-index: 5;
  right: 15%;
}
.NewsBottom {
  background-color: #ffffff8a;
  color: green;
}




/* ---------footer--------------------------*/
.footer {
  display: inline-flex;
}
.text {
  background-color: rgb(255, 252, 252);
  border-top: 1px solid black;
  text-align: center;
  width: 100%;
  position: fixed;
  bottom: 10px;
}

.MobHide {
  display: block;
}



/*--------------------- Mobile Responsive Starts Here -----------------------------*/
@media screen and (max-width: 700px) {
  body {
    margin: auto;
  }
  .MobHide {
    display: none;
  }
  .container {
    width: 99%;
    margin: auto;
  }
  header {
    text-align: center;
  }
  header h2 {
    font-size: 30px;
  }
  header,
  header .nav {
    display: flex;
    flex-direction: column;
  }

  .MobNav {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    left: 90%;
    background-color: white;
    color: blue;
  }
  header .nav {
    position: absolute;
    background: #0000001c;
    width: 40%;
    top: 20%;
    right: 5%;
    display: none;
    z-index: 500;
  }
  header .nav a {
    background-color: white;
    text-align: left;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 10px;
    width: 80%;
  }
  .contents {
    flex-direction: column-reverse;
    height: fit-content;
  }
  .contents .index {
    flex-direction: column;
    border-left: none;
    position: relative;
    width: 95%;
    margin: auto;
  }
  .contents .index .section {
    width: 95%;
    
  }
  .loginIndex .loginright
  {
    
    overflow:hidden;
  
  }
  
  .index .loginright img 
  {
  width:40%;
  }
  .LoginForm {
    top: 150px;
    width:80%;
  }
  .error {
    width: 50%;
    top: 50px;
    right:25%;
  }

  .contents .side {
    width: 95%;
    padding: 10px;
    justify-content: center;
    padding-bottom: 100px;
  }
  .container .contents .side p,
  .container .contents .side h1 {
    font-size: 18px;
    margin: auto;
  }

  .text {
    background-color: rgb(214, 208, 208);
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 1px;
  }

  

/*   Profile Page */
  .updateInfo
  {
    left:2%;
    width:90%;
  }
}
