:root {
    --Color1: black;
    --Color2: white;
    --Color3: gold;
    overflow-x: hidden;
}

@font-face {
    font-family: "Raleway";
    src: url(fonts/Raleway-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: "ItalicRaleway";
    src: url(fonts/Raleway-Italic-VariableFont_wght.ttf) format("truetype");
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Raleway';
}

.ver {
    display: flex;
    flex-direction: column;
}

.hor {
    display: flex;
    flex-direction: row;
}

header {
    background-color: var(--Color1);
}

#headernav {
    list-style-type: none;
}

.hdiv {
    display: flex;
    flex-direction: row;
    height: 8vh;
    justify-content: space-between;
    width: 90vw;
    z-index: 1000;
    padding: 1vh 5vw;
}

#menu-items {
    transition: 0.3s;
    padding: 1vh;
    transition: 0.3s;
    background-color: var(--Color1);
    transform: translate(100vw, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#menu-items.clicked {
    transform: translate(0, 0);
    border-left: 1vw solid var(--Color3);
}

#menu-items>nav>li {
    margin: 1vh;
    text-align: center;
}

#menu-items>nav>li>a {
    font-size: 4vh;
    color: var(--Color2);
    text-decoration: none;
    transition: 0.3s;
}

#logo {
    height: 100%;
}

#headercont {
    height: 10vh;
    z-index: 1000;
    position: fixed;
}

#headercont.opened{
    height: 36vh;
}


footer {
    text-align: center;
    border-top: 0.5dvh solid var(--Color3);
    background-color: var(--Color2);

    #footdiv {
        h2 {
            color: var(--Color1);
        }

        justify-content: space-around;

        span {
            align-items: center;

            ul {
                padding: 0;
                list-style-type: none;
                text-align: center;

                li {
                    margin: auto;
                }
            }
        }
    }

    a {
        text-decoration: underline;
        transition: 0.3s;

        color: var(--Color1);
    }

    a:hover {
        text-shadow: 0dvh 0dvw 0.3dvw var(--Color3);

    }

    #credits {
        background-color: var(--Color1);
        margin-bottom: 0;
        border-top: 0.3dvh solid var(--Color3);
        color: var(--Color2);
        font-weight: 400;
        a {
            font-family: Arial, Helvetica, sans-serif;
            font-weight: 500;
            color: var(--Color3);
            text-shadow: 0dvh 0dvw 0.3dvw var(--Color1);
            transition: 0.4s;
        }

        a:hover {
            text-shadow: 0dvh 0dvh 1dvh var(--Color2);
        }
    }
}

@media all and (orientation:portrait) {
    #landscapeHeader {
        display: none;
    }

    #hamburger-lines {
        transform: rotate(180deg);
        cursor: pointer;
        margin-top: 1vh;
        display: flex;
        flex-direction: column;
        height: 80%;
        justify-content: space-between;
    }

    .line {
        background-color: var(--Color2);
        width: 6vh;
        height: 1vh;
        border-radius: 1vh;
        transition: 0.3s;
    }

    .line1 {
        transform: rotate(0deg) translate(0vh, 0vh);
        transform-origin: 3vh;
    }

    .line2 {
        transform: scaleY(100%);
    }

    .line3 {
        transform: rotate(0deg) translate(0vh, 0vh);
        transform-origin: 3vh;

    }

    .line1c {
        transform: rotate(45deg) translate(1.9vh, 1.9vh);
        transform-origin: 3vh;
    }

    .line2c {
        transform: scaleY(0);
    }

    .line3c {
        transform: rotate(-45deg) translate(1.9vh, -1.9vh);
        transform-origin: 3vh;

    }

    #psec {
        width: 100vw;
        margin-top: 10vh;
    }

    #headercont {
        margin-top: -10vh;

    }

    #portraitHeader {
        width: 100svw;
    }

    #footdiv {
        padding-top: 5svw;
        display: flex;
        flex-direction: column;

        h2 {
            font-size: 5lvw;
            margin-top: 4lvw;
            margin-bottom: -1lvw;
        }

        a {
            font-size: 4lvw;
        }
    }

    #credits {
        margin-top: 5lvw;
        font-size: 5lvw;
    }
}

@media all and (orientation:landscape) {

    #portraitHeader,
    #menu-items {
        display: none;
    }

    #landscapeHeader {
        background-color: var(--Color1);
        width: 80dvw;
        height: 10dvh;
        padding-left: 10dvw;
        padding-right: 10dvw;
        justify-content: space-between;

        #logo {
            margin-top: 0.5dvh;
            height: 9dvh;
        }

        nav>li {
            width: 15dvh;
            list-style: none;
            padding-top: 3.2dvh;
            text-align: center;
        }

        nav>li>a {
            color: var(--Color2);
            text-decoration: none;
            font-size: 3dvh;
            transition: 0.4s;
        }

        nav>li>a:hover {
            color: var(--Color3);
            transition: 0.3s;

        }
    }
}