:root {
  --font-small: 14px;
  --font-medium: 18px;
  --font-large: 22px;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
  color: #eee;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: #222;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: #0f0;
  text-decoration: none;
  font-weight: bold;
}

.logo {
  height: 50px;
}

h1 {
  text-align: center;
  margin-top: 1rem;
  font-size: var(--font-large);
}

.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
}

.paragraph h2 {
  margin-bottom: 0.5rem;
  font-size: var(--font-medium);
  color: #ff4444;
}

.images {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem;
}

.images img {
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

@media (min-width: 600px) {
  .content {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: calc(var(--font-large) + 4px);
  }

  .images img {
    width: 45%;
  }
}

@media (min-width: 1200px) {
  .content {
    grid-template-columns: repeat(4, 1fr);
  }

  h1 {
    font-size: calc(var(--font-large) + 8px);
  }

  .images img {
    width: 30%;
  }
}

@media (max-width: 599px) {
  .images img:nth-child(2) {
    display: none;
  }

  h1 {
    font-size: var(--font-small);
  }

  .paragraph h2 {
    font-size: var(--font-small);
  }
}