
* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-image: linear-gradient(0deg, rgba(20, 20, 20, 0.3), rgba(20, 20, 20, 0.3)), url('https://cdn.spacetelescope.org/archives/images/wallpaper2/heic2007a.jpg');
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

h3{
  color:white;
  text-align: center;
}

button, input[type="text"] {
  padding: 5px;
}

button:hover {
  cursor: pointer;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.error-message {
  color:red;
  text-align:center;
}

.hidden {
  display: none;
}


.flex-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position:relative;
  margin-right:5%;
  margin-left:5%;
  text-align: center;
  color: white;
}

.box{
  font-size: 23px;
  height: 390px;
  width:530px;
  margin: 3%;
  padding:3%;
}

.flex-container > div:hover  {
  transform: scale(1.1);
}

textarea{
  height:250px;
  width:70%;
  margin:3%;
  font-size:20px;
  font-family:Helvetica;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

p#content{
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.explanation{
  display:block;
  margin-left:auto;
  margin-right:auto;
  margin-top:5%;
  margin-bottom:3%;
  width:60%;
  line-height:1.5;
}

h1{
  text-align:center;
  color:white;
  font-size:34px;
  margin-top:35px;
}

label{
  text-align:center;
  color:white;
  font-weight: bold;
  font-size:20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

h6{
  text-align:center;
  color:white;
  font-weight: bold;
  font-size:12px;
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);

}

input[type=text]{
  display:inline-block;
  position: absolute;
  top: 61%;
  left: 50%;
  transform: translate(-50%, -50%);
}


input[type=submit]{
  margin-left:15px;
  display:block;
  width:6%;
  margin:0 auto;
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dropdown{
  display:flex;
  flex-direction: row;
  justify-content:center;
  margin:8px;
  text-align:center;
}

button{
  display:block;
  margin:0 auto;
}

.send-to{
  margin:2%;
}

select {
  margin:10px;
}

h2{
  text-align:center;  
  margin:2%;
}


/* Media queries*/
@media only screen and (max-width:1000px){

  .box {
    height: 300px;
    width:400px;
    font-size:20px;
  }

}

@media only screen and (max-width:800px){

  p.explanation{
    width:80%;
    font-size:15px;

  }

  input[type=submit]{
    width:15%;
  }
}

@media only screen and (max-width:600px){


  .box{
    height: 270px;
    width:380px;
    font-size:18px;
  }

}


@media only screen and (max-width:449px){

  .box{
    height: 250px;
    width:360px;
    font-size:18px;
  }

  p.explanation{
    font-size:13px;
    width:95%;
  }

  textarea{
    width:80%;
  }

}




