* {
  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,
#problem-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: 90dvh;
  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 */
#problem-section {
  margin-top: 15dvh;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 3dvh;
}

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

#problem-section p {
  font-family: "Montserrat";
}

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

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

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

  #first-title,
  #problem-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,
  #problem-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 */
  #problem-section {
    display: grid;
    grid-template-areas: "h2 h2" "img text1" "img text2";
    row-gap: 0;
  }

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

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

  #text1 {
    grid-area: text1;
  }

  #text2 {
    grid-area: text2;
  }
}

@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%;
  }
}
