@import url(https://db.onlinewebfonts.com/c/470ad2519927fa4eedb66fdcd82af115?family=MuseoSansRounded-700);
@import url(https://db.onlinewebfonts.com/c/a07bcad627607b6777616f8e058e8917?family=MuseoSansRounded-500);

.rating {
    font-family: "Noto Sans JP", sans-serif;
}

.main-container {
  background-image: 
    linear-gradient(to bottom, rgb(43, 142, 255), rgb(63, 177, 230));
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  max-width: 100vw;
}
.formContainer{
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.formContainer .form-text{
  margin: 4px;
  text-align: left;
}
li{
  margin-top: 5px;
}

img {
  margin-top: 2em;
  margin-bottom: 3em;
  width: 300px;
}
.p-f1{
  font-family: "MuseoSansRounded-700";
  font-weight: 700;
  color: white;
  font-size: 2.2em;
}
.p-f2 {
  font-family: "MuseoSansRounded-500";
  font-size: 1.5em;
  color: white;
}

.modal {
  display: none;
  font-size: 13px;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal img {
  width: 300px;
}

.modal-content {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  box-sizing: border-box;
}

.close {
  position: absolute;
  top: 10px;  
  right: 10px; 
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
}

#customForm{
  text-align:left;
  margin-top: 2em;
}

label {
  margin-top: 8px; 
  display: inline-block;
}
a{
  text-decoration: none;
}

input {
  width: 97%; 
  border-radius: 5px;
  border-width: 1px;
  border-color: rgb(94, 90, 90);
  padding: 5px;
  margin: .5em 0 .5em 0;
}
textarea{
  width: 97%;
  border-radius: 5px;
  border-width: 1px;
  border-color: rgb(94, 90, 90);
  padding: 5px;
  margin: .5em 0 .5em 0;
  height: 100px;
}
.required {
  color: red;
}

.close {
  color: black;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}
.termsContainer{
  font-size: 14px;
  display: flex;
  margin: 1em;
}
.termsContainer input{
  width: 30px;
  margin: 1em;
}
.buttonContainer {
  display: flex;
  justify-content: center; 
  margin-top: 20px; 
}
.buttonContainer button{
  background-color: rgb(24, 189, 91);
  color: white;
  border-radius: 5px;
  border: none;
  border-color: gray;
  margin-top: 2em;
  padding: 1em;
  width: 300px;
}

@media (max-width: 600px) {
  img{
    width: 200px;
    margin-bottom: 0.5em;
  }
  .p-f1{
    font-size: 27px;
    margin: 0 1em 1em 1em;
  }
  .p-f2{
    font-size: 16px;
    margin: 0 .4em 1.5em .4em;
  }
  .rating label:after {
    font-size: 80px;
  }
} 