* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: rgb(244, 244, 244);
}

a {
  text-decoration: none;
}

p {
  color: #111;
}

h2 {
  color: #111;
}

h3 {
  color: #111;
}

.bg {
  background-image: url(../img/inntalerBG.JPG);
  background-size: cover;
  background-attachment: fixed;
  padding: 40px 0;
}

nav {
  width: 100%;
  height: 80px;
  background-color: rgb(173, 173, 215);
}

nav ul {
  list-style: none;
  width: 360px;
  margin: 0 auto;

  overflow: hidden;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 24px;
  display: block;
  text-align: center;
  font-size: 24px;
}

nav li {
  float: left;
}

.bgReise1 {
  background-image: url(../img/IMG_8795.jpeg);

  background-size: 40%;
  background-attachment: fixed;
  padding: 40px 0;
}

.bgReise {
  background-image: url(../img/reisenBG.jpeg);
  background-size: 40%;

  background-attachment: fixed;
  padding: 40px 0;
}

.zitat {
  text-align: right;
  margin-right: 128px;
  font-size: 20px;
}

.contentInntaler {
  height: fit-content;
  width: 80%;
  margin: 0 auto;
  background-color: rgba(244, 244, 244, 0.9);
  padding: 0 0 60px 0;
}

.contentInntaler h2 {
  text-align: center;
  padding-top: 96px;
  margin-bottom: 48px;
  font-size: 36px;
}

.contentInntaler h3 {
  text-align: center;

  font-size: 32px;
}

.grid {
  display: grid;
  width: 600px;
  margin: 48px auto 32px auto;
  grid-template-columns: auto auto;

  justify-content: space-around;
}

.grid1 {
  display: grid;
  width: 600px;
  margin: 48px auto 32px auto;
  grid-template-columns: auto;

  justify-content: space-around;
}

.grid2 {
  display: grid;
  width: 600px;
  margin: 48px auto 32px auto;
  grid-template-columns: auto auto;
  justify-content: space-around;
  gap: 80px;
}

.card {
  position: relative;
  width: 270px;
  height: 360px;
  border-radius: 10px;
  box-shadow: 5px 5px 15px black;
  text-align: center;
  cursor: pointer;
}

.card p {
  margin-top: 16px;
  font-size: 24px;
  font-family: 'Times New Roman';
}

.card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: 70%;
}

.grid2 p {
  text-align: center;
}

.bildMain {
  width: 600px;
  margin: 0 auto;
}

.bild {
  width: 320px;
  margin: 0 auto;
}

.contentInntaler a {
  font-size: 32px;
  color: #444;
  text-align: center;
}

.contentInntaler a:hover {
  color: #111;
}

.contentInntaler img {
  width: 100%;
}

.bildGrid {
  display: grid;
  grid-template-columns: auto auto;
  margin: 0 auto 80px auto;
  justify-content: space-evenly;
  row-gap: 30px;
  width: 90%;
}

.bildGrid1 {
  background-image: url(../img/innt1.jpeg);
  background-size: cover;
  width: 400px;
  height: 300px;
}
.bildGrid2 {
  background-image: url(../img/innt3.jpeg);

  background-size: cover;
  width: 400px;
  height: 300px;
}
.bildGrid3 {
  background-image: url(../img/innt4.jpeg);
  background-size: cover;
  width: 400px;
  height: 300px;
}
.bildGrid4 {
  background-image: url(../img/innt2.jpeg);
  background-size: cover;
  width: 400px;
  height: 300px;
}

@media screen and (max-width: 1200px) {
  .bildGrid {
    display: grid;
    grid-template-columns: auto;
    margin: 0 auto 80px auto;
    justify-content: space-evenly;
    row-gap: 30px;
    width: 90%;
  }

  .bildGrid1 {
    background-image: url(../img/innt1.jpeg);
    background-size: cover;
    width: 400px;
    height: 300px;
  }
  .bildGrid2 {
    background-image: url(../img/innt3.jpeg);

    background-size: cover;
    width: 400px;
    height: 300px;
  }
  .bildGrid3 {
    background-image: url(../img/innt4.jpeg);
    background-size: cover;
    width: 400px;
    height: 300px;
  }
  .bildGrid4 {
    background-image: url(../img/innt2.jpeg);
    background-size: cover;
    width: 400px;
    height: 300px;
  }
}

@media screen and (max-width: 800px) {
  .bg {
    background-image: url(../img/inntalerBG.JPG);
    background-size: cover;
    background-attachment: fixed;
    padding: 0px 0;
  }

  .bgReise {
    background-size: cover;
    background-attachment: fixed;
    padding: 0px 0;
  }

  .zitat {
    text-align: left;
    margin-left: 16px;
    font-size: 20px;
  }

  .contentInntaler {
    width: 100%;
  }

  .bild {
    width: 260px;
    margin: 0 auto;
  }

  .bildMain {
    width: 300px;
    margin: 0 auto;
  }

  .contentInntaler h2 {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    font-size: 24px;
  }

  .contentInntaler a {
    font-size: 24px;
    color: #444;
    text-align: center;
    line-height: 32px;
  }

  .grid {
    display: grid;
    width: 90%;
    margin: 24px auto 0 auto;
    grid-template-columns: auto;

    justify-content: space-around;
  }

  .grid1 {
    display: grid;
    width: 90%;
    margin: 48px auto 32px auto;
    grid-template-columns: auto;

    justify-content: space-around;
  }

  .grid2 {
    display: grid;
    width: 90%;
    margin: 32px auto 0 auto;
    grid-template-columns: auto;
    justify-content: space-around;
  }

  .grid2 img {
    width: 100%;
  }

  .bildGrid {
    display: grid;
    grid-template-columns: auto;
    margin: 0 auto 80px auto;
    justify-content: space-evenly;
    row-gap: 30px;
    width: 90%;
  }

  .bildGrid1 {
    background-image: url(../img/innt1.jpeg);
    background-size: cover;
    width: 280px;
    height: 210px;
  }
  .bildGrid2 {
    background-image: url(../img/innt3.jpeg);

    background-size: cover;
    width: 280px;
    height: 210px;
  }
  .bildGrid3 {
    background-image: url(../img/innt4.jpeg);
    background-size: cover;
    width: 280px;
    height: 210px;
  }
  .bildGrid4 {
    background-image: url(../img/innt2.jpeg);
    background-size: cover;
    width: 280px;
    height: 210px;
  }
}
