@font-face {
  font-family: "Mediaeval";
  src: url("../assets/Mediaeval.woff") format("woff");
  font-style: normal;
}

body {
  background-color: #fff603;
  margin: 0;
  font-family: 'Mediaeval';
  line-height: 1.2;
}

.title-image {
  background-color: #fff603;
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 1rem;

}

img {
  max-width: 100%;
  margin-top: 40px;

}

.intro-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  
}

h1 {
  margin: 0;
  font-size: 24px;
  font-weight: normal;

}

.name-list {
  list-style-type: none;
  padding-left: 0;
  font-size: 20px;

}

.button-enter, .button-back {
  background-color: #fff;
  border: solid 2px black;
  border-radius: 10px;
  padding: 12px;
  font-family: 'Mediaeval';
  font-size: 20px;
  cursor: pointer;
}
.button-enter:hover, .button-back:hover {
  background-color: black;
  border: solid 2px white;
  color: white;
}

.text-container {
  
  padding: 5px 20px 0px 20px;
  margin-bottom: 10px;
  
}

p {
  font-size: 20px;

}

.btnback-container {
  
  display: flex;
  justify-content: center;
  margin-bottom: 30px;

}

/*tablet*/
@media (min-width: 768px) and (max-width: 1024px) {

  img {
    width: 700px;
    height: 700px;

  }

  h1 {
    margin: 0;
    font-size: 48px;
  
  }

  .name-list {
    font-size: 30px;
  
  }


  .text-container {
    padding: 5px 35px 0px 35px;
    margin-bottom: 10px;
    
  }

  p {
    font-size: 23px;
  
  }

  
}

/*desktop < */
@media (min-width: 1025px) {

  img {
    width: 850px;
    height: 850px;
  }

  h1 {
    margin: 0;
    font-size: 70px;
    
  }

  .name-list {
    font-size: 40px;
    
  }


  .text-container {
    padding: 20px 45px 0px 45px;
    margin-bottom: 10px;
    
  }

  p {
    font-size: 25px;
  
  }


}