@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

    ul {
        all: unset;
    }

    body {
      font-family: 'Lato', sans-serif;
      font-size:16px;
      font-weight: 300;
      margin: 0;
      -webkit-font-smoothing: subpixel-antialiased; /* Make Safari font consistent */
      display: flex;
      flex-direction: column;
    }
    
    header {
        position: fixed;
        background: #c8102E;
        height: 100px;
    }

    nav a:hover{
        color: pink;
    }

    .award-header {
        width: 100%;
        padding: 5%;
    }

    .flex-text {
        width: 100%;
    }

    .constrain {
        width: 90vw;
        max-width: 1400px;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
    }

    .link {
        text-decoration: none;
        text-transform: uppercase;
        font-size: 110%;
        color: white;
        padding: 10px;
    }

    .nav-dt {
        display: none;
    }

    .nav-m {
        display: block;
        height: 60px;
        width: 60px;
        margin-top: 25px;
        margin-left: auto;
        margin-right: 0;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: inline;
    }

    .award-logo {
        width: 90%;
        margin: auto;
        padding: 2.5%;
    }

    .fill {
        width: 100%;
    }

    .min { 
        diplay: inline; 
    }

    .wide { 
        display: none; 
    }

    .section-break { 
        background-color: black; 
        border: 0; 
        width: 90%; 
        max-width: 1400px; 
        height: 1px; 
        clear: both;
    }

    .burger-button {
        background: none;
        color: inherit;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        outline: inherit;
    }

    .mobile-menu {
        position: fixed;
        background-color: rgba(200,16,46,0.75);
        background-blend-mode: multiply;
        width: 100%;
        margin-top: 105px;
        margin-bottom: -105px;
        max-height: 0px;
        overflow: hidden;
        transition: max-height 1s;
        z-index: 500;
    }

    .mobile-menu-link {
        width: 100%; 
        text-align: center;
        font-size: 120%;
        font-weight: 400;
        padding: 15px;
    }

    .mobile-menu-link:hover {
        color: pink;
    }

    .sponsor-line {
        width: 100%;
        text-align: center;
        margin: 1em 1em 0em 1em;
    }

    .supporter-logo {
        height: 120px;
        padding: 20px;
    }

    .supporter-logo:hover {
        cursor: pointer;
        opacity: 0.75;
    }

    .banner-header {
        padding: 0;
        width: 100%;
    }

    .banner-header:hover {
        background: rgb(147,96,55);
        cursor: pointer;
    }

    .banner-body {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.6s ease-out;
    }

    button {
        border: 0;
    }

    button h1 {
        color: white; 
        font-size: 245%; 
        text-transform: uppercase; 
        text-align: center;
    }

    .flex-text h1 {
        text-align: center;
    }

    @keyframes heartbeat {
        0% {opacity: 1;}
        50% {opacity: 0.5;}
        100% {opacity: 1;}
    }

    .header-logo {
        animation-name: heartbeat;
        animation-duration: 1.7s;
        animation-iteration-count: infinite;
    }

    .header-logo:hover {
        animation: none;
        opacity: 1;
    }

    .nav-m:hover {
        opacity: 0.75;
    }

    .supporter-logo:hover {
        cursor: pointer;
    }

    .nominate-button {
        width: 12em;
        height: 3em;
        border-radius: 5em;
    }

    .nominate-button p {
        color: white;
        font-size: 135%;
        padding-top: 0.45em;
        text-align: center;
    }

    @media (max-width: 600px) {
        button h1{
            font-size: 190%; 
        }
    }

    @media (min-width: 720px) {

        .award-logo {
            width: 45%;
            margin: auto;
            padding: 2.5% 1%;
        }  

        .min {
            display: none;
        }

    }

    @media (min-width: 920px) {
        
        .award-header {
            width: 300px;
            padding: 0%;
            margin-top: 10px;
            margin-bottom: auto;
        }

        .flex-text {
            width: calc(100% - 350px);
            padding-left: 50px;
        }

        .flex-text h1 {
            text-align: left;
        }

        .nav-dt {
            display: block;
            margin-top: 15px;
            margin-left: auto;
            margin-right: 0;
            text-align: center;
            line-height: 70px;
        }

        .nav-m, .mobile {
            display: none;
        }

        .desktop {
            display: inline;
        }

        .award-logo {
            width: 28%;
            margin: auto;
            padding: 2.5% 1%;
        } 

        .mobile-menu {
            display: none;
        }

    }

    .award-logo:hover {
        opacity: 0.85
    }

    header .constrain {
        max-width: 3160px;
        width: 90vw;
        padding-left: 5vw;
        padding-right: 5vw;
    }

