@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cabin&display=swap");

html,
body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(30deg, #005fdb, #24aadb, #80d0c7);
  background-size: 600% 600%;
  animation: gradient 2s linear infinite;
  animation-direction: alternate;
  font-family: "Cabin", sans-serif;
  text-align: center;
  /* background-image: linear-gradient(160deg, #0093e9 0%, #80d0c7 100%);
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; */
}

nav {
  padding: 1px;
  /* border: solid rgb(44, 44, 44) 1pt; */
  margin-top: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
    rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}

.brand-logo img {
  width: auto;
  height: 120px;
  margin: 0.8rem;
  min-width: 230px;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: 5vw;
  font-weight: bold;
  color: #000000;
  margin: 30px;
}

a {
  text-decoration: none;
  color: #000000;
}

a:visited {
  text-decoration: none;
  color: #000000;
}

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

.card {
  background: white;
  margin: 20px;
  padding: 20px;
  min-height: 100px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
    rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  display: flex;
  align-items: center;
  justify-items: center;
  flex-direction: column;
}

.head {
  background: white;
  margin: 30px;
  padding: 0px 20px 20px 20px;
  max-width: 800px;
}

mark {
  padding: 0.1em 0.4em;
  border-radius: 1em 0.6em;
  background: transparent;
  background-image: linear-gradient(to right, #0093e9, #0094e9a5, #0093e9a3);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

h1 span {
  background: transparent;
  background-image: linear-gradient(to right, #0382b4, #0078e9a4, #0093e9a1);
  background-repeat: repeat-x;
  background-size: 100vw 0.25em;
  background-position: left bottom 5px;
  border-radius: 10px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.head p {
  font-size: 100%;
}

.mosaic {
  display: grid;
  width: 80%;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.mosaic .card {
  flex-direction: row;
}

.mosaic .card:hover {
  transform: scale(1.05);
}

.mosaic .card h2 {
  width: 100%;
  font-size: medium;
  line-height: 25px;
}

@keyframes gradient {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

@media (max-width: 700px) {
  .brand-logo img {
    width: 80%;
    min-width: 0;
    height: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .card {
    margin-left: 5vmax;
    margin-right: 5vmax;
  }

  h1 {
    margin: 10px;
    font-size: 10vw;
  }

  html,
  body {
    background-size: 800% 800%;
  }
}
