@font-face {
  font-family: "YoungSerif";
  src: url("assets/fonts/young-serif/YoungSerif-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit/Outfit-VariableFont_wght.ttf") format("truetype");
}

:root {
  background-color: hsl(30, 54%, 90%);
  font-family: "Outfit", sans-serif;
  color: hsl(30, 10%, 34%);
  font-size: 17px;
  text-align: justify;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.mainContainer {
  margin-top: 60px;
  margin-bottom: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contentContainer {
  width: 700px;
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: 40px;
}

.contentContainer img {
  width: 700px;
  border-radius: 30px;
  border: 1.5px solid hsl(24, 5%, 18%);
}

.mainTitle {
  font-family: "YoungSerif", serif;
  font-weight: 300;
  color: hsl(24, 5%, 18%);
  font-size: 40px;
}

.preparationContainer {
    margin-top: 20px;
    background-color: #ffebfe;
    padding: 30px 30px 10px 30px;
    border-radius: 15px;
}

.preparationContainer h3 {
    color: #6D3049;
    font-size: 22px;
}

.preparationContainer li {
    color: #6D3049;
}

.preparationContainer p {
    color: hsl(30, 10%, 34%);
}

hr {
    color: hsl(30, 18%, 87%);
    width: 100%;
}

.contentContainer h2 {
    color: hsl(14, 45%, 36%);
    font-family: "YoungSerif";
    font-weight: 300;
    font-size: 28px;
}

.contentContainer li {
    color: hsl(14, 45%, 36%);
}

.contentContainer .foodInfo {
    color: hsl(14, 45%, 36%);
    font-weight: bold;
}

.contentContainer p {
    color: hsl(30, 10%, 34%);
}

.contentContainer table, th, td {
    width: 700px;
    text-align: left;
    border-bottom: 1px solid hsl(30, 18%, 87%);
    border-collapse: collapse;
    padding: 10px;
}

@media (max-width: 750px) {
  .mainContainer {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .contentContainer {
    width: 100%;
    padding: 30px;
    border-radius: 0px;
  }

  .contentContainer img {
    margin-top: -30px;
    width: 120%;
    border-radius: 0px;
    border: 0px;
  }
  
  .afterImageContainer {
    padding-left: 20px;
    padding-right: 35px;
  }

  .contentContainer table {
    width: 100%;
  }
}