/* Basic colours and stuff */
:root {
    --bg-color: #111111;
    --header-color: #ffce1a;
    --body-text-color: #ffffff;
    --header-font: "Roboto Mono", monospace;
    --body-font: "SF Pro Display", -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
    background-color: var(--bg-color);
    font-size: 17.5px;
    line-height: 1.6;
}

h1 {
    color: var(--header-color);
    font-family: var(--header-font);
}

h2,
h3,
h4 {
    color: var(--body-text-color);
    font-family: var(--header-font);
}

a,
.accent,
.accent>span {
    color: var(--header-color);
}

p,
li,
span {
    color: var(--body-text-color);
    font-family: var(--body-font);
}

.subtitle {
    color: var(--body-text-color);
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    width: 50%;
}

/* Positioning */
.container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    width: 70%;
}

button {
    padding: 20px 60px;
    background-color: #000;
    border: none;
    font-size: 18px;
    position: relative;
    /* overflow: hidden; */
    transition: 500ms;
}

button span {
    color: gray;
    position: relative;
    transition: 500ms;
    transition-delay: 500ms;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

button:before {
    content: '';
    position: absolute;
    width: 0%;
    height: 0%;
    left: 50%;
    right: 50%;
    top: 50%;
    bottom: 50%;
    transition: 500ms;
    transition-delay: 500ms;
    background-color: yellow;
    box-shadow: 0 0 10px yellow,
        0 0 30px yellow,
        0 0 50px yellow;
}

button div {
    transition: 500ms;
    position: absolute;
    background-color: yellow;
    box-shadow: 0 0 15px yellow, 0 0 30px yellow, 0 0 50px yellow;
}

button .top {
    width: 15px;
    height: 2px;
    top: 0;
    left: 0;
}

button .bottom {
    width: 15px;
    height: 2px;
    bottom: 0;
    right: 0;
}

button .left {
    width: 2px;
    height: 15px;
    top: 0;
    left: 0;
}

button .right {
    width: 2px;
    height: 15px;
    bottom: 0;
    right: 0;
}

button:hover {
    color: #000;
}

button:hover span {
    color: #000;
}

button:hover:before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

button:hover .top,
button:hover .bottom {
    width: 100%;
}

button:hover .left,
button:hover .right {
    height: 100%;
}


#hamburger {
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    padding: 4px;
    display: inline-block;
    border-radius: 48px;
    cursor: pointer
}

.navLine {
    display: block;
    height: 2px;
    background: #ece176fd;
    margin-top: 7px;
    width: 60%;
    margin-left: 20%;
    transition: all 180ms linear
}

#hamburger:hover .navLine:nth-child(2) {
    width: 0%;
}

#hamburger:hover .navLine:nth-child(2):after {
    opacity: 1
}

.navLine:nth-child(2):after {
    content: "MENU";
    float: right;
    color: #fff;
    font-size: 10px;
    margin-top: -6px;
    margin-right: -25px;
    opacity: 0;
}

.navbar {}

#rtlNav {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    height: 100vh;
    background: #000;
    transition: all 180ms linear;
    z-index: 999;
    transform: translateX(100%)
}

.activeClass {
    transform: translateX(0%) !important
}


.subNavLinks {
    transform: translateX(10%) !important;
    display: inline-block;
    text-decoration: none;
    font-size: 2.4em;
    font-weight: bold;
    text-transform: uppercase;
    color: #fffb00;
}

.subNavLinks:after {
    display: block;
    content: '';
    border-bottom: solid 3px #fbff00;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

.subNavLinks:hover:after {
    transform: scaleX(1);
}

.subNavLinks.fromRight:after {
    transform-origin: 100% 50%;
}

.subNavLinks.fromLeft:after {
    transform-origin: 0% 50%;
}

.subNavLinks:hover {
    color: #fff
}


#closeMenu:hover {
    color: #d0d587
}

#closeMenu {
    float: right;
    margin-right: 48px;
    margin-top: 24px;
    color: #ffee00;
    font-size: 2em;
    cursor: pointer
}

#linkFlexOuter {
    display: flex;
    align-items: center;
    height: 100vh;
    width: 100%;
}

#linkFlexInner {
    flex: 1
}