@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    background-color: #24293C;
    color: white;
    font-family: 'Roboto', sans-serif;
    margin: 60px auto 65px auto;
    padding: 0 10px;
    max-width: 394px;
    overflow-x: hidden;
    user-select: none;
    padding-bottom: 100px;
}

h1 {
    font-weight: 900;
}

h2 {
    font-weight: 500;
    font-size: 18px;
    color: #E9E9E9;
}



.edit {
    width: 20px;
    float: right;
    margin-top: 12px;
    margin-right: 12px;
    cursor: pointer;
}

.editable {
    background-color: rgba(0, 0, 0, 0.33);
    cursor: text !important;
    outline: none;
    border-radius: 7px;
    padding-right: 10px;
}

.streak {
    color: #F6A730;
    font-weight: 900;
}

.task {
    display: none;
}

.checkbox {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.33);
    border-radius: 50%;
    vertical-align: middle;
    border: 3px solid #FFF170;
    box-sizing: border-box;
    cursor:pointer;
}

.past {
    border: 0;
    background-color: #ED683C;
    color: #E9E9E9;
}

input[type="checkbox"]:checked ~ label > .checkbox {
    background-color: #37DE65;
    border: 0;
}

input[type="checkbox"]:checked ~ label > .checkbox .points {
    color: #202D2F !important;
    border: 0;
}

label {
    display: inline-block;
    font-weight: 500;
    font-size: 24px;
    vertical-align: middle;
    cursor: pointer;
    z-index: 3;
    position: relative;
    outline: none;
}
label > span {
    padding: 5px;
    margin-left: 7px;
    outline: none;
    max-width: 240px;
    white-space: nowrap;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
}

.container {
    margin: 10px 0;
}
.cursor-default {
    cursor: default;
}

img {
    width: 100%;
}

.points {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#menubar {
    position: fixed;
    background-color: #24293C;
    padding: 10px 50px;
    width: 100%;
    height: 50px;
    bottom: -2px;
    left: -50px;
    box-shadow: 0 -20px 15px #24293c;
    z-index: 3;
}
#menubar > div {
    max-width: 394px;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
}

.settings {
    width: 37px;
    height: 37px;
}

.calendar {
    width: 37px;
    height: 37px;
}

.home {
    width: 37px;
    height: 37px;
}

.current-icon img {
    transform: translate(0, -10px) scale(1.1);
}

.sm-icon {
    background-color: rgba(255, 255, 255, 0.33);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    display: inline-block;
    height: 45px;
    width: 45px;
    vertical-align: middle;
}

.notifications {
    background-image: url("assets/notifications.png");
}

.streaks {
    background-image: url("assets/streaks.png");
}

.text {
    margin-left: 16px;
    vertical-align: middle;
    font-size: 24px;
    font-weight: 500;
}

.switch {
    position: relative;
    float: right;
    margin-right: 10px;
    height: 34px;
}

.slider {
    width: 50px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 400ms;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 400ms;
}

.toggle:checked + .slider {
    background-color: #2196F3;
}

.toggle:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.toggle:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

h3 {
    color: lightgray;
}

.number{
    position: relative;
    float: right;
    background: rgba(255, 255, 255, 0.33);
    border-radius: 100px;
    vertical-align: middle;
    top: 5px;
    right: 10px;
}

.minus, .plus {
    display: inline;
    width: 20px;
    height: 20px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.33);
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

input[type="text"] {
    color: white;
    height: 34px;
    background-color: rgba(0, 0, 0, 0);
    width: 40px;
    text-align: center;
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    border: 0;
}

.calendar-container {
    margin: 30px auto 0 auto;
    background-color: rgba(255,255,255,0.15);
    border-radius: 10px;
    width: min-content;
    padding: 10px;
}

.xs-icon img {
    vertical-align: middle;
    width: 8px;
    height: 12.2px;
    padding: 10px;
    cursor: pointer;
}

.month {
    text-align: center;
    padding: 20px 0;
}

.month div {
    vertical-align: middle;
    display: inline-block;
}

.month-header {
    font-size: 24px;
    font-weight: 700;
    margin: 0 10px;
    width: 70%;
}

.calendar-section {
    display: grid;
	grid-template-columns: repeat(7, 35px);
	grid-template-rows: repeat(5, 35px);
    grid-gap: 10px;
    justify-content: center;
    align-items: center;
    justify-items: center;
}
.day {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 7.5px;
    letter-spacing: 1px;
    font-size: 12px;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    font-weight: 600;
}
.day-name {
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    line-height: 50px;
    font-weight: 700;
}
.future {
    background-color: rgba(0, 0, 0, 0);
    color: #040404;
}
.disabled {
    color: #c7c7c7;
    cursor: not-allowed;
}



input[type="text"].add-input, input[type="number"].add-input {
    height: .9cm;
    border: 1.5px solid hsla(0,0%,100%,.05);
    border-radius: 5px;
    color: #fff;
    font-size: inherit;
    background-color: rgba(0, 0, 0, 0.33);
    cursor: text !important;
    outline: none;
    border-radius: 7px;
    padding-right: 10px;
    flex-grow: 1;
    text-align: left;
    padding-left: 10px;
    margin-left: 10px;
}

.add-button {
    width: auto;
    padding: 12px 40px;
    border-radius: 5px;
    background-color: #06a94d;
    border: none;
    color: #fff;
    font-size: large;
    margin: 0 0 0 auto;
    display: block;
    cursor: pointer;
}