* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  font-family: "VT323", monospace;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20vw;
}

h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.navbar {
    list-style: none;  
    justify-content: center;  
    text-decoration-line: underline;  
    text-decoration-style: wavy;
    text-decoration-color: black;   
    text-decoration-thickness: 0.05rem;
    font-size: 18px;
    display: flex;        
    gap: 50px;             
    padding: 0;             
    margin-bottom: 30px;           
}


.navbar a {
    color: black;          
    font-weight: 500;      
}

p {
  font-size: 1rem;
  font-weight: 400;
}



.intro {
  text-align: center;
  max-width: 700px;
  margin-bottom: 20px;
  font-size: 1rem;
}

strong {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


.featured {
    margin: 30px 0 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.featured p {
    font-size: 1rem;
}

table {
    border-collapse: collapse;   
    width: 100%;
    margin-top: 20px;
    font-family: 'VT323', monospace;
}

th, td {
    border: 2px solid black;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #e0e0e0;
}

.image-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;   
}

.image-row img {
    width: 45%;    
    height: auto;
}

.image-row-3 {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.image-row-3 img {
    width: 30%;
    height:auto;
}

.contact {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    border: 2px solid black;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact input,
.contact textarea {
    padding: 8px;
    border: 2px solid black;
    font-family: inherit;
}

.contact button {
    padding: 10px;
    border: 2px solid black;
    background-color: white;
    cursor: pointer;
}

.contact button:hover {
    background-color: black;
    color: white;
}

/* projects */

.project {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    margin-bottom: 10vh;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
}
.project-link {
    text-decoration: none;   
    color: inherit;          
    display: block;         
}

.project-link:hover .project {
    background-color: #f0f0f0; 
    cursor: pointer;
}

.project {
    border: 2px solid black;  
    padding: 15px;
    margin-bottom: 20px;
}

.project-tag {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    font-weight: 300;
}

.project-description {
    font-size: 0.9rem;
    margin-bottom: 10px;
    max-width: 700px;
}

.project-description-header {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 15px;
    max-width: 700px;
}

.project-images {
    width: 100%;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    cursor: pointer;
}

.project-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-image.device {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
}

.project-image.widget {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;     
    flex: 1 1 100%; 
}

/* Mobile styling */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .intro {
        font-size: 0.95rem;
    }

    .project-header {
        flex-direction: column;
        align-items: left; 
        gap: 5px;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-tag {
        font-size: 0.85rem;
    }

    .project-images {
        flex-direction: column;
        gap: 20px;
    }

    .project-image.device,
    .project-image.widget {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 16px;
    }
}