:root {
  --button-color: #22292f;
  --button-shadow-2: #171d23;
  --button-shadow-1: #272f36;
}

body {
  font-family: 'Montserrat';
  background: #22292f;
  position: relative;
  perspective: 2000px;
  font-size: 1rem;
  color: white;
  overflow: hidden;
}

p {
  margin: 40px 0;
}

@media screen and (min-width: 678px) {
  body {
    font-size: 2rem;
  }
}

iframe {
  border: 2px;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  height: 90vh;
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

a {
  text-decoration: none;
  color: var(--button-text-color);
  background: var(--button-color);
  border: 2px solid var(--button-color);
  border-radius: 5px;
  padding: 20px 30px;
  background: #22292f;
  margin: 10px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  border-radius: 10px;
  box-shadow: -5px -5px 15px var(--button-shadow-1), 5px 5px 15px var(--button-shadow-2), inset 5px 5px 10px var(--button-shadow-1), inset -5px -5px 10px var(--button-shadow-2);
  transition: all 0.35s ease-out;
  animation: rainbow 10s infinite;
  display: flex;
}

a:hover {
  box-shadow: -5px -5px 15px var(--button-shadow-1), 5px 5px 15px var(--button-shadow-2), inset 5px 5px 10px var(--button-shadow-2), inset -5px -5px 10px var(--button-shadow-1);
  transition: 500ms;
}

a:focus {
  outline: none;
}

i {
  margin-left: 20px;
}

@keyframes rainbow {
  0% {color: red;}
  25% {color: orange;}
  50% {color: yellow;}
  75% {color: orange;}
  100% {color: red;}
}