/* standard values */
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}
div{
    object-fit: contain;
}
body{
    object-fit: contain;
    overflow-x: hidden;
    padding: 0px;
    margin: 0px;
}

/* Container for the whole page */
#create-new-page-container {
    margin: 2rem auto;
    font-family: Arial, sans-serif;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

/* Each input group box */
.add-text-container {
    max-width: 30rem;
    display: flex;
    flex-flow: column;
    margin: 1rem;
    gap: 1rem;
    margin-left: 0rem;
}
#add-header-button {
    max-width: 7rem;
}
#add-text-button {
    max-width: 7rem;
}
#add-image-button {
    max-width: 7rem;
}

#link-to-main {
    display: none;
}

#page-preview-container {
    border: 1px solid;
    height: 15rem;
    width: 40rem;
    margin-top: 8rem;
    margin-left: 5rem;
}

#set-page-wrapper {
    display: flex;
    flex-flow: row;
}

.get-info-from-page-button{
    margin-left: 1rem;
}
.delete-page-button{
    margin-left: 1rem;
}
.edit-page-button{
    margin-left: 1rem;
}

#page-link-container{
    display: flex;
    flex-flow: row;
}

#page-options-container{
    margin-left: 1rem;
    width: 35rem;
}



/* Documentation css */
#doc-body{
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    width: 100%;
}
.doc-example{
    border: 1px solid;
    border-radius: 0.3rem;
    width: 85%;
    margin-top: 3rem;
    margin-bottom: 3rem;
    /* margin-right: 20rem; */
    padding: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    white-space: normal;   /* Allow wrapping */
    word-wrap: break-word; /* Break long words if needed */
    overflow-wrap: break-word; /* Modern alternative */
}

