* {
  padding: 0;
  margin: 0;
}
html {
  font-family: Roboto, Rubik, "Lucida Sans", "Lucida Sans Regular",
    "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;

  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: whitesmoke;
  height: 100%;
}

.homepage img {
  /* width: 400px; */
  width: 25%;
  height: 200px;
  align-self: center;
  padding: 10px;
  display: inline-block;
}

.homepage h1 {
  text-align: center;
  padding: 20px;
}

.homepage {
  height: 100%;
  background-color: whitesmoke;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  font-family: "Balsamiq Sans", sans-serif;
  font-size: 20px;
}

.banner {
  grid-column: 1/13;
  grid-row: 2/3;
  display: flex;
  justify-content: space-between;
  float: left;
  overflow: visible;
  position: absolute;
  top: 9%;
  width: 100%;
  color: cornflowerblue;
}

.welcome-title {
  height: 100%;
  width: 100%;
  display: block;
  align-self: top;
  font-size: medium;
}

.title {
  grid-column: 5/8;
  grid-row: 2/4;
  align-items: center;
}

.homepage-container {
  grid-column: 5/10;
  grid-row: 4/11;
  align-items: center;
}
.middle-container {
  height: 100%;
}

.login {
  background-color: rgb(207, 211, 211);
  grid-column: 5/10;
  grid-row: 4/11;
  /* border: solid 10px #0e3868; */
  border: solid 10px cornflowerblue;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80%;
}

.register {
  grid-column: 5/8;
  grid-row: 10/12;
  display: flex;
}

[type="button"],
[type="submit"] {
  border: 1px solid #0e3868;
  background: #0e3868;
  border-radius: 10%;
  color: rgb(145, 187, 196);
  width: 100px;
  cursor: pointer;
  position: relative;
  margin-top: 10px;
  padding: 10px;
  font-weight: bold;
}

[type="button"]:hover,
[type="submit"]:hover {
  border: 1px solid #485865;
  background: white;
  border-radius: 15%;
  color: #0e3868;
}

.field-block {
  margin: 10px;
}

input,
label {
  margin: 5px;
  font-weight: 600;
}

input {
  padding: 10px;
  font-family: "Balsamiq Sans", sans-serif;
}
.submit {
  display: flex;
  justify-content: center;
}

.login .not-exists {
  font-size: small;
  color: red;
}

.login .hidden {
  visibility: hidden;
}

.header {
  grid-column: 1/13;
  grid-row: 1/2;
  overflow: hidden;
}

.footer {
  grid-column: 1/13;
  grid-row: 12/13;
  overflow: hidden;
}

@media only screen and (max-width: 1110px) {
  .homepage-container {
    grid-column: 2/12;
    grid-row: 5/12;
    display: flex;
    flex-direction: column;
    justify-content: start;
  }

  .middle-container {
    /* grid-column: 3/11;
    grid-row: 5/11; */
  }

  .login {
    background-color: rgb(207, 211, 211);
    /* grid-column: 3/11;
    grid-row: 5/11; */
  }

  div.field-block {
    padding-left: 30px;
  }

  .homepage h3,
  .homepage h1 {
    font-size: x-large;
    align-self: center;
  }

  h1.title {
    padding-top: 0px;
    padding-bottom: 5px;
  }

  .homepage img {
    height: 130px;
    width: 30%;
  }

  [type="button"],
  [type="submit"] {
    width: 70px;
  }
}
