:root {
    --color1: hsl(180, 49%, 75%);
    --color1: hsl(229, 48%, 75%);
    --color1: hsl(228, 58%, 92%);
    --color2: white;
    --color2-hover: rgb(231, 231, 231);
    --color2-hover: rgb(248, 248, 248);
    --color-clock: var(--color1);
    --text-color: black;
}

html, body, .site {
    margin: 0;
    padding: 0;
}

#particles-js {
    top: 0;
    height: 100%;
    width: 100vw;
    position: fixed;
    z-index: -1;
}

.site {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* max-height: 100vh; */
    width: 100%;
    height: 100%;
    font-family: 'Raleway',sans-serif;
    /* background-color: antiquewhite; */
}

.rubrik {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin: 2rem 0 8rem 0; */
    margin: 2rem 0 2.5rem 0;
}

h1 {
    font-size: 4rem;
    margin: 2rem;
    display: none;
}

.lower {
    margin: 0.7em 0;
    /* margin-bottom: 23px; */
}

.flex-container {
    display: flex;
    flex-direction: row;
    /* flex-direction: column; */
    justify-content: space-around; 
    background-color: var(--color1);
    min-width: 40vw;
    min-height: 25vh;
    padding: 1em 1em 3em 1em;
    margin-top: 6vh;
    border-radius: 10px;
    box-shadow: 0px 0px 80px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
}

.flex-container > div {
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.links > a {
    padding: 10px 15px;
    margin: 5px 0;
    text-align: center;
    min-width: 13rem;
    height: 2rem;
    background-color: var(--color2);
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway';
    color: var(--text-color);
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    transition-property: background, box-shadow; 
}
.links > a:hover {
    /* color: var(--color1); */
    background-color: var(--color2-hover);
    box-shadow: 0 0 10px var(--color2-hover);
    text-decoration: none;
}

.links > a > img {
    height: 100%;
    padding: 0 5px;
}

.new-tab {
    width: 15px;
    z-index: 100;
}




@media screen and (max-width: 1500px) {
    h1 {
        display: none;
    }

    .rubrik {
        margin: 1rem auto 3rem auto;
    }

    .flex-container {
        box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
        backdrop-filter: blur(8px);
        width: 70%;
    }
}


@media screen and (max-width: 900px) {
    .site {
        max-height: unset;
    }

    h1 {
        font-size: 3rem;
        margin: 1rem;
    }

    .rubrik {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 2rem auto 0rem auto;
    }

    .flex-container {
        flex-direction: column;
        margin-bottom: 5rem;
        margin-top: 4vh;
        box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
        backdrop-filter: blur(8px);
        width: 80%;
    }

    .flex-container > div:not(:first-child) {
        margin-top: 0.8rem;
    }

    .links > a {
        padding: 8px 15px;
        margin: 5px 0;
        text-align: center;
        min-width: 12rem;
        height: 2rem;
        transition: 0.0s;
    }
    h2 {
        margin: 8px auto;
    }
}