body {
    background-color: aliceblue;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
}

.container{
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.3),transparent),url(bg_image.jpg);
    background-size: cover;
    background-position: center;
    padding: 0;
    margin: 0;
    border: 0;
    position: absolute;
}

nav{
    display: flex;
    width: 100;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px 0;
}

 nav ul{
    flex: 1;
    text-align: right;
    padding-right: 30px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 30px;
    color: #000;
  font-weight: bold;
  font-size: larger;
  text-decoration: none;
  position: relative;
  padding: 10px 20px;
  margin-right: 20px;
  border: 5px solid black;
} */

 nav ul li span{
    color: #000;
    font-weight: bold;
    font-size: larger;
    text-decoration: none;
    position: relative;
    padding: 10px 20px;
    margin-right: 20px;
    border: 5px solid black;
} 

nav ul li span ::after{
    content: '';
    width: 0;
    height: 3px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    transition: width 0.3s;
}

nav ul li span :hover::after{
    width: 50%;
} 

.abt-us {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: rgb(143, 185, 230);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  padding-left: 10px;
}

.abt-us a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.abt-us a:hover {
  color: #c72424;
}

.abt-us .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 100px;
  line-height: 100px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .abt-us {padding-top: 15px;}
  .abt-us a {font-size: 18px;}
}

.logo{
    width: 150px;
    cursor: pointer;
    margin: 10px;
    border-radius: 7px;
    border: 3px solid black;
}

.text-box{
    color: #000;
    text-align: center;
    padding-top: 3%;
    display: grid;
    place-items: center;
}

.text-box h3{
    font-size: 50px;
    font-weight: 600;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.text-box h1{
    font-size: 120px;
    line-height: 100px;
    font-style: italic;
    font-family:Georgia, 'Times New Roman', Times, serif;
    margin-left: -10px;
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: normal;
    animation: typing 4.5s steps(50, end) forwards;
    width: 0;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
  }

/* Full-width input fields */
input[type=text], input[type=password], input[type=email] ,input[type=date]{
  width: 70%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button {
  text-align: center;
  align-items: center;
  align-content: center;
  background-color: rgb(138, 169, 215);
  color: black;
  padding: 10px 12px;
  margin: 8px 0;
  border: 3px solid #201755;
  cursor: pointer;
  text-decoration: none;
  width: 20%;
  height: 40px;
  border-radius: 10px;
  font-weight: bolder;
  font-size: large;
} 

#logSign{
    text-align: center;
    align-items: center;
    align-content: center;
    text-decoration: none;
    background-color: rgb(138, 169, 215);
    color: black;
    padding: 10px 12px;
    margin: 8px 0;
    border: 3px solid #201755;
    cursor: pointer;
    width: 20%;
    height: 60px;
    border-radius: 10px;
    font-weight: bolder;
    font-size: x-large;
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 5px;
}
 
@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 15px); }
    100%   { transform: translate(0, -0px); }   
}

button:hover {
  opacity: 0.8;
  background-color: #201755;
  color: white;
}

/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 5px 18px;
  background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
    height: 80%;
    width: 80%;
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

img.avatar {
    width: 30%;
    height: 30%;
    border-radius: 50%;
}

.login {
  padding: 16px;
}

span.psw {
  float: right;
  padding-top: 16px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 1% auto 10% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}

.psw{
  margin-right: 202px;
}

#rem-me{
  margin-left: 80px;
}

.cancelbtn{
  margin-left: 110px;
}