:root {
  /* --bg-color: #000102; */
  --bg-color: #fff;
  --line-color: #ccc;
  --link-color: #fff;
  --base-color: rgba(0, 82, 255, 1);
  --mc-color: #0a16ff;
}

body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: var(--mc-color);
  font-size: 14px;
}

main {
  min-height: 100vh;
  min-width: 100vw;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.hero {
  /* height: 100%; */
  background-color: var(--bg-color);
  background-image: conic-gradient(
    at calc(100% - 2px) calc(100% - 2px),
    var(--line-color) 270deg,
    var(--bg-color) 0
  );
  background-size: 50px 50px, 10px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero img {
  width: clamp(256px, 50vw, 500px);
  /* width: clamp(256px, 40vw, 420px); */
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: var(--mc-color);
}

.details {
  margin: 0 1em;
  padding: 1em 4em;
  background-color: rgba(0, 0, 0, 0.25);
  color: var(--link-color);
  font-size: 12px;
}

.details p {
  word-break: break-all;
}

.details a {
  color: var(--link-color);
  text-decoration: none;
}

.details a:hover {
  color: var(--mc-color);
  background-color: var(--link-color);
}

.links {
  padding: 2em;
  display: flex;
  flex-direction: column;
  gap: 2em;
  justify-content: center;
}

.links a {
  display: inline-flex;
  gap: 0.5em;
  padding: 0.5em 1em;
  border: 2px var(--link-color) solid;
  border-radius: 0.25em;
  color: var(--link-color);
  text-decoration: none;
  justify-content: center;
}

.links a:hover {
  color: var(--mc-color);
  background-color: var(--link-color);
}

/* If screen size is more than 600px wide */
@media screen and (min-width: 600px) {
  .links {
    flex-direction: row;
  }

  .details {
    font-size: 14px;
  }
}
