* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #D5E2EF;
    font-family: 'Lato', sans-serif;
}

section {
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    -webkit-box-shadow: 0px -6px 17px 1px rgba(69,98,139,0.87);
    -moz-box-shadow: 0px -6px 17px 1px rgba(69,98,139,0.87);
    box-shadow: 0px -6px 17px 1px rgba(69,98,139,0.87);
}

header {
    width: 100%;
    height: 30vh;
    background: linear-gradient(rgba(255,255,255, 0.1), rgba(255,255,255, 0.1)), url('../image/fuiji.jpg');
    background-position: center;
    background-attachment: inherit;
    background-size: cover;
    border-bottom: 7px solid #B4A3AF;
    position: relative;
}

.title {
    color: white;
    opacity: 0.8;
    position: absolute;
    bottom: 20px;
    left: 2rem;
    font-weight: 300;
    width: calc(100% - 2rem);
}

.toWrite {
    width: 100%;
    margin-top:  2rem;
    display: flex;
    flex-flow: column nowrap;
}

.toWrite > input {
    text-align: center;
    height: 3rem;
    border-radius: 1rem;
    outline: 0;
    padding: 4px;
    border: 1px dashed #8c8c8c;
    font-size: 1.5rem;
    font-weight: 300;
    color: #8c8c8c;
    box-sizing: inherit;
}

.toWrite p {
    margin-top: 0.5rem;
    background-color: #aeaeae;
    color: white;
    font-weight: 300;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    position: relative;
}

.error {
    display: none;
}

.btn {
    width: 50px;
    height: 50px;
    border-radius: 2rem;
    background-color: #aeaeae;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
    top: 2.3rem;
    position: absolute;
}

.btn:hover {
    background-color: #8c8c8c;
}

.ion-ios-plus-empty {
    color: white;
    font-size: 2.5rem;
}

.addList {
    margin-top: 1.2rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
}

.list {
    padding-top: 2rem;
}
.list ul {
    width: 100%;
    list-style: none;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

.list li {
    text-align: center;
    border: 1px solid #c9c9c9;
    height: 3rem;
    border-radius: 1rem;
    outline: 0;
    padding: 4px;
    margin: 0.8rem 0;
    font-size: 1.5rem;
    font-weight: 300;
    color: #3A5A86;
    line-height: 50px;
    position: relative;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(194, 197, 207, 0.72);
    -moz-box-shadow: 1px 1px 5px 0px rgba(194, 197, 207, 0.72);
    box-shadow: 1px 1px 5px 0px rgba(194, 197, 207, 0.72);
}

.list li .icon {
    position: absolute;
    right: 0.5rem;
    top:0;
}

.list li i {
    padding: 0 0.5rem;
}


.ion-close, .ion-checkmark {
    cursor: pointer;
    transition: 0.4s;
}

.ion-close:hover {
    color: #c36e71;

}

.ion-checkmark:hover {
    color: #639e99;
}


.color {
    background-color: #dcdff9;
}


.date {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width:40%;
    box-sizing: border-box;
    z-index: 6;
}

.dateText {
    position: absolute;
    bottom: 25px;
}


.date:before {
    background: #112035;
    opacity: 0.2;
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left:0;
    z-index: 10;
}

.date:after {
    width: 100%;
    height: 7px;
    content: "";
    position: absolute;
    bottom: -7px;
    left:0;
    z-index: 10;
    background-color: #112035;
}

.date p {
    opacity: 0.8;
    color: white;
    z-index: 40;
    position: relative;
    font-weight: 300;

}



