:root {
    --white: #F8F8FF;
    --black: #000000;
    --light-gray: #BDBDBD;
    --dark-gray: #828282;

    --purple: #6C63FC;

    --corners: 1.5em;
}

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

html {
    font-family: Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--white);
}

.boxed {
    margin: 0 10%;
    padding: 50px 0;
}

button {
    border: none;
    background-color: var(--black); 
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--white);
    font-size: 1em;
    cursor: pointer;
}

p {
    font-weight: 200;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
}

nav #links a:first-child {
    margin-right: 10px;
}

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


#logo a {
    font-weight: 600;
    text-decoration: none;
    color: var(--black);
}

#links a {
    text-decoration: none;
    color: var(--black);
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8em;
}

/* homepagee */
#bio {
    text-align: center;
    padding: 70px 0;
}

img#io {
    border-radius: 100px;
    max-width: 200px;
    margin-bottom: 20px;
}

#bio p:first-of-type {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 20px;
}

#socials {
    margin-top: 50px;
}

#socials img {
    width: 30px;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
    margin: 0 10px;
}

#socials img:hover {
    opacity: 1;
    transform: scale(1.1);
}

#showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    row-gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.project {
    flex: 1 0 30%;
    height: 200px;
    min-width: 250px;
    border-radius: var(--corners);
    box-shadow: 0 0 30px rgba(36, 36, 36, 0.2);
    position: relative;
    overflow: hidden;
}

.project img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.project-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--corners);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

.project:hover .project-hover {
    opacity: 1;
}

/* end homepage */



/* projects */
.cover {
    background-color: #6C63FC;
    text-align: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cover img {
    height: 150px;
}

table.data {
    width: 100%;
    max-width: 700px;
    margin: 50px auto;
}

table.data td {
    border-bottom: 1px solid var(--light-gray);
    padding: 10px 10px;
}

table.data tr td:first-child {
    width: 33%;
    font-weight: 800;
}

table.data tr td:nth-child(2) {
    color: var(--dark-gray);
    font-weight: 200;
}

main.project-page p {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 2em;
}

main.project-page p:last-of-type {
    margin-bottom: 0;
}

main.project-page h3 {
    max-width: 700px;
    margin: 0 auto .2em;
    font-size: 2em;
}

main.project-page img + h3, main.project-page p + h3 {
    margin-top: 3em;
}

main.project-page p a {
    font-weight: 500;
    text-decoration: underline;
}

main.project-page span.highlight {
    font-weight: 500;
}

/* end projects */

@media screen and (max-width: 800px) {
    #bio {
        padding: 50px 0;
    }
}