* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("./background/ales_01.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  min-height: 100vh;
}

/* styling of questions page*/
header {
  min-height: 20vh;
  font-size: 30px;
  display: flex;
  justify-content: right;
  margin-left: 1cm;
  align-items: center;
}

form {
  min-height: 7vh;
  font-size: 22px;
}

h3 {
  display: flex;
  justify-content: left;
  margin-left: 1cm;
  align-items: flex-start;
  flex-direction: row;
}

h5 {
  margin-left: 1cm;
  align-items: center;
}

.button-container {
  display: flex;
  justify-content: center;
}

.submit-button {
  background-color: rgb(0, 43, 68);
  color: white;
  padding: 16px;
  border: none;
  margin-top: -1.4cm;
  font-size: 30px;
  border-radius: 20px;
  box-shadow: 2px 5px grey;
  margin-bottom: 3cm;
}

.questions-select {
  font-size: 22px;
  padding: 10px;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  background-color: whitesmoke;
  border-radius: 5px;
  width: 250px;
  max-height: 70px;
  margin-top: -1cm;
  margin-left: 20cm;
}

.link-button {
  color: white;
  text-decoration: none;
}

.clearformbutton-container {
  display: flex;
  justify-content: left;
  margin-left: 1cm;
}

.clearformbutton {
  background-color: rgb(0, 43, 68);
  color: white;
  font-size: 15px;
  margin-left: 20px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
}

/*styling of results page*/
.back-button {
  background-color: rgb(0, 43, 68);
  color: white;
  font-size: 15px;
  margin-left: 20px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
}

.card {
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 2%;
  flex-grow: 0;
  flex-basis: 16%;
  margin-top: 15px;
  margin-right: 15px;
  height: 550px;
}

.card:hover {
  border: 1px solid black;
}

.price {
  color: grey;
  font-size: 22px;
  margin-top: auto;
}

.products {
  margin-top: 40px;
  margin-left: 1cm;
  margin-right: 1cm;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: row;
  justify-content: flex-start;
}

.phonename {
  text-align: center;
  font-size: 25px;
  margin-top: auto;
}

.mem {
  font-size: 18px;
  margin-top: auto;
}

.phoneinfo {
  margin-top: auto;
  max-width: auto;
}

.image {
  max-width: 100%;
  max-height: 250px;
}

.nophone-text {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
