@import url('https://fonts.googleapis.com/css2?family=Jersey+15&family=Jersey+20&family=Jersey+25&display=swap');

body {
    font-family: 'Jersey 20', Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

a{
    text-decoration: none;
    color: inherit;
}


.icon {
    opacity: 100;
}

#app {
    width: 100vw;
    height: 100vh;
    background: #6aa329;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    padding: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.top-header {
    font-family: 'Jersey 15', Arial, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-toggle img, .left img, .right img {
    width: 35px;
    cursor: pointer;
}

.topic {
    font-size: 24px; 
    font-family: 'Jersey 25', sans-serif;
    color: #000;
    margin-bottom: 10px;
}

/* Menu 2 options */
.menu-btn {
    background: #d3e4c5; 
    border-radius: 35px;
    padding: 20px; 
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(213, 205, 205, 0.2);
    transition: all 0.3s ease;
    font-family: 'Jersey 25', sans-serif;
    color: #333; 
    font-size: 1.5em; 
    margin: 15px; 
    width: 75%;
    height: 150px; 
    margin-bottom: 20px;

    /* Center text vertically and horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.3);
    background: #c1d8b0; 
}

.button-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; 
    align-items: center;
    width: 100%; 
}

.button-container.vertical {
    display: flex;
    flex-direction: column;
    gap: 5px; 
    align-items: center;
    margin-top: 10px; 
}

.matcha-image {
    width: 100%;
    height: auto; 
    max-height: 300px;
    border-radius: 15px;
    margin-bottom: 10px;
    object-fit: contain; 
}

.task-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.task-grid a{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
    height: 30vh;
    font-size: 35px; 
    padding: 4%;
    border-radius: 55px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 14px;
}

.task-grid img{
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
    margin: auto;
    padding-top: 5%;
}

@media screen and (min-width: 1000px) {
    .task-grid{
        min-height: 100vh;
    }
    .task-grid a{
        width: 15%;
    }
}

.study-btn{
    color: #fff;
    background: #4B90E2;
}

.break-btn {
    color: #000;
    background: #A5D6A7;
}

.meds-btn {
    color: #000;
    background: #FFCD2D;
}

.gym-btn {
    color: #fff;
    background: #FF7043;
}

.meds-btn img {
    transform: rotate(35deg);
    height: auto; 
    margin-bottom: 50%;
}

.task-btn {
    padding: 15px;
    background: #fff;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.task-btn.study {
    background: #4A90E2;
    color: #fff;
}

.task-btn.break {
    background: #A5D6A7;
    color: #333;
}

.task-btn.medication {
    background: #FFD54F;
    color: #333;
}

.task-btn.gym {
    background: #FF7043;
    color: #fff;
}

.task-btn:hover, .menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.hidden {
    display: none;
}

/* Design process container */
.design-process {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; 
    width: 100%; 
    padding: 10px; 
    box-sizing: border-box; 
    justify-items: center; 
    object-fit: contain; 
}

/* Task button styles */
.design-process .task-btn {
    width: 100%; 
    height: 150px; 
    max-width: 200px;
    font-size: 1rem;
    border-radius: 15px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain; 
}


@media screen and (min-width: 1000px) {
    .design-process {
        grid-template-columns: repeat(4, 1fr); 
    }
}

/* Design process boxes */
.design-process .task-btn:nth-child(1) {
    background: #FFD54F; 
    /* width: 250px; 
    height: 50px; */

}

.design-process .task-btn:nth-child(2) {
    background: #4A90E2; 
    color: #fff; 
    /* width: 250px; 
    height: 50px; */
}

.design-process .task-btn:nth-child(3) {
    background: #1f2c1f; 
    /* width: 250px; 
    height: 50px; */
}

.design-process .task-btn:nth-child(4) {
    background: #FF7043; 
    color: #fff; 
    /* width: 250px; 
    height: 50px; */
}

.design-process .task-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.3);
}

#design-process h2 {
    grid-column: span 2; 
    font-size: 2.5em; 
    color: #000; 
    margin-bottom: 20px;
    font-family: 'Jersey 25', sans-serif;
}

#design-process p {
    grid-column: span 2; 
    font-size: 1.2em;
    color: #000; 
    margin-top: 20px;
    font-family: 'Jersey 20', sans-serif;
}

.data-note-panel {
    width: 100%;
    height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1b2b0d;
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
    color: white;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.date-time-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    align-items: center;
    margin-bottom: 10px;
}

.date-time {
    font-family: monospace;
    font-size: 1.5em;
    font-weight: bold;
}

.save-btn {
    font-family: monospace;
    background-color: #008000;
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.save-btn:hover {
    background-color: #006400;
}

.note-panel {
    width: 90%;
    max-width: 610px;
    height: 250px;
    background-color: #3a5a20;
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    overflow-y: auto;
}

.note-panel[contenteditable="true"] {
    background-color: #4c7c29;
    font-size: 1.5rem;
    font-family: monospace; 
    line-height: 1.6; 
    color: white; 
    padding: 10px;
    outline: none; 
}

.edit-btn {
    background-color: #007AFF;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 1.2em; 
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.edit-btn:hover {
    background-color: #3f9506;
}

.task-title, .matcha-break, .study {
    text-align: center;
    align-items: center;
}

.matcha-break #maryamGif #chaimGif{
    width: 5%;
    height: auto;
    justify-content: space-between;
}

#mGif {
    width: 100px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure proper alignment */
    margin: 0 auto; /* Center the image horizontally */
    margin-top: 20px;
}

.study {
    color: #f71515;
}

.saved-state {
    background-color: #109510 !important;
}

#text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Night Mode */

body.night .menu-btn {
    color: #fff;
}

.design-process .task-btn:nth-child(1) {
     color: #333;
}

.design-process .task-btn:nth-child(3){
    color: #333;
}

body.night {
    background-color: #1c1c1c;
    color: #fff;
}

body.night #app {
    background-color: #4c7c29;
}

body.night .menu-btn, body.night .task-btn {
    background: #86ab56;
}

body.night #design-process {
    background-color: #4c7c29; 
}

.design-process .task-btn img {
    margin-top: 10px;
    max-width: 80%; 
}

/* Individual box styles for visual hierarchy */
.design-process .task-btn:nth-child(1) {
    background: #FFD54F;
    font-size: 1.5em;
    grid-column: span 1; 
    height: 210px;
}

.design-process .task-btn:nth-child(2) {
    background: #4A90E2;
    color: #fff;
    font-size: 1.8em;
    grid-column: span 1; 
    height: 210px;
}

.design-process .task-btn:nth-child(3) {
    background: #A5D6A7;
    font-size: 1.6em;
    grid-column: span 1; 
    height: 210px;
}

.design-process .task-btn:nth-child(4) {
    background: #FF7043;
    color: #fff;
    font-size: 1.4em;
    grid-column: span 1; 
    height: 210px;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .design-process {
        grid-template-columns: 1fr; /* Stack items vertically on smaller screens */
    }

    .design-process .task-btn {
        width: 90%; /* Adjust width for smaller screens */
        height: auto; /* Allow height to adjust dynamically */
        font-size: 0.9rem; /* Reduce font size for smaller screens */
    }
}

#design-process {
    height: 100%; /* Take full height of the container */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 10px; /* Add padding for spacing */
    box-sizing: border-box; /* Include padding in height calculations */
}


