/*light mode
--text: #000000;
--background: #ffffff;
--primary: #3d3e3d;
--secondary: #daddda;
--accent: #747676;
*/

/* Dark Mode
--text: #ffffff;
--background: #000000;
--primary: #3d3e3d;
--secondary: #0f100f;
--accent: #c1c2c2;
*/

body{
    margin: 0;
    padding: 0;
    height: 100;
    font-family: 'Poppins';
}

header{
    width: 100%;
    /* border-bottom: 1px solid #b3b3b3; */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button{
    font-size: 18px;
    font-weight: 400;
    border: 0;
    border-radius: 15px;
    color: #ffffff;
    background-color: #3d3e3d;
    cursor: pointer;
}

p{
    font-size: 20px;
}

h1{
    font-size: 32px;
}

h2{
    font-size: 28px;
}

h3{
    font-size: 24px;
}

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

.main-nav{
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links{
    color: #747676;
    font-size: 20px;
    list-style-type: none;
    margin: 0 12px;
}

.nav-links:hover{
    color: #000000;
}

.nav-links i:hover{
    background-color: #5e5e5e;
}

.nav-links i{
    padding: 5px;
    color: #ffffff;
}

.logo{
    justify-content: flex-start;
    margin-left: 20px;
}

.logo h2{
    color: #ffffff;
}

.login-btn{
    color: #000000;
    border: 2px solid #3d3e3d;
    background-color: transparent;
    padding: 14px 32px;
    margin-right: 20px;
}

.login-btn:hover{
    border: 0;
    color: white;
    background-color: #3d3e3d;
    transition: 0.3s ease;
}

.mobile-menu{
    display: none;
}

.mobile-menu i{
    font-size: 24px;
}

.hero{
    display: flex;
    justify-content: center;
    height: 100vh;
}

.hero-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-btn{
    font-size: 20px;
    padding: 18px 36px;
}

.hero-btn:hover{
    box-shadow: 3px 3px 10px 3px #c0c0c0;
}

.container{
    padding: 20px;
}

.page-title{
    text-align: center;
    padding-bottom: 20px;
}

.signup-area{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
    width: 40%;
}

.signup-area p{
    text-align: left;
}

.signup-area label {
    text-align: left;
    margin: 12px 0;
}

.text-field{
    font-size: 16px;
    border: 1px solid #000000;
    border-radius: 5px;
    width: 100%;
    padding: 20px;
    margin-bottom: 10px;
}

.text-field-error{
    border: 1px solid #ff0000;
}

.error-message{
    font-size: 16px;
    color: #ff0000;
}

.error-message:empty {
    margin: 0;
}

.hyperlink{
    color: #747676;
    text-decoration: underline;
}

.signup-btn{
    padding: 18px 36px;
    font-size: 16px;
    text-transform: uppercase;
    width: 35%;
    margin: 0 auto;
}

.account-page-bar{
    background-color: #3d3e3d;
}

#dashboard{
    display: flex;
    flex-direction: row;
}

.sidebar{
    height: 100vh;
    width: 350px;
    padding: 20px;
    background-color: #fafafa;
}

.sidebar-tab{
    width: 100%;
    padding: 5px;
    cursor: pointer;
}

.sidebar-tab p{
    font-size: 18px;
}

.sidebar-tab i {
    margin-right: 10px;
}

.sidebar-tab:hover{
    background-color: #eaeaea;
}

.dashboard-title{
    padding: 20px
}

.dashboard-title h2,
.dashboard-title h3{
    margin: 0;
}

.dashboard-title h3{
    color: #747676ab;
}

#tip-text {
    font-style: italic;
    font-size: 18px;
    /* font-weight: bolder; */
}

.date-display,
.listed-tasks{
    display: none;
}

.show{
    display: block;
}

.date-heading{
    font-weight: bolder;
}

.singular-listed-task{
    display: flex;
    justify-content: space-between;
    font-size: 46px;
    border-radius: 10px;
    border: 2px solid #747676;
    margin: 15px 0;
    padding: 5px 10px;
    height: 30px;
}

.task-content{
    font-size: 16px;
    align-self: center;
}

.delete-icon {
    font-size: 16px;
    color: #ff5555;
    cursor: pointer;
    align-self: center;
}

.delete-icon:hover{
    color: #ff0000;
}

.task-actions{
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 2px solid #747676;
    border-radius: 10px;
}

.task-actions:hover{
    border: 2px solid #3d3e3d;
}

.task-actions i{
    color: #747676;
    font-size: 16px;
    font-weight: lighter;
    align-self: center;
    padding: 5px;
}

.add-task{
    font-size: 16px;
    border: 0;
    outline: 0;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
}

::placeholder{
    color: #747676;
}

.task-actions i:hover{
    color: white;
    background-color: #3d3e3d;
}

/*Media Queries*/
@media (min-width: 320px) and (max-width: 479px) {
    h1{
        font-size: 24px;
    }

    h2{
        font-size: 20px;
    }

    h3{
        font-size: 18px;
    }

    p{
        font-size: 16px;
    }

    button{
        font-size: 16px;
    }
    
    .main-nav{
        display: none;
    }

    .nav-links{
        margin: 12px 0;
    }

    .login-btn{
        width: 140px;
    }

    .mobile-menu{
        position: absolute;
        right: 20px;
        display: block;
    }

    .active{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: absolute;
        background-color: #ffffff;
        padding: 20px;
        top: 80px;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-content{
        text-align: center;
        padding: 20px;
    }

    .signup-area{
        margin: 0 auto;
        width: 75%;
    }

    .signup-btn{
        width: 50%;
    }

    .sidebar{
        display: none;
    }
}