/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
@import url(./color.css);

/*=============== VARIABLES CSS ===============*/

@media screen and (min-width: 968px) {
  :root {
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .3s; /* For animation dark mode */
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: 600;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: 100%;
}

/*=============== THEME ===============*/
.change-theme {
  position: absolute;
  top: 1.5rem;
  right: 0;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: .3s;
}

.change-theme:hover {
  color: var(--primary);
}

/*========== Variables Dark theme ==========*/

.dark-theme .button__gray {
  background-color: var(--background);
}

.dark-theme .button__gray:hover {
  background-color: hsl(var(--hue), 24%, 16%);
  color:var(--secondary);
}

.dark-theme::-webkit-scrollbar {
  background-color: hsl(var(--hue), 8%, 16%);
}

.dark-theme::-webkit-scrollbar-thumb {
  background-color: hsl(var(--hue), 8%, 24%);
}

.dark-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--hue), 8%, 32%);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 500px;

}

.grid {
  display: grid;
  gap: 1.5rem;
}




/* banner */
.banner{

    cursor: pointer;
    -webkit-text-decoration: none;
    text-decoration: none;
    outline: 2px solid transparent;
    outline-offset: 2px;
    color: inherit;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: #FAF089;
    color: #000;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 999;
    padding-top: 8px;
    padding-bottom: 8px;
}
.banner-text{
  font-weight: 500;
  font-size: 14px;
}

.banner:hover{
  background: #ECC94B;
}

/*=============== PROFILE ===============*/
.profile__container{
  padding-top: 1rem !important;
}
.content-index{
  padding-top: 5rem;
}
.profile {
  position: relative;

}

.profile__container {
  row-gap: 0rem;
}

.profile__data {
  display: grid;
  text-align: center;
}

.profile__perfil {

  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  align-items: flex-end;
  justify-content: center;
}

.profile__perfil img {
  width: 100%;
}

.profile__border {
  border: 3.5px solid var(--primary);
  justify-self: center;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
}

.profile__name {
  font-size: var(--h2-font-size);
}

.profile__profession {
  font-size: var(--smaller-font-size);
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.profile__social {
  display: flex;
  justify-content: center;
  /* column-gap: .75rem; */
}

.profile__social-link {
  font-size: 1.25rem;
  color: var(--title-color);
  transition: .3s;
}

.profile__social-link:hover {
  color: var(--primary);
}

.profile__info {
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  column-gap: 2.5rem;
}

.profile__info-group {
  text-align: center;
}

.profile__info-number {
  font-size: var(--normal-font-size);
  margin-bottom: .25rem;
}

.profile__info-description {
  font-size: var(--smaller-font-size);
  font-weight: 500;
}

.profile__buttons, 
.profile__buttons-small {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile__buttons {
  column-gap: 1rem;
}

.profile__buttons-small {
  column-gap: .25rem;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  background-color: var(--primary);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: .5rem;
  transition: .3s;
}

.button i {
  font-size: 1.25rem;
}

.button:hover {
  background-color: var(--secondary);
  color: var(--title-color);
}

.button__small {
  padding: 0.5rem 1rem;
  box-shadow: none;
}

.button__gray {
  background-color: var(--text-color-lighten);
  color: var(--title-color);
}

.button__gray:hover {
  background-color: var(--text-color-light);
  color: var(--primary);
}

/*=============== FILTERS TABS===============*/
.filters__content {
  margin: 2rem 0 2.5rem;
  padding: .375rem;
  border-radius: .75rem;
  display: flex;
  justify-content: space-between;
  column-gap: .5rem;
}

.filters__button {
  width: 100%;
  border: none;
  outline: none;
  padding: 0.75rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
  font-family: var(--body-font);
  font-weight: 500;
  border-radius: .75rem;
  cursor: pointer;
  background-color: transparent;
  transition: .3s;
}

.filters__button:hover {
  background-color: var(--text-color-lighten);
  color: var(--primary);
}

/*=============== FOOTER ===============*/
.footer__copy {
  display: block;
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(var(--hue), 8%, 66%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(var(--hue), 8%, 54%);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--hue), 8%, 44%);
}

/*========== ICONS TOOLTIP ==========*/
.social,
.social__container,
.social__content{
  display: flex;
}


.social__content{
  position: relative;
  padding: .5rem;
  cursor: pointer;
}

/* .social__icon{
  font-size: 2rem;
  color: var(--primary);
} */

.social__tooltip{
  content: attr(data-title);
  display: inline-block;
  position: absolute;
  /* bottom: -34px; */
  left: -6px;
  margin: 0 auto;
  font-size: 13px;
  padding: 1px 1px;
  background: var(--tertiary);
  color: var(--color-tip);
  border-radius: 2px;
  height: 22px;
  line-height: 22px;
  opacity: 0;
  transition: opacity 150ms linear,transform 150ms linear,-webkit-transform 150ms linear;
  transform: translate3d(0, -8px, 0);
  z-index: 99;
  white-space: nowrap;
}

.social__tooltip::after{
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color:var(--tertiary);
  z-index: -100000;
}

.social__content,
.social__tooltip,
.social__icon{
  transition: .3s;
}



/*========== Tooltip bottom ==========*/
.social__tooltip-bottom{
  bottom: 0;
  left: 164%;
  transform: translate(-34%, 80%);
}

.social__tooltip-bottom::after{
  right: 80%;
  transform: translate(-50%, -50%) rotate(45deg);
  top: 1px;
}

.footer{
  position: absolute;
  left:0;
  right:0;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2rem;

}

.social__content:hover .social__tooltip-bottom{
  opacity: 1;
  bottom: -1rem;
}


.container-blog .instruction {
  /* margin-left: 4px; */
}
.content-blog {
  margin-bottom: 2px;
}
.content-blog p {
  display: inline;
  background-repeat: no-repeat;
  transition: all 500ms ease-in-out;
  color: var(--text-color);
}

.v2 p {
  background-position: left;
  background-size: 0% 100%;
  background-image: linear-gradient(var(--secondary), var(--secondary));
}
.v2:hover p {
  background-size: 102% 100%;
  color: #fff;
}


h2 {
  font-size: 1.8rem;
  /* line-height: 3.2rem; */
}
hr {
  border: 0;
  clear: both;
  display: block;
  margin: 1px auto;
  text-align: center;
  width: 100%;
}

/* -- Animated hr -- */

.progress {
  background: rgba(1, 15, 30, 0.1);
  height: 1px;
  overflow: hidden;
  position: relative;
}

.progress::before {
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  animation-name: progress;
  background: #111;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  width: 50px;
}

@keyframes progress {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(1440px);
  }
}

