@import url("https://fonts.googleapis.com/css?family=PT+Mono&subset=cyrillic");
@import url("https://fonts.googleapis.com/css?family=PT+Sans&subset=cyrillic");
html {
    font-family: "PT Mono", monospace;
    font-size: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 24px 16px;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #FFF1F9 0%, #FAF0FF 100%);
}

#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

ul,li,h1,h2,h3,h4,h5,p {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

.terminal-container {
    display: flex;
    flex-direction: column;
    width: 92%;
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.terminal-topbar {
    position: relative;
    border-radius: 7px 7px 0 0;
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, #F3D0FF, #FFD6EE);
}

.mock-buttons {
    left: 10px;
    height: 100%;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
}

.circle {
    height: 12px;
    width: 12px;
    border-radius: 6px;
}

.red {
    background-color: #f95c5b;
    box-shadow: 0 0 0 1px #da3d42;
}

.yellow {
    background-color: #fabe3b;
    box-shadow: 0 0 0 1px #ecb03e;
}

.green {
    background-color: #38cd46;
    box-shadow: 0 0 0 1px #2eae32;
}

.terminal-title {
    position: relative;
    font-family: "PT Sans", sans-serif;
    margin: 0 auto;
    font-size: 1rem;
    color: #7E22CE;
}

.terminal {
    font-size: 1rem;
    line-height: 1.2rem;
    width: 100%;
    min-height: 55vh;
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgba(29, 11, 51, 0.85);
    color: #ffffff;
    padding: 10px;
    border-radius: 0 0 7px 7px;
    position: relative;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 30px 1px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px 0;
}

.logo-heart {
    font-size: 2rem;
    color: #F472B6;
    line-height: 1;
    flex-shrink: 0;
}

.logo-text {
    margin: 0;
    line-height: 1.2rem;
    font-family: "PT Mono", monospace;
    color: #F472B6;
}

/* Small phones: iPhone SE, Galaxy S series (≤480px) */
@media (max-width: 480px) {
    html { font-size: 10px; }
    .terminal-container { width: 96%; }
    .terminal { min-height: 62vh; max-height: 80vh; }
    .logo-text { font-size: 0.9rem; line-height: 1.1rem; }
}

/* Large phones + portrait tablets (481px–767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .terminal { min-height: 58vh; max-height: 78vh; }
}

/* Tablets: iPad mini, iPad, iPad Air (768px–1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .terminal-container { width: 80%; }
    .terminal { min-height: 500px; max-height: 640px; }
}

/* Desktop and large tablets: iPad Pro, laptops, monitors (≥1024px) */
@media (min-width: 1024px) {
    .terminal-container { width: 100%; }
    .terminal { min-height: 500px; max-height: 600px; }
}

.terminal p {
    margin: 0;
}
.terminal p::before {
    color: #E879F9;
    content: "guest@tina ~/portfolio $ ";
}

.output-line::before {
    color: #E879F9;
    content: "guest@tina ~/portfolio $ ";
}

a:link {
    color: #C084FC;
    font-weight: bold;
    text-decoration: none;
}

a:visited {
    color: #A78BFA;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #E879F9;
    text-decoration: underline;
}

.output {
    display: none;
}

#form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
    #form {
      flex-direction: row;
    }
  }


label {
    color: #E879F9;
    margin-right: 8px;
}

.pre::before {
    color: #E879F9;
    content: "guest@tina ~/portfolio $";
}

.input-field {
    flex: 1;
    min-width: 0;
    margin-left: -2px;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-family: "PT Mono", monospace;
    font-size: 1rem;
}

.input-field:focus {
    outline: none;
}

.help-item {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    max-width: 100%;
}
h4 {
    color: white;
    font-family: "PT Mono", monospace;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
}

.cmd-results {
    max-width: 100%;
}

.description-item, .description {
    margin-left: auto;
}

.list {
    display: flex;
    flex-wrap: wrap;
    /* Uncomment the line below if you want columnized list output */
    flex-direction: column;
}

.list li {
    margin-right: 35px;
}

img {
    max-width: 45%;
    height: auto;
}

.contact-gif {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 6px 0;
}

.cat-img {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 6px 0;
    border-radius: 4px;
}