body {
  background-color: #f2f4f5;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #7a8699;
  margin: 0;
  text-align: center;
  height: 100vh;
}

header {
  width: 80%;
  margin: 0 auto;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

main {
  width: 80%;
  margin: 10% auto;
  max-height: 500px;
}

footer {
  width: 80%;
  margin: 0 auto;
  padding: 10px;
  font-size: 14px;
  color: #8993a4;
}

a {
  text-decoration: none;
  color: #8993a4;
}

.main-logo {
  min-height: 41px;
}

.main-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #7A8699;
}

.message {
  padding-bottom: 2%;
}

.welcome-message {
  padding: 5px 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #de4547;
}

.subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(18, 18, 18, 0.6);
}

.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  gap: 50px;
}

.card {
  min-width: 190px;
  max-width: 20%;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
}

.connection {
  font-size: 1.75rem;
  font-weight: 700;
  padding: 0 0 9px 0;
}

.select {
  font-size: 1rem;
  font-weight: 400;
  color: #8993A4;
}

.social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.linkedin, .youtube {
  filter: invert(93%) sepia(11%) saturate(175%) hue-rotate(181deg) brightness(84%) contrast(94%);
}

.more-info {
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 5px;
  color: #de4547;
}

.info {
  font-weight: 400;
  font-size: 0.875rem;
  text-decoration: underline;
}

.footer-logo {
  width: 44px;
  height: auto;
  padding: 14px 0;
}

.link-text {
  color: #0066cc;
  font-size: 14px;
  font-weight: 400;
}

.footer-text {
  padding-top: 14px;
  font-size: 0.625rem;
  font-weight: 400;
  color: #8993a4;
}

a:hover > .link-text {
  color: #0066cc;
  text-decoration: underline;
}

.card:hover {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card:hover > h3 {
  color: #091e42;
}

.card:hover > p {
  color: #0066cc;
}

.linkedin:hover {
  filter: invert(19%) sepia(73%) saturate(5926%) hue-rotate(189deg) brightness(98%) contrast(101%);
}

.youtube:hover {
  filter: invert(18%) sepia(90%) saturate(7498%) hue-rotate(359deg) brightness(91%) contrast(107%);
}

.info:hover {
  color: #0066cc;
}

@media screen and (min-height: 480px) and (max-height: 720px) {
  main {
    margin: 5% auto;
  }

  .container {
    gap: 15px;
  }
}