.relative-div{
  position: relative;
  bottom: -10px;
}
.transparent-button{
    transition-property: var(--transition-property-common);
    transition-duration: var(--transition-duration-fast);
    transition-timing-function: var(--transition-easing-ease-out);
    cursor: pointer;
    -webkit-text-decoration: none;
    text-decoration: none;
    outline: 2px solid transparent;
    outline-offset: 2px;
    color: #fff;
    border-radius: 20px;
    display: inline;
    background: var(--primary);
    padding: 7px 20px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 10rem;
    position: relative;
}
.transparent-button .arrow{
  display: inline-block;
  -webkit-transition: 200ms;
  transition: 200ms;
  margin-left: 4px;
}

.transparent-button:hover .arrow, .transparent-button[data-hover] .forward-arrow{
  transform: translateX(3px);
}
.dark-theme .transparent-button:hover{
  color: #fff;
}
.summary:hover{
  transform: translateX(5px);
  color: var(--text-color);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .profile__info {
    column-gap: 1.5rem;
  }
  .profile__buttons {
    flex-direction: column;
    row-gap: 1rem;
  }


}

/* For medium devices */
@media screen and (min-width: 576px) {
  .projects__content {
    grid-template-columns: 332px;
    justify-content: center;
  }

  .filters__content {
    width: 395px;
    margin: 1.5rem auto;
  }


}

@media screen and (min-width: 776px) {
  .projects__content,
  .skills__content {
    grid-template-columns: repeat(2, 332px);
  }


}

/* For large devices */
@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .change-theme {
    top: 2.5rem;
    right: 2.5rem;
  }

  .profile {
    padding-top: 1rem;
  }
  .profile__border {
    width: 131px;
    height: 131px;
    /* margin-bottom: 1rem; */
  }
  .profile__perfil {
    width: 118px;
    height: 118px;
  }

  .profile__profession {
    margin-bottom: 1.5rem;
  }
  .profile__info {
    column-gap: 3rem;
  }
  .profile__info-description {
    font-size: var(--small-font-size);
  }
  .profile__buttons {
    column-gap: 1rem;
  }

  .projects__content {
    gap: 2rem 3rem;
  }
  .projects__modal {
    padding: 1.5rem;
  }
}
.spotify {
  align-items: center;
  justify-content: center;
}

/* Add your CSS styles here */
.track-details {
  display: none;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
}

/* Apply animation to a music note icon */
.music-icon {
  font-size: 24px;
  animation: musicAnimation 4s infinite linear;
}

/* Center align the loading message */
.loading {
  margin-top: 10px;
  color: rgba(135, 100, 255, .9) !important
}


.instruction {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Ensure space between the location/time and links */
}

.location-time {
  display: flex;
  align-items: center;
  white-space: nowrap;
  /* Prevent line breaks between location and time */
}

.location-time i {
  margin-right: 0.3rem;
  /* Adds spacing between the icon and text */
}

.links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* Adjusts the spacing between the links */
}

.links a {
  color: inherit;
  text-decoration: none;
  position: relative;
  /* Allows for positioning the pseudo-element */
}

.links a:hover{
  font-weight: 500;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.links a:hover::after {
  transform: scaleX(1);
  font-weight: 500;

}


.pulsing-icon {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(1);
      opacity: 1;
  }

  50% {
      transform: scale(1.1);
      opacity: 0.7;
  }

  100% {
      transform: scale(1);
      opacity: 1;
  }
}

#current-video {
  display: flex;
  align-items: center;
  gap: 10px;
}

#current-video i {
  color: red;
  font-size: 16px;
  vertical-align: middle;
}

#current-video a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  line-height: 24px;
  /* Ensures the text aligns with the icon */
  vertical-align: middle;
}

#currently-reading i {
  color: #1D3557;
  font-size: 16px;
  vertical-align: middle;
}

#current-video a:hover {
  color: var(--primary);
}

#coding-status {
  display: flex;
  align-items: center;
  gap: 5px;
}

#coding-status i {
  color: #007ACC;
  /* VS Code blue color */
  font-size: 16px;
  vertical-align: middle;
}

#coding-status p {
  color: var(--text-color);
  font-size: 14px;
  line-height: 24px;
  /* Ensures the text aligns with the icon */
  vertical-align: middle;
}

.new-tag {
  border-style: dashed;
  border-color: var(--primary);
  border-width: 1px;
  /* background-color: rgba(135, 100, 255, .2); */
  color: var(--primary);
  font-size: 0.8em;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 5px;
  font-family: 'Poppins', sans-serif;
}

.new-tag:hover {
  border-color: var(--text-color);
  color: var(--text-color);
}

.blog-item {
  position: relative;
}

.profile__name {
  display: flex;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Centers vertically */
  height: 100%;
  /* Optional, ensures alignment if height is set */
}

.profile__name svg {
  color: var(--text-color) !important;
}
