/* elements */

*, *::before, *::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
body{
    background-color: #FAFAF9;
    color: #1E1E1E;
    font-size: 20px;
}
img{
    image-rendering: auto;
    height: auto;
}
p{
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
h1, h2, h3, h4, h5, h6{
    line-height: 1.3;
    margin-bottom: 1rem;
}
#wrapper{
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
#wrapper div{
    padding: 20px 0;
}
h1{
    font-size: 3rem;
}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.5rem;
}
h4{
    font-size: 1.25rem;
}
#footer{
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #555;
}
#footer a{
    text-decoration: none;
    color: #5DB075;
}
#footer a:hover{
    text-decoration: underline;
}
#spinner{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #29d;
    padding: 20px;
    user-select: none;
}

/* navigation */


#navbar{
    background-color: #5DB075;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#navbar ul{
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
}
#navbar ul li a{
    display: inline-block;
    padding: 24px;
    text-decoration: none;
    color: #1E1E1E;
}
#navbar ul li :hover{
    background-color: #4A9963;
    color: #fff;
    cursor: pointer;
}
#logo a{
    height: 50px;
}
#logo img{
    width: 100%;
}
.closeWindow{
    color: #FF0000;
    cursor: pointer;
    font-size: 25px;
    text-align: right;
    user-select: none;
}
#mainCloseWindow{
    display: none;
    padding: 20px 50px;

}
div#cancelSubCloseWindow, div#sendFeedbackCloseWindow{
    padding: 20px;
}


/* main page */


#subtitle{
    margin: 20px 0 0 0;
}
#subtitleLine{
    color: #B47F47;
}
#mainTaskDiv{
    margin: 20px 0;
    font-size: 20px;
}
button, input[type='submit']{
    background-color: #5DB075;
    cursor: pointer;
    font-weight: 700;
    padding: 12px 24px;
    border: 1px solid #000;
    border-radius: 8px;
}
button:hover, input[type='submit']:hover{
    background-color: #4A9963;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#mainTask, #btnSubmit, #btnDone, #btnNextDay, #btnOkay, #btnCallToAction{
    width: 50%;
    font-size: 20px;
    display: none;
    border-radius: 8px;
    border: 1px solid #000;
    cursor: pointer;
    padding: 12px 24px;
}
#mainTask{
    cursor: default;
}
#btnSubmit, #btnCallToAction{
    width: 30%;
}
#btnDone{
    margin: 20px;
}
#btnNextDay, #btnOkay, #btnCallToAction{
    display: inline;
}
#benefits ul{
    margin: 20px 0;
}
#benefits ul{
    list-style-type: none;
}
#howItWorks{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.arrow{
    font-size: 24px;
}
#howItWorks div{
    border: 1px solid #000;
    height: 330px;
    max-width: 410px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}
#howItWorks div:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#howItWorks img{
    max-width: 400px;
    width: 100%;
}
.stepDescription{
    max-width: 400px;
    text-align: center;
}
#callToAction{
    margin: 20px 0;
}
#features h2{
    margin-bottom: 0;
}
#featuresGrid{
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 300px));
    grid-gap: 20px;
    padding: 20px;
    justify-content: center;
}
#featuresGrid div{
    border: 1px solid #000;
    padding: 40px 20px;
    background-color: #E6F4EA;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}
#featuresGrid div:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: #D9F0E0;
}
#featuresGrid h4, #howItWorks h4{
    color: #1B4332;
}

#featuresGrid p, #howItWorks p{
    color: #333;
}
#chooseYourPlanFlex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}
#chooseYourPlanFlex div{
    max-width: 400px;
    width: 95%;
    border: 1px solid #000;
    padding: 40px 20px;
    background-color: #E6F4EA;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
    cursor: pointer;
}
#chooseYourPlanFlex div h3{
    margin-bottom: 2rem;
}
#chooseYourPlanFlex div:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: #D9F0E0;
}
#faq{
    max-width: 800px;
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}
.faqQuestion{
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 20px;
    border: 1px solid #000;
    outline: none;
    background-color: #E6F4EA;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.faqAnswer{
    display: none;
    padding: 10px 15px !important;
    margin-top: 5px;
    border-left: 3px solid #1B4332;
    border-radius: 0 0 8px 8px;
    text-align: left;
}
.faqItem.active .faqAnswer{
    display: block;
}


/* todo and settings */


#other{
    display: flex;
    position: fixed;
    bottom: 1%;
    right: 1%;
    align-items: center;
}
#other img{
    width: 50px;
    margin: 0 5px;
    cursor: pointer;
}

