* {
    box-sizing: border-box;
}

body {
    background-image: url('../img/grid.jpg');
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

header{ 
position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: -1;
    height: 30px;
}

nav {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 25px;

}

nav a {
    color: black;
    font-size: 20px;
    font-style: italic;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

.button {
    background-color: black;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    color: white;
}

.name {
    position: fixed;
    top: 20px;
    left: 20px;
    color: black;
}

.sectionmain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    min-height: 100vh;
    padding: 0 40px;
}

.avatar {
    width: 420px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.hometext {
    max-width: 600px;
    text-align: center;
}

.hometext h1 {
    font-family: Garamond, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hometext p {
    font-size: 2rem;
    line-height: 1.5;
    color: #333;
    font-family: 'Courier New', Courier, monospace;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 18px;
    color: #666;
}
.emoji {
    font-size: 24px;
    margin-top: -30px;
}

/*
Subpage Format Outline
*/

.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

/* Work Section */
body.subpage {
    background: #ffffff;
    background-image: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 20px 20px;
}

.mainwork {
    max-width: 1024px;
    margin: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: transparent;
    padding: 10px;
}

.sectionwork {
    padding: 0;
    background: #ffffff;
    color: #333;
    border-radius: 5px;
    overflow: hidden; 
    position: relative;
}

.wrapperwork {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-auto-flow: dense;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.col_span4{
    grid-column: span 4;
}
.col_span2{
    grid-column: span 2;
}
.row_span2{
    grid-row: span 2;    
}

.wrapperabout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}
.mainabout {
    max-width: 1240px;
    margin: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: transparent;
    padding: 10px;
}

.sectionabout1 {
   font-family: Garamond, serif;
    font-weight: 400;
    font-size: 24px;
    padding: 10px;
    background: #ffffff;
    color: #333;
    border-radius: 5px;
}
.sectionabout2 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    padding: 10px;
    background: #ffffff;
    color: #333;
    border-radius: 5px;
}
.sectionabout3 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 2;
    padding: 10px;
    background: #ffffff;
    color: #333;
    border-radius: 5px;
}

nav a.active {
    font-weight: bold;
}

.did {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.did:hover {
    transform: scale(1.05);
}

/*
.kaytra {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.kaytra:hover {
    transform: scale(1.05);
}
*/
.eafc {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.eafc:hover {
    transform: scale(1.05);
}
.xr {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}   
.xr:hover {
    transform: scale(1.05);
}  
.atall {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.atall:hover {
    transform: scale(1.05);
}
