html {
  font-size: 16px;
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}
.roundrect {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    display: table;
}

@media (max-width: 768px) {
    .roundrect {
        padding: 5px;
        margin: 5px;
    }

    .content {
        margin-right: 0 !important;
    }
}
@media (max-width: 1024px) {
    #page-wrapper {
        display: block !important;
    } }
    
#page-wrapper {
    position: relative;
}

.content {
    min-height: 300px;
    padding-top: 30px;
}

@media (min-width: 769px) {
    #page-wrapper {
        display: grid;
        grid-template-columns: 240px 1fr 240px;
        grid-template-areas: "left main right";
        gap: 20px;
    }

    #columnleft {
        grid-area: left;
    }

    .content {
        grid-area: main;
        margin: 0 !important;
    }

    #columnright {
        grid-area: right;
    }
}

main {
    padding: 30px;
    z-index: -1;
    display: block;
    width: auto;
    position: relative;
    pointer-events: auto !important;
    z-index: auto !important;
}

img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}

.profile {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    background: #f0f0f0;
    color: #666;
}

header {
    position: relative;
    overflow: visible;
}

/* a colour patch that recolourises the header banner */
.header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
    height:135px;
}

header>*:not(.header-overlay) {
    position: relative;
    z-index: 2;
}

/* only display the hamburger menu on small screens */
@media screen and (min-width: 1025px) {
    #hamburger {
        display: none !important;
    }
}

@media (max-width: 768px) {

    #columnleft,
    #columnright {
        display: none !important;
    }

    .content {
        margin: 0 !important;
    } 
}

@media (min-width: 769px) {
    #page-wrapper {
        display: grid;
        grid-template-columns: 240px 1fr 240px;
        gap: 20px;
    }

    #columnleft {
        grid-column: 1;
    }

    .content {
        grid-column: 2;
        margin: 0 !important;
    }

    #columnright {
        grid-column: 3;
    }
}