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

html {
  font-size: 62.5%;
}

body {
  font-family: "Roboto Mono", monospace;
  font-size: 1.6rem;
  background: #121212;
  color: #ededed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header,
footer {
  background: #1e1e1e;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.div-logo {
  margin-left: 2rem;
  font-weight: bold;
}

.logo {
  text-decoration: none;
  font-size: 2.5rem;
  color: inherit;
  font-family: "Press Start 2P", system-ui;
}

.logo:hover {
  color: #a0a0a0;
}

.header-nav ul li a {
  text-decoration: none;
  font-size: 1.6rem;
  color: inherit;
  display: inline-block;
  padding: 2rem;
}

.header-nav a:hover {
  color: #a0a0a0;
}

.header-nav ul,
footer .footer-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.footer-list li {
  padding: 1rem;
}

.footer-list img {
  width: 5rem;
  padding: 0.5rem;
}

main {
  display: flex;
  width: 100%;
  max-width: 120rem;
  margin: auto;
  padding: 0 2rem 2rem 2rem;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

section {
  margin-bottom: 4rem;
}

h1 {
  font-family: "Press Start 2P", system-ui;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 3rem 0;
  text-align: center;
}

.paragraph {
  font-size: 2rem;
  padding: 3rem;
  text-align: center;
}

h2 {
  font-family: "Press Start 2P", system-ui;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 3rem 0;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  background-color: #222222;
  border: 1px solid #2a2a3b;
  width: 100%;
  max-width: 40rem;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
}

.secondary-text {
  color: #a0a0a0;
}

.price {
  color: #ffbe0b;
  font-weight: 700;
}

.btn {
  border: none;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 1.6rem;
  border-radius: 1rem;
  background-color: #4a4a6a;
  color: #ededed;
}

.btn:hover {
  background-color: #6a6a8a;
  cursor: pointer;
}

.contact {
  width: 100%;
  max-width: 60rem;
}

.contact-form {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: #a0a0a0;
}

.form-group input,
.form-group textarea {
  background-color: #222222;
  border: 1px solid #2a2a3b;
  color: #ededed;
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1.6rem;
}

.form-group textarea {
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a4a6a;
}

@media (max-width: 700px) {
  header,
  footer {
    flex-direction: column;
  }
  .header-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .header-nav ul li a {
    padding: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }
  .paragraph {
    font-size: 1.6rem;
    padding: 1.5rem;
  }
}
