
.image {
  width: 70%;
}
img {
  width: 100%;
  position: relative;
  z-index: 1;
}
.content h1 {
  font-size: 36px;
  text-align: center;
}
.text {
  padding: 20px;
  width: 30%;
  position: relative;
  z-index: 2;
  margin-right: -50px;
}
.text-format {
  background-color: white;
  text-align: center;
  border: 2px solid gray;
  padding: 30px;
  line-height: 1.4;
}
h1 {
  font-family: 'Rye';
  padding: 10px;
}

p {
  font-family: 'Ubuntu';
  font-size: 18px;
  padding: 10px;
  line-height: 1.5;
}
.item {
  display: flex;
  align-items: center;
  padding: 30px;
  position: relative;
  z-index: 1;
}
.item::before {
  content: "";
  position: absolute;
  height: 100px;
  width: 100%;
  background-color: white;
  display: block;
  top: 0;
  left: 0;
}
.item::after {
  content: "";
  position: absolute;
  height: 100px;
  width: 100%;
  background-color: white;
  display: block;
  bottom: 0px;
  left: 0;
}

.item:nth-of-type(odd) {
  background-image: url(../img/bg1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.item:nth-of-type(odd) .text {
  margin-left: -50px;
}

.item:nth-of-type(even) {
  background-image: url(../img/bg2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.item:nth-of-type(even) .image {
  margin-left: auto;
  order: 2;
}
.item:nth-of-type(even) .text {
  margin-left: 50px;
}

.btn {
  background: #b89653;
  background-image: -webkit-linear-gradient(top, #b89653, #805118);
  background-image: -moz-linear-gradient(top, #b89653, #805118);
  background-image: -ms-linear-gradient(top, #b89653, #805118);
  background-image: -o-linear-gradient(top, #b89653, #805118);
  background-image: linear-gradient(to bottom, #b89653, #805118);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: 'Ubuntu';
  color: #ffffff;
  font-size: 21px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: #d64a27;
  background-image: -webkit-linear-gradient(top, #d64a27, #4d1b08);
  background-image: -moz-linear-gradient(top, #d64a27, #4d1b08);
  background-image: -ms-linear-gradient(top, #d64a27, #4d1b08);
  background-image: -o-linear-gradient(top, #d64a27, #4d1b08);
  background-image: linear-gradient(to bottom, #d64a27, #4d1b08);
  text-decoration: none;
}

footer {
  padding: 10px;
  text-align: center;
}
footer a {
  text-decoration: underline;
  color: black;
}

@media only screen and (max-width: 1130px) {
  .item {
    display: block;
    width: 100%;}
  .image {
    width: 100%;
  }
  .text {
    width: 100%;
    padding: 0px;
  }
  .item:nth-of-type(odd) .text {
    margin: 0px auto;
  }
  .item:nth-of-type(even) .text {
    margin: 0px auto;
  }

}