#toDoList{
    display: none;
}
#toDoListDiv{
    margin: 20px 0;
}
#toDoListDiv ul, #nextDay ul{
    list-style-type: none;
    max-width: 500px;
    margin: 0 auto;
}
#toDoListDiv ul li, #nextDay ul li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    column-gap: 5px;
    text-align: left;
}
.task{
    display: block;
    max-width: 400px;
    font-size: 16px;
    padding: 5px 0;
    overflow-wrap: break-word;
}
#wrapper div.checkbox{
    border: 2px solid #000;
    width: 10px;
    height: 10px;
    font-size: 20px;
    line-height: 1px;
    color: green;
    font-weight: bold;
    user-select: none;
    padding: 0;
    cursor: pointer;
}
div.checkbox{
    border: 2px solid #000;
    width: 10px;
    height: 10px;
    font-size: 20px;
    line-height: 1px;
    color: green;
    font-weight: bold;
    user-select: none;
    padding: 0;
    cursor: pointer;
}
#wrapper div.controlDiv{
    padding: 0;
}
#addTask, #btnAddTask{
    width: 50%;
    border: 1px solid #000;
    padding: 6px 12px;
    border-radius: 8px;
}
#btnAddTask{
    width: 35%;
    cursor: pointer;
}
#addOtherTaskForm{
    position: sticky;
    bottom: 0;
    padding: 50px;
    background-color: #FAFAF9;
    border-top: 1px solid #ccc;

}
#settingsDiv{
    display: none;
}
#settingsDiv .settingsDivBtn{
    width: 200px;
    border: 1px solid #000;
}
#paymentDiv{
    max-width: 600px;
    width: 90%;
    background-color: #E6F4EA;
    border-radius: 50px;
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 50px 20px !important;
    overflow: scroll;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 16px;
    max-height: 90vh;
    overflow-y: auto;
}
#paymentDiv p{
    margin-top: 5%;
}
#paymentDiv p.important{
    text-align: left;
    font-size: 12px;
    color: #FF0000;
    margin-top: 10px;
}
#paymentDiv button{
    width: 300px;
}
#reportType{
    padding: 6px 12px;
}
#reportText{
    max-width: 500px;
    width: 90%;
    height: 50vh;
    padding: 6px 12px;
}
#website123{
    display: none;
}
#wrapper div#lifetimeDealWarning{
    color: #FF0000;
    font-size: 10px;
    padding-top: 0;
}
/* login and register */


#loginWrap, #nextDayWrap, #nextDayMainTaskWrap, #paymentDivWrap, #cancelSubConfirmWrap, #sendFeedbackDivWrap, #forgotPassDivWrap, #spinnerWrap{
    display: none;
    position: fixed;
    z-index: 1;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    padding: 16px;
    background-color: rgba(0,0,0,0.9);
    overflow: scroll;
    padding: 10px;
}
#spinnerWrap{
    z-index: 3;
}
#forms input#loginButton{
    margin-bottom: 0;
}
#forms a#forgotPass{
    font-size: 14px;
    color: #5DB075;
}
#forms a#forgotPass:hover{
    text-decoration: underline;
    cursor: pointer;
}
#paymentDivWrap{
    display: block;
    z-index: 2;
}
#forms, #nextDay, #nextDayMainTask, #cancelSubConfirm, #sendFeedbackDiv, #forgotPassDiv{
    max-width: 600px;
    width: 95%;
    background-color: #E6F4EA;
    padding: 30px;
    padding-top: 50px;
    margin: 20px auto;
    text-align: center;
    border-radius: 50px;
    position: relative;
}
#nextDayMainTask{
    margin: 15% auto;
}
#loginFormDiv, #registerFormDiv{
    border: 1px solid black;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 25px;
}
#forms input, #forgotPassDiv input{
    display: block;
    margin: 20px auto;
    width: 80%;
    font-size: 20px;
    border: 1px solid black;
    border-radius: 8px;
    padding: 12px 24px; 
}
#loginCloseWindow{
    position: absolute;
    top: 3%;
    right: 3%;
}
#congratsMessage{
    display: none;
}
#messageToDisplay{
    margin: 20px 0;
}
#completeTasks, #incompleteTasks{
    margin: 20px 0 50px 0;
}
#completeTasks ul, #incompleteTasks ul{
    margin-top: 20px;
}
#isComplete{
    margin: 20px 0;
}
.passwordWrap{
    position: relative;
}
#loginPassword, #registerPassword{
    padding-right: 40px;
}
#togglePassword, #togglePassword2{
    position: absolute;
    right: 60px;
    top: 55%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}
