@font-face {
    font-family: "Fahkwang";
    src: url("../fonts/Fahkwang-Light.ttf");
}

@keyframes load-content {
    0% {
        transform: scale(0.9);
    }

    100% {
        transform: none;
    }
}

:root {
    --primaryColor: gray;
    --secondaryColor: gold;
}

* {
    box-sizing: border-box;
    /* border: thin solid red; */
    font-family: "Fahkwang";
    color: var(--primaryColor);
}

body {
    margin: 0;
    padding: 0;
}

p {
    margin: 0 0 20px 0;

    font-size: 20px;
}

nav {
    position: sticky;
    top: 0;

    display: flex;
    flex-wrap: wrap;

    padding: 0 100px 0 100px;

    background-color: white;
    box-shadow: 0 0 10px black;
    
    z-index: 2;
}

nav > a {
    width: 20%;
}

nav > a > img {
    width: 100%;
}

nav > div {
    display: flex;
    justify-content: center;
    align-items: start;

    width: 100%;
    padding: 20px 0 20px 0;
}

nav > div > a {
    margin: 0 10px 0 10px;
    padding: 10px;

    color: var(--primaryColor);
    text-decoration: none;
    font-size: 20px;

    transition: color 0.3s;
}

nav > div > a:hover {
    color: var(--secondaryColor);
}

nav > div > a.active {
    border-bottom: 2px solid var(--secondaryColor);
}

nav > p {
    margin: 0;
    width: 100%;
    padding: 0 100px 0 100px;

    font-size: 16px;
    text-align: center;
}

#content {
    padding: 50px 100px 150px 100px;

    animation-name: load-content;
    animation-duration: 1s;
}

#infoBar {
    position: fixed;
    bottom: 0;
    left: 0;

    display: flex;
    justify-content: space-between;

    width: 100%;
    padding: 20px 100px 20px 100px;

    background-color: rgb(255, 254, 246);
    box-shadow: 0 0 10px black;
}

#infoBar > div {
    display: flex;
    align-items: center;
}

#infoBar > div > span {
    padding: 0 10px 0 0;
    margin: 0 10px 0 0;

    border-right: thin solid black;
}

#infoBar > div > a {
    padding: 0 10px 0 10px;

    margin: 0 0 0 10px;
    width: 30px;
    height: 30px;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (orientation: portrait) {
    nav {
        justify-content: center;
    }

    nav > div {
        width: 100% !important;
    }

    #infoBar {
        flex-direction: column;
    }

    #infoBar > div {
        justify-content: center;

        width: 100%;
    }

    #infoBar > div > span {
        padding: 0 10px 0 10px;
        margin: 0;
    
        border-left: thin solid black;
    }
}