:root {
    --background: #A69DA6;
    height: 100%;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: rgb(0,30,70);
    height: 100%;
    margin: 0;
    color: white;
    display: flex;
    flex-direction: column;
}

p {
    margin: 0.3rem 0;
}

hr {
    margin: 0.5rem 0;
}

p::selection,
h3::selection,
h4::selection,
li::selection {
    background-color: rgb(255, 216, 41);
    color: blue;
}

h3, h4 {
    margin: 0.3rem 0;
}

a {
    color: rgb(255, 216, 41);
}

#sketch {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    margin: 0 auto;
    transform: none;
}

h1 {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 2pt;
}

.unhidden{
    opacity: 100%;
    transition: opacity 400ms ease-in-out;
}

.hidden{
    opacity: 0;
    transition: opacity 400ms ease-in-out;
}

#contactIcons {
    background-color: var(--background);
    border-radius: 5px;
    padding: 0.5rem;
    margin: 1rem auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#contactIcons > a {
    text-decoration: none;
}

#contactIcons {
    background-color: var(--background);
    border-radius: 5px;
    padding: 0.5rem;
    margin: 1rem auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#contactIcons > a {
    text-decoration: none;
}

#profile {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin: 0 auto 2rem auto;
    max-width: 1000px;
    width: 100%;
}

#pfp-container {
    flex: 1;                   
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#pfp {
    width: 100%;
    max-width: 300px;          
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}
.rightProfile {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: justify;
}

@media (max-width: 768px) {
    #profile {
        flex-direction: column;
        align-items: center;
    }

    #vbar {
        display: none;
    }

    #pfp-container,
    .rightProfile {
        width: 100%;
        max-width: 500px;
    }
}
