@import url("https://fonts.googleapis.com/css2?family=Poor+Story&family=Raleway:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital@1&display=swap");
/*
font-family: 'Poor Story', cursive; for H1
font-family: 'Raleway', sans-serif; for other
font-family: 'Old Standard TT', serif; the first letter
*/

header {
  margin: 20px auto 0;
  padding: 1px 0;
  width: 88%;
  background-color: rgba(214, 184, 75, 0.8);
  border-radius: 20px;
  box-shadow: -10px 0px 20px white, 
               10px 0px 20px white, 
			   0px 1px 5px white,
               0px -10px 20px white;
}

h3 > p {
  text-align: right;
  font-style: italic;
}

fieldset#range {
  position: relative;
  padding-bottom: 40px;
}
#range > p {
  font-size: 30px;
  position: absolute;
  top: 50px;
  left: 50px;
}
#range input {
  width: 300px;  
}
#range > h2 {
  padding: -20px 0;
}
#range > h2 > p {
  font-family: "Arial";
  font-size: 0.5em;
  padding-left: 35px;
}

h3:first-of-type::first-letter {
  font-family: "Old Standard TT", serif;
  float: top;
  font-size: 2em;
  line-height: 1.8em;
  letter-spacing: 0.1em;
}
h3#topText {
  padding-left: 30px;
  line-height: 2em;
}

body {
  width: 100%;
  min-width: 640px;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 100px;
  background-image: url(img/inf2.png);
  background-size: 500px;
  text-align: center;
}

section#main {
  background-color: rgba(217, 120, 48, 0.85);
  border-radius: 20px;
  width: 80%;
  margin: 0 auto;
  padding: 36px;
  text-align: left;
  margin-bottom: 100px;
  box-shadow: -10px 0px 20px white, 
               10px 0px 20px white, 
			    0px 10px 20px white,
                0px -1px 5px white;
}

h1 {
  font-family: "Poor Story", cursive;
  font-size: 3.3em;
  font-weight: bold;
}

h2 {
  font-family: "Raleway", sans-serif;
}

fieldset {
  margin-bottom: 40px;
  padding: 0 40px;
  border-radius: 30px;
  border: none;
  border-bottom: 4px double black;
}

#happy input {
  width: 20px;
  height: 20px;
}
input#specify {
	width: 200px;
	border-radius: 10px 5px;
}

div#hobby {
  display: flex;
  flex-wrap: wrap;
}

.typeHobby {
  width: 45%;
  font-size: 1.4em;
}
.typeHobby input {
  width: 20px;
  height: 20px;
}

select {
  width: 150px;
  font-size: 1.1em;
  border: 2px groove DarkGreen;
  background-color: lightgray;
  border-radius: 10px 5px;
}

input#job {
  width: 310px;
  height: 20px;
  border-radius: 10px 5px;
}

input {
  border: 2px groove DarkGreen;
  background-color: lightgray;
}

textarea {
  width: 65%;
  height: 150px;
  border: 2px groove DarkGreen;
  background-color: rgba(92, 91, 90, 0.3);
  border-radius: 40px 5px;
}

input#submitButton {
  position: absolute;
  right: 0;
  bottom: -20px;
  border: 3px solid lightblue;
  background-color: blue;
  color: white;
  font-size: 1.2em;
  padding: 10px 60px;
  border-radius: 10px;
}
div#button {
  background-color: black;
  width: 100%;
  position: relative;
}

fieldset#lastText textarea {
  width: 100%;
}

fieldset input, select {
  background-color: rgba(92, 91, 90, 0.3);
}

fieldset select {
  width: 300px;
  text-align: right;
}
