@charset "UTF-8";

html {
  background-color: #fff;
}

body {
  font-family: Verdana, Geneva, sans-serif;
  background-color: skyblue;
  margin: 25px;
}

header {
  background-image: url("images/eddiejo.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  padding: 20px;
  font-size: 3em;
  font-family: cursive;
  text-shadow: 0 0 10px red;
  letter-spacing: 0.3em;
}

h2 {
  font-size: 1.3em;
}

nav {
  background-color: brown;
  padding: 15px;
  text-align: center;
}

nav a {
  padding-left: 10px;
  padding-right: 10px;
  text-decoration: none;
  color: white;
}

nav a:hover {
  text-decoration: underline;
  color: yellow;
}

main {
  padding-left: 25px;
  padding-right: 25px;
}

img {
  width: 18%;
  padding: 10px;
  float: right;
  box-sizing: border-box;
}

.beach1 {
  width: 28%;
}

.beach2,
.beach3 {
  width: 22%;
}

main::after {
  content: "";
  display: block;
  clear: both;
}

footer {
  background-color: brown;
  color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
}

blockquote p {
  font-size: 1.1em;
  font-style: italic;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

blockquote {
  border-top: 2px solid green;
}

blockquote:last-of-type {
  border-bottom: 2px solid green;
}

form {
  width: 90%;
  max-width: 1100px;
  margin: 20px auto;
  padding: 10px;
  border: 2px solid black;
  background-color: #9ad9f0;
}

fieldset {
  width: 90%;
  margin: 20px auto;
  padding: 10px 20px;
  border: 2px solid #000;
}

.formfield {
  margin-bottom: 12px;
  text-align: center;
}

.formfield > label {
  display: inline-block;
  width: 120px;
  text-align: right;
  font-weight: bold;
  vertical-align: top;
  margin-right: 10px;
}

.formfield input,
.formfield select,
.formfield textarea {
  width: 70%;
  max-width: 550px;
  margin-bottom: 0;
  padding: 6px;
  box-sizing: border-box;
}

.radio,
.checkbox {
  display: inline-block;
  width: auto;
  margin-right: 20px;
  vertical-align: top;
}

.radio > input,
.checkbox > input {
  width: auto;
  margin-right: 5px;
}

.radio > label,
.checkbox > label {
  width: auto;
  text-align: left;
  font-weight: normal;
  margin-right: 10px;
}

input:focus,
select:focus,
textarea:focus {
  border: 2px solid #000;
  outline: 2px solid yellow;
  background-color: #fff;
}

input:valid,
select:valid,
textarea:valid {
  border: 2px solid green;
  background-color: #e8f8ea;
}

input:invalid,
select:invalid,
textarea:invalid {
  border: 2px solid red;
  background-color: #fde9e9;
}

input[type="submit"],
input[type="reset"] {
  width: 20%;
  height: 40px;
  border-radius: 25%;
  text-align: center;
  background-color: blue;
  color: white;
  font-weight: bold;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: white;
  color: blue;
}

#phone {
  font-family: inherit;
}

.vacationdream {
  vertical-align: top;
}

@media screen and (max-width: 800px) {
  header {
    padding: 20px;
    font-size: 2em;
    letter-spacing: normal;
  }

  .beach2,
  .beach3 {
    display: none;
  }

  .beach1 {
    display: block;
    width: 90%;
    float: none;
    margin: 0 auto;
  }

  form {
    width: 100%;
    font-size: large;
  }

  label {
    display: block;
    width: 100%;
    text-align: left;
  }

  fieldset {
    width: 100%;
    padding: 5px;
    margin: 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    width: 90%;
    height: 50px;
  }

  input[type="submit"],
  input[type="reset"] {
    width: 40%;
    font-size: 1.5em;
  }
}