.Main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.M1 {
  min-height: 520px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: hidden;
  background-image: url("/IMG/Header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
}
.M1TransparentBox {
  width: 50%;
  height: 80%;
  background-color: rgba(255, 255, 255, 0.56);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 420px;
}
.M1TransparentBox h1 {
  font-family: "Prata", serif;
  text-align: center;
  font-size: 61px;
  color: #49444b;
  margin-top: 50px;
  margin-bottom: 0px;
}
.M1Button {
  background-color: white;
  border-bottom: #b29768 1px solid;
  color: #b29768;
  width: 200px;
  margin-top: 20px;
  text-align: center;
  text-decoration: none;
  font-family: "Prata", serif;
  border-radius: 5px;
  margin-bottom: 20px;
}
.M1Button:hover {
  background-color: lightgray;
  border-bottom: #b29768 1px solid;
  color: #9c8358;
  width: 280px;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  text-decoration: none;
  font-family: "Prata", serif;
  border-radius: 5px;
}

/* M2 BEGINS HERE */

.M2 {
  height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  overflow-y: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
}
#M2IMG {
  width: 300px;
  height: 400px;
  margin: 0px;
  flex-basis: 200px;
}
.M2ImageContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin: 0px;
  min-width: 300px;
}

/* M3 BEGINS HERE */

