html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(19, 19, 19);
    color: white;
    padding: 0;
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-weight: lighter;
    font-style: normal;
}

#mainAnchor {
    position: relative;
    top: calc(-5vh - min(60px, 25vw) - 120px);
}

#projectsAnchor {
    position: relative;
    top: calc(min(60px, 25vw));
}

#aboutMeAnchor {
    position: relative;
    top: calc(min(60px, 25vw) + 120px);
}

#contactAnchor {
    position: relative;
    top: calc(min(60px, 25vw) + 240px);
}

#spacer {
    position: relative;
    top: calc(240px);
    height: 240px;
    visibility: hidden;
}

#todo {
    position: relative;
    top: calc(240px);
    height: 240px;
    visibility: hidden;
}

#pageHeader {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: min(60px, 25vw);
    background: rgb(15, 15, 15);
    z-index: 100;
}

#pageHeader > a, #pageHeader > a:visited, #pageHeader > button{
    width: max(15vh, 10%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    text-decoration: none;
    color: white;
    background: linear-gradient(1deg in oklab, hsla(0, 0%, 100%, 0.7), hsla(0, 0%, 50%, 0.7));
    -webkit-background-clip: text;
    filter: drop-shadow(2px 2px 1px rgba(255, 255, 255, 0.3));
    background-clip: text;
    color: transparent;
    font-size: min(5vw, 28px);
    font-weight: 900;
    font-style: italic;
}

.switch-lang {
    cursor: pointer;
}

.spanLang1.en {
    background: linear-gradient(1deg in oklab, hsla(255, 100%, 70%, 0.7), hsla(255, 100%, 50%, 0.7));
    filter: drop-shadow(2px 2px 1px hsla(255, 100%, 20%, 0.3));
    padding-left: 3px;
    padding-right: 3px;
    -webkit-background-clip: text;
    background-clip: text;
}

.spanLang1.pl {
    background: linear-gradient(1deg in oklab, hsla(351, 100%, 70%, 0.7), hsla(351, 100%, 50%, 0.7));
    filter: drop-shadow(2px 2px 1px hsla(351, 100%, 20%, 0.3));
    padding-left: 3px;
    padding-right: 3px;
    -webkit-background-clip: text;
    background-clip: text;
}

.spanLang2 {
    padding-left: 3px;
    padding-right: 3px;
}

#pageHeader > a:hover:nth-child(1) {
    background: linear-gradient(1deg in oklab, hsla(44, 100%, 70%, 0.7), hsla(44, 100%, 50%, 0.7));
    filter: drop-shadow(2px 2px 1px hsla(44, 100%, 70%, 0.3));
    background-clip: text;
    -webkit-background-clip: text;
}

#pageHeader > a:hover:nth-child(2) {
    background: linear-gradient(1deg in oklab, hsla(22, 100%, 70%, 0.7), hsla(2, 100%, 50%, 0.7));
    filter: drop-shadow(2px 2px 1px hsla(22, 100%, 70%, 0.3));
    background-clip: text;
    -webkit-background-clip: text;
}

#pageHeader > a:hover:nth-child(3) {
    background: linear-gradient(1deg in oklab, hsla(342, 100%, 70%, 0.7), hsla(342, 100%, 50%, 0.7));
    filter: drop-shadow(2px 2px 1px hsla(342, 100%, 70%, 0.3));
    background-clip: text;
    -webkit-background-clip: text;
}

#pageHeader > a:hover:nth-child(4) {
    background: linear-gradient(1deg in oklab, hsla(295, 100%, 70%, 0.7), hsla(295, 100%, 50%, 0.7));
    filter: drop-shadow(2px 2px 1px hsla(295, 100%, 70%, 0.3));
    background-clip: text;
    -webkit-background-clip: text;
}

#pageFooter {
    position: fixed;
    bottom: 0;
    left: 0%;
    width:auto;
    font-size: 12px;
}