@import url(config.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    cursor: default;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
}

::selection {
    color: var(--color-background);
    background-color: var(--color-primary);
}

html, body {
	scroll-behavior: smooth;
}

#bg {
    background-color: var(--color-background);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    color: var(--color-primary);
    z-index: auto;
    font-size: var(--font-size);
}

header {
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 3em;
    background: linear-gradient(
        var(--color-background),
        transparent
    );
    -webkit-user-select: none;
    user-select: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

header h1 {
    font-size: 1.5em;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

header nav ul li a {
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
    font-size: .9em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

header nav ul li a:hover {
    text-decoration: underline;
}

.content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 20px;
    background: radial-gradient(
        rgba(0,0,0,.8),
        rgba(0,0,0,.8),
        transparent
    );
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    font-weight: normal;
}

.content h1 { font-size: 3.6em; }
.content h2 { font-size: 2.4em; }
.content h3 { font-size: 1.6em; }
.content h4 { font-size: 1.2em; }
.content h5 { font-size: .9em; }
.content h6 { font-size: .8em; }

.content#home h1 { font-size: 4em; }
.content#home h2 { font-size: 1.4em; }

.content button {
    border: 3px var(--color-primary) solid;
    border-radius: 0;
    background-color: transparent;
    color: var(--color-primary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    line-height: 2.5em;
    padding: 0 20px;
    cursor: pointer;
    position: relative;
}

.content button::before {
    content: '»';
    display: inline-flex;
    margin-right: 0;
    opacity: 0;
    overflow: hidden;
    width: 0;
    transition: all .2s ease;
    transform: translateY(-4%);
}

.content button:hover::before {
    opacity: 1;
    width: auto;
    margin-right: .5em;
}

.content button::after {
    content: '«';
    display: inline-flex;
    margin-left: 0;
    opacity: 0;
    overflow: hidden;
    width: 0;
    transition: all .2s ease;
    transform: translateY(-4%);
}

.content button:hover::after {
    opacity: 1;
    width: auto;
    margin-left: .5em;
}

.content a {
    text-decoration: none;
    color: var(--color-primary);
    cursor: pointer;
}

.content a:hover {
    text-decoration: underline;
}

.content ul {
    list-style: none;
}

.content p,
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content ul,
.content ol {
    max-width: 800px;
    line-height: 1.5em;
    font-weight: normal;
}

.content p,
.content ul,
.content ol {
    font-size: 1.2em;
}

.content p {
    text-align: justify;
}

.content .blocks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: .5em 40px;
}

footer {
    padding: 20px;
    text-align: center;
    color: var(--color-primary);
}

footer a {
    text-decoration: none;
    color: var(--color-primary);
    cursor: pointer;
}

footer a:hover {
    text-decoration: underline;
}