body {
  margin: 0 auto;
}

/* Design Elements */
.wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  max-width: 1280px;
}
.wrapper h1 {
  flex-wrap: wrap;
  font-family: "Spectral", serif;
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: 20%;
  height: 219px;
  color: #1e2455;
  font-size: 70px;
  font-weight: 600;
  line-height: 80px;
}
.header {
  flex-wrap: wrap;
  display: flex;
  height: 800px;
  background-color: blue;
  background-image: url(../images/sliderone.png);
  background-size: cover;
  background-repeat: no-repeat;
  flex-direction: column;
}

.navwrapper {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: sans-serif;
}

.mainnav {
  flex-wrap: wrap;
  display: flex;
  list-style: none;
}

.mainnav a {
  flex-wrap: wrap;
  color: #fff;
  padding: 10px;
  text-decoration: none;
}

.imglefttxtwrapper {
  flex-wrap: wrap;
  display: flex;
}

.imgleft {
  width: 50%;
  background-color: teal;
}

.imgleft img {
  width: 100%;
}

.footerinside {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 105px;
  background-color: #9eb8c1;
}

@media only screen and (max-width: 1280px) {
  .imgleft {
    width: 100%;
  }
}

.txt {
  flex-wrap: wrap;
  font-family: sans-serif;
  display: flex;
  flex: 1;
  margin: 80px;
  line-height: 1.8rem;
  width: 50%;
}

@media only screen and (max-width: 1280px) {
  .txt {
    width: 100%;
  }
}

.h2tag {
  flex-wrap: wrap;
  font-family: "Spectral", serif;
  color: #1e2455;
  font-size: 30px;
}

.imglefttxtwrapper3 {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row-reverse;
}

.imgleft3 {
  flex-wrap: wrap;
  display: flex;
  flex: 1;
  margin-right: 10px;
  background-color: #fff;
  width: 50%;
  margin-top: 9.5rem;

  @media only screen and (max-width: 1280px) {
    width: 100%;
    margin: 0;
  }
}

.txt3 {
  flex-wrap: wrap;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 80px;
  line-height: 1.8rem;
}

.txt3 h2 {
  flex-wrap: wrap;
  font-size: 40px;
  color: #1e2455;
  margin-top: 5px;
  margin-bottom: 50px;
}

.txt3 p {
  flex-wrap: wrap;
  opacity: 50%;
}

.imglefttxtwrapper4 {
  flex-wrap: wrap;
  display: flex;
}

.imgleft4 {
  flex-wrap: wrap;
  display: flex;
  flex: 1;
  margin-left: 70px;
  background-color: #fff;
}

@media only screen and (max-width: 1280px) {
  .imgleft4 {
    margin: 0;
    width: 100%;
  }
}

.txt4 {
  flex-wrap: wrap;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 80px;
  line-height: 1.8rem;
}

.txt4 h2 {
  flex-wrap: wrap;
  font-size: 40px;
  color: #1e2455;
  margin-top: 50px;
  margin-bottom: 50px;
}

.txt4 p {
  opacity: 50%;
}

.imglefttxtwrapper5 {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row-reverse;
}

.imgleft5 {
  flex-wrap: wrap;
  display: flex;
  flex: 1;
  margin-right: 10px;
  background-color: #fff;
}

.txt5 {
  flex-wrap: wrap;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 80px;
  line-height: 1.8rem;
}

.txt5 h2 {
  font-size: 40px;
  color: #1e2455;
  margin-top: 50px;
  margin-bottom: 50px;
}

.txt5 p {
  opacity: 50%;
}

.imglefttxtwrapper6 {
  flex-wrap: wrap;
  display: flex;
}

.imgleft6 {
  flex-wrap: wrap;
  display: flex;
  flex: 1;
  margin-left: 70px;
  background-color: #fff;
}

@media only screen and (max-width: 1280px) {
  .imgleft6 {
    width: 100%;
    margin: 0;
  }
}

.txt6 {
  flex-wrap: wrap;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 80px;
  line-height: 1.8rem;
}

.txt6 h2 {
  font-size: 40px;
  color: #1e2455;
  margin-top: 50px;
  margin-bottom: 50px;
}

.txt6 p {
  opacity: 50%;
}

.imglefttxtwrapper7 {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row-reverse;
}

.imgleft7 {
  flex-wrap: wrap;
  display: flex;
  flex: 1;
  margin-right: 10px;
  background-color: #fff;
}

.txt7 {
  flex-wrap: wrap;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 80px;
  line-height: 1.8rem;
}

.txt7 h2 {
  flex-wrap: wrap;
  font-size: 40px;
  color: #1e2455;
  margin-top: 50px;
  margin-bottom: 50px;
}

.txt7 p {
  flex-wrap: wrap;
  opacity: 50%;
}

.ref {
  flex-wrap: wrap;
  margin-left: 90px;
  font-family: sans-serif;
}

.ref h2 {
  flex-wrap: wrap;
  font-family: "Spectral", serif;
  color: #1e2455;
  font-size: 30px;
}

.ref p {
  flex-wrap: wrap;
  font-size: 15px;
  opacity: 50%;
}

.photos {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-around;
}

.first {
  flex-wrap: wrap;
  margin-top: 150px;
}

.third {
  flex-wrap: wrap;
  margin-top: 150px;
}

.kontakt {
  flex-wrap: wrap;
  height: 240px;
  width: 100%;
  background-color: #9eb8c1;
}

.kontakt h2 {
  flex-wrap: wrap;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 52px;
  font-weight: 300;
  padding-top: 50px;
  margin-left: 105px;
}

.kontakt p {
  color: #ffffff;
  font-family: sans-serif;
  font-weight: 400;
}

.button {
  width: 200px;
  padding: 5px 20px;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 23px;
  text-decoration: none;
  border: 1px solid #ffff;
  text-align: center;
}

.undernav {
  width: 100%;
  height: 100px;
  font-family: sans-serif;
  background-color: #f7f7f7;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.undernav a {
  flex-wrap: wrap;
  text-decoration: none;
  padding: 40px;
  color: #45616a;
}

.highlighter {
  flex-wrap: wrap;
  font-family: sans-serif;
  font-weight: lighter;
  background-color: #9eb8c1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  color: #fff;
  font-size: 1.65rem;
}

.highlighter p {
  flex-wrap: wrap;
  padding: 20px;
  text-align: center;
  line-height: 2.5rem;
}

.imgrighttxtwrapper {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 30px;
}

.imgright {
  display: flex;
  flex: 1;
  background-color: teal;

  @media only screen and (max-width: 1280px) {
    width: 100%;
  }
}

.txt2 {
  flex-wrap: wrap;
  font-family: sans-serif;
  display: flex;
  flex: 1;
  margin: 80px;
  line-height: 1.8rem;
}
/* Navigation */
.mainnav {
  display: flex;
  justify-content: space-between;
  color: white;
  list-style: none;
}

.mainnav li {
  padding: 10px;
  text-shadow: 2px 2px 8px #3c6b7b;
}

.mainnav li a {
  text-decoration: none;
  color: #fff;
}

.mainnav li a:hover {
  opacity: 50%;
  transition: 0.5s ease;
}

@media only screen and (max-device-width: 820px) {
  .navwrapper {
    display: flex;
    justify-content: center;
  }
  .mainnav {
    display: flex;
    justify-content: center;
  }
}
