html,
body {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

body {
  position: relative;
  /* display: grid; */
  place-items: center;
  background-color: #0c0c0c;
  margin: 0;
  /* padding-top: 60px; */
  font-family: "Prompt", sans-serif;
  overflow: hidden;
}

#contact-me {
  position: absolute;
  z-index: 1;
  /* margin-left: 237px;
    top: 210px; */
  top: -60px;
  right: 35px;
  width: 165px;
  transform: rotate(10deg);
}

#contact-me img {
  position: absolute;
}

#profile {
  /* position: absolute; */
  top: 62px;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  width: 100px;
  height: 100px;
  background-color: transparent;
  border: 1px solid #747474;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

#profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#buttons {
  /* position: absolute; */
  top: 246px;
  /* left: 50%;
    transform: translateX(-50%); */
  width: 100%;
  padding: 0px 50px 0px 50px;
  max-width: 414px;
}

.button {
  position: relative;
  width: 100%;
  height: 50px;
  background-color: #0c0c0c;
  border: 1px solid #747474;
  text-align: center;
  line-height: 49px;
  margin-bottom: 30px;
  font-size: 16px;
  color: #747474;
  text-decoration: none;
  display: block;
  border-radius: 70px;
  font-family: "Prompt", sans-serif;
  transition: background-color 0.3s; /* Agregar transición para el cambio de color */
}

.button:last-child {
  margin-bottom: 0px;
}

.button:hover {
  background-color: #747474;
  font-size: 16px;
  color: #0c0c0c;
}

#intro-text {
  /* position: absolute; */
  top: 190px;
  margin: 35px 0 35px 0px;
  font-size: 16px;
  color: #747474;
}

.social-icons {
  /* margin: 0px 8px; */
  color: #747474;
}

#icons {
  /* position: absolute; */
  display: flex;
  gap: 16px;
  color: #747474;
  font-size: 23px;
  line-height: 0px;
  padding: 40px 0px;
  /* margin-top: 15px; */
  /* margin-bottom: 15px; */
  top: 540px;
}

.horizontal-line {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #747474;
  border: none;
  margin: 0px;
}

.scroll-container {
  width: 100%;
  margin: 22.5px 0px;
  color: #747474;
  overflow: hidden;
}

#scroll-text {
  width: 100%;
  display: flex;
  /* animation properties */
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);

  -moz-animation: my-animation 15s linear infinite;
  -webkit-animation: my-animation 15s linear infinite;
  animation: my-animation 15s linear infinite;
}

#scroll-text div {
  margin-right: 380px;
  width: 100%;
  white-space: nowrap;
}

/* for Firefox */
@-moz-keyframes my-animation {
  from {
    -moz-transform: translateX(100%);
  }
  to {
    -moz-transform: translateX(-100%);
  }
}

/* for Chrome */
@-webkit-keyframes my-animation {
  from {
    -webkit-transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
  }
}

@keyframes my-animation {
  from {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  to {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

* {
  /* outline: 1px solid red;
  margin: 0px;
  padding: 0px; */
  box-sizing: border-box;
}
