/* PORTFOLI */


body.portfolio {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 300;
  margin: 0;
  line-height: 95%;
}

body.portfolio p {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 110%;
  margin: 0;
}

body.portfolio h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 100%;
  color: #111;
}

body.portfolio h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 10px;
  color: #111;
}

body.portfolio img {
  width: 100%;
  max-width: 300px;
  object-fit: cover;
  border-radius: 15px;
  height: auto;
}

body.portfolio a {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 100%;
  color: #000000;
  text-decoration: none;
  margin: 0;
}

a:hover {
  color: #c69fbe;
}




/* Top Bar */

body.portfolio div.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #e6e6e6;
  padding: 20px;
}

body.portfolio div.top-bar img:hover {
  animation: rotar-luz 1s ease-in-out forwards;
}

body.portfolio div.top-bar p{
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 100%;
  margin: 0px;
}

body.portfolio div.top-bar a {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 100%;
  margin: 0px;
}

body.portfolio div.top-bar a:hover {
  color: #c69fbe;
}




/* Intro */

body.portfolio div.intro {
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 40px 20px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr;
}

body.portfolio div.intro p {
  color: #000000;
  font-size: 16px;
  font-weight: 200;
  line-height: 110%;
}




/* Proyectos */

body.portfolio div.proyectos {
  padding: 10px 40px 0px 40px;
}

body.portfolio div.portfoli {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 10px 20px 0px 20px;
  justify-content: space-between;
}

body.portfolio div.item {
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

body.portfolio div.item:hover {
  animation: scale-up 0.5s forwards;
  box-shadow: 0 6px 20px #c69fbe;
}

body.portfolio div.item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  max-width: 100%;
}

body.portfolio div.item p {
  font-weight: 300;
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}



/* Footer */

body.portfolio footer {
  background-color: #e6e6e6; 
  padding: 20px 40px; 
  text-align: center; 
  color: #111; 
  margin-top: 40px;
}






/* Animaciones */

@keyframes scale-up {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

@keyframes rotar-luz {
  0% { 
    transform: rotate(0deg); 
    box-shadow: none; 
  }

  25% { 
    transform: rotate(2deg); 
    box-shadow: 0 0 5px 1px #c69fbe; 
  }

  50% { 
    transform: rotate(-2deg); 
    box-shadow: 0 0 10px 2px #c69fbe; 
  }

  75% { 
    transform: rotate(1deg); 
    box-shadow: 0 0 13px 3px #c69fbe; 
  }

  100% { 
    transform: rotate(0deg); 
    box-shadow: 0 0 10px 2px #c69fbe; 
  }
}



/* Responsive */

@media screen and (max-width: 1280px) {
  body.portfolio div.portfoli { 
    grid-template-columns: 1fr 1fr 1fr; 
  }

  body.portfolio footer p{
    font-size: 18px; 
  }

  body.portfolio footer a{
    font-size: 18px; 
  }
}



@media screen and (max-width: 768px) {
  body.portfolio div.intro { 
    grid-template-columns: 1fr ; 
    text-align: center; 
  }
  body.portfolio div.portfoli { 
    grid-template-columns: 1fr 1fr; 
  }

  body.portfolio footer p{
    font-size: 16px; 
  }

  body.portfolio footer a{
    font-size: 16px; 
  }
}



@media screen and (max-width: 475px) {
 
  body.portfolio div.portfoli { 
    grid-template-columns: 1fr; 
  }

  body.portfolio { 
    font-size: 14px; 
  }
  body.portfolio h1 { 
    font-size: 22px; 
  }
  body.portfolio img { 
    max-width: 200px; 
  }

  body.portfolio footer p{
    font-size: 14px; 
  }

  body.portfolio footer a{
    font-size: 14px; 
  }
}





/* CURRÍCULUM */

body.cv {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 110%;
  margin: 0;
}

body.cv p {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 300;
}

body.cv h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 25px;
  font-weight: 800;
}

body.cv h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 20px;
}





/* TOP BAR */

body.cv header.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 40px;
  background-color: rgba(0,0,0,5%);
  position: relative;
}

body.cv a {
  color: #000000;
  text-decoration: none;
}

body.cv a:hover {
  color: #c69fbe;
}




/* TODO EL CONTENIDO */

