html {
    font-family: 'Rubik', sans-serif;
    color: rgb(255, 255, 255);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-end;
    margin: 0;
    background-image: linear-gradient(to bottom, transparent calc(100% - 200px), rgba(0, 0, 0, 0) calc(100% - 200px), rgba(0,0,0, 0.6) calc(100% - 150px)), url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 3.5%;
    transform: translateY(40px);
}

ul {
    display: flex;
    flex-direction: row;
    gap: 3em;
    padding: 0;
    font-size: 1.25rem;
}

a {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: rgb(132, 225, 225);
}

a:hover img {
    filter: invert(79%) sepia(35%) saturate(301%) hue-rotate(130deg) brightness(102%) contrast(92%);
}

#my-name {
    font-weight: bolder;
    font-size: xxx-large;
}

footer {
    display: flex;
    flex-direction: row;
    padding: 0.2% 1%;
    font-weight: lighter;
    color: rgba(200, 200, 200, 0.45);
    font-size: 70%;
    position: relative;
    z-index: 10;
}

img {
    width: 27px;
}

img[src$=".svg"] {
    filter: invert(1);
}

@media (max-width: 940px) {
    body {
        background-color: rgba(0, 0, 0, 0.65);
        background-image: url('bg.jpg');
        background-blend-mode: overlay;
        justify-content: space-between;
    }

    main {
        display: flex;
        flex-direction: column;
    }

    main > div:first-child {
        order: 2;
    }

    #my-name {
        order: 1;
        font-size: xxx-large;
    }

    ul {
        display: flex;
        flex-direction: column;
        gap: 1em;
        align-items: center;
    }

    footer {
        justify-content: center;
        text-align: center;
        color: rgba(200, 200, 200, 0.7);
    }
}