html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
}

/* typography */

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #000000;
}

h1 {
  font-family: 'Lobster', cursive;
  font-size: 48px;
  font-weight: lighter;
  margin-bottom: 5px;
}

h2 {
  font-family: 'Open Sans Condensed', sans-serif; 
  font-size: 18px;
  margin-top: 0;
}

h3 {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 28px;
}

p {
  font-size: 20px;
}

a {
  color: #000000;
}

/* layout */

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


/* site header */

#site-header {
  padding: 100px 0 20px;
  background-image: url("../media/images/skater2.jpg");
  background-color: #cccccc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  text-align: center;
}

#site-header h1 {
  color: red;
  text-shadow: 1px 1px #000000;
  margin: 32px 10px 0 10px;
}

#site-header h2 {
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 5px black;
  letter-spacing: 10px;
}

#site-main {
  min-height: 70vh;
  margin-bottom: 80px;
  line-height: 1.5;
}

.content {
  margin: 0;
  padding-top: 36px;
  margin-bottom: 10px;
}

#register-form {
  margin: 0;
  padding-top: 18px;
}

#register-form h2 {
  font-size: 35px;
  font-family: sans-serif;
  color: red;
  text-align: center;
  font-weight: bolder;
  margin-bottom: 10px;
}

.form-field input {
  width: 100%;
  border: 1px solid grey;
  box-shadow: inset 0 1px 1px #648889;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.form-field:last-child {
  padding-top: 10px;
}

.feedback {
  display: none;
  color: red;
  margin-top: 0;
}

.button {
  background-color: red;
  outline: none;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .126em;
  color: white;
  box-shadow: 1px 0 0 0 white;
}

.button:hover {
  background-color: rgb(190, 5, 5);
}

#trusts {
  margin-bottom: 70px;
  padding-top: 53px;
  display: flex;
  flex-wrap: wrap;
}

#trusts p {
  max-width: 200px;
  margin-left: 14px;
  line-height: 1.45;
  font-size: 15px;
}

#surfer1, #surfer2 {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  align-content: space-around;
  padding-top: 20px;
}

.trusts-img {
  border-radius: 50%;
}

#video {
  position: relative;
  margin: 0;
}

.container video {
  width: 100%;
  height: auto;
  margin: 0;
}

#playbtn {
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  display: block;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 50%;
  width: 100px;
  height: 100px;
  margin: auto;
  padding: 0;
  color: white;
  font-size: 43px;
  background-color: rgb(230, 230, 230, .4);
  border-radius: 50%;
  cursor: pointer;
}

#playbtn i {
  padding-left: 10px;
}


@media (min-width: 768px) {
  .container {
    margin: 0 auto;
    max-width: 700px;
  }

  #trusts:last-child {
    margin-left: 10px;
  }

  #playbtn {
    width: 200px;
    height: 200px;
    font-size: 86px;
  }
  
  #playbtn i {
    padding-left: 20px;
  }

}

@media (min-width : 1224px) {
  #site-header {
    padding: 280px 0 20px;
  }

  #site-header h1 {
    text-shadow: 1px 1px 11px black;
    font-size: 131px;
  }

  #site-header h2 {
    font-size: 58px;
  }
  
  .container {
    max-width: 1122px;
  }

  #site-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .content {
    flex-basis: 54%;
  }
  
  .content p {
    font-size: 24px;
  }

  #register-form h2 {
    font-size: 45px;
  }

  .form-field input {
    padding: 23px;
    margin-bottom: 25px;
    border-radius: 6px;
    font-size: 20px;
  }

  #trusts {
    padding-top: 110px;
    margin-bottom: 200px;
  }

  #trusts p {
    max-width: 435px;
    font-size: 20px;
  }

  #video {
    flex-grow: 1;
    align-self: flex-end;
  }
}



