main { height: 100vh; width: 100vw; } body { height: 100%; width: 100%; margin: 0; font-family: "Segoe UI", Arial, sans-serif; background-color: #f5f7fa; color: #333; background-image: url("/static/img/backgroundHome.jpg"); background-repeat: no-repeat; background-position: center; background-size: cover; } .refreshBtn { display: flex; align-items: center; justify-content: center; transition: 0.5s; font-size: 2vw; background: none; border: none; } .refreshBtn:hover { cursor: pointer; transition: 0.5s; scale: 1.2; } .refreshBtn:active { transition: 0.5s; scale: 0.8; } header { height: 5vh; text-align: center; background-color: #1f1f21; justify-content: space-between; align-items: center; display: flex; flex-direction: row; color: white; padding-left: 20px; padding-right: 20px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); } header h1 { font-size: 1.5vw; } .planner { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; padding: 10px; } .day { border-radius: 14px; padding: 2%; height: 75vh; grid-row-end: span 2; overflow-x: hidden; overflow-y: hidden; width: 15vw; background-color: #101204; } .task-list { height: 85%; display: flex; flex-direction: column; overflow-y: auto; } .day.weekend { height: 35vh; grid-column: 6; grid-row-end: span 1; } .days_h2 { text-align: center; margin-top: 0; font-size: 1.1rem; color: #ffffff; border-bottom: 2px solid #e0e7ff; padding-bottom: 6px; } .days_h2.today { font-weight: bolder; text-align: center; margin-top: 0; font-size: 1.3rem; color: #ffffff; border-bottom: 2px solid #ffffff; padding-bottom: 6px; } ul { list-style: none; padding: 0; margin: 10px 0 0; } .task-button { display: flex; flex-direction: row; align-items: start; justify-content: space-evenly; border: solid; border-color: transparent; color: #ffffff; transition: 0.5s; width: 100%; background: #242528; border-radius: 6px; padding: 6px; margin-bottom: 6px; text-align: center; } .task-button:hover { transition: 0.5s; border-color: #ffffff; cursor: pointer; } .task-icon { aspect-ratio: 1/1; width: 2vw; background-color: transparent; } .task-time { background-color: #e2b203; padding: 2px; border-radius: 16px; width: 5vw; } .task-button-description { width: 80%; display: flex; flex-direction: column; align-items: center; justify-content: center; } .modal-overlay { z-index: 999999999; top: 0; left: 0; backdrop-filter: brightness(0.5); position: absolute; display: none; align-items: center; justify-content: center; width: 100vw; height: 100vh; } .modal { display: flex; flex-direction: column; align-items: center; padding: 2vw; justify-content: space-between; width: 50%; height: 60%; background-color: #242528; border-radius: 12px; overflow-y: scroll; scrollbar-width: none; } .modal-content { flex-direction: column; display: flex; align-items: start; width: 80%; } .task-title { border: none; height: 5vw; font-size: 3vw; width: 90%; background-color: transparent; color: white; resize: vertical; overflow: hidden; } .task-sub-fields { background-color: transparent; color: white; border: none; height: 2.5vw; font-size: 1.5vw; width: 90%; resize: vertical; overflow: hidden; } ::-webkit-scrollbar { width: 5px; height: 10px; } ::-webkit-scrollbar-track { background: transparent; border-radius: 10px; } ::-webkit-scrollbar-thumb { background: #888; border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: #555; } ;