* {
  box-sizing: border-box;
}

body {
  background-color: #E84C3D;
  text-align: center;
  min-height: 100vh;
  margin: 0;
  padding: 96px 24px;
  font: 20px Helvetica, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: clamp(36px, 8vw, 50px);
  margin: 32px auto 24px;
  max-width: 1100px;
}

#img360 {
  border-radius: 100px;
  margin-left: 0;
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}

.contact-list {
  display: inline-grid;
  gap: 12px;
  margin: 0;
  padding: 20px 24px;
  text-align: left;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(70px, auto) 1fr;
  gap: 14px;
  align-items: baseline;
}

.contact-label {
  font-weight: 700;
}

a {
  color: #fff;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover,
a:focus {
  text-decoration: none;
}

.site-footer {
  margin-top: auto;
  padding-top: 48px;
  font-size: 16px;
  text-align: center;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media (max-width: 520px) {
  body {
    padding: 64px 16px;
  }

  .contact-list {
    width: 100%;
    max-width: 360px;
    padding: 18px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
