
/*General*/

* {
  color: #fff;
  font-family: monospace;
  margin: 0px;
  padding: 0px;
}

html {
  background-color: #121212;
}

.container {
  display: grid;
  grid-template-areas: "nav" "body" "footer";
  grid-template-columns: 1fr;
  grid-template-rows: 7vh 87vh 3vh;
}

/* Nav */

nav {
  grid-area: nav;
  text-align:left;
  display: flex;
  justify-self:center;
  height: fit-content;
  width: 100%;
  position: fixed;
  background-color: #282828;
}

ul {
  color: #fff;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul li {
    float: left;
}

ul li a {
    color: #fff;
    font-weight: 500;
    display: block;
    text-decoration: none;
    padding: 14px 16px;
    font-size: 12px;
}

ul li a:hover {
  background-color: #caa8f5;
}

ul li a:active {
  background-color: #cb65fd;
  font-weight: 900;
}

.currenttab {
  font-weight: 900;
}

.adminlog {
  justify-content: end;
}

main {
  z-index: 0;
  grid-area: body;
  width: 100vw;
  justify-self: center;
  text-align: center;
}

main p {
  padding: 20px;
  margin: 20px;
  font-size:xx-large;
}

.indexh1 {
  font-size: medium;
  color: #fff;
  margin: 20px;
  padding: 20px;
  line-height: normal;
  display: block;
  text-align: center;
  font-size: larger;
}


footer {
    grid-area: footer;
    color: #fff;
    justify-self: center;
    align-self: center; 
}


/* Projects buttons */

.projects {
    color: #fff;
    display: block;
    font-weight: 500;
    text-decoration: none;
    padding: 20px;
    margin: 20px auto;
    font-size: 12px;
    background-color: #3f3f3f;
    width: fit-content;
  }

  .projects:hover {
    background-color: #282828;
  }

  .projects:active {
    background-color: #cb65fd;
  }



/* Full-width inputs */
input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}


/* Set a style for all buttons */
button {
  background-color: #d278fe;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

.container {
  width: 300px;
  margin: auto;
  justify-content: center;
}

/* Add a hover effect for buttons */
button:hover {
  opacity: 0.8;
}


/* Center the avatar image inside this container */
.imgcontainer {
  text-align: center;
  margin: auto;
}

/* Avatar image */
img.avatar {
  width: 20%;
  border-radius: 50%;
}

/* The "Forgot password" text */
span.psw {
  float: right;
  padding-top: 16px;
}

/* 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%;
  }
}
