* {
  font-family: "Port Lligat Sans", sans-serif;
  font-style: normal;
  color: black;
  text-decoration: none;
  /* Lea's drei Must-Haves */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: inline-block;
  height: auto;
  background-color: transparent !important;
}

h1,
h2,
h3,
button {
  font-family: "Modak", system-ui;
  font-weight: 400;
  font-style: normal;
  color: #fcecdf;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
    1px 1px 0 black, 0px 1px 0 black, 0px -1px 0 black, 1px 0px 0 black,
    -1px 0px 0 black;
}

button {
  font-size: 2.6rem;
  text-align: center;
}

/*Layout*/
.bodystarterpage {
  background-color: #fbcb77;
}

.headerhomepage {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 2rem 0 2rem;
}

.mainlogo,
.getlucky {
  width: 80vw;
}
.mainlogo {
  padding-top: 3rem;
}
.getlucky {
  padding-bottom: 3rem;
}

.whole_grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /*Zwei Spalten*/
  grid-template-rows: 1fr 1fr 1fr;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Textboxen Text Starter- & Resumepage*/
.info-box {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  line-height: 1.5;
  font-size: 2rem;
  height: fit-content;
  width: 150%;
  margin-bottom: 10rem;
  margin-top: 10rem;
}

.info-box.left {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.info-box.leftend {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  margin-bottom: 12rem;
}

.info-box.right {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

/* Styling Buttons */
.getstarted-button,
.resume-button {
  margin-top: 1rem;
  padding: 2rem 2.5rem;
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: auto;
  transition: background-color 0.3s ease; /*Hover*/
}
.getstarted-button {
  background-color: #ee6a43;
}
.getstarted-button:hover {
  background-color: #b15236;
}

.resume-button {
  background-color: #a72439;
}
.resume-button:hover {
  background-color: #6f1524;
}

.button-container {
  justify-self: end;
}

/*Grid Button*/
.button-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 5rem;
}

/* Media Queries */
/*Mobile*/

@media (max-width: 768px) {
  .headerhomepage {
    margin: 2rem;
  }

  .mainlogo,
  .getlucky {
    width: 100%;
    padding: 1rem 0;
  }

  .whole_grid {
    grid-template-rows: auto auto auto;
  }

  .info-box {
    font-size: 1.5rem;
  }

  .info-box.left {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-bottom: 5rem;
  }

  .info-box.right {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin-top: 5rem;
    margin-bottom: 5rem;
  }

  .info-box.leftend {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: 5rem;
  }

  .button-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .button-container {
    justify-self: end;
  }

  .getstarted-button,
  .resume-button {
    font-size: 1.7rem;
    padding: 1.2rem 2rem;
    width: auto;
  }
}
