body{
    background-color: aliceblue;
    font-family:'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    display: flex;               
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    padding-top: 2em;
    margin-bottom: 10rem;
}

.title{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -2em;
}

.name{
    width: clamp(500px, 60vw, 65vw);
    height: auto;
    border: none;
}

.sub-title{
    text-align: center; 
    margin-top: 0.5rem;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: normal;
}

.sparkles {
    position: absolute;
    left: 4%;
    top: 5%;
    /* width: fit-content; */
    width: clamp(50px, 12vw, 100px);
    height:auto;
    /* height: fit-content; */
    border: none;
}

.header{
    /* margin-left: 15%;
    margin-top: 9%; */
    /* width: 290px; */
    width: auto;
    max-width: 750px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3em;
    text-align: left;
    margin-top: 6em;
    margin-bottom: 4em;
    /* flex-shrink: 0; */

}

img{
    /* width: 225px; */
    width: clamp(215px, 22vw, 225px);
    height: auto;
    border-color: black;
    border: 1px solid black;
}

p {
    /* max-width: 500px; */
    max-width: clamp(220px, 45vw, 500px);
    line-height: 1.5;
    /* font-size: 18px; */
    font-size: clamp(14px, 1.8vw, 18px);
}

h1{
    margin-bottom: -7px;
    font-size: 35px;
}

/* right side categories plus project links */

.content-right {
    /* width: 430px; */
    width: min(90vw, 1200px);
    text-align: center;
    flex-shrink: 0;
    margin-top: 3em;
}
 
.category-nav {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 9em;
    row-gap: 3em; 
}
 
.category-nav.hidden {
    display: none;
}

.category-prompt{
    /* font-size: 24px; */
    font-size: clamp(20px, 2.5vw, 24px);
    margin: 0 0 -0.8em 0;
    font-weight: normal;
    /* margin-top: 39px; */
    margin-top: 4rem;
    margin-bottom: 3em;
}
 
.category-item {
    /* font-size: 19px; */
    font-size: clamp(14px, 1.8vw, 19px);
    color: black;
    cursor: pointer;
    width: fit-content;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    transition: opacity 0.15s ease;
}

.category-icon {
    /* width: 170px;
    height: 170px; */
    width: clamp(90px, 18vw, 170px);      
    height: clamp(90px, 18vw, 170px);
    object-fit: contain;
    border: none; 
}

.category-icon2{
    /* width: 120px;
    height: 120px; */
    width: clamp(65px, 13vw, 120px);      
    height: clamp(65px, 13vw, 120px);
    object-fit: contain;
    border: none;
    /* margin-top: 1em;  */
    margin-bottom: 2.1em;
    /* position: relative;
    top: 0.8em; */
}

.selected-category-icon.icon-web {
    /* width: 200px;
    height: 200px; */
    width: clamp(90px, 18vw, 170px);
    height: clamp(90px, 18vw, 170px);
}

.selected-category-icon.icon-pcomp {
    /* width: 190px;
    height: 190px; */
    width: clamp(90px, 18vw, 170px);
    height: clamp(90px, 18vw, 170px);
}

.selected-category-icon.icon-3d {
    /* width: 130px;
    height: 130px; */
    width: clamp(65px, 13vw, 120px);
    height: clamp(65px, 13vw, 120px);
    margin-bottom: 2.4em;
    margin-top: 0.8em;
}

.selected-category-icon.icon-game {
    /* width: 190px;
    height: 190px; */
    width: clamp(120px, 18vw, 170px);
    height: clamp(120px, 18vw, 170px);
}

.model-text{
    margin-top: 1.1em;
}

.category-item2 .category-icon2 {
    position: relative;
    top: 0.8em;
}

.category-item2 {
    /* font-size: 19px; */
    font-size: clamp(14px, 1.8vw, 19px);
    color: black;
    cursor: pointer;
    width: fit-content;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -11em;
    transition: opacity 0.15s ease;
}

 
.category-item:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.category-item2:hover {
    opacity: 0.8;
    text-decoration: underline;
}
 
.project-list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    /* max-width: 500px;
    margin: 0 auto; */
}
 
.project-list.visible {
    display: flex;
}

.heading-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 0.6em;
    margin-top: 39px;  
    margin-bottom: 0.8em;
}

 
.category-heading {
    /* font-size: 18px; */
    font-size: clamp(16px, 1.6vw, 18px);
    margin: 0 0 -0.8em 0;
    margin-top: -10px;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    grid-column: 2;
}
 
.back-link {
    grid-column: 1;
    font-size: 25px;
    color: black;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
    margin-bottom: 0.2em;
}
 
.back-link:hover {
    opacity: 0.6;
}
 
.link-item a {
    /* font-size: 18px; */
    font-size: clamp(16px, 1.6vw, 18px);
    color: black;
}
 
.link-text{
    max-width: 430px;
    /* font-size: 15px; */
    font-size: clamp(14px, 1.3vw, 15px);
    font-style: italic;
    margin-top: 0.3em;
}

.hidden {
    display: none;
}



.mywork1, .mywork2{
    width: 500px;
    height: auto;
    display: block;
}

.work-item{
    position: relative;
}

.selected-category-icon, .selected-category-icon2{
    align-self: center;
    margin-bottom: -3.5em;
}


.selected-category-icon.category-icon2 {
    margin-bottom: -2em;
    margin-top: 1.2em;
}




