* {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Roboto', sans-serif;
}

#container {
    display: flex;
    flex-direction: column;
}

#main {
    display: flex;
    height: calc(100vh - 100px - 49px);
}

/* HEADER */

#header {
    background-color: rgb(110, 199, 207);
    display: flex;
    width: 100%;
    height: 100px;
    align-items: center;
}

#header .logo {
    margin-left: 50px;
    height: 80%;
}

#header p {
    margin-left: 15px;
}

#header .title {
    font-size: 2rem;
    font-weight: 500;
}

#header .punchline {
    font-weight: 200;
    font-size: 1.2rem;
    text-decoration: 1px overline;
}

/* SIDEBAR */

#sidebar {
    box-shadow: 1px 1px 1px rgba(141, 141, 141, 0.619);
    width: 300px;
    min-width: 250px;
    background-color: rgba(188, 188, 188, 0.476);
}

#sidebar ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-inline: 15px;
    margin-top: 30px;
    gap: 8px;
}

#sidebar ul li {
    border-radius: 5px;
    display: flex;
    font-size: 1.1rem;
    padding-block: 8px;
    padding-inline: 10px;
    gap: 10px;
    cursor: pointer;
}


#sidebar ul li:hover {
    background: rgb(194, 194, 194);
}

.project.active,
.default-timetables .active {
    background-color: rgb(194, 194, 194);
}

#sidebar h2 {
    font-weight: bold;
    margin-left: 15px;
    margin-top: 25px;
}

.project {
    display: flex;
    align-items: flex-start;
}

.project-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.project div {
    text-overflow: ellipsis;
    overflow: hidden;
}

.project i {
    margin-top: 3px;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.project-description {
    font-size: 0.9rem;
    font-weight: 300;
}

.add-task input,
.add-project input {
    font-size: 1.1rem;
    width: 100%;
    border-radius: 8px;
    border: none;
    outline: none;
    padding-block: 5px;
    padding-left: 5px;
}

#task-description,
#project-description {
    outline: none;
    border: none;
    border-radius: 8px;
    padding-top: 3px;
    padding-inline: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    resize: none;
    height: 100px;
    width: 100%;
}

.add-task.active,
.add-project.active {
    display: flex;
    flex-direction: column;
    cursor: default;
}

.confirmation {
    display: flex;
    justify-content: space-around;
}

.confirmation div:nth-child(2),
.confirmation div:first-child {
    background-color: rgba(0, 176, 0, 0.817);
    box-shadow: 2px 2px 2px rgba(32, 32, 32, 0.37);
    border-radius: 8px;
    width: 40%;
    text-align: center;
    padding-block: 10px;
    cursor: pointer;
}

.confirmation div:nth-child(2):hover,
.confirmation div:first-child:hover {
    filter: saturate(20%);
}

.confirmation div:nth-child(2) {
    background-color: rgba(255, 0, 0, 0.804);
}

.add-project.active:hover {
    background: none !important;
}

/* CONTENT */

.project-tasks,
#content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-tasks {
    gap: 15px;
}

#content h2 {
    position: relative;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 20px;
}

.task-card {
    background-color: rgba(188, 188, 188, 0.476);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    width: 600px;
    height: 80px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.562);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 0 #31302B;
    transition: .3s ease-out;
}

.task-title,
.task-description {
    margin-inline: 20px;
    word-wrap: break-word;
}

.add-task i {
    margin-left: 15px;
    margin-right: 5px;
}

.task-card .task-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 5px;
}

.task-card .task-description {
    margin-top: 5px;
}

.add-task {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 40px;
    cursor: pointer;
}

.add-task.active {
    height: 130px;
}

.add-task input,
#task-description {
    font-size: 1.1rem;
    width: 90%;
    height: 25px;
    padding-inline: 5px;
    margin-top: 5px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.462);
    ;
}

.add-task .confirmation>div {
    width: 70px;
    margin: 10px;
}

.round {
    position: relative;
}

.round label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 28px;
    right: 30px;
    position: absolute;
    bottom: 20px;
    width: 28px;
}

.round label:after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 6px;
    left: 7px;
    opacity: 0;
    position: absolute;
    top: 8px;
    transform: rotate(-45deg);
    width: 12px;
}

.round input[type="checkbox"] {
    visibility: hidden;
}

.round input[type="checkbox"]:checked+label {
    background-color: #66bb6a;
    border-color: #66bb6a;
}

.round input[type="checkbox"]:checked+label:after {
    opacity: 1;
}


/* FOOTER */
#footer {
    position: absolute;
    color: white;
    display: flex;
    gap: 10px;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    bottom: 0;
    background-color: #333;
    height: 50px;
    width: 100%;
}

.fa-github {
    color: white;
    font-size: 22px;
    transition: transform 0.3s ease-in-out;
}

.fa-github:hover {
    transform: rotate(360deg) scale(1.2);
}