@import url(https://fonts.googleapis.com/css2?family=Source+Code+Pro);
:root {
    --color-bg: #2e3440;
    --color-bg-light: #3b4252;
    --color-fg: #d8dee9;
    --color-link-hover: #8fbcbb;
    --color-link: #81a1c1;
    --font-family: "Source Code Pro", monospace;
}

* {
    box-sizing: border-box;
    text-transform: lowercase;
}

html,
body {
    overflow: hidden;
    background: var(--color-bg);
    color: var(--color-fg);
    font-family: var(--font-family);
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    height: 100%;
    position: absolute;
}

header div#img {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header div#img img {
    width: 25vw;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
}

main #content {
    left: 0;
    position: absolute;
    width: 85%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
}

main #head {
    text-align: left;
}

main #links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

main #links section {
    margin: 0 15px;
}

#search {
    font-size: 2.15vw;
    white-space: nowrap;
}

#search input {
    width: 75%;
    display: inline-block;
    border: none;
    background-color: var(--color-bg-light);
    padding: 10px;
    color: var(--color-fg);
    font-family: var(--font-family);
    font-size: 2vw;
    border-radius: 8px;
}

#search input:focus {
    outline: none;
}

ul {
    text-align: center;
    padding: 0;
}

h3 {
    font-size: 2.15vw;
}

li {
    font-size: 1.2vw;
    list-style-type: none;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: var(--color-link);
    transition-duration: 0.2s;
}

a:hover {
    color: var(--color-link-hover);
    transition-duration: 0.2s;
}

img {
    border-radius: 6px;
}

@keyframes opacity {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
