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

/*==================== VARIABLES CSS ====================*/
:root {
  --header-height: 7.02vh;

  /*========== Colors ==========*/
  /* Change favorite color */
  --hue-color: 121; /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 4.68vw;
  --h1-font-size: 3.51vw;
  --h2-font-size: 2.928vw;
  --h3-font-size: 2.63vw;
  --normal-font-size: 2.19vw;
  --small-font-size: 1.9vw;
  --smaller-font-size: 1.75vw;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.58vh;
  --mb-0-5: 1.17vh;
  --mb-0-75: 1.75vh;
  --mb-1: 2.34vh;
  --mb-1-5: 3.51vh;
  --mb-2: 4.68vh;
  --mb-2-5: 5.85vh;
  --mb-3: 7.02vh;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 48px;
    --h1-font-size: 36px;
    --h2-font-size: 24px;
    --h3-font-size: 20px;
    --normal-font-size: 16px;
    --small-font-size: 14px;
    --smaller-font-size: 13px;
  }
}

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

/*========== time section ==========*/
.time__section {
  position: fixed;
  padding-top: 12.77vh;
  padding-left: 90%;
  font-weight: var(--font-medium);
}
/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  /* margin: 0 0 var(--header-height) 0;*/
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*==================== REUSABLE CSS CLASSES ====================*/
.section {
  padding: 16vh 0 5.11vh;
}
/*15.33vh*/
.section__title {
  font-size: var(--h1-font-size);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
}

.section__title,
.section__subtitle {
  text-align: center;
}
/*==================== LAYOUT ====================*/
.container {
  max-width: 73.2vw;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 1.75vw;
}

.header {
  width: 100%;
  position: fixed;
  /*bottom: 0;*/
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}
/*==================== NAV ====================*/
.nav {
  max-width: auto;
  height: calc(var(--header-height) + 3.83vh);
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 16px;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__menu {
  margin-left: auto;
}

.nav__list {
  display: flex;
  column-gap: 2.34vw;
  grid-template-columns: repeat(3, lfr);
  gap: 2.34vw;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__icon {
  font-size: 1.39vw;
}

/* show menu */

/* Active link */
.active-link {
  color: var(--first-color);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
}
/*==================== HOME ====================*/
.home__container {
  gap: 1.17vw;
  row-gap: 5.85vw;
}

.home__content {
  grid-template-columns: max-content 1fr 1fr;
  padding-top: 14.05vh;
  align-items: center;
  column-gap: 2.34vw;
}

.home__social {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1.17vw;
  /*transform: translateX(-6rem);*/
}

.home__social-icon {
  font-size: 1.46vw;
  color: var(--first-color);
}

.home__social-icon:hover {
  color: var(--first-color-alt);
}

.home__img {
  order: 1;
  justify-self: center;
}

.home__blob {
  width: 19.76vw;
  fill: var(--first-color);
}

.home__blob-img {
  width: 170px;
}

.home__data {
  grid-column: initial;
}

.home__title {
  font-size: var(--big-font-size);
}

.home__subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
}

.home__description {
  margin-bottom: var(--mb-2);
}

/*==================== BUTTONS ====================*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1.17vw;
  border-radius: 8px;
  font-weight: var(--font-medium);
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button__icon {
  font-size: 20px;
  margin-left: var(--mb-0-5);
  transition: 0.3s;
}

.button--white {
  background-color: #fff;
  color: var(--first-color);
}

.button--white:hover {
  background-color: #fff;
}

.button--flex {
  display: inline-flex;
  align-items: center;
}
/*==================== ABOUT ====================*/
.about__container {
  /*margin-left: 48px;*/
  grid-template-columns: repeat(2, 1fr);
}

.about__img {
  width: 25.62vw;
  border-radius: 8px;
  justify-self: center;
  align-self: center;
}

.about__description {
  text-align: initial;
  margin-bottom: var(--mb-2-5);
}

.about__info {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--mb-2-5);
}

.about__info-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.about__info-name {
  font-size: var(--smaller-font-size);
}

.about__info-title,
.about__info-name {
  display: block;
  text-align: center;
}

.about__button {
  display: flex;
  justify-content: initial;
}

/*==================== SKILLS ====================*/
.skills__header {
  row-gap: 0;
}

.skills__header {
  display: flex;
  align-items: center;
  margin-bottom: var(--mb-2-5);
  cursor: pointer;
}

.skills__icon,
.skills__arrow {
  font-size: 32px;
  color: var(--first-color);
}

.skills__icon {
  margin-right: var(--mb-0-75);
}

.skills__title {
  font-size: var(--h3-font-size);
}

.skills__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.skills__arrow {
  margin-left: auto;
  transition: 0.4s;
}

.skills__list {
  row-gap: 24px;
  padding-left: 43px;
}

.skills__titles {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--mb-0-5);
}

.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.skills__bar,
.skills__percentage {
  height: 5px;
  border-radius: 4px;
}

