*,
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #fff;
}

.img-png {
  width: 18px;
  height: 18px;
  margin: auto 4px;
}

.brand-logo {
  background: white;
}

.top {
  width: 100%;
  background: #fff;
  height: 9vh;
}

ul {
  list-style: none;
}

p {
  text-align: center;
  color: black;
}

a {
  text-decoration: none;
  color: black;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
}

nav {
  background: #fff;
}

nav .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 5px;
}

.nav-container .left {
  display: flex;
  margin-left: 35px;
}

.nav-container .left .left-item {
  margin: 0 18px 0 0;
}

.nav-container .left .left-img {
  margin-right: 15px;
}

.nav-container .right {
  display: flex;
  margin-right: 35px;
}

.nav-container .right .right-img {
  margin-right: 10px;
}

.nav-container .links {
  display: flex;
  margin-right: 8px;
  align-items: center;
  padding-left: 9px;
}

.main {
  background-color: #1bae70;
  height: inherit;
  padding: 0px 0px 25px 0px;
}

.main .brand-logo {
  background: #1bae70;
  height: 20px;
  width: 100%;
}

.login-board .new-logo .b-logo {
  margin: 15px 67px;
  height: 90px;
  align-items: center;
}
.new-logo {
  display: flex;
  justify-content: center;
}

.main .main-section {
  display: flex;
  flex: 1 10px;
  width: 90%;
  margin: 0 auto;
  box-shadow: rgba(100, 100, 111, 0.9) 0px 8px 29px 0px;
  box-sizing: border-box;
  background: #fff;
}

.main-section .container {
  background-color: #cfcfcf;
  width: 50%;
  /* height: 50%; */
  padding: 8px;
  margin: 0px 0px 0px 0px;
}

.main .main-section .login-png {
  width: 100%;
  height: 28rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  object-fit: fill;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.main .main-section .login-board {
  background: #ffff;
  width: 50%;
  display: flex;
  flex-direction: column;
  height: min-content;
}

.main .main-section .login-board .text {
  margin: 10px 0;
}

.main-section .login-board .text h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.9px;
  text-align: center;
  color: #1bae70;
}

.main-section .login-board .text p {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.9px;
}

.main-section .login-board .form-wrapper {
  width: 90%;
  margin: 0 auto;
  margin-top: 15px;
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: Poppins-Regular, sans-serif;
}

.login-board .form-wrapper .img-png-container {
  display: flex;
  justify-content: center;
}

.login-board .form-wrapper .usercategory {
  display: flex;
  justify-content: space-evenly;
  width: 95%;
  margin: 0 auto;
  border: 1px solid #1bae70;
}

.login-board .form-wrapper .usercategory #user_category {
  width: 95%;
  padding: 10px;
  border: transparent;
  border-radius: 0px 40px 40px 0;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  letter-spacing: 0.6px;
}

.login-board .form-wrapper .username {
  display: flex;
  justify-content: space-evenly;
  width: 95%;
  margin: 0 auto;
  border: 1px solid #1bae70;
}

input[type="text"],
input[type="password"] {
  width: 95%;
  padding: 10px;
  border: transparent;
  border-radius: 0px 40px 40px 0;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}

input[type="text"]:focus,
input[type="password"]:focus,
.usercategory #user_category:focus {
  outline: none;
}

.login-board .form-wrapper .password {
  display: flex;
  justify-content: space-evenly;
  width: 95%;
  margin: 0 auto;
  border: 1px solid #1bae70;
}

.login-board .form-wrapper .space {
  margin-bottom: 20px;
  border-radius: 30px;
  flex: 1;
}

.main .brand-logo {
  display: flex;
}

.form-wrapper .btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

label[for="remember-me"] {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.form-wrapper .forget-password a {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.form-wrapper .forget-password a:hover {
  color: blue;
}

button[type="submit"] {
  display: flex;
  justify-content: center;
  margin: 5px auto;
  padding: 9px 40px;
  border-radius: 25px;
  border: none;
  color: #fff;
  background: #1bae70;
  font-size: 20px;
  font-weight: bold;
  font-family: "Source Sans Pro", sans-serif;
}

button[type="submit"]:focus {
  outline: none;
}

.main .login-board .sponsor {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.login-board .sponsor .s-img {
  width: 100%;
  border-radius: 7px;
}

footer .footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  margin-top: 2rem;
  /* margin: 20px 0px 0px 0px; */
}

.footer-container .f-address {
  justify-content: center;
  margin: -7px 0px 12px 0px;
}

/* Responsiveness */

@media only screen and (max-width: 1024px) {
  .main .main-section {
    width: 90%;
  }

  .login-board .text h3 {
    font-size: 1em;
  }

  input[type="text"],
  input[type="password"] {
    padding: 15px;
    font-size: 20px;
  }

  .brand-logo .b-logo {
    margin: 10px 25px;
    height: 50px;
  }
}

@media only screen and (max-width: 770px) {
  .form-wrapper .forget-password a,
  label[for="remember-me"] {
    font-size: 10px;
  }

  .main-section .login-board .text h3 {
    font-size: 1.5rem;
  }

  .main-section .login-board .text p {
    font-size: 15px;
  }

  input[type="text"],
  input[type="password"] {
    padding: 15px;
    font-size: 13px;
  }

  .login-board .form-wrapper .usercategory #user_category {
    font-size: 13px;
    padding: 15px;
  }

  .nav-container .left {
    flex-direction: column;
  }

  .nav-container .right .right-img {
    margin-right: 8px;
  }

  button[type="submit"] {
    font-size: 18px;
    border-radius: 20px;
    padding: 7px 35px;
  }
}

@media only screen and (max-width: 570px) {
  .main .main-section .container {
    display: none;
  }

  .main {
    height: 80vh;
  }

  .main .brand-logo .b-logo {
    margin: 15px auto;
  }

  footer .footer-container {
    height: vh;
    margin-top: 0.9rem;
  }

  .main .main-section .login-board {
    width: 100%;
  }

  .nav-container .row-left {
    display: none;
  }

  .row-right {
    width: 100%;
  }

  .row-right .right {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .row-right > .right .links:not(:first-child) {
    display: block;
    justify-content: center;
  }

  .login-board .form-wrapper .usercategory #user_category {
    background: transparent;
  }

  button[type="submit"] {
    font-size: 12px;
    border-radius: 20px;
    padding: 5px 25px;
  }
}

.img-thumbnail {
  width: fit-content;
  object-fit: cover;
  height: 500px;
}
