@import url(globals.css);

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
small {
  letter-spacing: 2px;
  line-height: 1.2;
}

p {
  line-height: 1.3;
}

body {
  background-color: var(--background);
  color: var(--text-secondary);
}

h1,
h2,
h3 {
  color: var(--text-primary);
}
span,
p,
small,
a {
  color: var(--text-secondary);
}

h5 {color: rgb(235, 235, 235);}

a, input[type="submit"] {
  font-family: "Jersey 10", sans-serif;
  font-weight: 100;
  font-style: normal;
  letter-spacing: 2px;
  font-size: 0.92rem;
}

.div-portfolio {
  min-width: 800px;
  width: 100%;
  margin-top: 100px;
  display: grid;
  padding: 2rem 1rem;
}

.disenio-h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: var(--spacing-xl);
  text-align: center;
  background-clip: text;
  color: var(--text-primary);
}

hr {
  border: none;
  height: 4px;
  width: 75%; /* más corto */
  margin: 20px auto; /* centrado */
  background: linear-gradient(190deg, var(--text-primary), var(--text-accent));
  border-radius: 2px; 
}

.altura-container {height: 28vh;}

.btn-theme {
  /*botón visible en todo momento y ubicado en la parte inferior de la pantalla*/
  width: auto;
  background-color: var(--surface);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-full);
  position: fixed;
  top: 87%;
  right: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid var(--border);
}

.btn-theme:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.btn-theme svg {
  transition: opacity 0.3s ease;
}

* {
  transition: background-color 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* Estilos adicionales para mejorar la transición */
body {
  transition: background-color 0.3s ease;
}

