* {
  box-sizing: border-box;
  color: white;
  padding: 0;
  margin: 0;
  font-family: "Alegreya Sans";
}

.rotatelogo {
  max-width: 100%;
  z-index: -1;
  animation: none;
  width: clamp(2em, 13em, 18em);
  height: clamp(2em, 13em, 18em);
  position: relative;
  margin-top: -16em;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  min-height: 100vh;

  background-image: radial-gradient(
    ellipse at 50% 50%,
    #19217e 28%,
    #000000 100%
  );
  background-repeat: no-repeat;
}

.heading {
  width: 80%;
  margin: 1em 1em 1em 1em;
}

h1 {
  border: 1px solid white;
  font-size: clamp(1.6rem, 2.9vw, 7.5rem);
  text-align: center;
  padding: 0.5em;
}

.subtitle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10em, 0.5fr));
  grid-template-rows: repeat(auto-fit, 5em);
  grid-auto-flow: row;
  grid-auto-rows: 5em;
  justify-content: center;
  justify-items: center;
  align-items: center;
  width: 100%;
  border: 1px solid rgb(255, 179, 0);
  margin: 2em 0 0em 0;
  grid-gap: 1em;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  text-align: center;

  width: 100%;
}

.logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  margin: 1em;
  border-radius: 50%;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.975),
    rgba(255, 255, 255, 0.96)
  );

  width: clamp(2em, 13em, 18em);
  height: clamp(2em, 13em, 18em);
  margin: 3em;
  background: url("/images/logo_nexus.png");
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.logo {
  animation: none;
  border: none;
  width: clamp(2em, 14em, 18em);
  height: clamp(2em, 14em, 18em);
  border-radius: 50%;
  background-image: radial-gradient(circle at top left, orange, blue);
  animation: rotate 4s linear infinite;
  z-index: -1;
  margin: -1em;
}

.text-block {
  margin-top: 5em;
}

h2 {
  text-align: center;
  margin: 0.5em;
  font-size: clamp(1.2rem, 1.8vw, 1.9rem);
  line-break: strict;
  text-wrap: balance;
}

.rrss {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6em, 0.5fr));
  grid-template-rows: repeat(auto-fit, 5em);
  grid-auto-flow: row;
  grid-auto-rows: 5em;
  justify-content: center;
  justify-items: center;
  border: 1px solid rgb(255, 179, 0);
  grid-gap: 1em;
  width: 60%;
  margin-top: 4em;
  margin-bottom: min(2em);
}

h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sm-icons {
  width: 1.9em;
}
a {
  color: inherit;
  text-decoration: inherit;
}
