body {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    font-size: 17px;
    background-color: #3498db;
    display: flex;
    flex-direction: column;
    font-family: 'Quicksand', sans-serif;
    color: #527190;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

h5, .h5 {
    font-size: 1.225rem;
    font-weight: 600;
}

p, .p {
    font-size: 1rem;
    font-weight: 500;
}

.main-container {
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    height: 100%;
    max-height: 720px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.main-container header {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 20%;
}

.completed, .total {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.completed h5 { color: #FFBA08; }
.total h5 { color: #02C3BD; }

.main-container #app {
    display: flex;
    flex-direction: column;
    height: 65%;
    width: 100%;
}

.main-container #app .container {
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: auto;
    height: 100%;
    overflow-y: scroll;
}

.main-container #app .container .task {
    display: grid;
    grid-template-columns: 1fr 5fr 1fr;
    height: 70px;
    background: #F7F7F7;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 10px;
}

.main-container #app .container .task:hover {
    background: rgba(255, 186, 8, 0.1);
}

.main-container #app .container .task .not-done {
    background-color: #E8E8E8;
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
    border-radius: 4px;
}

.main-container #app .container .task .not-done:hover {
    background-color: #02C3BD;
    cursor: pointer;
}

.main-container #app .container .task .done {
    background-color: #02C3BD;
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
    border-radius: 4px;
}

.main-container #app .container .task .done + p {
    color: #02C3BD;
    text-decoration: line-through;
}

i {
    color: #02C3BD;
    opacity: 0.4;
    font-size: 1.3rem;
}

i:hover {
    opacity: 1;
    cursor: pointer;
}

.main-container .new-task {
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 80%;
    margin: auto;
    height: 8%;
}

input {
    border: none;
    border-bottom: 2px solid #BCC3DB;
}

input:focus {
    outline: none;
    border-bottom: 4px solid #BCC3DB;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFBA08;
    margin-left: auto;
}

.button span {
    font-size: 2.3rem;
    color: white;
}

.button:hover {
    transition: 0.5s all;
    transform: scale(1.1);
    cursor: pointer;
}

/* Skrytí šablony */
.main-container #app .container .task-template {
    display: none;
}

/* Skrytí posuvníku (scrollbar) pro čistší vzhled */
.container::-webkit-scrollbar { display: none; }
.container {
    -ms-overflow-style: none; 
    scrollbar-width: none;  
} 