* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto";
}

/* Här skriver du design för mobil */

#wrapper {
  margin-top: -10dvh;
  transition: transform 0.5s;

  display: flex;
  flex-direction: column;
  align-items: center;
}

#first-title,
#intro-section h2,
#aspects-title,
#why-section h2 {
  margin-top: 5dvh;
  font-size: 2rem;
  text-align: center;
  font-weight: normal;
}

#img-text-container-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-text-container {
  height: auto;
  width: 80%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;

  margin: 5dvh 0 0 0;
  padding: 2rem;

  border-radius: 2rem;
  box-shadow: 0px 0px 152px 3px rgba(73, 73, 73, 0.49);
}

.img-picture {
  width: 100%;
  height: 70%;
  margin-bottom: 1.5rem;
}

.img-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.6rem;
}

.text-container {
  height: 30%;
}

.text-container h2 {
  font-size: 1.6rem;
}

.text-container p {
  font-family: "Montserrat";
  font-size: 1rem;
}

/* text del */
#intro-section,
#why-section {
  margin-top: 5dvh;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 3dvh;
}

#intro-section h2 {
  font-size: 2rem;
}

#intro-section p,
#why-section p {
  font-family: "Montserrat";
}

#intro-section picture {
  width: 90%;
}

#intro-section picture * {
  width: 100%;
}

#why-section {
  margin-top: 15dvh;
}

/* aspect section  */

#aspects-title {
  margin-top: 15dvh;
}

#aspects-section {
  margin-top: 5dvh;
  width: 90%;
  display: flex;
  flex-direction: column;
  row-gap: 3dvh;
}

#aspects-section picture {
  width: 100%;
  object-fit: cover;
}

#aspects-section picture img {
  width: 100%;
}

#aspects-section p {
  font-family: "Montserrat";
  margin-bottom: 5dvh;
}

@media only screen and (min-width: 600px) {
  /* Här skriver du design för tablet */

  #first-title,
  #intro-section h2,
  #aspects-title,
  #why-section h2 {
    font-size: 3rem;
  }

  .img-text-container {
    flex-direction: row;
    height: 45dvh;
    column-gap: 5%;
  }

  .img-picture {
    width: 47.5%;
    height: 95%;
    margin: 0;
  }

  .text-container {
    width: 47.5%;
    height: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 7%;
  }
}

@media only screen and (min-width: 769px) {
  /* Här skriver du design för desktop */

  #wrapper {
    margin: 0;
  }

  #first-title,
  #intro-section h2,
  #aspects-title,
  #why-section h2 {
    font-size: 3.5rem;
  }

  #img-text-container-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .img-text-container {
    flex-direction: column;
  }

  .img-picture {
    width: 100%;
    height: 60%;
  }

  .text-container {
    height: 40%;
    width: 100%;
  }

  /* text del */
  #intro-section {
    display: grid;
    grid-template-areas: "h2 h2" "img text1" "img text2";
    row-gap: 0;
  }

  #intro-section h2 {
    grid-area: h2;
    margin-bottom: 5dvh;
  }

  #intro-section picture {
    grid-area: img;
  }

  #text1 {
    grid-area: text1;
    width: 80%;
  }

  #text2 {
    grid-area: text2;
  }

  #why-section {
    width: 60%;
  }

  /* aspects del */
  #aspects-section {
    display: grid;
    grid-template-areas: "img1 text1" "hr1 hr1" "text2 img2" "hr2 hr2" "img3 text3";
    justify-items: center;
    row-gap: 20dvh;
  }

  #hr1 {
    grid-area: hr1;
  }

  #hr2 {
    grid-area: hr2;
  }

  #aspects-section p {
    width: 80%;
    padding-top: 5dvh;
    font-size: 1.2rem;
  }

  #img-container1 {
    grid-area: img1;
  }

  #eko-text {
    grid-area: text1;
  }

  #img-container2 {
    grid-area: img2;
  }

  #money-text {
    grid-area: text2;
  }

  #img-container3 {
    grid-area: img3;
  }

  #social-text {
    grid-area: text3;
  }
}

@media only screen and (min-width: 1300px) {
  .img-text-container {
    flex-direction: row;
  }

  .img-picture {
    width: 60%;
    height: 100%;
  }

  .text-container {
    height: 100%;
    width: 40%;
  }
}
