html {
    scroll-behavior: smooth;
}
body {
    display: grid;

    margin: 0;
    font-family: Arial, sans-serif;

    background: linear-gradient(#000, #032356);
    color : #ececed;
}
h1 {
    margin: 0;
    padding: 0;
}
h2 {
    margin: 0;
    padding: 0;
}
h3 {
    margin: 0;
    padding: 0;
}
h4 {
    margin: 0;
    padding: 0;
}
h5 {
    margin: 0;
    padding: 0;
}
h6 {
    margin: 0;
    padding: 0;
}
p {
    margin: 0;
    padding: 0;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
li {
    margin: 0;
    padding: 0;
}
a {
    color: #4693f7;
    text-decoration: none;
}

/* Hover Effect */
nav {
    z-index: 2;
}
div {
    z-index: 2;
}
section {
    z-index: 2;
}
.spotlight {
    position: absolute;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: radial-gradient(rgba(61, 83, 125, 0.7), rgba(0, 0, 0, 0.3));
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    z-index: -1;
}


/* Helper Components */
.divider {
    height: 2px;
    border-radius: 25px;
    background-color: #f4f4f4;
    margin-block: 1rem;
    margin-inline: 4rem;
}
.card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem;
    border-radius: 25px;
    
    transition: all 0.3s;
}
.card:hover {
    color: white;
    background-color: rgba(22, 93, 235, 0.7);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}



/* AppBar */
.navbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: sticky;
    background-color: #060012;
    color: white;
    margin: 0;
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}
.navbar span {
    justify-self: start;
    margin-inline: 1rem;
}
.navbar ul {
    justify-self: end;
    display: flex;
    list-style: none;
    margin-inline: 1rem;
    padding: 0;
}
.navbar ul li {
    margin-inline: 10px;
}
.navbar ul li a {
    color: white;
    text-decoration: none;
}

/* Footer */
.footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: flex-end;
    background-color: #031b41;
    color: white;
    margin: 0;
    padding: 1rem;
    text-align: center;
}
.footer .contact {
    display: flex;
    justify-self: flex-start;
    gap: 1rem;
}
.footer .contact ul {
    display: flex;
    gap: 1rem;
}

/* Content (Everything under Navbar) */
.content {
    display: grid;
    grid-template-columns: 20rem .5fr 1fr;
    margin-inline: 2rem;
}

/* Legend (Left) */
.legend {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    margin: 2rem;
    padding-top: 10rem;
    height: 50vh;
}

/* Blurb */
.legend .blurb {
    border-radius: 25px;
    padding: 2rem;
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-top: 1px solid white;
    background-color: #26005a;
}
.legend .blurb p {
    margin-block: 1rem;
}

/* Navigation */
.legend .navigation {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 2rem;
    border-radius: 25px;
    border-left: 1px solid white;
    border-right: 1px solid white;
    background-color: #26005a;
}
.legend .navigation ul {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
}

/* Contact Links */
.legend .contact ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    color: aquamarine;
    border-radius: 25px;
    padding: 2rem;
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    background-color: #26005a;

}
.legend .contact ul li a {
    color: rgb(240, 240, 204);
    text-decoration: none;
}


/* Description (Right) */
.description {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    margin: 2rem;
    padding: 2rem;
    border-radius: 25px;
}

/* Introduction */
#intro {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
#intro h1 {
    margin-block: 1rem;
}

/* Websites */
#websites {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#websites h2 {
    align-self: start;
    margin-block: 1rem;
}
#websites ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    margin-block: 2rem;
}
#websites ul li {
    margin-inline: 1rem;
}

/* Projects */
#projects {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#projects h2 {
    align-self: start;
    margin-block: 1rem;
}
.project {

}
.project .bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.project .skill {
    background-color: #4693f7;
    padding: .3rem;
    border-radius: 25px;
}

/* Experience */
#experience {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#experience h2 {
    align-self: start;
    margin-block: 1rem;
}

/* Education */
#education {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#education h2 {
    align-self: start;
    margin-block: 1rem;
}

