* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100vh;
    background: #0c1117;
    color: #f4f7fb;
    font-family: Consolas, "Courier New", monospace;
}

.browser {
    min-height: 100vh;
    padding-top: calc((100vh - 500px) / 2);
    display: grid;
    place-items: center;
    align-items: start;
    background: radial-gradient(circle at center, rgba(37, 49, 61, 0.5), transparent 60%), #0c1117;
}

.code-window {
  width: min(700px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #22d3ee;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  background: #111923;
}

.window-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin: -24px -24px 0;
    padding: 16px 24px;
    border-bottom: 1px solid #2c3642;
    color: #9ca3af;
    font-size: 14px;
}

.comment {
    margin: 0;
    color: #4ade80;
    font-size: 20px;
}

.menu-link {
    color: #f4f7fb;
    text-decoration: none;
    height: 24px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, background 0.2s ease;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.menu-link::first-letter {
    color: #22d3ee;
}

.menu-link .prompt {
    rotate: 0deg;
    transition: rotate 200ms ease;
}

.menu-link:hover {
    color: #ffd166;
    background: rgba(255, 209, 102, 0.08);
    padding-left: 15px;
}

.code-spacer {
    height: 24px;
}

.prompt {
    color: #22d3ee;
    margin-right: 10px;
    margin-left: -10px;
    font-size: 20px;
}

.menu-link.active .prompt {
    rotate: 90deg;
}

.about-dropdown .prompt {
    font-size: 15px;
    margin-left: 0px;
}

.goal-dropdown .prompt {
    font-size: 15px;
    margin-left: 0px;
}

.letsnetwork-dropdown .prompt {
    font-size: 15px;
    margin-left:0px
}
 /* My Work */
.linkguard-dropdown .prompt {
    font-size: 15px;
    margin-left: 0px;
}

.guitar-dropdown .prompt {
    font-size: 15px;
    margin-left: 0px;
}
/* Break */
.goal-dropdown {
    display: none;
    margin-left: 76px;
    padding: 5px 5px;
    background: rgba(15, 23, 32, 0.35);
    border-left: 2px solid #22d3ee;
    max-width: 520px;
    color: #b8c7d5;
    font-size: 15px;
    line-height: 1.6;
}

.about-dropdown {
    display: none;
    margin-left: 76px;
    padding: 5px 5px;
    background: rgba(15, 23, 32, 0.35);
    border-left: 2px solid #22d3ee;
    max-width: 520px;
    color: #b8c7d5;
    font-size: 15px;
    line-height: 1.6;
}
/* My Work */
.linkguard-dropdown {
     display: none;
    margin-left: 76px;
    padding: 5px 5px;
    background: rgba(15, 23, 32, 0.35);
    border-left: 2px solid #22d3ee;
    max-width: 520px;
    color: #b8c7d5;
    font-size: 15px;
    line-height: 1.6;
}

.guitar-dropdown {
    display: none;
    margin-left: 76px;
    padding: 5px 5px;
    background: rgba(15, 23, 32, 0.35);
    border-left: 2px solid #22d3ee;
    max-width: 520px;
    color: #b8c7d5;
    font-size: 15px;
    line-height: 1.6;
}
/* break */
.letsnetwork-dropdown {
    display: none;
    margin-left: 76px;
    padding: 5px 5px;
    background: rgba(15, 23, 32, 0.35);
    border-left: 2px solid #22d3ee;
    max-width: 520px;
    color: #b8c7d5;
    font-size: 15px;
    line-height: 1.6;
}

.pnetwork-type-text {
    color: #22d3ee;
}

/* Contact form */
.letsnetwork-dropdown .container {
    margin-top: 20px;
    padding: 16px;
    background: #0c1117;
    border: 1px solid #2c3642;
    border-radius: 8px;
}

.letsnetwork-dropdown h1 {
    margin: 0 0 18px;
    color: #22d3ee;
    font-size: 18px;
    font-weight: 500;
}

.letsnetwork-dropdown form {
    display: grid;
    gap: 14px;
}

.letsnetwork-dropdown .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.letsnetwork-dropdown .col {
    min-width: 0;
}

.letsnetwork-dropdown label {
    display: block;
    margin-bottom: 6px;
}

.letsnetwork-dropdown .form-control {
    display: block;
    width: 100%;
    padding: 12px;
    background: #111923;
    color: #f4f7fb;
    border: 1px solid #344454;
    border-radius: 5px;
    font: inherit;
    line-height: 1.5;
    transition: border-color 0.2s ease;
}

.letsnetwork-dropdown .form-control::placeholder {
    color: #92a3b5;
    opacity: 1;
}

.letsnetwork-dropdown .form-control:focus {
    border-color: #22d3ee;
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}

.letsnetwork-dropdown textarea {
    height: 140px;
    min-height: 100px;
    resize: vertical;
}

.letsnetwork-dropdown button[type="submit"] {
    justify-self: start;
    padding: 11px 20px;
    background: #22d3ee;
    color: #0c1117;
    border: 1px solid #22d3ee;
    border-radius: 5px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.letsnetwork-dropdown button[type="submit"]:hover {
    background: #67e8f9;
}

.letsnetwork-dropdown button[type="submit"]:focus-visible {
    outline: 2px solid #ffd166;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .letsnetwork-dropdown .form-row {
        grid-template-columns: 1fr;
    }

    .letsnetwork-dropdown .container {
        padding: 12px;
    }
}

.about-dropdown.open {
    display: block;
}

.type-text,
.about-text,
.goal-text,
.network-type-text,
.pnetwork-type-text,
.linkguard-text,
.guitar-text {
    white-space: pre-line;
}

.goal-dropdown.open {
    display: block
}

.letsnetwork-dropdown.open {
    display: block;
}
/* My Work */
.linkguard-dropdown.open {
    display: block;
}

.guitar-dropdown.open {
    display: block;
}
/* break */
.code-window {
    width: min(680px, 90vw);
    display: grid;
    gap: 20px;
}

.code-line {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    align-items: center;
    min-height: 24px;
}

.line-number {
    color: #6d7f91;
    text-align: right;
    padding-right: 24px;
    border-right: 1px solid #2c3642;
    font-size: 20px;
    line-height: 1;
}

.comment {
    margin: 0;
    color: #4ade80;
}

.menu-link {
    width: 100%
}

.return-home {
    color:  #22d3ee;
}
/* My Work */
.project-media {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.project-media img,
.project-media video {
    display: block;
    width: 100%;
    border-radius: 6px;
}

/* Reserve the video's shape before playback; contain the taller poster. */
.linkguard-dropdown video {
    aspect-ratio: 918 / 686;
    object-fit: contain;
    background: #0c1117;
}
/* break */
/* Social links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;

    padding: 12px 16px;
    border: 1px solid #344454;
    border-radius: 6px;
    background: #0c1117;
    color: #f4f7fb;
    text-decoration: none;

    transition: border-color 0.2s ease,
                background-color 0.2s ease;
}

.social-links img {
    display: block;
    flex-shrink: 0;
}

.social-links a:hover {
    border-color: #22d3ee;
    background: #162330;
}

.social-links a:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .about-dropdown,
    .goal-dropdown,
    .letsnetwork-dropdown,
    .linkguard-dropdown,
    .guitar-dropdown {
        margin-left: 16px;
    }

    .social-links {
        flex-direction: column;
    }
}

/* Respect reduced motion for dropdown arrows and interactive controls. */
@media (prefers-reduced-motion: reduce) {
    .menu-link,
    .menu-link .prompt,
    .social-links a,
    .letsnetwork-dropdown .form-control,
    .letsnetwork-dropdown button[type="submit"] {
        transition: none;
    }
}
