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

body {
  font-family: "Lato", sans-serif;
  background: url("./prism.png");
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.container {
  width: 64%;
  overflow: hidden;
  background-color: rgb(230, 230, 230);
  border: 1px white solid;
  border-radius: 5px;
  box-shadow: 10px 10px 10px 0px rgba(46, 46, 46, 0.8235294118);
  min-width: 400px;
  max-width: 1000px;
  padding: 1rem;
  margin: 3rem auto 10rem auto;
}
.container .title {
  text-align: center;
  font-size: 25px;
  color: #190941;
  cursor: default;
  font-weight: 700;
  margin-top: 0.5rem;
}
.container .title .underline {
  border-top: 2px #190941 solid;
  width: 50%;
  display: flex;
  margin: 0 auto;
  margin-bottom: 1rem;
}
.container .description {
  display: flex;
  justify-content: center;
  margin-top: -0.5rem;
  color: #190941;
}
.container .list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  margin: 1rem auto;
  height: 100%;
}
.container .list a {
  /* Border */
  border-radius: 7px;
  /* Background + Colors*/
  background: rgb(45, 107, 161);
  box-shadow: 2px 2px 5px gray;
  color: white;
  text-shadow: 2px 2px 1px rgb(0, 0, 0);
  /* Text */
  text-align: center;
  text-decoration: none;
  font-weight: lighter;
  font-size: 18px;
  letter-spacing: 1px;
  /* Spacing */
  cursor: pointer;
  margin: 0.8rem 0.45rem;
  padding: 1rem;
  flex: 1;
  position: relative;
  transition: opacity 0.5s;
}
.container .list a:hover {
  opacity: 0.92;
}

footer {
  text-align: center;
}

@media only screen and (max-width: 1340px) {
  .container {
    width: 68%;
  }
}
@media only screen and (max-width: 1127px) {
  .container {
    width: 80%;
  }
}
@media only screen and (max-width: 962px) {
  .container {
    width: 90%;
  }
}
@media only screen and (max-width: 675px) {
  .container {
    min-width: 100px;
    width: 92%;
    margin-top: 2rem;
  }
  .container .title h1 {
    font-size: 2.3rem;
  }
  .container .list {
    margin: 1rem 0rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
@media only screen and (max-width: 400px) {
  .container {
    padding: 0.4rem;
  }
  .container .title h1 {
    font-size: 23px;
  }
  .container .list {
    margin: 1rem 0rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .container .list a {
    margin: 0.7rem 0.45rem;
    font-size: 16px;
  }
}
.hvr-underline-from-center {
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}

.hvr-underline-from-center:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  bottom: 0;
  background: rgba(255, 255, 255, 0.589);
  height: 3px;
  transition-property: left, right;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.hvr-underline-from-center:hover:before,
.hvr-underline-from-center:focus:before,
.hvr-underline-from-center:active:before {
  left: 0;
  right: 0;
}

.hvr-overline-from-center {
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}

.hvr-overline-from-center:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  top: 0;
  background: #2098d1;
  height: 4px;
  transition-property: left, right;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.hvr-overline-from-center:hover:before,
.hvr-overline-from-center:focus:before,
.hvr-overline-from-center:active:before {
  left: 0;
  right: 0;
}