@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Markazi+Text:wght@500&family=Poppins:wght@600&display=swap');

.findMo8Section,
.contactSection {
  display:none;
}

html,
body {
  margin: 0;
  height: 100%;
  overscroll-behavior-y: none;
}

body {
  background-image: url("./images/Blue-Background.jpg");
  background-color: #083151;
  background-position: center;
  background-size: auto;
  background-repeat: repeat;
  height: 100%;
  display: block;
}

p {
  margin: 0;
}

/* Fonts and colors */

.navigation {
  font-family: 'Markazi Text', serif;
}

.home1,
.home2,
.locationPlace,
.locationValue,
.contactSection p {
  font-family: 'Barlow', sans-serif;
}

.navigation a,
.findMo8Section,
.homeSection div {
  color: #fecc37;
}

/* Header */

header {
  z-index: 1;
  background-image: url("./images/Blue-Background.jpg");
  transition-property: height;
  transition-delay: 999999s;
}

header,
nav {
  max-width: 100vw;
  width: -moz-available;
  width: -webkit-fill-available;
  width: fill-available;
}

/* Home */

.home {
  display: none;
}

.homeSection {
  background: url("./images/Foreground-Phone.png") center top no-repeat;
  background-size: cover; 
  height: 100vh; 
  background-position-x: center; 
  background-position-y: calc(50% + 10vh); 
  background-attachment: fixed; 
  overflow: hidden; 
}

.home-text {
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -15%);
  font-size: smaller;
  width: 81%;
}

.home1 {
  font-weight: 700;
}

.home2 {
  font-weight: 500;
}

.gif {
  position: relative;
  height: 300px;
  width: 300px;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.sun {
  background: url("./images/Sun_1") no-repeat center;
  position: absolute;
  height: 500px;
  width: 250px;
  top: 48%;
  left: 0;
  right: 0;
  background-size: contain;
}

.motherOfEight {
  background: url('./images/mother0fEight.png') no-repeat center;
  position: absolute;
  height: 450px;
  width: 180px;
  top: 48%;
  left: 0;
  right: 0;
  background-size: contain;
}
.sun,
.motherOfEight {
  position: absolute; /* Position the elements absolutely within the container */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Center the elements precisely */
}




.birds {
  background: url("./images/birds");
  position: absolute;
  top: 49%;
  left: -5%;
  width: 200px;
  height: 200px;
  z-index: 9991;
  background-size: contain;
}

/* Find Mo8 */

.locationPlace {
  font-weight: 700;
}

.locationValue {
  font-weight: 400;
}

.findMo8Section .elements {
  font-size: small;
  max-width: 90%;
  transform: translate(6%, 11%);
}

.space {
  height: 300px;
}

.mobile-findMo8 {
  display: block;
}

.desktop-findMo8 {
  display: none;
}

/* Contact */

.contactSection div {
  position: absolute;
  z-index: 1;
  font-weight: 600;
  font-size: smaller;
  color: white;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Footer */

footer {
  background-image: url("./images/OrangeMountainsPhone.png");
  height: 100px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  right: 0;
  left: 0;
}

@media screen and (min-width: 400px) {
  /* Home */

  .sun {
    height: 200px;
    width: 200px;
    top: 31%;
  }
  
  .motherOfEight {
    height: 200px;
    width: 150px;
    top: 32%;
  }

  .home-text {
    bottom: 0;
    transform: translate(-50%, -50%);
    width: 70%;
  }


  /* Find Mo8 */

  .findMo8Section .elements {
    max-width: 80%;
    font-size: medium;
    transform: translate(14%, 11%);
  }
}

@media screen and (min-width: 576px) {
  /* Header */

  .home {
    display: block;
  }

  .homeMiddle {
    display: none;
  }

  .contact {
    border-left: 1px solid #fecc37;
  }

  nav ul {
    width: inherit;
  }

  /* Home */

  /* .homeSection {
    background: url("./images/Foreground-Desktop.png") center no-repeat;
    height: 100%;
    background-size: cover;
  } */
  
  .home-text {
    font-size: medium;
    width: 85%;
    left: 0;
    right: 0;
    bottom: 3%;
    transform: translate(0,0);
  }

   .sun {
    height: 250px;
    width: 250px;
  }
  
  .motherOfEight {
    height: 250px;
    width: 180px;
  }

  .birds {
    background: url("./images/birds");
    position: absolute;
    top: 60%;
    left: 15%;
    width: 200px;
    height: 200px;
    z-index: 9991;
    background-size: contain;
  }

  /* Contact */
  
  .contactSection div {
    font-size: medium;
  }

  .contactSection div img {
    width: 250px;
  }

  /* Footer */
  footer {
    background-image: url("./images/OrangeMountains.png");
    height: 100%;
  }
}

@media screen and (min-width: 650px) {
  /* Home */
  
  .home-text {
    max-width: 65%;
  }

  .birds {
    left: 25%;
  }
}

@media screen and (min-width: 1000px) {
  /* Home */
  
  .birds {
    top: 60%;
    left: 25%;
    width: 300px;
    height: 300px;
  }
}

@media screen and (min-width: 1087px) {
  /* Find Mo8 */
  
  .mobile-findMo8 {
    display: none;
  }

  .desktop-findMo8 {
    display: block;
  }

  .findMo8Section .elements {
    max-width: 95%;
    transform: translate(3%, 32%);
    gap: 6%;
  }
}

@media screen and (max-width: 767px) and (orientation: landscape) {
  body {
    background-size: cover;
  }

  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    height: 100vw;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }

  .home {
    display: none;
  }

  .contact {
    border-left: none;
  }

  .home-text {
      font-size: smaller;
      bottom: 12%;
      width: 90%;
  }

  .homeMiddle {
    display: block;
  }

  .justify-content-sm-end {
    justify-content: space-between!important;
  }

  nav.d-sm-flex {
    display: block;
  }

  .birds {
    left: 9%;
    top: 49%;
  }

  .gif {
    top: 0!important;
  }

  .sun {
    height: 200px;
    width: 200px;
  }

  .motherOfEight {
    height: 200px;
    width: 150px;
  }

  .homeSection {
    background: url("./images/Foreground-Phone.png") center no-repeat;
    height: 100%;
    background-size: cover;
  }

  .findMo8Section .elements {
    font-size: small;
    transform: translate(0,13%);
    padding-left: 10%;
    max-width: 90%;
  }

  .space {
    width: 300px;
    height: 0;
  }

  .locationValue {
    padding-left: 10%;
  }

  .contactSection div img {
    width: 200px;
  }
}