@import url(https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;1,300&display=swap);

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

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  background-color: #f8f9fa;
}

a {
  color: black;
  text-decoration: none;
}

/* NAVIGATION */
.header {
  background: #0d8cff;
  height: 50px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
}

.nav-main {
  width: 98%;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-main a {
  color: white;
}

.nav-brand {
  font-size: 18px;
}

/* Cards */
.container {
  padding: 24px 0px;
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px;
}

.shadow-lg {
  padding: 22px 18px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 1rem 3rem #0000002d !important;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: 450ms all;
}

.shadow-lg:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.image {
  width: 150px;
}

.btn {
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  user-select: none;
  text-align: center;
  vertical-align: middle;
  font-weight: 400;
}

.btn-blue {
  background-color: #00f;
  color: #fff;
}

.btn-blue:hover {
  background-color: #0000d1;
  color: #fff;
}

.ani-fadeIn {
  animation: fadeIn 0.5s;
}

/* //Key frames */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 24px;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .image {
    width: 100px;
  }
}
