* {
  margin: 0;
  padding: 0;
  font-family: "poppins", "sans-serif";
}

a {
  text-decoration: none;
  color: black;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(bilder_webseite/Titelbild_TSFW.jpeg);
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: auto;
  height: 100px;
  margin-left: 40px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 14px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links ul li::after {
  content: "";
  width: 0;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 65px;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 16px;
  color: #fff;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 0.7s;
}

nav .material-symbols-outlined {
  display: none;
}

@media (max-width: 700px) {
  .text-box h1 {
    font-size: 62px;
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: fixed;
    background-color: #f44336;
    height: 100vh;
    width: 170px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 0.6s;
  }

  nav .material-symbols-outlined {
    display: block;
    color: white;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links ul {
    padding: 30px;
  }

  nav img {
    height: 40px;
    width: auto;
    margin: auto;
  }

  .text-box {
    width: 100%;
  }
}

/* -------------------home------------------ */

.news {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

p {
  color: #777;
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.news-col {
  flex-basis: 30%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 100px;
  padding: 20px 12px;
  box-sizing: border-box;
}

.news-col p {
  padding-bottom: 20px;
}

h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.news-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  transition: 0.4s;
}

@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

.news-images {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 0px;
}

.images-col {
  max-width: 450px;
  max-height: 300px;
  flex-basis: 32%;
  border-radius: 15px;
  margin-bottom: 60px;
  top: 0;
  left: 0;
  position: relative;
  overflow: hidden;
  margin: auto;
}

.images-col img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 0px;
  margin: auto;
  overflow: hidden;
  left: 0;
  border-radius: 15px;
}

.title {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.title:hover {
  background: rgba(226, 0, 0, 0.7);
}

.title h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.title:hover h3 {
  bottom: 40%;
  opacity: 1;
}

.news-container {
  width: 100%;
  margin: auto;
  padding-top: 100px;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 100px;
  background: #fff3f3;
}

.container-col .row {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  margin-top: 0px;
}

.container-col {
  flex: 1 1 auto;
  border-radius: 10px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 100px;
  margin-right: 30px;
  margin-left: 30px;
  padding: 20px 12px;
  text-align: center;
  box-sizing: border-box;
}

.container-col img {
  max-width: 450px;
  border-radius: 5px;
  height: auto;
  overflow: hidden;
  display: block;
  margin-right: 5px;
  margin-bottom: 5px;
  box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.3);
}

.container-col p {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  margin-top: 20px;
}



/*-------------------einsatzabteilung------------------ */

.uebersicht {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.uebersicht .news-col {
  flex: 1 1 25%;
  max-width: 100%;
  background: #fff3f3;
  border-radius: 10px;
  margin: 20px 10px;
  padding: 20px 12px;
  height: 150px;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .uebersicht .news-col {
    flex: 1 1 100%;
    width: 100%;
    margin: 10px auto;
  }
}

/* -------------------einsatzabteilung-fahrzeug------------------ */

.fahrzeug {
  width: 80%;
  margin: auto;
  padding: 60px 0;
  margin-bottom: 0px;
}

.fahrzeug-left {
  flex-basis: 60%;
}

.fahrzeug-left img {
  width: 100%;
  border-radius: 10px;
}

.fahrzeug-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0px;
}

.fahrzeug-left p {
  color: #999;
  padding: 0;
}

.fahrzeug-right {
  flex-basis: 32%;
}

.fahrzeug-right h3 {
  background: #f44336;
  color: #fff;
  padding: 7px 0;
  font-size: 16px;
  margin-top: 90px;
  margin-bottom: 20px;
}

.fahrzeug-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

.comment-box {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 10px 20px;
}

.comment-box h3 {
  text-align: left;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
}

.comment-form button {
  margin: 10px 0;
}

@media (max-width: 700px) {
  .sub-header h1 {
    font-size: 24px;
  }
}

/* -------------------jugendfeuerwehr------------------ */
/* -------------------loeschbande------------------ */

.leiter {
  width: 65%;
  margin: auto;
  margin-top: 100px;
  padding: 60px 0;
}

.leiter p {
  font-size: 16px;
  font-weight: 400;
}

.leiter-left {
  flex-basis: 60%;
}

.leiter-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.leiter-left p,
.leiter-right p {
  color: #999;
  padding: 0;
}

.leiter-right {
  flex-basis: 32%;
}

.leiter-right h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.leiter-right h3 {
  background: #f44336;
  color: #fff;
  padding: 7px 0;
  font-size: 16px;
  margin-bottom: 20px;
}

.leiter-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

.jfw-infos {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.jfw-infos p {
  font-weight: 600;
}

.jfw-left {
  flex-basis: 60%;
}

.jfw-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0 10px;
}

.jfw-left h3 {
  text-align: left;
  margin-top: 25px;
  margin-bottom: 5px;
}

.jfw-left p {
  color: #999;
  font-size: 16px;
  font-weight: 400;
}

.jfw-right {
  flex-basis: 32%;
}

.jfw-right h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.jfw-right h4 {
  width: 60%;
  margin: auto;
  text-align: center;
  background: transparent;
  border: 1px solid #f44336;
  color: #555;
  font-size: 20px;
  margin-top: 20px;
  padding: 5px;
}

.jfw-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

.jfw-right a {
  color: #f44336;
  text-decoration: none;
  font-weight: 800;
}

.jfw-right h4:hover {
  color: #fff;
  background: #f44336;
  transition: 0.4s;
}

@media (max-width: 700px) {
  .leiter-left,
  .leiter-right {
    text-align: center;
    margin-top: 30px;
  }

  .jfw-left,
  .jfw-right {
    text-align: center;
  }

  .jfw-infos h3 {
    text-align: center;
    margin-top: 30px;
  }

  .jfw-right h4 {
    margin-top: 40px;
  }
}

/* -------------------feuerwehrlauf------------------ */

.ffwl {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.ffwl a {
  text-decoration: none;
}

.ffwl h3 {
  background: #f44336;
  color: #fff;
  padding: 7px 0;
  font-size: 20px;
  margin-bottom: 20px;
  margin-top: 100px;
}

.ffwl-history {
  margin: auto;
  margin-bottom: 160px;
  width: 80%;
}

.ffwl-history h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.ffwl-history div h4 {
  margin-bottom: 3px;
  background: #b3aeae;
  color: #fff;
  border-color: #000000;
  border-radius: 5px;
  font-style: italic;
  padding: 4px 5px;
  margin-right: 10px;
}

.ffwl-history div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

.ffwl-history span {
  margin-bottom: 5px;
  font-size: 18px;
  flex-basis: 40%;
}

.ffwl-history .none {
  font-style: italic;
}

.ffwl .row {
  width: 90%;
  margin: auto;
}

.ffwl-left {
  flex-basis: 65%;
}

.ffwl-left div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

.ffwl-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0 10px;
}

.ffwl-left h3 {
  width: 85%;
  margin: auto;
  margin-bottom: 20px;
}

.ffwl-left h4 {
  margin-top: 20px;
  text-align: center;
  flex: 1;
}

.ffwl-left p {
  color: #999;
  font-size: 16px;
  font-weight: 400;
}

.ffwl-left span {
  text-align: center;
  flex: 1;
}

.ffwl-right {
  flex-basis: 35%;
}

.ffwl-right h3 {
  width: 60%;
  margin: auto;
  text-align: center;
  background: transparent;
  border: 1px solid #f44336;
  color: #555;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.ffwl-right img {
  margin: auto;
  margin-top: 10px;
  border-radius: 10px;
  width: 100%;
}

.ffwl-right h3:hover {
  color: #fff;
  background: #f44336;
  transition: 0.4s;
}

.ffwl-disciplines {
  margin-top: 40px;
  margin-bottom: 20px;
  margin: auto;
}

@media (max-width: 700px) {
  .ffwl-left,
  .ffwl-right {
    text-align: center;
    margin-top: 30px;
  }

  .ffwl-history {
    width: 100%;
  }
}

/* -------------------Impressum------------------ */

.impressum {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.impressum p {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

/* -------------------facilities------------------ */

.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.facilities-col {
  flex-basis: 31%;
  border-radius: 15px;
  margin-bottom: 5%;
  text-align: left;
}

.facilities-col img {
  width: 100%;
  border-radius: 15px;
}

.facilities-col p {
  padding: 0;
}

.facilities-col h3 {
  text-align: left;
  margin-bottom: 15px;
}

/* -------------------testimonials------------------ */

.testimonials {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.testimonials-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: #fff3f3;
  padding: 25px;
  cursor: pointer;
  display: flex;
}

.testimonials-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.testimonials-col p {
  padding: 0;
}

.testimonials-col h3 {
  margin-top: 15px;
  text-align: left;
}

.testimonials-col .material-symbols-outlined {
  color: #f44336;
}

@media (max-width: 700px) {
  .testimonials-col img {
    margin-left: 0px;
    margin-right: 30px;
  }
}

/* -------------------call to action------------------ */

.cta {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/feuerwehr.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  padding: 100px 0;
}

.cta h1 {
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}

@media (max-width: 700px) {
  .cta h1 {
    font-size: 24px;
  }
}

/* -------------------footer------------------ */

.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  margin-top: 100px;
}

.footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}

.icons .fa {
  color: #f44336;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
  transition: 0.5s;
}

/*<-------------------about us page------------------> */

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(bilder_webseite/Titelbild_TSFW.jpeg);
  background-position: center;
  background-size: cover;
  position: relative;
  text-align: center;
  color: #ffffff;
}

.sub-header h1 {
  margin-top: 100px;
}

.about-us {
  width: 80%;
  margin: auto;
  padding-top: 50px;
  padding-bottom: 80px;
}

.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
}

