@import url("https://fonts.googleapis.com/css?family=Quicksand&display=swap");



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h3 {
  font-family: Quicksand;
}


.alert {
  width: 83%;
  margin: 20px auto;
  padding: 30px;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 0 15px 5px #ccc;
  position: absolute;
  top: 0px;
  max-width: 640px;
  min-width: 300px;
}

.close {
  position: absolute;
  width: 30px;
  height: 30px;
  opacity: 0.5;
  border-width: 1px;
  border-style: solid;
  border-radius: 50%;
  right: 15px;
  top: 25px;
  text-align: center;
  font-size: 1.6em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-alert {
  background-color: #ebebeb;
  border-left: 5px solid #6c6c6c;
}
.simple-alert .close {
  border-color: #6c6c6c;
  color: #6c6c6c;
}


.success-alert {
  background-color: white;
  width: 335px;
  min-height:350px;
  height: auto;
  position: fixed; /* Stay fixed while scrolling */
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center horizontally and vertically */
  z-index: 1;
  
 
  
}

.danger-alert {
  background-color: #f7a7a3;
  border-left: 5px solid #8f130c;
  position:fixed;
}
.danger-alert .close {
  border-color: #8f130c;
  color: #8f130c;
}

.warning-alert {
  background-color: #ffd48a;
  border-left: 5px solid #8a5700;
  position:fixed;
}
.warning-alert .close {
  border-color: #8a5700;
  color: #8a5700;

}