*{
    margin: 0;
    font-family: "Itim", cursive;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background: url(../assets/Notes_background);
}

.page{
    background-color: white;
    position: relative;
    margin: 50px 0;
    border: 2px solid black;
    border-radius: 10px;
    width: 600px;
    height: 700px;
    overflow: hidden;
    z-index: 1;
}

.margin{
    display: flex;
    justify-content: center;
    position: absolute;
    border-right: 3px solid red;
    float: left;
    height: 250%;
    width: 10%;
}
.margin img{
    height: 875px;
    margin-top: 10px;
}

.lines{
    height: 50px;
    width: 100%;
    border-bottom: 3px solid black;
}

.text{
    padding-left: 5px;
    top: 60px;
    left: 10%;
    position: absolute;
    width: 87%;
    height: 100%;
    margin-top: 10px;
    word-wrap: normal;
    white-space: normal;
    font-size: 20px;
    line-height: 53px;
}

.fsbtn{
    margin-left: 30px;
    height: 50px;
    width: 50px;
    background-color: white;
    background: url(../assets/next.png);
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    z-index: 0;
}

.fsbtn:hover{
    opacity: 60%;
}

.mblbtn{
    visibility: hidden;
    position: absolute;
}
@media screen and (max-width: 650px) {
    h1{
        font-size: 19px;
    }
    .page{
        overflow: scroll;
        width: 350px;
        height: 100vh;
        margin: 0;
        transform: scale(100%);
    }
    .margin img{
        width: 30px;
    }

    .container{
        flex-direction: column;
    }
    .fsbtn{
        visibility: hidden;
        position: absolute;
    }
    .mblbtn{
        visibility: visible;
        margin: 10px 0;
        width: 350px;
        height: 40px;
        font-size: 24px;
        position: inherit;
    }
}