.about-col img {
  width: 100%;
  border-radius: 10px;
}

.about-col h1 {
  padding-top: 0;
}

.about-col p {
  padding: 15px 0 25px;
}

.red-btn {
  border: 1px solid #f44336;
  background: transparent;
  color: #f44336;
  transition: 0.6s;
}

.red-btn:hover {
  background: #f44336;
  color: #fff;
}

/* -------------------blog page------------------ */

.blog-content {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.blog-left {
  flex-basis: 60%;
}

.blog-left img {
  width: 100%;
  border-radius: 10px;
}

.blog-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.blog-left p {
  color: #999;
  padding: 0;
}

.blog-right {
  flex-basis: 32%;
}

.blog-right h3 {
  background: #f44336;
  color: #fff;
  padding: 7px 0;
  font-size: 16px;
  margin-bottom: 20px;
}

.blog-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

.comment-box {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 10px 20px;
}

.comment-box h3 {
  text-align: left;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
}

.comment-form button {
  margin: 10px 0;
}

@media (max-width: 700px) {
  .sub-header h1 {
    font-size: 24px;
  }
}

/* -------------------contact page------------------ */

.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}

.location iframe {
  width: 100%;
  border-radius: 10px;
}

.contact-us {
  width: 80%;
  margin: auto;
}

.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
}

.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div .fa {
  font-size: 28px;
  color: #f44336;
  margin: 10px;
  margin-right: 30px;
}

.contact-col div p {
  padding: 0;
}

.contact-col div h5 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  font-weight: 400;
}

.contact-col h4 {
  width: 50%;
  text-align: center;
  background: transparent;
  border: 1px solid #f44336;
  color: #555;
  font-size: 18px;
  margin-top: 20px;
  padding: 10px;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
  box-sizing: border-box;
}

.contact-col h4:hover {
  color: #fff;
  background: #f44336;
  transition: 0.4s;
}

@media (max-width: 700px) {
  .contact-col h4,
  .contact-col a {
    margin: auto;
    margin-top: 20px;
    width: 100%;
  }

  .contact-col div {
    text-align: center;
    margin: auto;
    justify-content: center;
    margin-bottom: 20px;
  }

  .contact-col {
    text-align: center;
  }

  .contact-col input,
  .contact-col textarea {
    margin: auto;
    margin-top: 20px;
    width: 100%;
  }
}
