/* Header */

.headerEn {
  padding: 10px;
  border-radius: 10px;
  margin-top: 40px;
  background: #0b0f2d;
  box-shadow: 0 0 10px rgb(255, 255, 255, 0.3);
}

img {
  font-size: 2.5rem;
  margin: 0;
  width: 30%;
  border-radius: 50%;
}

a {
  background-color: rgb(44, 44, 132);
  color: black;
  border: solid black;
  border-radius: 50px;
  border-width: 5px;
  padding: 20px;
  cursor: pointer;
}

ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
}

a:hover {
  background-image: url(images/nasa.jpg);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 50px;
  background: url(./images/spaceSky.jpg) no-repeat;
  background-size: cover;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main - Seksjonene med planeter */

.planetFade {
  background: #0b0f2d;
  padding: 1.5rem;
  margin: 1rem;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgb(255, 255, 255, 0.3);
  animation: planetFade 1.5s ease;
}

.planetFade:hover {
  background-image: url(images/nasa.jpg);
}

/*Footer*/
#superTess {
  background-color: rgb(141, 141, 237);
  color: black;
  border: solid black;
  border-radius: 50px;
  border-width: 5px;
  padding: 20px;
  cursor: pointer;
}

#superTess:hover {
  background-color: plum;
}

/* Animasjon */

@keyframes planetFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
