* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --link_Color: rgb(204, 116, 137);
  --link_Color-hover: rgb(174, 86, 107);
  --header_Color: rgb(233, 233, 255);
}

body {
  background-color: var(--header_Color);
  z-index: 0;
  overflow-x: hidden;
}

a {
  color: var(--link_Color);
  font-size: 18px;
  line-height: 24px;
  font-family: 'Times New Roman';
  cursor: pointer;
}

a:hover {
  color: var(--link_Color-hover);
}

p {
  font-size: 18px;
  line-height: 24px;
  color: #222;
  font-family: Arial;
}

/* ------------------ HEADER ------------------- */

.header-main {
  padding: 0 8%;
  width: 100%;
  height: 80px;
  background-color: var(--header_Color);
  display: grid;
  grid-template-columns: auto auto; /*LOGO und SOCIAL-LINKS*/
  justify-content: space-between;
}

/* ---------------- GRID CONTENT 1: LOGO -------------*/

.header-main-logo {
  width: fit-content;
  height: 80px;
  line-height: 80px;
}

.header-main-logo img {
  height: 100%;
}

/* ---------------- GRID CONTENT 2: SOCIAL -------------*/

.social {
  width: 120px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.header-main-sm {
  border: none;
  margin-top: 20px;
  height: 60px;
}

.mail {
  border: none;
  background-color: transparent;
}

.sm-mail {
  width: 60px;
  height: 60px;

  background-image: url(../img/mail.png);
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}

.sm-mail:hover {
  border: solid 1px black;
  border-radius: 50%;
}

/* -------------- VISITENKARTE AN SEITE (ZU SOCIAL) ---------- */

.contact {
  display: grid;
  position: absolute;
  background-image: url(../img/visitweiß.png);
  background-size: cover;

  grid-template-columns: auto;

  color: white;
  right: 0px;
  width: 320px;
  height: 160px;
  repeat: no-repeat;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform 350ms ease-in;
  z-index: 20;
}

.contact[data-visible='true'] {
  transform: translateX(0%);
}

.sm-insta {
  width: 40px;
  height: 40px;
  background-image: url(../img/instagram-color.png);
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}

/* banner */
.banner {
  width: 100%;
  height: 70vh;
  background-image: url(../img/WebFront2Spiegelung.jpeg);
  background-size: cover;
}

/* CONTENT */

.überschrift {
  width: 640px;
  margin: 56px auto 80px auto;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: space-between;
}

.überschrift h2 {
  font-size: 40px;
}

.yoga {
  display: grid;
  width: 90%;
  grid-template-columns: auto auto auto;
  row-gap: 80px;
  justify-content: space-evenly;
  margin: 40px auto 240px auto;
  z-index: 10;
}

.yoga .card {
  position: relative;
  width: 270px;
  height: 360px;
  border-radius: 10px;
  box-shadow: 5px 5px 15px black;
  text-align: center;
  cursor: pointer;
}

.link {
  color: rgb(244, 20, 20);
}

.link:hover {
  color: rgb(244, 100, 100);
}

.linküberschrift {
  color: rgb(244, 20, 20);
  font-size: 24px;
  font-family: 'Times New Roman';
}

.linküberschrift:hover {
  color: rgb(244, 100, 100);
}

.yoga .card:hover {
  box-shadow: 2px 2px 10px black;
}

.yoga .card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: 70%;
}

.yoga .card h2 {
  margin-top: 12px;
  font-size: 22px;

  color: #222;
}

.yoga .card a {
  font-size: 16px;
  margin: 0 auto;
  position: absolute;
  bottom: 24px;
  left: 40%;
  color: #222;
}

.yoga .card a:hover {
  color: red;
}

.shirts {
  display: grid;
  width: 80%;
  height: 200px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-evenly;
  margin: 80px auto 0 auto;
}

.shirts .card {
  border: 1px solid black;
  width: 200px;
  height: 100%;
}

.shirts .card img {
  width: 100%;
}

.footer-main {
  position: bottom;
  width: 100%;
  height: 80px;
  padding: 0 100px;
  margin-top: 80px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.impressum {
  width: 70%;
  height: 58vh;
  margin: 0 auto;
}

.impressum-überschrift {
  margin: 56px auto 80px auto;

  font-size: 36px;
}

@media screen and (max-width: 1280px) {
  .sm-mail {
    display: none;
  }

  .contact {
    display: none;
  }
  .header-main {
  }

  .header-main-logo {
  }

  .header-main-logo img {
  }

  .header-main-sm {
  }

  .sm-fb {
  }

  .sm-insta {
  }

  .überschrift {
    width: fit-content;
    grid-template-columns: auto;
    margin: 24px auto 0 auto;
  }

  .überschrift p {
    display: none;
  }

  .yoga {
    width: 90%;
    grid-template-columns: auto auto;
    column-gap: 40px;
    margin: 40px auto 0 auto;
  }

  .footer-main {
    width: 100%;
    height: 40px;
    padding: 0 20px;
    margin-top: 40px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media screen and (max-width: 768px) {
  .sm-mail {
    display: none;
  }

  .contact {
    display: none;
  }

  .header-main {
  }

  .header-main-logo {
    width: fit-content;
    height: 80px;
    line-height: 80px;
    padding-left: 20px;
  }

  .header-main-logo img {
  }

  .header-main-sm {
    margin-right: 20px;
  }

  .sm-fb {
  }

  .sm-insta {
  }

  .banner {
    width: 100%;
    height: 50vh;
    background-image: url(../img/WebFront2Spiegelung.jpeg);
    background-size: cover;
    margin-bottom: 80px;
  }

  .überschrift {
    width: fit-content;
    grid-template-columns: auto;
    margin: 24px auto 0 auto;
  }

  .überschrift p {
    display: none;
  }

  .yoga {
    width: 90%;
    grid-template-columns: auto;
    column-gap: 0px;
    margin: 40px auto 0 auto;
  }

  .yoga .card {
    width: 330px;
    height: 440px;
  }

  .footer-main {
    width: 100%;
    height: 64px;
    padding: 0 20px;
    margin-top: 40px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
