@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;1,100&display=swap');

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100vh;
}

html {
    background: rgb(233,233,233);
    background: linear-gradient(162deg, rgba(233,233,233,1) 0%, rgba(213,213,245,1) 100%);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.bg-loading {
    background: url(loading.gif) no-repeat 50% 50%;
    background-size: 20%;
}

#main {
    padding: 0 20px;
    flex: 1;
    max-width: 640px;
    height: 240px;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

#main div {
    transition: opacity 0.4s ease;
}

#header {
    margin-bottom: 5px;
    font-size: 40px;
    color: #47245c;
    font-weight: 500;
}

#subheader {
    margin-bottom: 35px;
    font-size: 30px;
    color: #735b81;
    font-weight: 100;
}

#linkscontainer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

a {
    font-size: 25px;
    color: #466ef1;
    transition: color 0.1s ease;
}

a:hover {
    color: #8da6f7;
    transition: color 0.1s ease;
}

#pojectlink {
    display: inline-block;
    margin: 0 auto 40px;
    padding: 10px 50px;
    border-radius: 4px;

    text-decoration: none;
    color: white;
    background: linear-gradient(90deg, #7b98e9 0%, #7ee0e0 100%);
    box-shadow: 0px 0px 25px 0px #8bd0f780;
    text-shadow: 0 1px 0 #5f7ed3;

    transition: opacity 0.2s ease;
}

#pojectlink:hover {
    opacity: 0.7;

    transition: opacity 0.2s ease;
}

.github-link {
    font-size: 20px;
    color: black;
    text-decoration: none;
}

.github-link:hover {
    text-decoration: underline;
    color: black;
}

.hide {
    height: 0;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 480px) {
    #main {
        text-align: center;
    }
    #header {
        font-size: 30px;
    }
    #subheader {
        font-size: 25px;
    }
}
