/* Base Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url('bg.jpg');
    background-size: 600px 300px;
}

header,
nav {
    width: 100%;
    max-width: 100vw;
}

header {
    background: #69a3dd;
    color: #fbfbfb;
    padding: 20px 0;
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header h1 {
    margin: 0;
    color: #fbfbfb;
    text-shadow: -1px -1px 0 #4a4d51,
                 1px -1px 0 #4a4d51,
                -1px 1px 0 #4a4d51,
                 1px 1px 0 #4a4d51;
}

nav {
    background: hsl(210, 44%, 53%);
    display: flex;
    justify-content: center;
    padding: 10px 0;
    border-top: 2px solid #4a4d51;
    border-bottom: 2px solid #4a4d51;
    text-shadow: -1px -1px 0 #4a4d51,
                 1px -1px 0 #4a4d51,
                -1px 1px 0 #4a4d51,
                 1px 1px 0 #4a4d51;
    overflow-x: auto;
    white-space: nowrap;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

section {
    padding: 10px 10px;
    max-width: 1000px;
    width: 70%;
    margin: 0 auto 20px auto;
    background-color: rgba(255, 255, 255, 0.87);
    border-radius: 10px;
    border: 2px solid #4a4d51;
    margin-top: 20px;
}

footer {
    background: hsl(210, 52%, 58%);
    color: black;
    padding: 15px 0;
    margin-top: 20px;
    border: 2px solid #4a4d51;
    text-align: center;
}

p {
    margin: 30px;
    line-height: 32px;
}

h2 {
    margin: 15px;
}

hr {
    border: none;
    border-top: 2px solid black;
    margin-top: 5px;
}

img#robot_pal,
img#discord,
img#mail,
img#insta {
    vertical-align: middle;
    padding-right: 2px;
}

#robot_pal {
    width: 30px;
    height: 30px;
    filter: brightness(87%);
    vertical-align: top;
}

#discord {
    height: 15px;
}

#mail {
    height: 20px;
}

#insta {
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        width: 90%;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 5px 0;
    }

    header h1 {
        font-size: 1.3em;
        padding: 0 10px;
    }

    p {
        margin: 15px;
        line-height: 28px;
    }

    h2 {
        font-size: 1.2em;
    }
}