#togglePassword img, #togglePassword2 img{
    width: 20px;
    pointer-events: none;
}
#forms input#agree{
    display: inline;
    width: auto;
    margin: 0;
}
#forms label{
    font-size: 16px;
}
#termsDiv{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
#termsDiv a{
    text-decoration: none;
    color: #5DB075;
}
#termsDiv a:hover{
    text-decoration: underline;
}


/* dark mode */


body.darkMode{
    background-color: #121212;
    color: #f1f1f1;
}
body.darkMode #reportText{
    color: #f1f1f1;
    background-color: #121212;
}
body.darkMode input{
    border: 1px solid #f1f1f1 !important;
    color: #f1f1f1;
    background-color: #121212;
}
body.darkMode button, body.darkMode input[type='submit']{
    color: #f1f1f1 !important;
    background-color: #5DB075 !important;
}
body.darkMode button:hover, body.darkMode input[type='submit']:hover{
    background-color: #4A9963 !important;
    opacity: 0.8;
}
body.darkMode div.stepDescription{
    background-color: #fff;
    color: #1E1E1E;
}
body.darkMode div.stepDescription h4, body.darkMode div.stepDescription p{
    color: #1E1E1E !important;
}
body.darkMode #wrapper div.checkbox{
    border: 2px solid #f1f1f1;
}
body.darkMode div.checkbox{
    border: 2px solid #f1f1f1;
}
body.darkMode button{
    border: 1px solid #f1f1f1 !important;
}
body.darkMode #forms, body.darkMode #nextDay, body.darkMode #nextDayMainTask, body.darkMode #cancelSubConfirm, body.darkMode #sendFeedbackDiv, body.darkMode #paymentDiv, body.darkMode #forgotPassDiv{
    background-color: #1B3D31;
}
body.darkMode #howItWorks h4, body.darkMode #howItWorks p{
    color: #f1f1f1;
}
body.darkMode #addOtherTaskForm{
    background-color: #121212;
}
body.darkMode #chooseYourPlanFlex div{
    color: #1E1E1E;
}


/* garden */


#gardenWrap{
    background-color: #9DC97D;
    height: 100vh;
    padding: 10px;
}
#garden{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 1fr);
    aspect-ratio: 2.4 / 1;
    width: 100%;
    margin: 0 auto;  
}
.cell{
    position: relative;
    width: 100%;
}
.cell img{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* media query */


@media only screen and (max-width: 1320px){
    #howItWorks{
        flex-direction: column;
    }
    .arrow{
        transform: rotate(90deg);
    }
}
@media only screen and (max-width: 800px){
    #featuresGrid{
        grid-template-columns: repeat(2, minmax(200px, 300px));
    }
    #btnCallToAction{
        width: 200px;
    }
    #reportText{
        height: 40vh;
    }
}
@media only screen and (max-width: 500px){
    button, input[type='submit'], #addTask, #btnAddTask, #mainTask, #btnSubmit, #btnDone, #btnNextDay, #btnOkay, #forms input, input#passEmail{
        padding: 6px 12px;
        font-size: 16px;
    }
    
    #togglePassword, #togglePassword2{
        right: 15%;
        top: 60%;
    }
    #togglePassword img, #togglePassword2 img{
        width: 15px;
    }

    #featuresGrid{
        grid-template-columns: repeat(1, minmax(200px, 300px));
    }
    #other img{
        width: 25px;
    }
    #paymentDiv button{
         width: 250px;
    }
    #forms label{
        font-size: 10px;
    }


    
}
@media only screen and (max-width: 400px){
    button, input[type='submit'], #addTask, #btnAddTask, #mainTask, #btnSubmit, #btnDone, #btnNextDay, #btnOkay, #forms input{
        font-size: 12px;
    }
    body{
        font-size: 14px;
    }
    #mainTaskDiv ul{
        font-size: 16px;
    }
    h1{
        font-size: 32px;
    }
    h2{
        font-size: 24px;
    }
    #navbar ul li a{
        padding: 24px 10px;
        font-size: 14px;
    }
    #logo img{
        width: 75%;
    }
    input#passEmail{
        font-size: 12px;
    }

}
@media only screen and (max-height: 500px){
    #logo img{
        width: 50%;
    }
}
@media only screen and (max-height: 450px){
    #garden{
        aspect-ratio: 2.5 / 1;
    }
}
@media only screen and (max-height: 425px){
    #garden{
        aspect-ratio: 3 / 1;
    }
}
@media only screen and (max-height: 375px){
    #garden{
        aspect-ratio: 3.5 / 1;
    }
    
}