body {
  background-color: rgb(44, 43, 43);
  color: white;
  display: flex;
  flex-direction: column;
}
header {
  flex-wrap: wrap;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  background-color: rgb(33, 30, 30);
  color: wheat;
}
header h1 {
  font-size: xx-large;
}
nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  text-align: center;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
}
nav a {
  white-space: nowrap;
  flex: 1;
  font-size: xx-large;
  color: white;
  padding: 1rem;
  transition: 0.5s;
  text-decoration: none;
}
nav a:hover,
nav a:focus {
  color: rgb(241, 195, 110);
  font-weight: bold;
}
.intro {
  font-size: 55px;
  width: 100%;
  height: 80vh;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgb(255, 255, 255);
  font-weight: bolder;
  text-shadow: 5px 5px 5px rgb(200, 195, 195, 1);

  animation-name: lighting;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  animation-duration: 3s;
}
.container {
  padding: 1rem;
  width: 80%;

  display: flex;
  flex-direction: row;
}

.container div {
  padding: 1rem;
  align-items: center;
  width: 100%;
  font-size: large;
}
.container div b {
  font-size: xx-large;
}
.container img {
  width: 40%;
  height: auto;
  border-radius: 50px;
  box-shadow: 8px 8px 15px rgb(241, 222, 216, 0.5);
}

@keyframes lighting {
  0% {
    color: rgb(255, 255, 255, 1);
    text-shadow: 5px 5px 5px rgb(200, 195, 195, 1);
  }
  25% {
    color: rgb(255, 255, 255, 0.5);
    text-shadow: 5px 5px 5px rgb(200, 195, 195, 0.5);
  }
  50% {
    color: rgb(255, 255, 255, 0.15);
    text-shadow: 5px 5px 5px rgb(200, 195, 195, 0.15);
  }
  75% {
    color: rgb(255, 255, 255, 0.5);
    text-shadow: 5px 5px 5px rgb(200, 195, 195, 0.5);
  }
  90% {
    color: rgb(255, 255, 255, 1);
    text-shadow: 5px 5px 5px rgb(200, 195, 195, 1);
  }
  100% {
    color: rgb(255, 255, 255, 1);
    text-shadow: 5px 5px 5px rgb(200, 195, 195, 1);
  }
  /*0% {
    color: rgb(255, 255, 255, 1);
  }
  25% {
    color: rgb(255, 255, 255, 0.7);
  }
  50% {
    color: rgb(255, 255, 255, 0.5);
  }
  75% {
    color: rgb(255, 255, 255, 0.25);
  }
  100% {
    color: rgb(255, 255, 255, 0);
  }*/
}
@media screen and (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 0.2rem;
    display: flex;
    flex-direction: row;
    background-color: rgb(33, 30, 30);
    color: wheat;
  }
  header h1 {
    font-size: 30px;
  }
  nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 100%;
    padding: 0 0.2rem;
    white-space: nowrap;
  }
  nav a {
    white-space: nowrap;
    flex: 1;

    color: white;
    transition: 0.5s;
    text-decoration: none;

    font-size: 24px;
    padding: 0.2rem;
  }

  .intro {
    font-size: 35px;
  }
  .container {
    display: flex;
    flex-direction: column;
    padding: 0.2rem;
    width: 80%;
  }
  .container div {
    align-items: center;
    width: 100%;
    padding: 0.1rem;
    font-size: 16px;
  }
  .container div b {
    font-size: 20px;
  }
  .container img {
    width: 80%;
    height: auto;
    border-radius: 50px;
    box-shadow: 8px 8px 15px rgb(241, 222, 216, 0.5);
  }
}

@media screen and (min-width: 769px) and (max-width: 1025px) {
  header h1 {
    font-size: xx-large;
  }
  .intro {
    font-size: 30px;
  }
  nav a {
    font-size: 30px;
  }
  .container img {
    width: 50%;
    height: auto;
    border-radius: 50px;
    box-shadow: 8px 8px 15px rgb(241, 222, 216, 0.5);
  }
  .container {
    display: flex;
    flex-direction: row;
    padding: 10px;
    width: 95%;
  }
}
