.buttonToOpenModal{
    display: inline-block;
    font-size: 1em;
}
.modalWrapper{
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;

    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modalBackground{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
.modal{
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 80%;
    background-color:white;
    z-index: 1;
    border-radius: 5px;

    padding: 50px;

    display: flex;
    flex-direction: column;
}
.buttonToCloseModal{
    position: absolute;
    right: 20px;
    top: 20px;
}
.buttonToCloseModal .closeIcon {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 1em;
    height: 0.1em;
    background: currentColor;
    border-radius: 0.1em;
    position: relative;
    transform: rotate(45deg);
}
  
.buttonToCloseModal .closeIcon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}

.titleOfModal{
    margin: 0 0 12px 0;
    font-feature-settings: 1.2em;
    font-weight: 500;
}
.textWrapperInModal{
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    
}

.textWrapperInModal p{
    font-weight: 400;
    font-size: 12px;
}