:root {
    --ariit-deep-blue: rgb(25, 76, 124);
    --ariit-blue: rgb(36, 110, 181);
    --ariit-lightblue: rgb(126, 173, 217);
    --ariit-lightgrey: rgb(145, 145, 145);
    --ariit-grey: rgb(76, 76, 76);
    --ariit-dark-grey: rgb(40, 40, 40);
    --ariit-black: rgb(20, 20, 20);
    --ariit-bone: rgb(200, 200, 200);
}

@font-face {
    font-family: 'Mina Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Mina Regular'), url('../assets/fonts/Mina-Regular.woff') format('woff');
}


@font-face {
    font-family: 'Mina Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Mina Bold'), url('../assets/fonts/Mina-Bold.woff') format('woff');
}

html,
body {
    background-color: var(--ariit-bone);
    padding: 0;
    margin: 0;
    font-family: 'Mina Bold';
}

header {
    background-color: red;
    width: 100vw;
    height: 100px;
    display: flex;
}

#welcome-logo {
    width: 200px;
    height: 100%;
    background-color: white;
    background-image: url('../assets/ariit-logo.png');
    background-size: 200px;
    background-repeat: no-repeat;
    background-position: center;
}

#navigation {
    float: right;
    width: calc(100% - 200px);
    height: 100%;
    background-color: VAR(--ariit-blue);
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, VAR(--ariit-blue) 50%, VAR(--ariit-blue) 100%); 
    margin: 0;
    height: 100%;
}

#navigation ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

#navigation ul li {
    margin-left: 7vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#navigation ul li:last-child {
    padding-right: 8vw;
}

#navigation ul li a {
    line-height: 74px;
    text-decoration: none;
    color: var(--ariit-bone);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1000px) {
    header {
        height: 200px;
    }

    #navigation ul {
        all: unset;
        display: grid;
        grid-auto-flow: column dense;
        grid-template-rows: 50% 50%;
        grid-auto-columns: auto;
        column-gap: 50px;
        justify-content: center;
    }

    #navigation ul li:nth-child(4n + 2) {
        grid-row: 1;
    }

    #navigation ul li {
        width: 100%;
        height: 100px;
        margin-left: 2vw;
    }

    #navigation ul li:last-child {
        padding-right: 0;
    }
}

@media (max-width: 700px) {
    header {
        height: 300px;
    }

    #navigation ul {
        all: unset;
        display: grid;
        /* grid-auto-flow: column dense; */
        grid-template-rows: 20% 20% 20% 20% 20%;
        grid-auto-columns: auto;
        /* column-gap: 50px; */
        justify-content: center;
    }

    #navigation ul li {
        width: 100%;
        height: calc(300px / 5);
        margin-left: 1vw;
    }
}

footer {
    width: 100vw;
    height: 40px;
    margin-bottom: 20px;
    background-color: var(--ariit-blue);
    font-family:'Mina Regular';
}

@media (max-width: 470px) {
    footer {
        height: 80px;
    }
}