.M3 {
  height: 1088px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  overflow-y: hidden;
}
.Blur {
  width: 100%;
  height: 100%;
  position: absolute;
  padding-bottom: 141px;
  float: none;
  z-index: -1;
  background-image: url("/IMG/M23.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-position: center;
  filter: blur(2px);
}
.M3RightBox {
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.M3RightBox H1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  font-family: "Playfair Display", serif;
  color: #c5a56d;
  text-shadow: lightgrey 5px 5px 2px;
  margin: 0px;
}
.M3RightBox p {
  font-size: 32px;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}
.M3LeftBox {
  width: 50%;
  max-width: 500px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.M3IMG {
  width: 500px;
}
.M3TransparentBox {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.M3InfoBox {
  width: 500px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-family: "Prata", serif;
  color: #b29768;
  background-color: rgba(255, 255, 255, 0.83);
  border: #b29768 1px solid;
}
.M3InfoBoxPTag {
  width: 480px;
  text-align: center;
}
.M3Title {
  font-size: 60px;
  font-family: "Playfair Display", serif;
  color: white;
  text-shadow: #9c8358 5px 5px 2px;
}
/* Styles for extra small devices */
@media (max-width: 575.98px) {
  .M1 h1 {
    font-size: 40px;
  }

  .M1Button {
    width: 150px;
  }
  .M2 {
    height: 435px;
  }

  #M2IMG {
    width: 100px;
    height: 200px;
  }

  .M3 {
    height: 687px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  .M3RightBox {
    width: 50%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  .M3RightBox H1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-family: "Playfair Display", serif;
    color: #c5a56d;
    text-shadow: none;
    margin: 0px;
    border-bottom: 1px solid lightgrey;
  }
  .M3RightBox p {
    font-size: 16px;
    width: 100%;
    margin-left: 10%;
    margin-right: 10%;
  }
  .M3LeftBox {
    width: 50%;
    max-width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  .M3InfoBox {
    width: 400px;
    font-size: 14px;
  }

  .M3InfoBoxPTag {
    width: 380px;
  }
  .M3IMG {
    width: 200px;
    margin-bottom: 30px;
  }

  .M3Title H1 {
    font-size: 40px;
    width: 100%;
    align-self: center;
  }
  .M2ImageContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    overflow-x: hidden;
    margin: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    min-width: 300px;
    margin-top: -15px;
    margin-bottom: -15px;
  }
}

/* Styles for small devices */
@media (min-width: 576px) and (max-width: 767.98px) {
  .M1 h1 {
    font-size: 25px;
  }
  .M3 {
    height: 484px;
  }

  .M1Button {
    width: 180px;
  }

  #M2IMG {
    width: 185px;
    height: 290px;
  }

  .M3TransparentBox {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    align-items: center;
  }

  .M3InfoBox {
    width: 530px;
    font-size: 18px;
  }

  .M3InfoBoxPTag {
    width: 475px;
  }

  .M3Title {
    font-size: 50px;
  }

  .M3RightBox {
    width: 50%;
    height: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  .M3RightBox H1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-family: "Playfair Display", serif;
    color: #c5a56d;
    text-shadow: lightgrey 5px 5px 2px;
    margin: 0px;
    border-bottom: 1px solid lightgrey;
  }
  .M3RightBox p {
    font-size: 16px;
    width: 95%;
    margin-left: 10%;
    margin-right: 10%;
  }
  .M3LeftBox {
    width: 50%;
    max-width: 500px;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  .M3InfoBox {
    width: 400px;
    font-size: 14px;
  }

  .M3InfoBoxPTag {
    width: 380px;
  }
  .M3IMG {
    width: 300px;
    margin-bottom: 30px;
  }
}

/* Styles for medium devices */
@media (min-width: 768px) and (max-width: 991.98px) {
  .M1 h1 {
    font-size: 55px;
  }

  .M1Button {
    width: 200px;
  }

  #M2IMG {
    width: 256px;
    height: 341px;
  }

  .M3TransparentBox {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    align-items: center;
  }

  .M3InfoBox {
    width: 500px;
    font-size: 22px;
  }

  .M3InfoBoxPTag {
    width: 480px;
  }
  .M3IMG {
    width: 200px;
    margin-bottom: 30px;
  }

  .M3Title {
    font-size: 40px;
  }

  .M3InfoBox {
    width: 530px;
    font-size: 18px;
  }

  .M3InfoBoxPTag {
    width: 475px;
  }

  .M3Title {
    font-size: 50px;
  }

  .M3RightBox {
    width: 50%;
    height: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  .M3RightBox H1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-family: "Playfair Display", serif;
    color: #c5a56d;
    text-shadow: lightgrey 5px 5px 2px;
    margin: 0px;
    border-bottom: 1px solid lightgrey;
  }
  .M3RightBox p {
    font-size: 16px;
    width: 95%;
    margin-left: 10%;
    margin-right: 10%;
  }
  .M3LeftBox {
    width: 50%;
    max-width: 500px;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  .M3InfoBox {
    width: 400px;
    font-size: 24px;
  }

  .M3InfoBoxPTag {
    width: 380px;
  }
  .M3IMG {
    width: 300px;
    margin-bottom: 30px;
  }
  .M3 {
    height: 450px;
  }
}

/* Styles for large devices */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .M1 h1 {
    font-size: 55px;
  }

  .M1Button {
    width: 200px;
  }

  #M2IMG {
    width: 256px;
    height: 341px;
  }

  .M3TransparentBox {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    align-items: center;
  }

  .M3InfoBox {
    width: 500px;
    font-size: 22px;
  }

  .M3InfoBoxPTag {
    width: 480px;
  }

  .M3Title {
    font-size: 40px;
  }
}

/* Styles for extra large devices */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .M1 h1 {
    font-size: 60px;
  }

  .M1Button {
    width: 240px;
  }

  #M2IMG {
    width: 320px;
    height: 500px;
  }

  .M3TransparentBox {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    align-items: center;
  }

  .M3InfoBox {
    width: 600px;
    font-size: 26px;
  }

  .M3InfoBoxPTag {
    width: 580px;
  }

  .M3Title {
    font-size: 30px;
    margin-bottom: 20px;
  }
}

/* Styles for 2K/QHD devices */
@media (min-width: 1200px) and (max-width: 1919.98px) {
  .M1 h1 {
    font-size: 65px;
  }

  .M1Button {
    width: 260px;
  }

  #M2IMG {
    width: 350px;
    height: 550px;
  }

  .M3TransparentBox {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    align-items: center;
  }

  .M3InfoBox {
    width: 650px;
    font-size: 28px;
  }

  .M3InfoBoxPTag {
    width: 630px;
  }

  .M3Title {
    font-size: 30px;
  }
}

/* Styles for Ultra HD/4K devices */
@media (min-width: 1920px) {
  .M1 h1 {
    font-size: 70px;
  }

  .M1Button {
    width: 280px;
  }

  #M2IMG {
    width: 400px;
    height: 600px;
  }

  .M3TransparentBox {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    align-items: center;
  }

  .M3InfoBox {
    width: 700px;
    font-size: 30px;
  }

  .M3InfoBoxPTag {
    width: 680px;
  }

  .M3Title {
    font-size: 70px;
  }
}
