@import url('colors.css');

header {
    display: flex;
    flex-direction: column;
    /* background-color: rgb(60, 88, 152); (Was going to be the secondary colour but it just ended up looking like facebook.*/
    background-color: var(--black1);

    border-bottom: 10px solid var(--white1);
}

#headerMain {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding-top: 10px;
}

#headerMainLeft {
    margin-left: 5%;
    max-width: 15%;
    width: 15%;
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 10px;
}

#headerMainLeft > input {
    flex-grow: 1;
    min-width: none;
}

#headerMainCentre > h1 {
    margin: 0px;
    font-size: 54px;
    color: var(--white1);
}

#headerMainRight {
    margin-right: 5%;
    max-width: 15%;
    width: 15%;
    display: flex;
    flex-direction: row;
    justify-content: right;
    gap: 10px;
}

#headerMainRight > a {
    color: var(--white1);
    text-decoration: none;
    transition: 0.2s;
}

#headerMainRight > :hover {
    color: var(--white1-hover-dark);
}

#headerNav {
    display: flex;
    justify-content: center;
    height: 40px;
}

#headerNav > ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 27%;
    max-width: 500px;
    min-width: 440px;
    margin: 0px;
    padding: 0px;
    align-items: center;
}

#headerNav > ul > li > a{
    text-decoration: 0px;
    color: var(--white1-hover-dark);
    transition: 0.2s;
}

#headerNav > ul > li > a:hover{
    text-decoration: 0px;
    color: var(--white1);
}

#headerNav > ul > li > a.headerNavCurrentPage {
    color: var(--white1);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

#headerNav > ul > li > a.headerNavCurrentPage:hover {
    color: var(--white1-hover-dark);
}

@media (max-width: 1000px) {
    #headerMainLeft {
        width: 0%;
        display: none;
    }

    #headerMainRight {
        width: 0%;
        display: none;
    }

    #headerMainCentre {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}




@media (max-width: 590px) {
    #headerMainCentre > h1 {
        font-size: 34px;
    }

    #headerNav {
        padding-left: 35%;
        padding-right: 35%;
    }

    #headerNav > ul {
        min-width: 300px;
    }

    #headerNav > ul > li > a {
        font-size: 12px;
    }

    #headerMain {
        height: 24px;
    }

    #headerNav {
        height: 24px;
        padding-bottom: 5px;
    }
}

@media (max-width: 400px) {
    #headerMainCentre > h1 {
        font-size: 24px;
    }
    #headerNav > ul {
        min-width: 240px;
    }
    #headerNav > ul > li > a {
        font-size: 10px;
    }
    #headerNav {
        height: 14px;
        padding-bottom: 10px;
    }
}


    