/* Mobile First View  */
header {
    background-color: var(--background-colour);
    overflow: hidden;

}

/* h1 {
    color: var(--off-white);
    float: left;
    padding: 0 20px; 
    text-align: center;
    width: 100%;
    font-size: 50px;
} */

#hamburger_checkbox {
    display: none;

}
#hamburger_image {  
    display: block;
    margin: auto; 
    width: 120px;
    position: relative;

}
/* Show or hide the menu */
#hamburger_checkbox:not(:checked) ~ .menu {
    display: none;
}

#hamburger_checkbox:checked ~ .menu {
    display: block;
}
nav a {
    color: var(--off-white);
    float: left;
    font-size: 30px;
    box-sizing: border-box; 
    padding: 10px 20px; 
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: background-color 0.1s ease-in;
    border-radius: 8px;
}
/* Invert colours on mouse hover */
nav a:hover {
    background-color: var(--blue);
    color: var(--white); /*text colour */
}
/* Inver colours on tab key focus */
nav a:focus {
    background-color: var(--white);
    color: black;
    outline: none
}
.menu {
    display: block;
    position: relative;
    top: 10px;
    right: 20px;
         
}

/* Make current lin highlighted blue */
.active_nav {
    background-color: var(--pink);
    color: var(--white)
}

.header-content {
    display: flex;
    align-items: center;
    padding: 0 20px; 
    text-align: center;
    flex-direction: column;  
}


.heading-container {
    position: relative;
    display: inline-block;
    max-width: 100%;

}
.main_logo {
    position: relative;
    max-width: 150px;
    /* height: auto; */
}
.heading-image {
    display: block;
    max-width: 300px;

}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    max-width: 300px;
}

.heading-container:hover .hover-image {
    opacity: 1;
}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    /* hide the hamburger menu */

    #hamburger_checkbox {
        display: none;
    } 
    .main_logo {
        position: relative;
        max-width: 180px;
       

        /* height: auto;    */
    } 
    #hamburger_image {
        display: none;
    }
    
    .header-content {
        display: flex;
        align-items: center;
        padding: 0 10px; 
        text-align: center;
        flex-direction: row;  
    }

    .heading-image {
        max-width: 300px;
    }

    .hover-image {
        max-width: 300px;
    }

    /* show the nav links */
    .menu {
        display: block !important;
        position: relative;
    }

    nav {
        float: right;
    }
    nav a {
        width: auto;
}
@media only screen and (min-width: 1200px) {
    .menu {
        display: block !important;
        position: absolute;
    }

}
}