@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
}

body {
  background: url(./assets/bg.jpg) no-repeat center center/cover;
  height: 100vh;
  padding-top: 30px;
  position: relative;
}

.container {
  width: 100%;
  max-width: 400px;
  background: #ddd1b1;
  padding: 30px;
  border-radius: 10px;
  color: #433619;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.container img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border: 4px solid #433619;
  position: relative;
  cursor: pointer;
}

.container .tooltip {
  position: absolute;
  width: 150px;
  background: #f0e7c7;
  color: #433619;
  padding: 5px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
  bottom: 500px;
  text-align: center;
}

.container img:hover + .tooltip {
  opacity: 1;
  visibility: visible;
}

.container .second_tooltip {
  position: absolute;
  width: 150px;
  background: #f0e7c7;
  color: #433619;
  padding: 5px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  left: 20%;
  transform: translateX(-50%);
  bottom: 400px;
  text-align: center;
}

.container h1:hover + .second_tooltip {
  opacity: 1;
  visibility: visible;
}

.container p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 15px;
  text-align: start;
}

.links {
  margin-top: 15px;
}

.links a {
  display: block;
  background: #716853;
  color: #f0e7c7;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.links a:hover {
  background: #f0e7c7;
  color: #433619;
}

.links a:active {
  transform: scale(0.9);
  background-color: #f0e7c748;
}

.links a i {
  float: right;
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.links a:hover i {
  transform: translateX(9px);
}

.socials-section {
  margin-top: 15px;
  text-align: center;
}

.socials a {
  display: inline-block;
  background: #716853;
  color: #f0e7c7;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 15px;
  margin: 0 5px;
  transition: all 0.2s ease;
}

.socials a:hover {
  background: #f0e7c7;
  color: #716853;
}

.socials a:active {
  transform: scale(0.9);
  opacity: 0.8;
}

.socials i {
  font-size: 2.3rem;
}

.container_2 {
  width: 100%;
  max-width: 455px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  color: #433619;
  position: absolute;
  left: 50%;
  top: calc(50% + 297px);
  transform: translateX(-50%);
  text-align: center;
}

.container_2 p {
  font-weight: 500;
  margin-bottom: 15px;
  text-align: start;
}
