header {
  width: 100%;
  padding: 0 0 6em 0;


}

.container {
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
}

.home-logo-box {
  background-color: #4E1B99;
  width: 100%;
  height: 6em;
  padding: 2em 0;
}

.home-logo {
  width: 150px;
}
.home { 
  display: flex;
  position: relative;
  height: 80vh;
  margin-top: -4em;
  flex-wrap: wrap;

}

.home-box {
  width: 400px;

  box-shadow: 1px 4px 22px 5px rgba(0, 0, 0, 0.199);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  z-index: 400;
  background-color: white;
  padding: 1em;


}



.home-title-box {
  width: 100%;
}
.home-title { 
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 2em;
}


.home-display {
  background-image: url('../img/headerbg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 85%;
  text-align: center;
  border-radius: .55em;
  margin-left: 15%;
  position: relative;



}

.display-slogan {
  margin:  0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 50%;

}

.slogan {
  width: 100%;
  margin:  0 auto;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1200px) {
  .home {
    margin-top: -4em;
  }
  .home-box {
    width: 400px;

  }
  .display-slogan {
    left: 70%;

  }

}

@media (max-width: 1050px) {
 
    .slogan {
      width: 80%;
    }
  .display-slogan {
    left: 72%;

  }
}

@media (max-width: 900px) {

  .display-slogan {
    display: none;
  }

} 
@media (max-width: 750px) {

  header {
    background-image: url('../img/homebg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    margin: 0;
    padding: 0 0 8em 0;
  }
  .home {
    margin-top: 1em;
  }

  .container {
    width: 92%;
  }

  .home-box {
    width: 100%;
    margin-top: 4em;

  }
  .display-slogan {
    display: none;

  }
  .home-box {
    position: static;
    width: 100%;
    transform: none;
    margin: 4em 0 4em 0;

  }

  .home-display {
    display: none;
  }

  .home-logo-box {
   text-align: center;
  }

}

