@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Merienda:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam&display=swap');
body{
    background-color: aqua;
    margin: 0;
    padding: 0;
    
    font-family: 'Merienda', cursive;
    
}

button{
    margin: 10px;
}

main{
    max-height: 80%;
    max-width: 90%;
    /* border: 2px solid black; */
    
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    
    margin: auto;
    display: flex;
    justify-content: center;

    
}

#new{
    text-align: center;
}

form{
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: inline-flex;
    flex-direction: column;
    border: 2px solid black;
    width: 30%;
    height:25%;
    padding: 20px;
    display: none;
    box-shadow: 2px 2px 2px;
    background-color: rgb(218, 255, 9);
    font-size: 1.8vw;
    gap: 26px;
    border-radius:10px;
}

#submit{
    padding: 5px;
    width: 100px;
    align-self: center;
    font-size: large;
    margin-top: 0px;
    cursor: pointer;
    border-radius:10px;
}

#submit:hover{
    background:white;
}


input{
    font-size: 20px;
    border-radius: 5px;
    font-family:inherit;
}

@media only screen and (max-width:1000px) {
    form{
        font-size: 3vw;
        gap: 10px;
    }
    input{
        font-size: 2.5vw;
    }

    #submit{
        font-size: 3vw;
    }
    main{
        flex-direction: column;
        /* border: 2px solid black; */

    }
    #new{
        width: 99%;
        height: 30%;
        border-radius: 20px 20px 0px 0px !important;
        margin-left: 2.5px; 
        text-align: center;
        padding: 0;
        transition: none;
        transform: none;
    }

    #nofile1{
        width: 99%;
        border-radius: 0px 0px 20px 20px !important;
        margin-left: 2.5px;
        overflow-y: scroll;
        transition: none;
    }

    .expand{
        height: 70%;
        transition: height 2s !important;
        border: 2px solid black;

    }

    .main_section{
        height: 0% !important;
        transition: height 2s !important;
        border: non;
    }

    #test{
        margin-bottom: 0px;
    }


}
@media only screen and (max-width:600px) {
    #submit{
        font-size: 3vw;
    }
    input{
        font-size: 2.7vw;
    }
    form{
        font-size: 4vw;
    }
}
aside{
    border: 2px solid black;
    width: 20%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow-y: auto;
    border-radius: 15px;
    transition: transform 1s;
    transform: scale(1);
    background-color: rgb(202, 161, 255);
    color: rgb(14, 13, 13);
    
}

aside:not(.no-hover):hover {
    transform: scale(1.05);
}




section{
    display: block;
    /* border: 2px solid black; */
    
    background-color: rgb(255, 255, 255);
    overflow-y: hidden;
    border-radius: 0px 20px 20px 0px;
}


/* 
@keyframes expand {
    0%{
       width: 0%;
    }

    100%{
        width: 70%;
    }
} */




.main_section{
    
    /* animation: expand 2s; */
    width: 0%;
    transition: width 2s;
}

.expand{
    width: 70%;
    transition: width 2s;
    border: 2px solid black;
}


/* #nofile{
    text-align: center;
    font-size: 80px;

} */

#front{
    z-index: 2;
    display: inline;
}

#file{
    height: 88%;
}

.text{
    -moz-appearance: textfield-multiline;
    -webkit-appearance: textarea;
    border: 1px solid gray;
    font: medium -moz-fixed;
    font: -webkit-small-control;
    overflow: auto;
    padding: 2px;
    resize: both;  
    border: none;
    outline: none;
    /* background-color: aliceblue; */
    font-size: 30px;
    font-family: 'Caveat Brush', cursive;
}


.panel{
    display:none;
    background-color: rgba(255, 0, 0, 0.39);
    height: 88%;
    box-shadow: 0px 0px 10px;
    
}

.heading{
    color: rgb(0, 0, 0);
    display: inline;
    flex: 100%;
    text-align: center;
    font-size: 40px;
    margin: 0px 0px 40px 0px;
    text-decoration: underline;
    text-shadow: 2px 2px 5px rgb(255, 251, 231);
}


.close{
    flex: 1%;
    text-align: right;
}

.copy{
    text-align: right;
    padding-top: 5px;
}

.card_btn{
    display: flex;
}

.copybtn{
    background-color: rgb(179, 255, 0);
    color: rgb(0, 0, 0);
    font-weight: bold;
    border-radius: 5px;
    border: none;
    border-bottom: 2px solid black;
    font-size: 15px;
    

}

.copybtn:active{
    box-shadow: inset 0px 2px 2px black;
}

.copybtn{
    cursor: pointer;
    border: 2px solid bla;
}

.closebtn{
    background-color: transparent;
    color: black;
    border: none;
    /* transition: all 1s;
    font-weight: light; */
    font-size: 20px;
    
}

.closebtn:hover{
    font-weight: bolder;
    cursor: pointer;
}

@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
#add{
    width: 40px;
    align-self: center;
    font-size: 20px;
    border-radius: 10px 10px 100px 100px ;
    box-shadow: 0px 1px 1px ;
}

#add:hover{
    cursor: pointer;
    background-color: white;
}
.new_button{
    padding: 5px;
    font-size: 17px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 2px 2px 5px ;
    font-family: 'Kaushan Script', cursive;
}

.new_button:hover{
    background-color: white;
}

.format_btn{
    font-size: 20px;
    cursor: pointer;
    border: none;
    border-radius: 60px ;
    
    padding: 5px 10px 5px 10px;
    background-color: rgb(119, 119, 119);
    color: white;
    
}
.format_btn:hover{
    box-shadow:  1px 1px 3px ;
    background-color: white;
    color: rgb(0, 0, 0);
}
.format_btn:active{
    box-shadow: inset 1px 1px 3px 2px ;
}

#bold{
    font-weight: bolder;
}

#italic{
    font-style: italic;
}

#underline{
    text-decoration: underline;
}

#format{
    display: flex;
    justify-content: flex-end;
}
