/* This is the CSS for the ID used on page 2. */
#enjoy {
  font-size: 24px;
  color: purple;
}

/* Feel free to add more CSS here! */

#title {
	margin-bottom: 0px;
}

#madeby {
	margin-top: 5px;
  margin-bottom:30px;
  font-size:16px;
}

#buttons-container {
	margin-bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

#buttons-container button {
  padding: 5px 10px;
  background-color: steelblue;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
}

#submit {
	width: 100%;
  margin-top: 15px;
  padding: 8px;
  background-color: steelblue;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.star-rating {
	display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  font-size: 15px;
  color: lightgray;
  padding: 0 5px;
  cursor: pointer;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating input[type="radio"]:checked ~ label ~ label {
    color: goldenrod;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid lightgray;
}

th {
  background-color: whitesmoke;
  text-align: left;
  padding-left: 8px;
}

th:first-child, td:first-child {
  width: 70%;
}

th:nth-child(2), td:nth-child(2), th:nth-child(3), td:nth-child(3) {
	width: 13%;
}

th:last-child, td:last-child {
  width: 4%;
}

td:last-child {
  text-align: center;
}

label {
	display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"] {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid gray;
  border-radius: 4px;
}

/* The CSS below is for the way the website and app look. Be careful when making changes! */

body {
	/* Changing the style below will change the color of the background. */
  background-color: lightblue;
}

#phone {
  height: 600px;
  width: 350px;
  /* Changing the style below will change the color of the phone. */
	background-color: black;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  margin: auto;
  position:relative;
}

#menucontainer {
  position: absolute;
  right: 10px;
  padding: 0;
  margin: 0;
  z-index: 1;
}

#collapsemenu {
  float: right;
  /* Changing the style below will change the color of the menu button. */
  background-color: steelblue;
  border: 2px solid black;
  color: white;
  margin: 0;
  text-align: center;
  text-decoration: none;
  width: 60px;
  height: 30px;
  display: inline-block;
  font-size: 16px;
  border-radius: 0px 0px 0px 10px;
  font-weight: bold;
}

#collapsemenu:active {
  background-color: lightblue;
}

#menu {
  float: right;
  clear: right;
  margin-top: 2px;
  padding: 8px;
  border: 2px solid black;
  /* Changing the style below will change the color of the menu background. */
  background-color: steelblue;
  border-radius: 10px;
  color: white;
  display: none;
}

.menubutton {
  /* Changing the style below will change the color of the menu buttons. */
  background-color: lightblue;
  border: 2px solid black;
  width: 75px;
  color: black;
  font-weight: bold;
  margin: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.menubutton:active {
  background-color: white;
}

#screen {
  height: 550px;
  width: 350px;
  /* Changing the style below will change the color of the screen. */
  background-color: white;
  padding: 8px;
  /* Changing the style below will change the default color of the text on the screen. */
  color: black;
  margin: 0px;
  display: inline-block;
}

#decorationbutton {
  position: absolute;
  bottom: 5px;
  left: 160px;
}

#pages {
  display: none;
}