* {
  box-sizing: border-box;
}

a:link {
  color: green;
  background-color: transparent;
  text-decoration: underline;
}

a:visited {
  color: lightgreen;
  background-color: transparent;
}

body {
    background-color: #000000;
    background-image: url(images/colorfulspace.webp);
    font-family: monospace;
    font-size: 14px;
}

.wrapper {
    display: grid;
    grid-template-areas:
        "header"
        "main"
        "footer";
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px
}

.header {
    grid-area: header;
    text-align: center;
}

.main {
    grid-area: main;
    color: aliceblue;
    background-color: #000000;
    border: double;
    text-align: center;
    padding: 5px;
}

.footer {
    grid-area: footer;
}

.text { 
    color: blue;
    font-family: impact;
    font-size: 30px;
    text-align: center;
    position: relative;
    top: 0;
    animation: bounce 0.3s ease infinite alternate;
    }
    @keyframes bounce {
    100% {
    top: -.50rem;
    }
}

@media only screen and (max-width: 620px) {
  /* For mobile phones: */
  .header, .main, .footer {
    width: 100%;
  }
}
