#customModal {
  position: fixed;
  bottom: 10%;
  right: 0;
  z-index: 1000;
  width: 40.8rem;
  /* background-color: #e49138; */
  background-color: #fcf5f1;
  padding: 1em;
  color: #383e56;
  margin: 2em 1em;
  border-radius: 2em;
  /*min-height: 30%;*/
  height: 35%;
  box-shadow: 5px 4px rgba(215, 209, 209, 0.812);
  border: 1px solid #ea702d;
  animation: fadeIn 0.5s;
  transition: display 1s ease-in-out;
}

#customModal .modal-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: static;
  height: 100%;
  margin: 1em 0;
  padding: 1.5em;
}

@keyframes fadeIn {
  0% {
    right: 5%;
  }
  100% {
    right: 0;
  }
}

#customModal .modal-symbol {
  background-image: url('../images/popup-smiley.svg');
  background-repeat: no-repeat;
  position: absolute;
  top: -15%;
  left: 5%;
  width: 30%;
  height: 30%;
}

#customModal #modal-close {
  font-size: 2em;
  cursor: pointer;
  position: absolute;
  top: 5%;
  right: 2%;
  border: 1px solid #383e56;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
}

#customModal .modal-content {
  border: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#customModal .modal-text {
  text-align: center;
  font-size: 1.2rem;
  width: 90%;
}

#customModal .modal-pattern {
  background-image: url('../images/popup-pattern.svg');
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scale(1);
  width: 100%;
  height: 200px;
  z-index: -1;
  border-radius: 2em;
}

#customModal .logo-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 90%;
  border-radius: 3px;
  margin: 0 2em;
}

#customModal .logo-box {
  width: 180px;
}

#customModal .logo-box:nth-child(2) {
  width: 120px;
}

#modal-button {
  display: none;
}

.white {
  color: #fff;
}

.greyColor {
  /* text-shadow: 1px 1px 1px #919191, 1px 30px 60px rgba(16, 16, 16, 0.4); */
  color: #ea702d;
}

.hide {
  display: none;
}

.biggerFont {
  font-size: 200%;
}

@media only screen and (max-width: 995px) {
  #customModal {
    margin-top: 3em;
  }
}

@media only screen and (max-width: 710px) {
  #customModal {
    width: 90%;
  }

  #customModal .logo-box {
    width: 120px;
  }

  #customModal .logo-box:nth-child(2) {
    width: 100px;
  }
}



@media only screen and (max-width: 500px) {
  #customModal .modal-symbol {
    top: -12%;
  }

  #customModal .logo-box:nth-child(1) {
    width: 8em;
  }

  #customModal .logo-box:nth-child(2) {
    width: 6em;
  }
}


@media only screen and (max-width: 420px) {
  #customModal {
    margin-top: 3em;
    width: 90%;
    height: 60%;
  }

  #customModal .modal-text{
    font-size: 1em;
    width: 100%;
  }

  #customModal .logo-container{
    flex-direction: column;
    width: 100%;
    align-self: center;
  }

  #customModal .logo-box{
    margin: 1em 0;
  }
}