@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  padding: 40px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #f1eee6;
  text-align: center;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #f1eee6;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #f1eee6;
  outline: none;
  background: transparent;
}

.login-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: #f1eee6;
  pointer-events: none;
  transition: 0.5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  top: -20px;
  left: 0px;
  color: #03e9f4;
  font-size: 12px;
}

.login-box form .submit {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #03e9f4;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.5s;
  margin-top: 40px;
  letter-spacing: 4px;
  background: none;
  border: 2px solid #03e9f4;
}

.login-box form .submit:hover {
  background: #0f666b;
  color: #f1eee6;
  border-radius: 5px;
  box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4,
    0 0 100px #03e9f4;
}

.login-box .submit span {
  position: absolute;
  display: block;
}

.login-box .submit span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #018807);
}

.sidenav {
  width: 18%;
  height: 100%;
  position: fixed;
  background-color: rgb(32, 32, 32);
  color: white;
}

.main {
  margin-left: 17%;
}
.h-100 {
  height: 1000px;
}
.greet {
  text-align: center;
  margin-top: 10px;
  font-weight: 300;
}
.logo {
  width: 100%;
  padding: 10px;
}
.sidebar-nav {
  width: 100%;
}
.sidebar-nav a {
  color: white;
  text-decoration: none;
  transition: 0.1s ease;
}
.sidebar-nav li {

  font-size: 16px;
  list-style-type: none;
  text-align: left;
  background: black;
  border-left: 4px solid #b3c243;
  transition: 0.5s ease;
}

.sidebar-nav a:hover {
  color: black;
  text-decoration: none;
}
.sidebar-nav a:hover li {
  background: white;
  transform: scale(1.01);
}
.mt-5 {
  margin-top: 40px;
}
.page_heading {
  width: 100%;
  background-color: #373733;
  padding: 20px;
  color: white;
  padding-left: 20px;
}
.page_heading h3 {
  font-weight: 600;
  text-align: center;
}
.logout {
  bottom: 0;
  position: absolute;
  margin-bottom: 10px;
  font-size: 10px;
}

/* form  */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
.fullwidth {
  grid-column: span 2;
}
.submit {
  background-color: #b3c243;
  padding: 10px;
}

.container {
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 15px;
}
input {
  border-radius: 10px;
  border: 1px solid grey;
}
input,
textarea,
select,
option {
  padding: 5px;
}
.form-p {
  padding: 10px;
  background-color: rgb(223, 223, 223);
  margin-top: 20px;
}
.submit {
  width: 50%;
  background: #b3c243;
  color: white;
  font-size: 18px;
  border: none;
}

@media only screen and (max-width: 1400px) {
  .logo {
    width: 200px;
  }
  .sidebar-nav a li {
    font-size: 12px;
  }
  .form {
    display: column;
    column-count: 1;
  }
  th,
  td {
    font-size: 14px;
  }
  .sidebar-list{
      font-size: 12px;
  }
}

@media only screen and (max-width: 800px) {
  .sidenav {
    height: 100%;
    position: relative;
    width: 18%;
  }
}
