*, :after, :before {
  box-sizing: border-box;
  outline: none;
}

/**
 * For desktop
 */
@media (min-width: 1001px) {

  .mobile {
    display: none;
  }

  body {
    color: #FFF;
    background-color: #3D3E42;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
  }

  .logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
  }

  .logo img {
    margin-top: 12px;
    width: 80px;
  }

  .logo h1 {
    word-wrap: break-word;
    white-space: normal;
    width: 50%;
  }

  main.grid .body {
    font-size: 1.1rem;
    background-color: #B8B9BD;
    color: #1A1A1A;
    padding: 16px 48px 24px;
    -webkit-box-shadow: 10px 10px 13px -7px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 13px -7px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 13px -7px rgba(0,0,0,0.75);
  }

  main.grid section.messages {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 2rem;
  }

}






































@media (max-width: 1000px) and (orientation: portrait) {
  body {
    height: 100vh;
  }
}




/**
 * For mobile
 */
@media (max-width: 1000px) {

  .mobile {
    display: none;
  }

  body {
    color: #FFF;
    background-color: #3D3E42;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
  }

  .logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
  }

  .logo img {
    margin-top: 12px;
    width: 80px;
  }

  .logo h1 {
    word-wrap: break-word;
    white-space: normal;
    width: 65%;
  }

  main.grid .body {
    font-size: 1.1rem;
    background-color: #B8B9BD;
    color: #1A1A1A;
    padding: 16px 32px 24px;
    -webkit-box-shadow: 10px 10px 13px -7px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 13px -7px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 13px -7px rgba(0,0,0,0.75);
  }

  main.grid section.messages {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 2rem;
  }

  form input {
    padding: 0.6rem;
  }

  form .btn {
    margin: 16px 0 8px;
    padding: 0.6rem;
    width: 100%;
  }

}











































/**
 * General Rules
 */

.bold {
  font-weight: 600;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input, button {
  border: 1px solid #1A1A1A;
  background-color: #EEEEEE;
  padding: 0.4rem;
}

input[type=submit], button[type=submit] {
  text-transform: capitalize;
  font-family: sans-serif;
}

input[type=text], input[type=password] {
  width: 100%;
}

.btn {
  -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
  -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
  transition: all 0.3s ease 0s;
}

.btn-primary {
  background-color: #EEEEEE;
}

.btn-secondary {
  text-transform: capitalize;
  background-color: #EFC62E;
  color: #1A1A1A;
  font-weight: 600;
}

.btn:hover {
  -webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.57);
  -moz-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.57);
  transition: all 0.3s ease 0s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 500;
  color: #1A1A1A;
}

h1 {
  font-size: 1.8rem;
  display: inline-block;
}

