@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: poppins;
}
html,body{
width: 100%;
height: 100%;
}
html{
    scroll-behavior: smooth;
}
body::-webkit-scrollbar {
    display: none;
}

::placeholder{
    color: black;
    font-weight: 500;
}
.main{
    width: 100%;
    background-color: rgb(196, 233, 255);
    height: 100%;
    overflow-y: scroll;
    display: flex;
    align-items: center;
}

.left{
    width: 15%;
    height: 100%;
    display: flex;
    position: relative;
    padding-top: 80px ;
    align-items: center;
    flex-direction: column;
}
.left i{
    font-size: 2.7em;
    position: absolute;
}
#button{
    background-color: red;
    width: fit-content;
    height: fit-content;
}
#toggle{
    display: initial;
}
#cancel{
    display: none;
}
.left ul{
    top: 150px;
    left: 105px;
    position: absolute;
}
.left ul li{
    list-style: none;
    margin-bottom: 10px;
    display: none;
    transition: 0.3s;
}
.color{
    border-radius: 50%;
    width: 30px;
    background-color: blue;

    height: 30px;
}

.right{
    width: 100%;
    padding: 80px 30px 50px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.right h1{
    margin-bottom: 50px;
    font-weight: 600;
}
#notes-container{
    width: 100%;
    height: 100%;
    padding: 20px;
    gap: 50px;
    flex-direction: row-reverse;
    display: flex;
justify-content: center;
    flex-wrap: wrap;
    background-color: rgb(196, 233, 255);
}
.note{
    overflow: hidden;
    width: 27%;
    position: relative;
    height: 45%;
    border-radius: 15px;
    box-shadow: 1px 5.5px 10px black;
}
.note textarea{
    width: 100%;
    height: 100%;
    resize: none;
    border: none;
    background-color: rgb(255, 154, 154);
    padding: 20px;
    color: black;
    font-size: 1.2em;
    outline: none;
}
.note-footer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.note-footer h3{
    font-size: 0.9em;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.566);

}
@media screen and (max-width: 600px) {
    .main{
        width: 100%;
        background-color: rgb(196, 233, 255);
        height: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    .left{
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: row;
        position:relative;
        margin-top: 30px;
        align-items: center;
        gap:20px;
    }
    .left i{
        font-size: 2.4em;
        position: absolute;
        top: 50%;
        left: 20%;
        transform: translate(-50%,-50%);
    }
    .left ul{
        display: flex;
        align-items: center;
        top: 57%;
        left: 50%;
        transform: translate(-50%,-50%);
        position: absolute;
    }
    .left ul li{
        margin-right: 10px;
    }
    .color{
        border-radius: 50%;
        width: 30px;

        height: 30px;
    }
    
    .right{
        padding: 20px;
        display: flex;
    }
    .right h1{
        text-align: center;
        font-weight: 600;
    }
    #notes-container{
        padding: 5px;
        gap: 15px;
        margin-bottom: 20px;
        flex-shrink: 0;
    }
    .note{
        width: 100%;
        position: relative;
        max-height: 35%;
        display: flex;
        flex-shrink: 0;
    }
    .note textarea{
        flex-shrink: 0;
        font-weight: 600;
    }
    
    .note-footer i{
        font-size: 20px;
    }
}
 