:root{
    --wheat: #ddd;
    --white: #ffffff;
    --black: #000;
    --blackfaded: #201b1b;
    --yellow: rgb(197, 194, 22);
    --red2: rgb(72, 3, 3);
    --red: red;
    --border-color: rgb(138, 132, 132);
    --link-color: rgb(229, 240, 249);
    --harbor1: #354649;
    --harbor2: #6C7A89;
    --harbor3: #A3C6C4;
    --harbor4: #E0E7E9;
    --fontFamily: tahoma;
}

/* Style the entire scrollbar */
::-webkit-scrollbar {
  width: 5px; /* Set width for vertical scrollbar */
  height: 5px; /* Set height for horizontal scrollbar */
}

/* Style the scrollbar track */
::-webkit-scrollbar-track {
  background-color: var(--white);
  border-radius: 10px;
}

/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: var(--harbor1);
  border-radius: 10px;
  transition: all .5s ease-in;
  /*border: 3px solid var(--harbor1);  Add a border to create a visual separation */
}

/* Style the scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
  cursor: grab;
  background-color: var(--harbor3);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: verdana;
}
body {
    background-color: var(--white);
    color: var(--black);
    position: relative;
    
  display: grid;
  grid-template-areas:
    "header header"
    "section section"
    "footer footer";
  grid-template-columns: 1fr 3fr;
  gap: 5px;
  padding: 5px;
}
body > header {
  grid-area: header;
  text-align: center;
}
body > section {
  grid-area: section;
}
body > footer {
  grid-area: footer;
}

#loader-wrapper,#loader-wrapper1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top */
}

.loader1 {
  border: 8px solid var(--white); /* Light grey */
  border-top: 8px solid var(--harbor1); /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

section{
  position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    align-content: center;
    padding: 2px;
    /*box-shadow: #a7a5a5 2px 2px 6px;*/
    border-radius: 5px;
    z-index: 1;
}
.login-container{
  display: flex;
  outline: var(--harbor1) solid 2px;
  border-radius: 2px;
  box-shadow: var(--harbor2) 4px 4px 8px;
  color: var(--wheat);
  width: 80%;
  height: 90dvh;
    margin: auto;
}
.company-logo{
  background-color: var(--harbor1);
  width: 50%;
  height: 100%;
  contain: content;
}
.company-logo .name{
  align-content: center;
  height: 40%; width: 100%;
  font-size: 100%;
  border-bottom: var(--harbor3) solid 2px;
  border-radius: 20px;
}
.company-logo .logo{
  height: 60%; width: 100%;
  mix-blend-mode: hard-light;
  align-content: center;
}
.company-logo .logo img{
  width: 40%;
}
.input-container{
  display: flex;
  flex-direction: column;
  color:  var(--harbor1);
  width: 50%;
  height: 100%;
  align-content: center;
  justify-content: center;
  padding: 50px;
  text-align: start;
  contain: content;
}


.input-box{
  width: 100%;
  margin-top: 15px;
  color: var(--harbor1);
  display: block;
}
.input-box.password-input{
  contain: content;
  padding-top: 5px;
}
.input-box input,
.input-box select{
  width: 100%;
  padding: 15px;
  border:  var(--harbor2) solid 2px;
  border-radius: 3px;
  outline: none;
  color: var(--harbor1);
  font-weight: 600;
}
.input-box label{
  display: inline-block;
  padding: 0 10px 0 10px;
  transform: translateY(-180%);
  transition: .3s ease-in-out;
}
.input-box input:focus{
  border:  var(--harbor3) solid 2px;
}
.input-box input:focus ~ label, .input-box input:valid ~ label,
.input-box select:focus ~ label, .input-box select:valid ~ label{
  transform: translateY(-300%);
  background-color: var(--white);
  color: var(--harbor1);
  margin-left: 5px;
}
#password{
  width: 90%;
  border-radius: 3px 0 0 3px;
}
#togglePassword {
  border-radius: 0 3px 3px 0;
  width: auto;
  height: 50px;
  background-color: var(--harbor2);
  cursor: pointer;
  color: var(--harbor4);
  position: absolute;
  font-size: larger;
  align-content: center;
  text-align: center;
  padding: auto;
  right: 0;
  left: 90%;
}
.input-box input[type="submit"]{
  background-color: var(--harbor1);
  color: var(--harbor4);
  cursor: pointer;
  border: none;
  margin-top: 20px;
}


