:root {
  --main-font: "Inter", sans-serif;
}

* {
  font-family: var(--main-font);
  font-size: 62.5%;
  color: #fff;
}

html {
  background: rgb(2, 11, 20);
  background: linear-gradient(343deg, rgba(2, 11, 20, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

body {
  height: 100vh;
  display: grid;
  grid-template-rows: 1fr 2fr 1fr;
  grid-template-areas:
    "main"
    "logo"
    "social";
}

.main-container,
.social-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main/Title container (im lazy to change main-container name to another name) */
.main-container {
  grid-area: main;
  text-align: center;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.main-container--text {
  font-size: 4rem;
  font-weight: 400;
  margin: 1rem;
}
.main-container--desc {
  font-size: 2.2rem;
  font-weight: 200;
  margin: 1rem;
}

/* Logo */
.logo {
  grid-area: logo;
  margin: 0 auto;
  padding: 5rem;
}
.logo-container {
  position: relative;
  display: inline-block;
  border-radius: 100%;
}
.logo--img {
  border-radius: 100%;
  width: 100%;
  transition: 0.3s ease;
}
.logo--img:hover {
  scale: 1.02;
  box-shadow: 0 0 98px -35px rgba(0, 0, 0, 0.62);
}
.logo-tooltip {
  visibility: hidden;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 0.5rem;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1.6rem;
  z-index: 1;
  opacity: 0;
  transition: 0.4s ease;
}
.logo-container:hover .logo-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Social Media */
.social-media {
  grid-area: social;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 5rem 0;
}
.social-media--info h2 {
  font-size: 2rem;
  font-weight: 400;
}
.social-media--icons {
  display: flex;
  gap: 1.2rem;
}
.icon-container {
  position: relative;
  display: inline-block;
}
.tooltip {
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 0.5rem;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1.4rem;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.icon-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.social-media--icons img {
  width: auto;
  height: 40px;
  transition: 0.3s ease;
}
.social-media--icons img:hover {
  scale: 1.3;
  cursor: pointer;
}

@media (min-width: 640px) {
  .logo--img {
    max-width: 450px;
  }
}
