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

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    font-family: sans-serif;
    font-size: 16px;
}

div.container {
    margin: 50% 0;
    min-width: 400px;
    box-shadow: 1px 1px 10px #ccc;
    padding: 15px;
    border-radius: 25px; 
}

div.container h2.title {
    text-align: center;
    font-size: 20px;
    color: rgb(17, 156, 221);
}

div.form {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgb(111, 214, 97);
}

div.form .input-grp{
    margin-bottom: 15px;
}

div.form div.input-grp label {
    display: block;
    margin-bottom: 8px;
}

div.form div.input-grp input {
    min-width: 30px;
    padding: 5px;
    border: 1px solid rgb(225, 225, 225);
    font-size: 14px;
}

div.form div.input-grp input::placeholder {
    color: rgb(153, 153, 153)
}

div.form div.input-grp label span.required{
    color: rgb(255, 58, 58);
}

div.alert{
    display: none;
    background: #9bffc8;
    padding: 20px 40px;
    min-width: 420px;
    position: absolute;
    right: 0;
    top: 10px;
    border-radius: 4px;
    border-left: 8px solid #02ff81;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

div.alert.showAlert{
    opacity: 1;
    pointer-events: auto;
}
div.alert.show{
    animation: show_slide 1s ease forwards;
}
  
@keyframes show_slide {
    0%{
      transform: translateX(100%);
    }
    40%{
      transform: translateX(-10%);
    }
    80%{
      transform: translateX(0%);
    }
    100%{
      transform: translateX(-10px);
    }
}
  
div.alert.hide{
    animation: hide_slide 1s ease forwards;
}
  
@keyframes hide_slide {
    0%{
      transform: translateX(-10px);
    }
    40%{
      transform: translateX(0%);
    }
    80%{
      transform: translateX(-10%);
    }
    100%{
      transform: translateX(100%);
    }
}
  
div.alert .fa-exclamation-circle{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ce6e;
    font-size: 30px;
}
  
div.alert .msg{
    padding: 0 20px;
    font-size: 18px;
    color: #00ce6e;
}
  
div.alert .close-btn{
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: #66ffab;
    padding: 20px 18px;
    cursor: pointer;
}
  
div.alert .close-btn:hover{
    background: #66ffab;
}
  
div.alert .close-btn .fas{
    color: #00ce5d;
    font-size: 22px;
    line-height: 40px;
}

div.btn-wrapper {
    margin-top: 15px;
    text-align: center;
}

div.btn-wrapper button.btn {
    padding: 10px 15px;
    border: 0;
    font-size: 16px;
    color: white;
    background-color: rgb(17, 156, 221);
    border-radius: 25px;
    cursor: pointer;
}

div.btn-wrapper button.btn:hover {
    background-color: rgb(24, 133, 167);
}