*{
    outline: none;
    box-sizing: border-box;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background-color: #eee;
}
main{
    height: calc(100vh - 56px);
}
p{
    padding: 0.5em;
    display: block;
}
.header{
    width: 100%;
    background-color: #fff;
    display: flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75em;
    height: 55px;
}
.icon-button{
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.75em;
    transition: opacity 0.5s;
}
.icon-button:hover{
    opacity: 0.7;
}
.list{
    width: 15em;
    min-width: 12em;
    max-height: calc(100vh - 56px - 1.5em);
    overflow: auto;
}
.list + .list{
    margin-left: 0.75em;
}
.item{
    background-color: #fff;
}
textarea + .item, textarea + .drag-preview{
    padding-top: 0.75em;
}
textarea + .item + textarea, .drag-preview + .item {
    margin-top: 0.75em;
}
#add-list{
    margin: 0.5em;
    font-size: 2.5em;
    color: #fff;
}
.add-item{
    padding-top: 0.4em;
    width: 100%;
}
.back-button{
    font-size: 1.25em;
    margin-left: -0.5em;
    padding-right: 1em;
}
.header > div{
    display: flex;
    align-items: center;
}
input[type = text]{
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #ccc;
    margin-left: -1px;
}
textarea{
    width: 100%;
    font-size: 0.95em;
    padding: 0.5em;
    resize: vertical;
}
.input-error{
    border-bottom: 2px solid red !important;   
}
#board-title-input{
    font-size: 1.15em;
    font-weight: bold;
}
.list-title-input{
    font-size: 1em;
    font-weight: bold;
    width: 100%;
}
p{
    width: 100%;
    overflow-wrap: break-word;
}
.dashed{
    border: 1px dashed #ccc;
    padding: 1.05em;
    border-radius: 3px;
}
.list-button + .list-button{
    border-top: 1px solid #eee;
}
.list-button:hover{
    background-color: #f8f8f8;
}
.list-button .icon-button{
    font-size: 1em;
}
.board-button{
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1em;
    background-color: transparent;
}
.modal-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#modal-bg{
    background-color: #323232;
    opacity: 0.6;
    width: 100%;
    height: 100%;
    position: relative;
}
.modal{
    position: absolute;
    max-width: 90%;
}
.modal p{
    color: #494949;
    line-height: 1.5em;
}
.link{
    border: none;
    font-size: 0.95em;
    cursor: pointer;
    color: rgb(0, 132, 255);
    background-color: transparent;
}

.link:hover{
    opacity: 0.9;
}

.link + .link{
    margin-left: 1em;
}