* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #d9d9d9;
}

.header {
  display: flex;
  height: 100px;
  background-color: white;
  justify-content: space-between;
  align-items: center;
}

.page-logo {
  display: flex;
  align-items: center;
}
.page-logo img {
  width: 100px;
}

.page-title {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.copyright {
  margin-right: 25px;
  font-size: 12px;
  color: #bdbdbd;
}

.page-title h1 {
  font-size: 2rem;
}

.page-title h2 {
  font-size: 1rem;
  color: #808080;
}

.main {
  animation: appear 1s ease-in-out;
  width: 100%;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  height: calc(100vh - 100px);
  flex-wrap: wrap;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 25px;
  border: #269dbb 2px solid;
  width: 300px;
  height: fit-content;
  padding: 10px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-content {
  display: flex;
  flex-direction: column;
  background-color: #269dbb;
  border-radius: 20px;
  padding: 15px;
  gap: 10px;
}

.card-content h3 {
  color: whitesmoke;
  font-weight: 500;
  font-size: 18px;
}

.description {
  color: whitesmoke;
  font-weight: 400;
  font-size: 16px;
}

.links {
  display: flex;
  background-color: white;
  flex-direction: column;
  border-radius: 10px;
  padding: 25px;
  width: fit-content;
  height: fit-content;
  animation: appear 1s ease-in-out;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  gap: 25px;
}

.links span h2 {
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 10px;
}

.links-content {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  height: 100%;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.links-content h4 {
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin-bottom: 10px;
}

.link-type {
  justify-content: center;
  gap: 10px;
  align-items: center;
  flex-direction: column;
  display: flex;
}

.link-type h4 {
  font-size: 1.5rem;
  padding: 2px;
  border-bottom: 3px solid black;
}

.free-pages {
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px;
  display: flex;
  gap: 25px;
}

.link {
  display: flex;
  flex-direction: column;
  width: 200px;
  height: 200px;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}

.link:hover {
  border: #2ed1fa 2px solid;
  cursor: pointer;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}

.link img {
  height: 100px;
}

@keyframes appear {
  0% {
    position: relative;
    top: 150px;
    opacity: 0;
  }
  100% {
    position: relative;
    top: 0px;
    opacity: 1;
  }
}

@media screen and (max-width: 520px) {
  .copyright {
    display: none;
  }
}
