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

body {
  height: 100vh;
  background-color: #222;
  font-family: Arial, Helvetica, sans-serif;
  z-index: 1;
}

nav {
  background: #222;
  font-family: "Roboto", monospace;
}

nav:after {
  content: "";
  clear: both;
  display: table;
}

nav .logo {
  float: left;
  color: white;
  font-size: 27px;
  font-weight: 600;
  line-height: 70px;
  padding-left: 20px;
  height: 100%;
  font-family: "Roboto", monospace;
}

nav ul {
  float: right;
  list-style: none;
  margin-right: 20px;
  position: relative;
}

nav ul li {
  float: left;
  display: inline-block;
  background: #222;
  margin: 0 5px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  line-height: 70px;
  font-size: 18px;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #c71e81;
  border-radius: 5px;
  letter-spacing: 2px;
}

nav ul ul li a:hover {
  color: #c71e81;
  box-shadow: none;
}

nav ul ul {
  z-index: 10;
  position: absolute;
  top: 90px;
  border-top: 2px solid #c71e81;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s;
}

nav ul ul ul {
  border-top: none;
}

nav ul li:hover > ul {
  top: 70px;
  opacity: 1;
  visibility: visible;
}

nav ul ul li {
  position: relative;
  margin: 0px;
  width: 180px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

nav ul ul li a {
  line-height: 50px;
}

nav ul ul ul li {
  position: relative;
  top: -70px;
  left: 180px;
}

.fa-plus {
  margin-left: 60px;
  font-size: 15px;
}

.fa-chevron-down {
  font-size: 15px;
}

.show,
.icon,
nav input {
  display: none;
}

.main-container {
  background-color: white;
  width: 100%;
  padding: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #222;
}

.register-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  width: 50%;
  background-color: white;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.title-container {
  font-size: 32px;
  font-weight: bold;
  width: 90%;
  display: flex;
  justify-content: center;
  font-family: "Roboto", monospace;
  position: relative;
  bottom: 20px;
}

.info-container {
  height: 20%;
  width: 80%;
  margin-bottom: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.info-container label {
  padding-left: 0.5rem;
  font-family: "Roboto", monospace;
  font-weight: bold;
  font-style: italic;
  font-size: 20px;
}

.info-container input {
  border: none;
  border-bottom: 1px solid #b1b1b1;
  outline: none;
  font-size: 1rem;
  padding: 0.5rem;
}

.info-container input:focus::placeholder {
  color: #fff;
}

.info-container button {
  position: relative;
  left: 90%;
  bottom: 25px;
  width: 25px;
  transform: scale(1.2);
  background: none;
  color: #222;
  border: none;
  transition: transform 0.3s;
}

.info-container button:hover {
  transform: scale(1.5);
}

.button-container {
  width: 80%;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-user {
  background-color: #222;
  color: white;
  border: 2px solid #222;
  padding: 18px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  font-family: "Roboto", monospace;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-user:hover {
  background: none;
  color: #222;
}

.login-anchor {
  color: #222;
  position: absolute;
  left: 58%;
  font-weight: bold;
  transition: all 0.2s ease;
}

.login-anchor:hover {
  color: #c71e81;
}

.adm-anchor {
  color: #222;
  position: absolute;
  right: 58%;
  font-weight: bold;
  transition: all 0.2s ease;
}

.adm-anchor:hover {
  color: #c71e81;
}

.footer-container {
  background: white;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.footer {
  width: 80%;
  height: 100%;
  background: white;
  color: #222;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.footer-heading {
  display: flex;
  flex-direction: column;
  margin-right: 5rem;
}

.footer-heading h2 {
  margin-bottom: 1rem;
}

.footer-heading a {
  display: flex;
  justify-content: left;
  color: #222;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: 0.3s;
}

.footer-heading a:hover {
  transform: translateX(5px);
  transition: 0.4s;
}

.footer-email-form h2 {
  margin-bottom: 2rem;
}

#footer-email {
  width: 250px;
  height: 40px;
  border-radius: 4px;
  outline: none;
  border: 1px solid #222;
  font-size: 1rem;
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

#footer-email::placeholder {
  color: #b1b1b1;
}

#footer-email-btn {
  width: 100px;
  height: 40px;
  border-radius: 4px;
  outline: none;
  border: none;
  font-size: 1rem;
  background-color: #f6f6f6;
  transition: 0.3s;
}

#footer-email-btn:hover {
  cursor: pointer;
  background-color: #222;
  color: white;
  transition: all 0.3s ease-out;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 4px;
  color: #222;
  background-color: #f6f6f6;
  text-align: center;
}

@media all and (max-width: 950px) {
  nav ul {
    margin-right: 0px;
    float: left;
  }

  nav .logo {
    padding-left: 30px;
    width: 100%;
  }

  nav ul li,
  nav ul ul li {
    display: block;
    width: 100%;
  }

  nav ul ul {
    top: 70px;
    position: static;
    border-top: none;
    float: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  nav ul ul ul li {
    position: static;
  }

  nav ul ul li {
    border-bottom: 0px;
  }

  nav ul ul a {
    padding-left: 40px;
  }

  nav ul ul ul a {
    padding-left: 40px;
  }

  .show {
    display: block;
    color: white;
    font-size: 18px;
    padding: 0 20px;
    line-height: 70px;
    cursor: pointer;
  }

  .show:hover {
    color: #c71e81;
  }

  .icon {
    display: block;
    color: white;
    position: absolute;
    right: 40px;
    line-height: 70px;
    font-size: 25px;
    cursor: pointer;
  }

  nav ul li a:hover {
    box-shadow: none;
  }

  .show + a,
  ul {
    display: none;
  }

  [id^="btn"]:checked + ul {
    display: block;
  }

  .register-container {
    width: 90%;
  }

  .info-container {
    width: 100%;
  }

  .info-container button {
    left: 95%;
  }

  .button-container {
    display: flex;
    flex-direction: column;
  }

  .login-anchor {
    margin-top: 16px;
    position: inherit;
  }
  
  .adm-anchor {
    margin-top: 16px;
    position: inherit;
  }

  .footer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
  }
  
  .footer-heading h2 {
    margin-top: 16px;
    margin-bottom: 8px;
  }
  
  .footer-email-form h2 {
    margin-bottom: 1rem;
  }

  .email-form {
    display: flex;
  }

  #footer-email {
    width: 80%;
    margin-bottom: 0;
    margin-right: 10px;
  }
  
  .footer-bottom {
    display: flex;
    align-items: center;
    height: 10vh;
  }
}