@charset "UTF-8";

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  font-size: 16px;
}

.container {
  padding: 2.5em ;
  width: 40%;
  max-width: 400px;
  line-height: 1.5;
  resize: horizontal;
}

.opening {
  background: url(picture1.jpg) center center;
  background-size: cover;
  min-height: 100%;
  overflow: auto;
}

.opening h1 {
  color: #fff;
  text-align: left;
  padding-bottom: 1.3em;
}

.opening p {
  color: #fff;
  text-align: left;
}

.opening .btn {
  color: #fff;
  background: #000;
  padding: 10px 40px;
  text-decoration: none;
  transition: background .5s;
  opacity: 0.85;
  margin: 10px 0 30px 0;
  float: left;
}
.opening .btn:hover {
  background: #222;
}

.closing {
  background: url(picture4.jpg) center center;
  background-size: cover;
  overflow: auto;
}

.closing .container {
  top: 3%;
  max-width: 320px;
  float: right;
}

.closing h2 {
  color: #fff;
  text-align: right;
  line-height: 1.25;
  padding-bottom: 1.05em;
}

.closing h3 {
  color: #fff;
  text-align: right;
  }

.closing p {
  color: #fff;
  text-align: right;
  line-height: 1.25;
}

.closing .with-background {
  padding: 10px;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.1);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}

.closing .mail-link{
  text-decoration: none;
  color: white;
}
.closing .mail-link:hover{
  text-decoration: underline;
}



@media only screen and (max-width : 600px) {
  .container {
    padding: 3.5em 1.5em 1em 1.5em;
    width: 55%;
  }
  h1 {
    font-size: 1.7em;
  }
  .closing h2 {
    font-size: 1.7em;
    padding-top: 50px;
    padding-bottom: 10px;
  }
}

@media only screen and (min-width: 768px) {
  .container {
    padding: 3.5em 1.5em 1em 1.5em;
    width: 44%;
  }
  h1 {
    font-size: 2.4em;
  }
  h2 {
    font-size: 2.1em;
  }
  p {
    font-size: 1.1em;
  }
  .btn {
    font-size: 1.5em;
  }
}





/* Annimation */

#scroll {
  position:absolute;
  width:75px;
  height:75px;
  bottom:3em;
  right:25%;
  left:50%;
  margin-left:-37px;
}

.arrow,
.arrow:before {
  position: absolute;
  left: 50%;
}

.arrow {
  width: 40px;
  height: 40px;
  top: 50%;
  margin: -20px 0 0 -20px;
  -webkit-transform: rotate(45deg);
  border-left: none;
  border-top: none;
  border-right: 2px #fff solid;
  border-bottom: 2px #fff solid;
}

.arrow:before {
  content: "";
  width: 20px;
  height: 20px;
  top: 50%;
  margin: -10px 0 0 -10px;
  border-left: none;
  border-top: none;
  border-right: 1px #fff solid;
  border-bottom: 1px #fff solid;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-name: arrow;
}

@keyframes arrow {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-10px, -10px);
  }
}
