@import url("https://fonts.googleapis.com/css2?family=Plaster&family=Play:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

:root {
  --black: #000000;
  --orange: #ff8000;
  --grey: #595959;
  --white: #ffffff;
  --ubuntu: "Ubuntu";
  --play: "Play";
  --plaster: "Plaster";
}

html {
  scroll-behavior: smooth;
  /* es para que el scroll sea suave */
}

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

body {
  background-color: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
}

/* ===================
    HEADER
==================== */
header, .header {
  display: flex;
  height: 90px;
  justify-content: space-evenly;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--black);
  margin-bottom: 6px;
  border-radius: 6px;
  transition: .3s ease;
}

header .logo {
  display: flex;
  align-items: center;
  width: 40%;
}

.logo p {
  margin-left: 5%;
  font-size: 14px;
  font-family: var(--play), sans-serif;
}

header h1 {
  font-family: var(--plaster), sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.logo h1:hover {
  cursor: pointer;
  color: var(--orange);
}

header nav {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header nav ul {
  width: 100%;
  list-style-type: none;
  display: flex;
  justify-content: space-evenly;
}

header nav ul li a{
  text-decoration: none;
  font-family: var(--play), sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--black);
}

header nav ul li a:hover {
  color: var(--orange);
  cursor: pointer;
}

/* ============================
      CONTENEDOR PRINCIPAL
==============================*/
.contenedor-principal {
  display: flex;
  justify-content: space-between;
}

/* ======================
    DIV REDES
========================= */
.div-redes svg {
  width: 28px;
}

.div-redes {
  width: 20%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.div-redes ul {
  list-style-type: none;
  position: fixed;
}

.div-redes ul li {
  margin-bottom: 20px;
}

.div-redes ul li a {
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.div-redes ul li a:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.div-redes a:hover {
  cursor: pointer;
}

/* ========================
        MAIN
=========================== */
.contenedor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

#inicio {
  width: 1100px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.div-uno .front {
  width: 460px;
  font-size: 32px;
  font-family: var(--ubuntu), sans-serif;
  color: var(--black);
  font-weight: 600;
}

.div-uno h2 {
  font-family: "Ubuntu", sans-serif;
  font-weight: bold;
  font-size: 70px;
  font-weight: 100;
}

.div-uno .ideas {
  font-family: var(--ubuntu), sans-serif;
  font-weight: lighter;
  font-size: 1.5rem;
  font-weight: 100;
  font-style: italic;
  letter-spacing: 3px;
}

.div-dos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 500px;
  margin-top: 4%;
}

.div-dos .btn-divdos {
  border: 1px solid var(--black);
  color: var(--black);
  font-weight: 100;
  font-size: 1.2rem;
  width: 220px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}

.div-dos .btn-divdos:hover {
  background: var(--orange);
  border: 1px solid var(--white);
  cursor: pointer;
}

.btn-divdos a {
  text-decoration: none;
}

/* ===========================
    ACERCA DE MI
    ABOUT ME
=========================== */
.about-me-titulos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-me-titulos h2 {
  font-family: "Ubuntu", sans-serif;
  font-size: 4rem;
  font-weight: 500;
  color: var(--black);
  padding: 1.25rem;
}

.about-me-titulos .aboutme-p {
  font-size: 1.5rem;
  margin-top: 2%;
  font-weight: 100;
  font-style: italic;
  text-align: justify;
  width: 50%;
  color: var(--grey);
}

/* ===============================
    section SKILLS
================================ */
.skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5%;
}
.skills h3 {
  font-family: "Ubuntu", sans-serif;
  font-size: 4rem;
  font-weight: 500;
  color: var(--black);
  padding: 1.25rem;
}

.skills ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.skills ul li {
  flex: 0 0 20%;
  padding: 16px;
  border-radius: 24px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  transition: all 0.3s ease;
}

.skills ul li:hover {
  background-color: var(--grey);
  transform: scale(1.1);
  border: 1px solid var(--white);
  cursor: pointer;
}

.skills svg {
  width: 100px;
  height: 100px;
}

/* ========================================
        LISTA DE PROYECTOS
=========================================*/
.portafolio .portafolio-titulo {
  margin-top: 5%;
  margin-bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portafolio {
  margin-bottom: 1.5rem;
}

.portafolio-titulo h3 {
  font-family: "Ubuntu", sans-serif;
  font-size: 4rem;
  font-weight: 500;
  color: var(--black);
  padding: 1.25rem;
}

.portafolio-titulo p {
  font-size: 1.5rem;
  font-weight: 100;
  font-style: italic;
  text-align: justify;
  width: 50%;
  color: var(--grey);
}

.lista-portafolio {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  list-style-type: none;
  justify-content: center;
}

.lista-portafolio li {
  border: 1px solid var(--grey);
  border-radius: 12px;
  width: 550px;
  height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.lista-portafolio li:hover {
  cursor: pointer;
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(88, 88, 88, 0.2);
}

.lista-portafolio li img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.lista-portafolio li h4 {
  margin: 20px;
  font-size: 24px;
  color: var(--black);
  text-align: center;
}

.lista-portafolio li p {
  margin: 10px;
  color: var(--grey);
  text-align: justify;
  font-size: 14px;
}

.lista-portafolio li div {
  display: flex;
  gap: 10px;
}

.lista-portafolio li div a {
  text-decoration: none;
  border: 1px solid var(--grey);
  color: var(--black);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 18px;
  transition: background-color 0.3s;
  width: 180px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}

.lista-portafolio li div a:hover {
  background-color: var(--black);
  color: var(--white);
}


/* ==================================
            CONTACTO
=================================== */
.contacto {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contacto-card {
  max-width: 900px;
  width: 100%;
  border: 1px solid var(--grey);
  border-radius: 12px;
  padding: 28px;
  display: grid;
  gap: 18px;
  align-items: center;
}

.contacto-title {
  font-family: "Ubuntu", sans-serif;
  font-size: 4rem;
  font-weight: 500;
  padding: 1.25rem;
  text-align: center;
}

.contacto-text {
  margin: 0;
  line-height: 1.6;
  color: var(--grey);
  font-size: 1.1rem;
}

.contacto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-wspp {
  display: inline-block;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8000 0%, #ff9b33 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 128, 0, 0.25);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.btn-wspp:hover, .btn-wspp:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 128, 0, 0.35);
  background: linear-gradient(90deg, #ff9b33 0%, #ff8000 100%);
}

.redes-invite {
  margin: 0;
  font-weight: 600;
  color: #374151;
}

/*====================
      FOOTER
=====================*/
footer {
  color: var(--grey);
  padding: 40px 20px 20px 20px;
  font-family: var(--play), sans-serif;
}

.footer-copy {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: #999;
}

/* =======================
    BREAKPOINTS
========================*/
