.hidden_content{
    /* this class hides the content by default */
    display: none;
}

.is-active{
    /* this class is added to the modal when it is active */
    display: flex;
}

/* style a delete button */
.delete{
  background-color: #61366e;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  padding: 10px;
  cursor: pointer;
  transition: background-color .5s;
  width: 50px;
}
.delete:after{
  content: "X";
  top: 1px;
  position: relative;
}
.modal-background{
    /* this class styles the modal background */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}
.modal{
    /* this class styles the modal */
   position: fixed;
    bottom: 0;
    top: 25%;
    left: 25%;
    right: 25%;
    width: 50%;
    height: 50vh;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    border-radius: 8px;
    z-index: 20000;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
}
.modal-card{
    /* this class styles the modal card */
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 30px;
}
.modal-card-head{
    display: grid;
    grid-template-columns: 90% 10%;
    height: 120px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-top: 20px;
}
.modal-card-title{
    font-weight: 700;
    margin-bottom: 0!important;
}
.modal-card-body{
    padding: 20px 0;
}
.js-modal-trigger{
    /* this is a class for the button that opens the modal */
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFF;
    color: #61366e;
    border: 1px solid #61366e;
}
.js-modal-trigger:hover{
    /* this is the hover state for the button */
    background-color: #61366e;
    color: #FFF;
}

@media screen and (max-width: 812px) {
    .modal{
        top: 10%;
        left: 5%;
        right: 5%;
        width: 90%;
        height: 80vh;
    }
    .modal-card{
        max-width: 90%;
        width: 100%;
        margin: 0 auto;}
    .modal-card-title {
        font-size: 1.5rem;
    }
}
