/* ---------- BASE ---------- */

html {
  background-color: #09203a;
}

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Roboto Slab", serif;
  color: #ffffff;
  line-height: 1.4;
}

/* ---------- TEXT ---------- */

h1 {
  font-size: 60px;
  font-weight: 700;
  margin: 0;
}

a {
  color: #ffffff;
  text-decoration: none;
}

/* ---------- CARD ---------- */

.card {
  position: relative;

  width: 700px;
  height: 400px;
  padding: 40px 50px 50px 50px;

  background: #09203a;
  border-radius: 30px;
  box-shadow: 0 0 200px #0000008a;
}

/* ---------- CONTENT ---------- */

#content {
  font-size: 35px;
  font-weight: 300;
  margin-top: 16px;
}

/* ---------- FOLDER ICON (BOTTOM RIGHT) ---------- */

.card > a:first-of-type img {
  position: absolute;
  bottom: 40px;
  right: 40px;
  height: 75px;
  -webkit-user-drag: none;
}

/* ---------- CONTACTS / SOCIALS (BOTTOM LEFT) ---------- */

#contacts {
  position: absolute;
  bottom: 40px;
  left: 40px;
}

.socials {
  display: flex;
  gap: 28px;
  align-items: center;
}

.icon {
  width: 75px;
  height: 75px;
  max-width: 75px;
  max-height: 75px;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 800px) {
  .card {
    width: 600px;
    height: 320px;
  }

  h1 {
    font-size: 40px;
  }

  #content {
    font-size: 25px;
  }

  .card > a:first-of-type img {
    bottom: 30px;
    right: 30px;
    height: 65px;
  }

  #contacts {
    bottom: 30px;
    left: 30px;
  }

  .icon {
    width: 65px;
    height: 65px;
    max-width: 65px;
    max-height: 65px;
  }
}

@media (max-width: 500px) {
  .card {
    width: 320px;
    height: 360px;
    padding: 30px;
  }

  h1 {
    font-size: 30px;
  }

  #content {
    font-size: 20px;
  }

  .card > a:first-of-type img {
    bottom: 25px;
    right: 25px;
    height: 55px;
  }

  #contacts {
    bottom: 25px;
    left: 25px;
  }

  .icon {
    width: 55px;
    height: 55px;
    max-width: 55px;
    max-height: 55px;
  }
}

@media (max-width: 400px) {
  .card {
    width: 260px;
    height: 320px;
  }

  .card > a:first-of-type img {
    bottom: 20px;
    right: 20px;
    height: 45px;
  }

  #contacts {
    bottom: 20px;
    left: 20px;
  }

  .icon {
    width: 45px;
    height: 45px;
    max-width: 45px;
    max-height: 45px;
  }
}
