@import url('reset.css');
@import url('variables.css');
@import url('social.css');
@import url('project.css');

body {
    background-color: var(--pastel-yellow);
    color: black;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-left: 15%;
    padding-right: 15%;
}

nav {
    width: 100%;
    text-align: right;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 2rem;
}

section {
    width: 100%;
    margin-top: 30px;
}

nav a {
    margin: 0 10px;
    font-size: 1.2rem;
}

a {
    text-decoration: underline;
    text-decoration-thickness: 1px; 
    text-decoration-style: dashed;
    text-decoration-color: var(--pastel-blue);
    text-underline-offset: 2px;
    color: black;
    font-size: 1rem;
}

a:hover {
    color: var(--pastel-blue)
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}
  
h1 {
    text-align: left;
    color: black;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-left: 15%;
    padding-right: 15%;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid black;
}

#profile {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin-left: 2rem;
}

header, footer {
    background-color: var(--pastel-yellow);
    text-align: center;
}

footer {
    width: 100%;
    border-top: 1px solid black;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Small screens */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }

    #profile {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    nav {
        text-align: center;
        margin-right: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    nav a {
        display: inline-block;
        margin: 0.5rem;
    }
}