* {
    box-sizing: border-box;
}

html,
body {
    box-sizing: border-box;
    height: 100%;
    padding: 0;
    margin: 0;
    font: 1.2em sans-serif;
}

.wrapper {
    box-sizing: border-box;
    min-height: 100%;

    display: flex;
    flex-direction: column;
}

.page-header,
.page-footer {
    background-color: rgb(75 70 74);
    color: #fff;
    padding: 20px;

    flex-grow: 0;
    flex-shrink: 0;
}

.page-body {
    padding: 20px;

    flex-grow: 1;
}

.page-body p {
    border: 1px solid grey;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 10vh); /* Full viewport height */
}

img {
    max-width: 25%; /* Ensures the image is at most 50% of the page width */
    height: auto; /* Maintains aspect ratio */
}
/* The switch - initially off */
.switch {
    position: fixed; /* Fixed positioning */
    top: 10px; /* 10px from the top */
    right: 10px; /* 10px from the right */
    z-index: 1000; /* Ensure it stays on top of other content */
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    border-radius: 50%;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

/* When the checkbox is checked (dark mode enabled) */
input:checked + .slider {
    background-color: #244a63;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Dark mode styles */
body.dark-mode {
    background-color: #39373e;
    color: #ffffff;
}

/* You can add more dark mode styling here for other elements, such as buttons, links, etc. */
