.modal{
    background: rgba(196, 156, 126, .6);
    position: fixed;
    top:0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display:none;
    overflow-y: auto;
}
.modallayout {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 4;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.modalwindow{
    height: 100%;
    width: 100%;
    z-index: 5;
}
.modalcontent{
    background: #FFFFFF;
    box-shadow: 0px 0px 14px rgba(196, 156, 126, 0.6);
    -webkit-border-radius:.571rem;
    -moz-border-radius:.571rem;
    border-radius:.571rem;
    padding: 4rem 3rem 2rem 2rem;
    overflow-y: auto;
    margin: auto;
    position: relative;
    z-index: 5;
    max-width: 98%;
    min-width: 40vw;
    overflow-x: hidden;
}
.modal .close{
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}
.modal .close path{
    fill: #2D160E;
}
.modal .close:hover path{
    fill: #C49C7E;
}
.modalcontent::-webkit-scrollbar {
    width: .5rem;
}
.modalcontent::-webkit-scrollbar-track {
    background: #303030; 
}
.modalcontent::-webkit-scrollbar-thumb {
    background: #C49C7E; 
}
#added h4{
    width: 100%;
    margin-bottom: 2rem;
}
#added .btns{
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
#added .btns p{
    text-decoration: underline;
    margin: 0 0 0 2rem;
}
#added .btns p:hover{
    text-decoration: none;
    color: #C49C7E;
    cursor: pointer;
}
@media screen and (max-width: 700px){
.modal .close {
    top: .5rem;
    right: .3rem;
}
.modalcontent {
    padding: 4rem 1rem 2rem 1rem;
    margin: 1% auto;
    min-width: 98%;
}
#added h4 {
    width: 100%;
    margin-bottom: 2rem;
    text-align: center;
  }
#added .btns .btn{
    margin: 0 auto 1rem;
  }
  #added .btns p {
    margin: 0rem auto 0;
    width: 100%;
    text-align: center;
  }
}