@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');

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

:root {
  --text-color: hsla(0, 99%, 65%, 0.89);
  --text-color-hover: hsla(0, 50%, 65%, 0.89);
  --text-color-white: #ccc;
  --bg-color: #333;
  --bg-light-color: #fafafa;
  --dark-text-color: #222;
}

body {
  font-family: 'Press Start 2P', cursive;
  background-color: var(--bg-color);
  color: var(--text-color-white);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

body.light-mode {
  background-color: var(--bg-light-color);
  color: var(--dark-text-color);
}

h1 {
  color: var(--text-color);
  font-size: 34px;
  letter-spacing: -2px;
  margin: 20px;
}

h2 {
  margin: 20px;
}


h3 {
  color: var(--text-color);
}

h3, h4 {
  margin: 10px;
}

ul {
  list-style-type: none;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease, color 0.3s ease;
}

a:hover {
  color: var(--text-color-hover);
}

p {
  margin: 20px 0;
}

nav {
  width: 100%;
}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

nav ul li {
  cursor: pointer;
  position: relative;
}

nav ul li::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0px;
  height: 2px;
  background-color: #ccc;
  transition: width 0.3s ease-out, transform 0.3s ease-out;
  transform: translateX(-50%);
}

nav ul li:hover::after {
  width: 100%;
  transform: translateX(-50%) scaleX(1);
}

#projects-content > ol > li {
  list-style-type: none;
}

.container {
  max-width: 650px;
  margin: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wb-body {
  background: #1c1c1c;
  padding: 20px;
}

.hidden {
  display: none;
}

.cursor {
  font-weight: 700;
  animation: 1s blink step-end infinite;
}

.icono-grande {
  font-size: 2em;
  padding: 10px 20px 10px 20px;
}

@keyframes blink {
  from,
  to {
    color: transparent;
  }

  50% {
    color: var(--text-color);
  }
}

.heart {
	width: 24px;
}

.heart i {
  color: hsla(0, 99%, 65%, 0.89);
  line-height: 40px;
  font-size: 1.4em;
  animation: beat .33s infinite alternate;
}

@keyframes beat {
  to {
    font-size: 1.2em;
  }
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin: auto;
  width: 64%;
}

/* Reset styles for form elements */
form, label, input, textarea {
	margin: 0;
	padding: 0;
	border: none;
	font-size: 90%;
	font: inherit;
	vertical-align: baseline;
}

/* Style the contact form */
form#contact-form {
	margin: 0 auto;
	max-width: 400px;
	padding: 10px;
	border: 1px solid #333;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Style the form labels */
form#contact-form label {
	display: block;
	margin-bottom: 5px;
}

/* Style the form input fields */
form#contact-form input[type="text"],
form#contact-form input[type="email"],
form#contact-form textarea {
	display: block;
	margin-bottom: 10px;
	width: 100%;
	padding: 10px;
	background-color: #fff;
	border: 1px solid #333;
	border-radius: 5px;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Style the Send button */
form#contact-form input[type="submit"] {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 20px;
	background-color: var(--text-color);
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 1em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Style the Send button on hover */
form#contact-form input[type="submit"]:hover {
	background-color: #f44336;
}

.g-recaptcha {
  width: 300px;
}

@media screen and (max-width: 600px) {
  body {
    font-size: 16px;
    line-height: 1.4;
  }
.container {
  max-width: 450px;
  margin: auto;
}

ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

nav ul li {
  padding: 10px;
}

  h1 {
    font-size: 24px;
    letter-spacing: -2px;
  }
  .icono-grande {
  font-size: 1.4em;
  padding: 10px 10px 10px 10px;
  }
  footer {
  width: 90%;
}
}