body {
    font-family: Consolas, monospace;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 60px;
    border-radius: 20%;
    margin-right: 20px;
}

p {
    line-height: 1.5;
}

.site-title {
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    padding-right: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background: white;
    border-radius: 5px;
    height: 4px;
    margin: 4px;
    width: 25px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 250px;
        background-color: #333;
        z-index: 10;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        display: flex;

    }

    .hamburger {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
        font-size: 1.25rem;
    }

    .header-right {
        flex-direction: column;
    }
}


.container {
    width: 80%;
    margin: 0 auto;
}

main {
    padding: 20px;
}

#projects-container,
#development-container {
    margin-top: 20px;
}

.accordion {
    background-color: #c4c4c4;
    font-family: Consolas, monospace;
    color: #444;
    border: 1px solid black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    font-size: 1.3rem;
    transition: 0.4s;
    margin-bottom: 5px;
}

.accordion.active, .accordion:hover {
    font-weight: bold;
    font-size: 1.3rem;
}

.panel {
    padding: 0 18px;
    background-color: white;
    display: block;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    max-height: 2000px; /* Ensure a large enough max-height to show content */
    transition: max-height 0.2s ease-out;
}

.panel.closed {
    max-height: 0; /* When closed, max-height should be set to 0 */
}

.splash-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.splash-box {
    position: relative;
    width: 325px;
    margin: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid rgb(43, 43, 43);
    border-radius: 5px;
    text-decoration: none; /* Ensure links look clickable */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align children at the bottom *//* Ensure a fixed height for the splash box */
}

.splash-box:hover {
    transform: scale(1.05);
}

.splash-box img {
    width: 100%;
    height: 50%; /* Take up the top half */
    object-fit: cover;
    display: block;
    filter: grayscale(80%);
    opacity: 50%;
}

.splash-description {
    padding: 10px;
    background-color: #333; /* Dark background for better visibility */
    color: white;
    text-align: center;
    border-top: 1px solid black;
    margin: 0; /* Remove margin */
    flex-grow: 1; /* Ensure it takes up the remaining space */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50%; /* Take up the bottom half */
}


.splash-title {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, 25%);
    color: white;
    font-size: 1.5em;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    padding: 10px;
    border-radius: 5px;
}
.screenshot-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.screenshot {
    width: 48%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#site-title::after {
    content: '|';
    animation: blink 1s step-start infinite;
}

.typing {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 1.5s steps(30, end), blink-caret 0.7s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}


/* CSS */
.button-35 {
  align-items: center;
  background-color: #5a5a5a;
  border-radius: 12px;
  box-shadow: transparent 0 0 0 3px,rgba(18, 18, 18, .1) 0 6px 20px;
  box-sizing: border-box;
  color: #eaeaea;
  cursor: pointer;
  display: inline-flex;
  flex: 1 1 auto;
  font-family: Inter,sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  margin: 0;
  outline: none;
  padding: 1rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s,-webkit-box-shadow .2s;
  white-space: nowrap;
  border: 1px #5f5f5f;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-35:hover {
  box-shadow: #121212 0 0 0 3px, transparent 0 0 0 0;
}

