@import url(fonts/icons.css);
@import url(variables.css);
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}
@font-face {
  font-family: 'dm mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/DMMono-Regular.ttf) format('ttf');
}
* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    animation-duration: 1s;
    font-family: 'dm mono', monospace;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100svh;
    padding: 0 1em;
}

img {
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: var(--img-border);
    max-width: 150px;
}

#who {
    color: var(--text-color);
    font-size: clamp(25px, 8vw, 30px);
    margin-bottom: 10px;
}

#footer {
    color: var(--text-color-light);
    font-size: clamp(12px, 8vw, 20px);
    margin-bottom: 20px;
}

button {
    background-color: var(--btn-bg);
    border: var(--btn-border);
    border-radius: 5px;
    padding: 15px;
    font-size: clamp(18px, 2vw, 20px);
    color: var(--btn-color);
    cursor: pointer;
    font-family: 'dm mono', monospace;
    margin: 5px;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

a {
    text-decoration: none;
    color: var(--ahref-color);
    font-family: 'dm mono', monospace;
}

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

.icon {
    padding: 5px;
    font-style: normal;
    border: 2px dashed;
    color: var(--icon-color);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: var(--icon-bg);
}

button:hover {
    background-color: var(--btn-hover-bg);
    border-radius: 5px;
    padding: 20px;
    font-size: clamp(20px, 2vw, 25px);
}

::selection {
    background-color: var(--selection)
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px;
    height: 4px
}

::-webkit-scrollbar-button {
    display: none
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar)
}

@media (max-width: 870px) {
    .flexbox {
        flex-direction: column;
    }
    button {
        width: 100%;
    }
}