@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

#centrebox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px grey;
    border-radius: 5px;
    outline: solid 1px black;
    height: 650px;
    width: 100%;
    max-width: 1200px; /* Ensures the centrebox does not exceed 1200px */
    max-height: 100vh; /* Ensure it doesn't exceed the viewport height */
    overflow-y: auto; /* Allows scrolling if content overflows */
    padding: 20px; /* Adds padding for a more aesthetic look */
    box-sizing: border-box; /* Ensures padding is included in the width/height calculations */
}

body {
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    margin: 0;
    padding: 0;
    height: 100vh; /* Ensure the body takes the full height of the screen */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents horizontal scrolling */
}

h1 {
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 500;
}

h2 {
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400;
}

h3 {
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 300;
}

#main {
    padding-left: 30px;
    max-height: calc(100vh - 80px); /* Prevents the main section from exceeding the height */
    overflow-y: auto; /* Scrollable if content overflows */
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

#copyright {
    position: absolute;
    bottom: 20px;
    margin-bottom: 20px;
}

#hublink {
    background-color: #138275;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 500;
}
