@import url("https://fonts.googleapis.com/css?family=Oswald:400,700&display=swap");
* {
  font-family: Helvetica;
}

body {
  padding: 0;
  margin: 0;
  position: relative;
  background: #c8c8c8;
}

#container {
  width: 100%;
  margin: 0 auto;
}

#main {
  margin: 0 auto;
  width: 100%;
  position: relative;
  height: 600px;
}

#main.buy-back {
  background: url("../../images/header.jpg") no-repeat;
  background-size: cover;
  background-position: top -200px left 0;
}

#header {
  width: 100%;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.8);
  overflow: auto;
}

#header img {
  padding: 0 0 0 20px;
  float: left;
  width: 180px;
}

#header ul {
  float: left;
  padding: 10px 0 0 40px;
}

#header ul li {
  display: inline;
  padding: 0 30px;
}

#header ul li a {
  font-size: 18px;
  font-family: 'Oswald',sans-serif;
  color: #FFFFFF;
  text-decoration: none;
}

#contact {
  width: 600px;
  position: absolute;
  right: 20px;
  top: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 10px 20px;
}

#contact img {
  display: block;
  margin: 0 auto;
  padding: 0 0 10px 0;
}

#contact .carow {
  padding: 5px 0 !important;
}

#contact h2 {
  font-size: 42px;
  padding: 0 0 0 0;
  margin: 0;
  text-align: center;
  color: #c50000;
  font-style: italic;
}

#contact h3 {
  font-size: 26px;
  padding: 0 0 5px 0;
  margin: 0;
  text-align: center;
  font-style: italic;
}

#contact h3 span {
  color: #4A4E69;
}

#contact input {
  font-size: 16px;
  width: 100%;
  padding: 10px 0;
  margin: 10px 0 0 0;
  text-indent: 10px;
}

#contact textarea {
  width: 100%;
  padding: 10px 0;
  margin: 10px 0 0 0;
  font-size: 16px;
  text-indent: 10px;
}

#contact .cacontainer {
  padding-top: 0;
}

.btn {
  padding: 10px;
  background: #D1D936;
  width: 100%;
  margin: 10px 0 0 0;
  font-size: 16px;
  border: none;
  color: #4A4E69;
}

.btn:hover {
  background: #d0d833;
}

#copy {
  width: 55%;
  padding: 0 20px 0 20px;
  color: #000000;
}

#footer {
  margin: 100px 0 0px 0;
}

#footer img {
  display: block;
  margin: 0 auto;
}

#footer #about {
  text-align: center;
  color: #999999;
}

#footer #about li {
  text-align: center;
  display: inline;
  padding: 5px 10px;
  list-style: none;
}

#footer #about li:nth-of-type(even) {
  color: #c50000;
}

#footer #about li a {
  color: #999999;
}

#scratch {
  position: relative;
  display: inline-block;
  font-size: 0;
  /*margin-top: 100px;*/
  /*margin-bottom: 600px;*/
}

#scratch img {
  width: 100%;
  max-width: 916px;
  height: auto;
}

#scratch canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  cursor: pointer;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -ms-touch-action: none;
  -webkit-touch-action: none;
  -moz-touch-action: none;
  touch-action: none;
  transition: opacity 500ms ease-out 0ms, height 0ms linear 500ms;
}

#scratch.revealed canvas {
  opacity: 0;
  height: 0;
}

.video {
  position: absolute;
  top: 350px;
  left: 200px;
  width: 750px;
}

.video video {
  width: 100%;
  height: auto;
}

.scratch #copy {
  margin-top: 200px;
}

@media only screen and (max-width: 1250px) {
  #contact {
    width: 500px;
  }
  #contact img {
    width: 100%;
  }
  #contact h2 {
    font-size: 28px;
  }
  #contact h3 {
    font-size: 22px;
  }
  #contact .cacontainer {
    padding-top: 0;
  }
  #copy {
    width: 50%;
  }
  #main {
    height: 440px;
  }
  .video {
    position: absolute;
    top: 250px;
    left: 50px;
  }
  .video img {
    display: block;
  }
  .scratch #copy {
    margin-top: 200px;
  }
}

@media only screen and (max-width: 1050px) {
  #contact {
    width: 400px;
  }
  #contact img {
    width: 100%;
  }
  #contact h2 {
    font-size: 28px;
  }
  #contact h3 {
    font-size: 22px;
  }
  #contact .cacontainer {
    padding-top: 0;
  }
  #main {
    height: 320px;
  }
  .video {
    position: absolute;
    top: 200px;
    left: 50px;
    width: 450px;
  }
  .scratch #copy {
    margin-top: 150px;
  }
}

@media only screen and (max-width: 780px) {
  #header img {
    display: block;
    margin: 0 auto;
    float: none;
  }
  #header ul {
    display: none;
  }
  #contact {
    position: static !important;
    width: 332px;
    margin: 20px auto;
    background: #FFFFFF;
  }
  #contact img {
    width: 100%;
  }
  #contact h2 {
    font-size: 24px;
  }
  #contact h3 {
    font-size: 18px;
  }
  #contact .cacontainer {
    padding-top: 0;
  }
  .buy-back {
    background: url("../../images/header.jpg") no-repeat;
    background-position: 0 0;
  }
  #copy {
    width: 90%;
    margin: 700px 0 0 0;
  }
  ul#nav {
    padding: 10px 0 0 0;
  }
  ul#nav li {
    padding: 0 10px !important;
  }
  ul#nav li:first-of-type {
    padding: 0 10px 0 0 !important;
  }
  #footer {
    margin: 0 0 20px 0;
  }
  #footer img {
    display: block;
    margin: 0 auto;
  }
  #footer #about {
    text-align: center;
    color: #999999;
    padding: 0 !important;
  }
  #footer #about li {
    text-align: center;
    display: block !important;
    padding: 5px 0 !important;
    list-style: none;
  }
  #footer #about li:nth-of-type(even) {
    display: none !important;
  }
  #footer #about li a {
    color: #999999;
  }
  .video {
    position: absolute;
    top: 1190px;
    left: 50px;
    width: 400px;
  }
  .scratch #copy {
    margin-top: 1130px;
  }
}
