@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
}

/* LAYOUT PRINCIPAL */
.layout {
  display: flex;
  width: 100%;
  max-width: 1100px;
  gap: 48px;
  padding: 32px;
}

/* COLUNA ESQUERDA */
.left {
  width: 35%;
  min-width: 280px;
}

/* PERFIL */
#perfil {
  text-align: left;
}

#perfil img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 16px;
  background-color: #222;
}

#perfil h1 {
  font-size: 1.6rem;
  font-weight: 600;
}

#perfil h4 {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.75;
  margin-top: 4px;
}

/* SOCIAL */
.social {
  margin-top: 24px;
}

/* BOTÃO BASE */
.button {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 10px 0;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* INSTAGRAM */
.instagram {
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );
}

.instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(221, 42, 123, 0.4);
}

/* LINKEDIN */
.linkedin {
  background-color: #0a66c2;
}

.linkedin:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 102, 194, 0.4);
}

/* GITHUB */
.github {
  background-color: #24292f;
}

.github:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(36, 41, 47, 0.45);
}

/* CLICK */
.button:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* COLUNA DIREITA */
.right {
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARD DOS APPS */
.app-card {
  background-color: #161616;
  border-radius: 14px;
  padding: 24px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.app-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.app-card p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* BOTÃO APP */
.app-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background-color: #ffffff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-button:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .layout {
    flex-direction: column;
    align-items: center;
  }

  .left,
  .right {
    width: 100%;
  }

  #perfil {
    text-align: center;
  }

  .social {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .button {
    margin: 10px auto;
  }

  .app-card {
    text-align: center;
  }
}

@media (max-width: 480px) {
  #perfil h1 {
    font-size: 1.4rem;
  }

  .layout {
    padding: 16px;
  }
}