/* COLOURS */

    .pride-of-essex {
        background: rgb(200,16,46);
    }
    .pride-of-essex:hover {
        background: rgb(255,69,98);
    }
    .pride-of-essex-pale {
        background: rgba(200,16,46,0.1);
    }

    .ultimate-award {
        background: rgb(0,113,185);
    }
    .ultimate-award:hover {
          background: rgb(30,143,215);
    }
    .ultimate-award-pale {
          background: rgba(0,113,185,0.1);
    }

    .team-of-pride {
        background: rgb(0,113,185);
    }
    .team-of-pride:hover {
          background: rgb(30,143,215);
    }
    .team-of-pride-pale {
          background: rgba(0,113,185,0.1);
    }

    .community-champion {
        background: rgb(0,156,61);
    }
    .community-champion:hover {
        background: rgb(30,186,91);
    }
    .community-champion-pale {
        background: rgba(0,102,51,0.1);
    }

    .unsung-hero {
        background: rgb(0,159,180);
    }
    .unsung-hero:hover {
        background: rgb(30,189,210);
    }
    .unsung-hero-pale {
        background: rgba(0,159,180,0.1);
    }

    .child-of-courage {
        background: rgb(215,9,38);
    }
    .child-of-courage:hover {
        background: rgb(245,39,68);
    }
    .child-of-courage-pale {
        background: rgba(215,9,38,0.1);
    }

    .inspirational-youth {
        background: rgb(223,0,103);
    }
    .inspirational-youth:hover {
        background: rgb(253,30,133);
    }
    .inspirational-youth-pale {
        background: rgba(223,0,103,0.1);
    }

    .star-of-essex {
        background: rgb(249,178,45);
    }
    .star-of-essex:hover {
        background: rgb(255,208,75)
    }
    .star-of-essex-pale {
        background: rgba(249,178,45,0.1);
    }

    .judges-choice {
        background: rgb(186,156,61);
    }
    .judges-choice:hover {
        background: rgb(216,186,91)
    }
    .judges-choice-pale {
        background: rgba(186,156,61,0.1);
    }

/* AWARD PAGES */

    .award-header {
        width: 50%;
        padding: 5%;
    }

    .flex-text {
        width: 100%;
    }

    .winner-image {
        width: 90%;
        height: auto;
        padding: 5% 5% 0 5%;
    }

    .winner-text {
        width: 100%;
        padding: 0 5% 5% 5%;
    }

    .winner-break {
        width: 90%;
        margin-top: -10px;
    }

    @media (min-width: 920px) {
        .award-header { 
            width: 250px;
            padding: 0%;
            margin-top: 10px;
            margin-bottom: auto;
        }
        .flex-text {
            width: calc(100% - 300px);
            padding-left: 50px;
        }
        .winner-image {
            width: 300px;
            height: 300px;
            padding: 28px 0 0 28px;
        }
        .winner-text {
            width: calc(100% - 378px);
            padding: 0 25px;
            margin: 0;
        }
        .winner-break {
            width: 95%;
            margin-top: 37px;
        }
    }

/* BURGER BUTTON ANIMATION */

    .visuallyHidden {
        position: absolute;
        overflow: hidden;
        clip: rect(0 0 0 0);
        height: 1px; width: 1px;
        margin: -1px; padding: 0; border: 0;
    }

    .container {
        width: 100%;
        height: 100%;
        margin: 0;
        display: flex;
        justify-content: space-between;
    }

    .hamburger {
        margin: 0 auto;
        margin-top: 0;
        width: 50px;
        height: 50px;
        position: relative;
    }

    .hamburger .bar {
        padding: 0;
        width: 50px;
        height: 6px;
        background-color: white;
        display: block;
        border-radius: 4px;
        transition: all 0.4s ease-in-out;
        position: absolute;
    }

    .bar1 {
        top: 6px;
    }

    .bar2, .bar3 {
        top: 22px;
    }

    .bar3 {
        right: 0;
    }

    .bar4 {
        bottom: 6px;
    }

    .checkbox2:checked + label > .hamburger2 > .bar1{
        transform: translateX(40px);
        background-color: transparent;
    }

    .checkbox2:checked + label > .hamburger2 > .bar2{
        transform: rotate(45deg);
    }

    .checkbox2:checked + label > .hamburger2 > .bar3{
        transform: rotate(-45deg);
    }

    .checkbox2:checked + label > .hamburger2 > .bar4{
        transform: translateX(-40px);
        background-color: transparent;
    }