@font-face {
    font-family: "Roboto";
    src: url("/fonts/Roboto.ttf");
}

:root {
    --main-color: rgb(255,200,0);
    --main-font: Roboto;
    --pri: rgba(255,200,0,0.7);
    --main-color-bg: rgb(128,100,0);
    --main-color-bg-trans: rgba(128,100,0,0.7);
    --sec: rgba(128,0,255,1);
}

* {
    text-decoration: none;
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
}
body {
    background: url("/images/background.jpg");
    background-size: cover;
    background-position: center center;
    background-color: rgb(10,10,10);
    min-height: 100vh;
}
::selection {
    background-color: var(--main-color-trans);
}

.sociallink {
    width: 50px;
    height: 50px;
    overflow: hidden;
    display: inline-block;
    transition: width 0.1s, height 0.1s;
    padding: 20px;
}
.sociallink:hover {
    width: 60px;
    height: 60px;
    transition: width 0.1s, height 0.1s;
}
.sociallinkcontainer {
    height: 70px;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    vertical-align: middle;
    justify-content: center;
}
.link {
    cursor: pointer;
	transform-origin: center;
    user-select: none;
    padding-block-end: 20px;

    transition: color 0.5s, text-shadow 0.5s;
}

#linksdiv {
    margin-top: 100px;
    width: 100vw;

    display: flex;
    flex-direction: column;
}
#linksdiv img {
    width: 500px;
    margin: auto;

    transition: width 0.1s;
}
#linksdiv img:hover {
    width: 550px;
}

h1 {
    text-align: center;
    color: var(--main-color);
    font-family: var(--main-font);
    font-weight: 1000;
    font-size: 80px;

    text-shadow: 0 5px 10px var(--pri);
}
h2 {
    text-align: center;
    color: rgb(128,0,255);
    font-family: var(--main-font);
    font-weight: 1000;
    font-size: 40px;

    text-shadow: 0 4px 10px rgb(64,0,128);
}
h3 {
    text-align: center;
    color: rgb(255,255,255);
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 20px;

    text-shadow: 0 3px 10px rgb(128,128,128);
}
a {
    text-align: center;
    color: var(--main-color);
    font-family: Roboto;
    font-weight: 500;
    font-size: 40px;
   display: block;
}
p {
    text-align: center;
    color: white;
    font-family: Roboto;
    font-weight: 500;
    font-size: 40px;
}
button {
    text-align: center;
    color: white;
    font-family: var(--main-font);
    font-weight: 500;
    font-size: 20px;
    border: 0;
    width: 20ex;
    height: 2em;
    user-select: none;
    cursor: pointer;
    display: block;
    margin: auto;
    border-radius: 15px;
    background: var(--pri);

    transition: font-size 0.1s, height 0.1s, background 0.2s;
}
button:hover {
    height: 2.1em;
    font-size: 25px;
    background: linear-gradient(90deg, var(--pri), var(--pri), var(--pri));
    
    animation: backgroundloop;
    animation-duration: 4s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    transition: font-size 0.1s, height 0.1s, background 0.2s;
}
button:active {
    background: var(--pri);

    transition: font-size 0.1s, height 0.1s, background 0.2s;
}

#errorbutton {
    font-size: 30px;
    width: 50ex;
    height: 2em;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;

    border: 5px;
    border-color: var(--sec);
    border-style: solid;
    background-color: var(--pri);
    color: var(--sec);
    font-family: Roboto;

    transition: font-size 0.1s;
}
#errorbutton:hover {
    font-size: 40px;

    transition: font-size 0.1s;
}

#error {
    font-size: 100px;
    letter-spacing: 10vw;
    text-indent: 10vw;
}