
body{
    background-image: url("https://cdn.hackclub.com/019ee4c3-71e3-7264-9d7f-e973421e9650/e8549363dad6cd85604fc4f74d9bfced.jpg");
    margin: 0;
}

@font-face {
    font-family: 'circle';
    src: url("https://cdn.jsdelivr.net/fontsource/fonts/nunito@latest/latin-400-normal.woff2");
}

.main {
    display: flex;
    margin-left: 5%;
    margin-right: 5%;
    gap: 10px;
}

#mark {
    border: 3px solid black;
    height: 84vh;
    margin-top:4vh;
    margin-bottom: 4vh;
    background-color: white;
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
    width: 50%;
    font-family: ui-monospace,
             SFMono-Regular,
             "SF Mono",
             Menlo,
             Consolas,
             "Liberation Mono",
             monospace;
    
}
#prev {
    border: 3px solid black;
    height: 84vh;
    margin-top:4vh;
    margin-bottom: 4vh;
    background-color: white;
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
    width: 50%;
    font-family: -apple-system,
             BlinkMacSystemFont,
             "Segoe UI",
             Helvetica,
             Arial,
             sans-serif;
    overflow-wrap: break-word;
    overflow-y: auto;
    
}

#prev img {
    max-width: 100%;
}

nav {
    padding-left: 5%;
    background-color: white;
    height: 40px;
    display: flex;
    align-items: center;
    background-color: rgb(255, 248, 231);
}

nav h3 {
    font-family: "circle";
    color: #ff853f;
    margin-block-start: 0em;
    margin-block-end: 0em;
    
}
#logo {
    width: 25px;
}
.logoo {
    display: flex;
    gap: 10px;
}

#gith {
    width: 50px;
    position: fixed;
    top: 4px;
    right: 4px;
    transition: 0.3s;
}

#corner {
    background-color: black;
    height: 100px;
    width: 100px;
    position: fixed;
    top: 0;
    right: 0;

    transition: 0.3s;

    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%
    ); }


#corner:hover {
    height: 120px;
    width: 120px;
}

#corner:hover #gith {
    transform: rotate(45deg)
    scale(1.3);
    top: 10px;
    right: 10px;
}


@media(max-width:1000px){
    .main {
        flex-direction: column;
    }
    #mark {
        width: 90%;
        margin: auto;
        margin-top: 30px;
        
    }
    #prev {
        width: 90%;
        margin: auto;
    }
    
}
textarea {
    margin-top: 10px;
    width: 99%;
    height: 95%;
    resize: none;
    outline: none;
    border: none;
    font-family: -apple-system,
             BlinkMacSystemFont,
             "Segoe UI",
             Helvetica,
             Arial,
             sans-serif;
  
}
#prev h1,h2 {
    border-bottom: 1px solid #838383;
    padding: 0.3em;
}