body.cv div.main-content {
  background-image: radial-gradient(#ffe6f3, rgba(0,0,0,5%));
}





/* INTRO */

body.cv section.intro {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  padding: 60px 60px 20px 60px;
  position: relative;
  margin: 0;
}

body.cv section.intro img {
  width: 350px;
  border-radius: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px 2px rgba(0,0,0,25%);
}

body.cv section.intro img:hover {
  animation: salto 1s ease-in-out;
}

body.cv div.info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}





/* ABOUT */

body.cv section.about {
  text-align: center;
  line-height: 1.4;
  margin: 100px;
}

body.cv section.about p {
  font-size: 25px;
  font-weight: 200;
  line-height: 110%;
}

body.cv section {
  margin: 50px;
}





/* SKILLS */

body.cv div.dots {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

body.cv span.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

body.cv span.dot.filled {
  background-color: #c69fbe;
}






/* SOFT SKILLS */

body.cv section.soft-skills ul {
  list-style: none;
  padding-left: 0;
  line-height: 2;
}

body.cv section.soft-skills ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

body.cv section.soft-skills ul li::before {
  content: "➤";
  position: absolute;
  left: 0;
}






/* IDIOMAS */

body.cv section.idiomas {
  margin-bottom: 0;
  padding-bottom: 50px;
}

body.cv div.idiomas {
  margin-bottom: 15px;
}

body.cv div.bar {
  height: 6px;
  background-color: #ddd;
  border-radius: 4px;
  overflow: hidden;
}

body.cv div.level {
  height: 100%;
  background-color: #c69fbe;
}






/* Animaciones */

@keyframes salto {
  0% { 
    transform: translateY(0); 
  }

  25% { 
    transform: translateY(-20px); 
  }

  50% { 
    transform: translateY(0); 
  }

  75% { 
    transform: translateY(-10px); 
  }

  100% { 
    transform: translateY(0); 
  }
}





/* Responsive */

@media screen and (max-width: 1280px) {
  body.cv section.estudios {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }

  body.cv section.experiencia {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  body.cv section.experiencia div {
    grid-column-start: 2;
    grid-column-end: 3;
  }

  body.cv section.skills {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
  }

  body.cv section.skills div {
    grid-column-start: 3;
    grid-column-end: 4;
  }

  body.cv section.soft-skills {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  body.cv section.soft-skills div {
    grid-column-start: 2;
    grid-column-end: 3;
  }

  body.cv section.idiomas {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }

  body.cv section.idiomas div {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  body.cv footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: rgba(0,0,0,5%);
  }
}



@media screen and (max-width: 768px) {
  body.cv footer {
    justify-content: center;
    text-align: center; 
    flex-direction: column;
    padding: 20px 40px;
    background-color: rgba(0,0,0,5%);
  }

  body.cv footer p {
    margin-bottom: 5px;
    margin-top: 5px;
  }
}



@media screen and (max-width: 475px) {
  body.cv { 
    font-size: 16px; 
  }

  body.cv p { 
    font-size: 16px; 
  }

  body.cv h1 { 
    font-size: 20px; 
  }
  body.cv h2 { 
    font-size: 18px; 
  }

  body.cv img { 
    max-width: 200px; 
  }

  body.cv section { 
    margin: 20px; 
  }

  body.cv section.intro {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    padding: 50px 30px 20px 30px;
    position: relative;
    margin: 0;
  }

  body.cv section.about { 
    margin: 50px; 
  }

  body.cv section.about p { 
    font-size: 20px; 
  }

  body.cv section.estudios { 
    grid-template-columns: 1fr; 
  }

  body.cv section.experiencia { 
    grid-template-columns: 1fr; 
  }

  body.cv section.experiencia div {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  body.cv section.skills { 
    grid-template-columns: 1fr; 
  }

  body.cv section.skills div { 
    grid-column-start: 1; 
    grid-column-end: 2; 
  }

  body.cv section.soft-skills { 
    grid-template-columns: 1fr; 
  }

  body.cv section.soft-skills div { 
    grid-column-start: 1; 
    grid-column-end: 2; 
  }

  body.cv section.idiomas { 
    grid-template-columns: 1fr; 
  }

  body.cv section.idiomas div { 
    grid-column-start: 1; 
    grid-column-end: 2; 
  }

  body.cv footer {
    justify-content: center;
    text-align: center; 
    flex-direction: column;
    padding: 20px 40px;
    background-color: rgba(0,0,0,5%);
  }

  body.cv footer p {
    margin-bottom: 5px;
    margin-top: 5px;
  }
}


