html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ede6f2;
  color: #0a0027;
  font-family: regular;
}

header {
  display: flex;
  background-color: #0a0027;
  color: #ede6f2;
  padding: 2rem;
  align-items: center;
  height: 100px;
  justify-content: space-between;
}

header img {
  height: 100%;
  justify-content: center;
  object-fit: contain;
}

footer {
  position: fixed;
  width: 100%;
  bottom: 0;
}

main {
  height: calc(100lvh - 8rem - 118px);
  box-sizing: border-box;
  padding: 5px;
}

#headline {
  margin: 0 16px;
  text-align: center;
}

#headline h1 {
  margin: 0;
}

#headline p {
  margin-bottom: 0;
}

.button-div {
  display: flex;
  height: 100%;
  width: 220px;
  justify-content: space-between;
}

.small-button-div {
  display: none;
}

.header-btn {
  margin: 0 16px;
  all: unset;
  height: 100%;
  width: 100px;
  border-radius: 50%;
}

.header-btn:hover {
  cursor: pointer;
  background-color: #ede6f220;
}

strong {
  color: #bf1a2f;
}

#cart {
  background-image: url(./cart-edf2f4.png);
  background-size: cover;
}

#log {
  background-image: url(./mensch.png);
  background-size: cover;
}

.hero {
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 0.8rem 1.5rem;
  background-color: #bf1a2f;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #a01729;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.service {
  background-color: #f8f8f8;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.service h3 {
  margin-top: 0;
  color: #bf1a2f;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background-color: #f8f8f8;
  color: #150052;
}

.legal {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.privacy {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto;
}

.privacy h2 {
  margin-top: 1.5rem;
  color: #bf1a2f;
}

.widget{
  display: flex;
  flex-direction: column;
  height: 100%;
}

#outputField{
  height: 100%;
  overflow-y: auto;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

@font-face {
  font-family: regular;
  src: url(./Urbanist-Medium.ttf);
}

@font-face {
  font-family: light;
  src: url(./Urbanist-Light.ttf);
}

@font-face {
  font-family: bold;
  src: url(./Urbanist-ExtraBold.ttf);
}

@media only screen and (max-width: 727px) {
  .button-div {
    display: none;
  }

  .small-button-div {
    display: flex;
    height: 100%;
    width: 220px;
    justify-content: space-between;
  }

  .top {
    height: 100%;
    margin: auto;
  }

  .bottom {
    width: 50px;
  }

  .header-btn {
    height: 50px;
    width: 50px;
  }
}

@media only screen and (max-width: 390px) {
  .top {
    height: 60%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tm-cart {
    transition: none
  }

  #tm-cart .ov,
  #tm-cart .p {
    transition: none
  }
}

@media (max-width: 510px) {
  main{
    height: calc(100lvh - 8rem - 136px);;
  }
}