.skills__bar {
  background-color: var(--first-color-lighter);
}

.skills__percentage {
  display: block;
  background-color: var(--first-color);
}

.skills__c {
  width: 90%;
}
.skills__java {
  width: 70%;
}

.skills__js {
  width: 60%;
}
.skills__python {
  width: 80%;
}

.skills__nodejs {
  width: 80%;
}
.skills__android {
  width: 70%;
}

.skills__git {
  width: 75%;
}
.skills__anaconda {
  width: 85%;
}
.skills__andro {
  width: 70%;
}

.skills__close .skills__list {
  height: 0;
  overflow: hidden;
}

.skills__open .skills__list {
  height: max-content;
  margin-bottom: var(--mb-2-5);
}

.skills__open .skills__arrow {
  transform: rotate(-180deg);
}

/*==================== EXPERIENCE ======================*/
.experience__content {
  padding: 30px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  margin: 20px;
  padding: 20px;
  width: 900px;
  min-height: 200px;
  display: grid;
  grid-template-rows: 20px 50px 1fr 50px;
  border-radius: 10px;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
  transform: scale(1.01);
}

.experience__company {
  font-weight: var(--font-semi-bold);
  padding-top: 7px;
}

.card-1 {
  background: linear-gradient(60deg, var(--first-color), #fff);
}

.card-2 {
  background: linear-gradient(60deg, var(--first-color), #fff);
}
/*=====================PUBLICATION =======================*/
.publication__container {
  display: grid;
  grid-template-columns: 0.1fr 0.9fr;
  align-items: center;
}

.publication__icon {
  /*color: var(--first-color)*/
  color: red;
}

/*==================== QUALIFICATION ====================*/
.qualification__sections {
  display: grid;
  grid-template-columns: 0.6fr;
  justify-content: center;
}

.qualification__tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2);
}

.qualification__button {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
}

.qualification__button:hover {
  color: var(--first-color);
}

.qualification__icon {
  font-size: 29px;
  margin-right: var(--mb-0-25);
}

.qualification__data {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.75vw;
}

.qualification__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.qualification__subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.qualification__calendar {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.qualification__align {
  display: grid;
  grid-template-columns: auto;
}

.qualification__rounder {
  display: inline-block;
  width: 0.95vw;
  height: 2.07vh;
  background-color: var(--first-color);
  border-radius: 50%;
}

.qualification__line {
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  transform: translate(0.43vw, -1.75vh);
}

.qualification [data-content] {
  display: none;
}

.qualification__active[data-content] {
  display: block;
  padding-left: 55px;
}

.qualification__button.qualification__active {
  color: var(--first-color);
}
/*==================== PORTFOLIO ====================*/
/*.portfolio {
  background: radial-gradient(#fff, var(--first-color));
}*/

.portfolio__container {
  overflow: initial;
  grid-template-columns: repeat(3, 1fr);
}

.portfolio__content {
  padding: 10px 24px;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  column-gap: 5.85vw;
}

.portfolio__img {
  width: 23.42vw;
  border-radius: 8px;
  justify-self: center;
}

.portfolio__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.portfolio__description {
  margin-bottom: var(--mb-0-75);
}

.portfolio__button:hover .button__icon {
  transform: translateX(4px);
}

/*==================== CONTACT ME ====================*/
.contact__container {
  row-gap: 3.51vw;
  grid-template-columns: repeat(2, 1fr);
}

.contact__information {
  display: flex;
  margin-bottom: var(--mb-2);
}

.contact__icon {
  font-size: 32px;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}

.contact__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__form {
  width: 33.67vw;
}

.contact__content {
  background-color: var(--input-color);
  border-radius: 8px;
  padding: 12px 16px 4px;
}

.contact__label {
  font-size: var(--samller-font-size);
  color: var(--title-color);
}

.contact__input {
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: 4px 8px 8px 0;
}

/*==================== FOOTER ====================*/
.footer {
  padding-top: 2rem;
}

.footer__container {
  row-gap: 3.5rem;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
}

.footer__bg {
  background-color: var(--first-color-second);
  padding: 3rem 0 3.5rem;
}

.footer__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-0-25);
}

.footer__subtitle {
  font-size: var(--small-font-size);
}

.footer__links {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  column-gap: 32px;
}

.footer__link:hover {
  color: var(--first-color-lighter);
}

.footer__social {
  font-size: 1.25rem;
  margin-right: var(--mb-1-5);
  justify-self: flex-end;
}

.footer__social:hover {
  color: var(--first-color-lighter);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  text-align: center;
  color: var(--text-color-light);
  margin-top: 72px;
}

.footer__title,
.footer__subtitle,
.footer__link,
.footer__social {
  color: #fff;
}
/*========== SCROLL UP ==========*/

/* Show scroll */

/*========== SCROLL BAR ==========*/

/*==================== MEDIA QUERIES ====================*/
/* For small devices */

/* For medium devices */

/* For large devices */
