@import url("https://fonts.googleapis.com/css?family=Quicksand:300,400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

body {
  margin: 0px;
}

.header {
  background-size: cover;
  background-position-x: center;
  background-position-y: bottom;
  background-image: url("./../assets/home.jpeg");
  position: relative;
  animation-name: header;
  animation-fill-mode: backwards;
  animation-duration: 0.6s;
  animation-delay: 0.2s;
  animation-timing-function: ease-out;
}

@keyframes header {
  0% {
    top: -200px;
    opacity: 0;
  }
  100% {
    opacity: 1;
    top: 0px;
  }
}

.overlay {
  min-height: 30vh;
}

.overlay::before {
  position: absolute;
  content: " ";
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  background: #9e9e9e;
}

.waves::before {
  position: absolute;
  content: " ";
  top: -1px;
  left: 0px;
  width: 100%;
  height: 101%;
  display: block;
  z-index: 1;
  background-image: url("./../assets/waves.png");
  background-size: cover;
  background-position-y: bottom;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo img {
  height: 120px;
  padding: 30px;
}

.content {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.item {
  width: 250px;
  padding: 20px;
  margin: 0px 15px;
  border-radius: 10px;
  box-shadow: 0px 5px 9px -4px rgba(0, 0, 0, 0.1), inset -5px -5px 10px -6px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  border-bottom: 3px solid #f78630;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item:nth-child(1) {
  animation-name: fade;
  animation-fill-mode: backwards;
  animation-duration: 1s;
  animation-delay: 0.3s;
  animation-delay: 0.5s;
}

.item:nth-child(2) {
  animation-name: fade;
  animation-fill-mode: backwards;
  animation-duration: 1s;
  animation-delay: 0.3s;
  animation-delay: 0.7s;
}

.item:nth-child(3) {
  animation-name: fade;
  animation-fill-mode: backwards;
  animation-duration: 1s;
  animation-delay: 0.3s;
  animation-delay: 1s;
}

.item:hover {
  background: ghostwhite;
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.item p {
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 18px;
  margin: 0px;
  padding-bottom: 2px;
}

.item span {
  font-family: "Quicksand";
  color: gray;
  font-size: 14px;
}

.item button {
  font-family: "Quicksand";
  font-weight: bold;
  padding: 7px 16px;
  border-radius: 5px;
  color: #ffffff;
  border: 0px solid #fff;
  background: #9e9e9e;
  width: 100%;
  outline: none;
  margin-top: 15px;
  text-transform: uppercase;
  transition: 0.3s;
}

.item button:hover {
  cursor: pointer;
  background: #0069b7;
}

.status-active {
  margin-top: 14px !important;
}

.status-app {
  margin-top: 5px;
}

.status-app .status {
  font-size: 14px;
}

.status-app .status span {
  font-weight: bold;
}

.status-app .status .active {
  color: #22ab2b;
}

.status-app .status .maintenance {
  color: #d88829;
}

.status-app .date {
  font-size: 14px;
}

.status-app .date .txt {
  color: gray;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

footer {
  background: #f0f0f0;
  border-top: 6px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  position: fixed;
  bottom: 0px;
}

footer img {
  width: 100px;
  margin-right: 10px;
}

footer .footer-align {
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

footer span {
  font-family: "Quicksand";
  font-size: 0.85rem;
  margin: 0;
  display: flex;
  color: #484848;
  padding-right: 2px;
}

a {
  text-decoration: unset;
}

a:visited {
  color: inherit;
}

@media only screen and (max-width: 1020px) {
  .logo img {
    height: 60px;
  }

  .overlay {
    min-height: unset;
  }

  .actions {
    display: grid;
    padding-bottom: 70px;
  }

  .content {
    display: unset;
    margin: 0px;
  }

  .item {
    margin: 0px 25px;
    margin-bottom: 20px;
    min-width: unset;
    max-width: unset;
  }

  footer .footer-align {
    display: block;
    align-items: center;
    justify-content: center;
  }

  footer img {
    margin-left: auto;
    margin-right: auto;
    display: flex;
  }

  footer span {
    text-align: center;
    display: block;
  }
}
