@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Farro:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to right, rgb(8, 28, 41), rgb(12, 32, 45), rgb(16, 36, 49), rgb(20, 40, 53), rgb(24, 44, 57));
    color: white;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1 {
    margin-top: 15px;
    font-size: 3em;
    font-family: "Bebas Neue", sans-serif;    
    font-weight: bolder;
    font-style: normal;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80%;
    margin: auto;
    margin-top: 40px;
}

header > nav > ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

header > nav > ul > li > a {
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    text-decoration: none;
    color: white;
}

header > nav > ul > li > a:hover {
    border-bottom: 2px solid #0aa7ed;
}

main {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin: auto;
    height: 100%;
    text-align: center;
    align-items: center;
}

h3.projectTitle {
    font-size: 35px;
}

main > div#projects {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    gap: 15px;
    justify-content: center;
}

main > div > section {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    padding: 10px;
    border: 2px solid #0aa7ed;
    border-radius: 10px;
    width: 390px;
}

main > h2 {
    font-size: 50px;
    color: #0aa7ed;
}

main > div > section > nav > p {
    font-size: 1.1em;
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
}

.paragraphLink {
    color: #0aa7ed;
    font-style: italic;
}

.projectImage {
    margin-top: 20px;
    width: 100%;
    border-radius: 10px;
}

footer {
    margin-top: 50px;
    background-color: rgb(2, 14, 22);
    width: 100%;
    text-align: center;
    padding: 10px;
}

footer > p {
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 750px) {

    header {
        flex-direction: column;
        width: 100%;
    }

    header > nav > ul {
        margin-top: 20px;
        gap: 12px;
    }

    header > nav > ul > li > a {
        font-size: 13px;
    }

    main > h2 {
        margin-top: 50px;
        font-size: 40px;
    }

    h3.projectTitle {
        font-size: 30px;
    }

    main > div > section {
        margin-top: 15px;
        width: 300px;
    }

    main > div > section > nav > p {
        font-size: 14px;
    }

}