.title1{
    font-size: 90px;
    color: var(--title-primary);
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.title2{
    font-size: 90px;
    color: var(--title-secondary);
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.title{
    text-align: center;
    padding: 0;
    user-select: none;
    cursor: pointer;
    position: absolute;
    z-index: 9999;
}

.homePage{
    background-color: var(--bg-color);
    height: 75vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.2);
    position: fixed;
    z-index:999;
}


.pagesDisplay{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--bg-color);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.new,.page,#addPage{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    width: 220px;
    height: 70px;
}

#addPage{
    width: 80px;
    font-size: 30px;
    cursor: pointer;
}

.new input{
    width: 80%;
    height: 50px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    transition: .3s linear;
    outline: none;
    text-align: center;
    background-color: var(--bg-color);
}

.page, .new{
    --c:linear-gradient(var(--text-color) 0 0);
    background: var(--c), var(--c);
    background-size: 1em .1em;
    background-position:50% 100%;
    background-repeat: no-repeat;
    transition: .3s linear, background-size .3s .2s linear;
    cursor: pointer;
}
.page:hover,.new:hover{
    background-size: 50% .1em;
    background-position: 10% 100%, 90% 100%;
}

.login{
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px 50px;
    width: min-content;
    z-index: 9999;
}

.login a{
    color: var(--title-primary);
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: .3s linear;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
}

.login a ion-icon{
    font-size: 30px;
    margin-left: -50px;
}

.notification{
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 99999;
    background-color: cornflowerblue;
    border-radius: 50%;
    left: 29px;
    top: 21px;
}

.login a span{
    white-space: nowrap;
}

.login a:hover{
    text-decoration: underline;
}

.taskContainer{
    position: relative;
    top: 85vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.searchCreateDiv{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.task {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--gray);
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: 0 auto 50px auto;
}

.task h2 {
    width: 75%;
    margin: 0;
    position: absolute;
    font-weight: bold;
}

.description {
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-top: 40px;
    padding: 10px 20px;
    height: auto;
    flex: 3;
    text-align: justify;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    word-break: break-all;
}

.select {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.task select {
    width: 50%;
    height: 40px;
    border-radius: 20px;
    font-size: 16px;
    background-color: var(--light-gray);
    transition: .3s linear;
    padding: 0 0 0 1rem;
    border: #040F16 1px solid;
    margin-right: -40px;
}

.searchBar{
    margin-bottom: 30px;
}

.searchBar input{
    width: 100%;
    height: 40px;
    border: none;
    font-size: 16px;
    color: var(--text-color);
    transition: .3s linear;
    outline: none;
    text-align: center;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--text-color);
}

.createTask{
    margin-bottom: 30px;
}
.createTask button{
    font-weight: bold;
    color: var(--bg-color);
    background-color: var(--text-color);
    display: inline-block;
    padding: 7px 24px;
    border: 1.8px solid var(--text-color);
    border-radius: 10px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    transition: 0.1s;
}

.addTaskBtnDiv{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.addTaskBtnDiv button{
    font-weight: bold;
    color: var(--bg-color);
    background-color: var(--text-color);
    display: inline-block;
    padding: 7px 24px;
    border: 1.8px solid var(--text-color);
    border-radius: 10px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    transition: 0.1s;
}

.nope {
    animation: nope 0.3s;
}

#addTaskDiv{
    width: 100%;
}

#titleTask{
    width: 90%;
    font-size: 20px;
    outline: none;
    border: none;
    background: none;
}

.description textarea{
    width: 100%;
    height: 90%;
    resize: none;
    outline: none;
    border: none;
    background: none;
    font-size: 16px;
}

.menu{
    top:85vh;
    position: fixed;
    width: 130px;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background: var(--bg-color);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    margin-right: 30px;
}

.menu button{
    font-size: 30px;
    color: var(--title-primary);
    margin: 0 5px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icons ion-icon{
    font-size: 20px;
}

.icons button{
    background: none;
    border: none;
    cursor: pointer;
}

#title{
    background: none;
    border: none;
    outline: none;
    font-weight: bold;
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-size: 25px;
}

#description{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

@keyframes nope {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(15px);
    }
    75% {
        transform: translateX(-15px);
    }
    100% {
        transform: translateX(0);
    }
}

@media screen and (max-width: 1024px) {
    .task {
        display: unset;
    }
    .tasks-select{
        margin-top: 25px;
    }
}

@media screen and (max-width: 768px) {
    .login {
        padding: 20px;
    }
    .login a{
        width: 30px;
    }
    .login span{
        display: none;
    }
    .login ion-icon{
        margin-right: -64px;
    }
    .notification{
        left: 39px;
    }
    .menu{
        width: 30px;
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        background: var(--bg-color);
        padding: 10px;
        border-radius: 20px 0 0 20px;
        box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
        gap:15px 0;
        margin-right: 0;
    }
    .menu button{
        font-size: 20px;

    }
    .doNotOwn{
        width:unset;
    }
}