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

* {
    font-family: "Roboto", sans-serif;
}

#stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

body {
    overflow-x: hidden;
    background-color: #00091e;
    height: 100vh !important;

    margin: 0;
}

.big {
    color: white;
    font-size: 50px;
}

.line-align > a {
    text-decoration: none;
    color: black;
}

.line-align > a:visited {
    text-decoration: none;
    color: black;
}

.line-align > hr {
    margin: 0;
    border-style: solid;
    background-color: black;

    width: 0;
    opacity: 0;
    animation: line-align-animation-un 0.2s ease-in-out;
}

.line-align {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;
}

.line-align:hover hr {
    width: 100%;
    display: block;
    opacity: 1;

    animation: line-align-animation 0.2s ease-in-out;
}

@keyframes line-align-animation-un {
    0% {
        display: block;
        width: 100%;
    }

    100% {
        display: none;
        width: 0;
        opacity: 0;
    }
}

@keyframes line-align-animation {
    0% {
        display: none;
        width: 0;
        opacity: 1;
    }

    100% {
        display: block;
        width: 100%;
    }
}

.tekst-opisu {
    position: absolute;
    bottom: 30px;
    left: 50%;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 5px;
    border-radius: 5px;
    opacity: 0;

    transform: translate(-50%);
    display: none;

    animation: 0.2s hideGradually;

    width: 75%;
    text-align: center;
}

@keyframes hideGradually {
    from {
        opacity: 1;
        display: unset;
    }

    to {
        opacity: 0;
        display: none;
    }
}

.z-opisem {
    position: relative;
    display: inline-block;
}

.z-opisem:hover .tekst-opisu {
    display: unset;
    opacity: 1;
    animation: 0.3s showGradually;
}

@keyframes showGradually {
    from {
        opacity: 0;
        display: none;
    }

    to {
        opacity: 1;
        display: unset;
    }
}

.nav {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 100vw;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    height: 75px;
    background: #ffffff;

    margin: 0;
}

.navbar-menu {
    display: none;
}

.nav > hr {
    position: fixed;
    top: 85%;

    border-style: solid;
    border-color: #a1a1a1;
    border-width: 0;
    background: #a1a1a1;
    height: 5px;
    width: 100vw;
}

.navbar {
    gap: 1.5%;

    width: 50vw;
    flex: 1;

    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;

    padding: 0;
    box-sizing: border-box;
}

.navbar > div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    /*background-color: #e3e3e3;*/

    border-radius: 50px;
    height: 50px;
}

@keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes hide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}