@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital@1&display=swap');
*{
    margin: 0;
    padding: 0;
}
.bkg{
    background-color: rgb(255, 194, 120);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page{
    height: 95%;
    width: 80%;
    background: url("notebook.png");
    background-size: 150% 120%;
    background-repeat: none;
    background-position: center;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0.5vw 0.5vh 2vw #00000083;
}
.container{
    height: 90%;
    width: 90% !important;
}
.head{
    align-self: flex-start;
    font-family: 'Marck Script', cursive;
    color:rgb(41, 11, 11);
    font-size: 5vw;
    margin: 20px 20px;
}
.input1{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
input{
    padding: 0.3vw 1vw;
    border: 1px solid rgb(177, 175, 175);
    font-size: 1.5vw;
    margin: 10px !important;
    border-radius: 5px;
}
.tb{
    height: 50vh;
}
table, th, td {
    border:1px solid black;
    padding: 10px;
}
table{
    max-width: 100%;
}
.tbody{
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow:scroll;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.3vw;
}
.row{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 1vw 0;
    border-bottom: 0.04vw solid grey;
}
.c1{
    width:10%;
    height:100%;
    text-align: center;
}
.tbody .c2{
    width: 40%;
    align-self: flex-start;
    text-overflow: ellipsis;
    padding:0 2vw 0 0;
}
.tbody2{
    display: flex;
    flex-direction: column;
    font-family: 'Lobster', cursive;
    font-size: 1.5vw;
} 
.tbody2 .c2{
    width: 40%;
    align-self: center;
    padding:0 2vw 0 0;
}
button{
    padding:0.5vw;
    font-size: 1vw;
    background-color: rgb(45, 130, 248);
    color:white;
    border-radius: 0.2vw;
    border:none;
}
.delbtn{
    background-color: red;
}
button:hover{
    box-shadow: 0.1vw 0.1vw 2vw #00000050 inset;
}

/* Adding responsiveness */
@media screen and (max-width:500px) {
    .page{
        width: 90%;
        height: 80%;
    }
    .head{
        font-size: 10vw;
    }
    .input1{
        flex-direction: column;
    }
    input{
        padding: 0.3vw 1vw;
        width: 70%;
        border: 1px solid rgb(177, 175, 175);
        font-size: 4vw;
        margin: 5px !important;
        border-radius: 5px;
    }
    button{
        padding:1vw;
        font-size: 3vw;
        background-color: rgb(45, 130, 248);
        color:white;
        border-radius: 1vw;
        border:none;
    }
    .tbody{
        font-size: 3vw;
        height: 90%;
    }
    .tbody2{
        font-size: 4vw;
    }
    .tbody2 .c2{
        width: 35%;
        padding:0 2vw 0 2vw;
    }
    .tbody .c2{
        width: 35%;
        padding:0 2vw 0 2vw;
    }
    .delb{
        width: 20%;
    }
    .head{
        font-size: 6vw !important;
    }
}