#message-container{
 color: var(--harbor4);
 background-color: var(--harbor3);
 border-radius: 3px;
 margin-bottom: 50px;
 animation: appear .5s linear;
 width: 100%;
 display: flex;
 justify-content: space-between;
 outline: red solid 2px;
}
@keyframes appear {
  from{
    width: 10%;
    color: var(--harbor3);
  }
  to{
    width: 100%;
    color: var(--harbor1);
  }
}
.message{
  padding: 10px;
  align-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.closebtn{
  padding: 10px;
  float: right;
  background: var(--harbor1);
  cursor: pointer;
  font-size: x-large;
  border-radius: 3px;
  transition: .3s ease-in-out;
 }
 .closebtn:hover{
  color: var(--harbor3);
 }












table{
  width: 100%;
}
table tr td{
  border-bottom: var(--wheat) solid 1px;
  font-size: small;
  height: 25px;
}
table tr td:nth-child(1){
  text-align: end;
  padding-right: 5px;
}
table tr td:nth-child(2){
  text-align: start;
}
footer{
    font-size: small;
    position: absolute;
    width: 100%;
    color: var(--white);
    text-align: center;
    display: grid;
    grid-template-areas:
      "about-us about-us about-us"
      "copyright copyright copyright";
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    justify-content: center;
    margin-top: 100px;
}

footer > .about-us {
  grid-area: about-us;
  text-align: center;
}
footer > .copyright {
  grid-area: copyright;
    background-color: var(--harbor1);
    padding: 40px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.about-us{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}
.flex-item-footer{
  color: var(--wheat);
  flex-grow: 1;
  width: 33%;
  margin: 1px;
  min-height: 300px;
  /*align-content: center;*/
  height: auto;
  padding: 50px 30px 60px 30px;
    background-color: var(--harbor1);
    box-shadow: 0 4px 8px 0 rgba(70, 69, 69, 0.2);
    border-radius: 3px;
}
.flex-item-footer p{
  text-align: center;
}
.flex-item-footer .normal-contact{
  width: 100%;
  text-align: justify;
  margin-bottom: 50px;
}

.flex-item-footer .normal-contact table{
  width: 100%;
  table-layout: fixed;
}
.flex-item-footer .normal-contact table tr td{
  /*border: none;*/
  text-align: justify;
}
.flex-item-footer .normal-contact table tr td a{
  text-decoration: none;
  color: var(--wheat);
  font-weight: 600;
}
.flex-item-footer .normal-contact table tr td:nth-child(1){
  width: 10%;
  padding-right: 10px;
}
.flex-item-footer .normal-contact table tr td img{
  height: 80%;
}
.flex-item-footer .social-media{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-bottom: 8px;
}
.flex-item-footer .social-media a{
  border-radius: 5px;
  width: 10%;
  background-color: var();
  padding: 3px;
  background-color: var(--wheat);
  align-content: center;
  transition: .1s ease-in-out;
}
.flex-item-footer .social-media a:hover{
  background-color: var(--white);
}
.flex-item-footer .social-media a img{
  width: 80%;

}
.flex-item-footer .partner-flex{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 30px auto 8px auto;
}

.flex-item-footer .partner-flex a{
  border-radius: 5px;
  width: 30%;
  background-color: var();
  padding: 3px;
  margin: 5px;
  background-color: var(--wheat);
  transition: .2s ease-in-out;
  align-content: center;
}
.flex-item-footer .partner-flex a:hover{
  background-color: var(--white);
}
.flex-item-footer .partner-flex a img{
  width: 80%;

}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 599px) {
 section{
  justify-content: space-evenly;
 } 
 .flex-item{
  width: 300px;
  height: 350px;
  margin: 40px auto;
 }
 h4{
  font-size: medium;
  color: var(--wheat);
 }
  .flex-item-footer{
    color: var(--wheat);
    flex-grow: 1;
    width: 48%;
    margin: 1px;
  }
  

  .login-container{
    height: 600px;
    flex-direction: column;
  }
  .company-logo,.input-container{
    display: flex;
    width: 100%;
  }
  .company-logo .name{
    font-size: 60%;
    width: 50%;
    height: 100%;
    border-bottom: none;
    border-right: var(--harbor3) solid 2px;
  }
  .company-logo .logo{
    width: 50%;
    height: 100%;
  }
  .company-logo .logo img{
    width: 60%;
  }
  .input-container{
    width: 100%;
    justify-content: center;
  }
}


@media only screen and (min-width: 600px) and (max-width: 699px){
  
 .flex-item{
  width: 275px;
  height: 300px;
  margin: 40px auto;
 }
  .flex-item-footer{
    color: var(--wheat);
    flex-grow: 1;
    width: 47%;
    margin: 1px;
  }
  
  
  .login-container{
    height: 700px;
    flex-direction: column;
  }
  .company-logo,.input-container{
    display: flex;
    width: 100%;
  }
  .company-logo .name{
    font-size: 60%;
    height: 100%;
    border-bottom: none;
    border-right: var(--harbor3) solid 2px;
  }
  .company-logo .logo{
    height: 100%;
  }
  .company-logo .logo img{
    width: 60%;
  }
  .input-container{
    width: 100%;
    justify-content: center;
  }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 700px)and (max-width: 779px) {
 section{
  justify-content: space-evenly;
 } 
 .flex-item{
  width: 260px;
  height: 300px;
  margin: 40px auto;
 }
 h4{
  font-size: small;
  color: var(--wheat);
 }
 
  .flex-item-footer{
    color: var(--wheat);
    flex-grow: 1;
    width: 47%;
    margin: 1px;
  }
  

  .login-container{
    height: 600px;
    flex-direction: column;
  }
  .company-logo,.input-container{
    display: flex;
    width: 100%;
  }
  .company-logo .name{
    font-size: 70%;
    width: 50%;
    height: 100%;
    border-bottom: none;
    border-right: var(--harbor3) solid 2px;
  }
  .company-logo .logo{
    width: 50%;
    height: 100%;
  }
  .company-logo .logo img{
    width: 60%;
  }
  .input-container{
    width: 100%;
    justify-content: center;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 780px) and (max-width: 991px) {
 section{
  justify-content: space-evenly;
 } 
 .flex-item{
  margin: 40px 10px;
 }
  .flex-item-footer{
    color: var(--wheat);
    flex-grow: 1;
    width: 32%;
    margin: 1px;
  }


  .login-container{
    height: 500px;
  }
  .company-logo .name{
    font-size: 70%;
    height: 40%;
  }
  .company-logo .logo{
    height: 60%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
 section{
  justify-content: space-between;
 } 
 .flex-item{
  margin: 35px 10px;
 }

  .login-container{
    height: 90dvh;
    min-height: 600px;
  }
  .company-logo .name{
    font-size: 70%;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
 section{
  justify-content: space-evenly;
 } 
 .flex-item{
  margin: 40px 10px;
 }
 
  .flex-item-footer{
    color: var(--wheat);
    flex-grow: 1;
    width: 33%;
    margin: 1px;
  }

  .login-container{
    height: 90dvh;
    min-height: 600px;
  }
  .company-logo .name{
    font-size: 90%;
  }
}