/* First big part of the PHP structure */
header {
    height: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;

    position: sticky;
    top: 0;

    background-color: black;
}

/* This holds both the Title and Nav */
header .block {
    height: min-content;
    width: auto;
    min-width: 0;
    flex: 1;

    margin: 10px;
    gap: 20px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    /*background-color: rgb(167, 33, 56);*/
}

/* Title of the page */
header h1 {
    white-space: nowrap;

    /*background-color: rgb(75, 117, 20);*/
    color: rgb(255, 255, 255);
}

/* This should only hold navigational links or buttons, NOT logo's or title's */
header nav {
    height: fit-content;
    min-width: 0;

    column-gap: 20px;
    row-gap: 10px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    /*background-color: rgb(107, 12, 12);*/
    color: rgb(255, 255, 255);
}

/* Every immediate child of stuff in the nav */
header nav > * {
    white-space: nowrap;

    padding: 10px;
    border-radius: 10px;

    background-color: rgb(65, 65, 65);
    color: rgb(255, 255, 255);

    text-decoration: none;
}

header nav > *:hover {
    background-color: rgb(78, 78, 78);
}



@media (max-width: 47.99rem) {
    header .block {
        flex-direction: column;
        gap: 10px;
    }
}

