﻿.page {
    display: grid;
    grid-template-columns: 0px auto;
    grid-template-rows: 75px auto;
}

header {
    position: fixed;
    top: 0px;
    width: 100%;
    background-color: #244C6D;
    height: 75px;
    box-shadow: 0px 0px 23px -4px rgba(0, 0, 0, 0.75);
    z-index: 100;
}

    header .header-contents {
        display: grid;
        grid-template-columns: 145px 1px auto;
        grid-gap: 0px;
        height: 100%;
        padding-left: 25px;
    }

        header .header-contents .logo {
            justify-self: end;
            align-self: center;
            margin-right: 6px;
        }

        header .header-contents .divider {
            height: 30px;
            background-color: rgba(255, 255, 255, 0.40);
            width: 1px;
            align-self: center;
        }

        header .header-contents .tagline {
            justify-self: start;
            align-self: center;
            font-size: 14px;
            display: inline-block;
            text-transform: uppercase;
            letter-spacing: 1.3px;
            color: #dcdcdc;
            font-weight: 600;
            margin-left: 6px;
        }

        header .header-contents .nav-toggle {
            align-self: center;
            justify-self: start;
            background-color: transparent;
            border: none;
            display: none;
        }

.sidebar {
    /*grid-column: 1/2;
    grid-row: 2/3;*/
    position: fixed;
    left: 0;
    top: 75px;
    background-color: white;
    width: 235px;
    height: calc(100dvh - 75px);
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

    .sidebar::-webkit-scrollbar {
        display: none; /* Chrome, Safari, and Opera */
    }

main {
    grid-column: 2/3;
    grid-row: 2/3;
}

@media (max-width: 1000px) {

    .page {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 75px auto;
    }

    main {
        grid-column: 1/2;
    }

    header .header-contents {
        grid-template-columns: 0px 146px 1px auto;
    }

        header .header-contents .nav-toggle {
            display: block;
        }

    .sidebar {
        grid-column: unset;
        grid-row: unset;
        width: 250px;
        left: -250px;
        top: 75px;
    }

        .sidebar.show {
            left: 0px;
        }
}


@media (max-width: 700px) {
    header .header-contents {
        padding-left: 0px;
        grid-template-columns: 12px 146px 1px auto;
    }
}



@media (max-width: 550px) {

    header .header-contents .tagline {
        font-size: 13px;
        letter-spacing: 1px;
    }
}
