@charset "UTF-8";
body {
  background-image: linear-gradient(to bottom, #d4d3d3, #f7f7fe);
  height: 100vh;
  place-items: center; /* centra horizontal y vertical */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.calculator {
  margin: 2rem 0;
  align-self: center;
  width: clamp(200px, 50%, 550px);
  max-height: 90vh;
  background-color: #141313;
  border-radius: 10px;
  box-shadow: 10px 12px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

#display {
  background-color: #000000;
  color: white;
  font-size: 2em;
  text-align: right;
  border-radius: 10px;
  padding: 10px;
  height: 25%;
  margin-bottom: 30px;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(20px, 1fr));
  gap: 15px;
}

.buttons button:nth-child(4n) {
  background-color: #f1aa04; /* naranja para operadores */
}

button {
  aspect-ratio: 1/1; /* ancho = alto */
  max-width: 80px; /* límite ancho */
  max-height: 80px; /* límite alto */
  background-color: #6d6c6b;
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: large;
}

.portfolio-header {
  width: 100%;
  padding: 1.2rem 2rem;
  background: #111; /* color oscuro elegante */
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-header .container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-header .title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.back-btn {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #fff;
  transition: 0.2s ease;
  font-size: 0.95rem;
}

.back-btn:hover {
  background: #fff;
  color: #111;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-links {
  padding: 1.5rem 3rem;
  display: flex;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  font-weight: 700;
}

/*# sourceMappingURL=estilos.css.map */
