.rubik-font {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.rubik-glitch-regular {
    font-family: "Rubik Glitch", system-ui;
    font-weight: 400;
    font-style: normal;
}

/* -------------- MOBILE LAYOUT -------------- */
* {
    box-sizing: border-box;
    color: #0F0;
}

body {
    padding: 80px 10vw 80px 10vw;
    background: linear-gradient(180deg, #000 10%, #0F0 100%);
}

h1, h2, p {
    margin: 0;
    padding: 0;
}

h1, h2 {
    font-family: "Rubik Glitch", system-ui;
    text-transform: capitalize;
    font-weight: 400;
}

h1 {
    margin: 0 0 20px 0;
    font-size: 80px;
    text-align: center;
}

h2 {
    display: flex;
    justify-content: center;
    margin: 80px 0 40px 0;
    font-size: 40px;
}

#tools h2 {
    color: #000;
}

#tools a {
    color: #000;
    background-color: #0F0;
    border: 1px solid #000;
    box-shadow: 4px 8px 0px 0px #000;
}

#tools a:focus, #tools a:hover, #tools a:active {
    background-color: #000;
    color: #0f0;
}

p, a {
    font-family: "Rubik", sans-serif;
    font-size: 20px;
}

p {
    line-height: 150%;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a {
    display: flex;
    justify-content: center;
    margin: 20px 0 20px 0;
    padding: 1em 0 1em 0;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    background-color: black;
    border: 1px solid #0F0;
    box-shadow: 4px 8px 0px 0px #0F0;
}

a:focus, a:hover, a:active {
    background-color: #0F0;
    color: black;
}

/* -------------- DESKTOP LAYOUT -------------- */
@media only screen and (min-width: 600px) {
    header, main, footer {
        max-width: 1020px;
        margin: auto;
    }

    header {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

    header h1 {
        flex: 1;
        margin-bottom: 0;
    }

    header div {
        flex: 1 0 420px;
    }

    header div a {
        margin-bottom: 0;
    }

    #projects ul, #ex-tools {
        display: flex;
        gap: 40px;
    }

    #projects ul li {
        flex: 1;
    }

    #projects ul li a {
        margin: 0;
    }

    #ex-tools section {
        flex: 1;
    }

    #tools h2 {
        color: #0f0;
    }
    
    #tools a {
        color: #0f0;
        background-color: #000;
        border: 1px solid #0f0;
        box-shadow: 4px 8px 0px 0px #0f0;
    }

    #tools a:focus, #tools a:hover, #tools a:active {
        background-color: #0f0;
        color: #000;
    }

}