/* Import variables */
@import url(variables.css);

/* Font Face */
@font-face {
    font-family: 'j';
    font-weight: 400;
    src: url(../fonts/SpaceMono-Regular.ttf);
    font-display: swap;
}

/* Keyframes */
@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    to { opacity: 1; }
}

/* Text Selection */
::selection {
    background-color: var(--selection);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent);
}

/* Global Styles */
* {
    font-family: 'j';
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

/* Headings and spans */
h1, span {
    font-weight: 400;
    color: var(--text);
}

/* Links */
.lnk {
    text-decoration: none;
    color: var(--text);
    transition: 0.6s ease-in-out;
}

.lnk:hover {
    color: var(--texthov);
}

a {
    margin: 0 10px;
    text-decoration: none;
}

/* Body */
body {
    background-color: var(--background);
    background-image: url(../images/topography.svg);
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    animation-duration: 1s;
}

/* Centered container */
.g {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 80vh;
}

/* Icons */
i {
    font-style: normal;
    font-size: 24px;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

.fa-brands {
    color: var(--icons);
    transition: 0.3s ease-in;
}

.fa-brands:hover {
    color: var(--accent);
}

/* Card / Box */
.terrorist {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    border: 2px solid var(--accent);
    border-radius: 6px;
    padding: 16px;
    margin: 96px 32px;
    max-width: 100%;
    min-width: 200px;
}
