body {
    margin: 0;
    background-color: #111;
    color: white;
    font-family: Arial, sans-serif;
}


.top-nav {
  position: absolute;
  top: 50px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-size: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
}

.top-nav a:hover {
  border-bottom: 1px solid white;
}


.hero {
    min-height: 100vh;;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero img {
    width: 400px;
    height: auto;
    display: block;
}

.hero-text {
    position: static;
    text-align: center;
    margin-top: 20px;
}

.hero-text h1 {
    font-size: 80px;
    margin: 0;
}

.hero-text p {
    font-size: 30px;
}

.biography {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 30px;
    line-height: 1.8;
}

.performance {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 30px;
    line-height: 1.8;
}

.contact {
    max-width: 450x;
    margin: 100px auto;
    padding: 0 30px;
    
}

.contact form { 
    display: flex;
    flex-direction: column;
    gap: 30px
}


.contaact input,
.contact textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0 30px;
    font-size: 30px;
    
    background-color: white;
    color: black;
    border: 1px solid white;
}

.contact input {
    height: 30px;
}


.contact textarea {
    height: 140px;
    resize: vertical;
}


.contact button { 
    width: 50%
    height: 50px;
    padding: 0px;
    font-size: 16px;
    background-color: white;
    color: black;
    cursor: pointer;
}


technology-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 30px;
}

.technology-page section {
  background: #1b1b1b;
  padding: 35px;
  margin-bottom: 35px;
  border: 1px solid #333;
  border-radius: 14px;
}

.technology-page h1 {
  font-size: 48px;
  margin-bottom: 50px;
}

.technology-page h2 {
  font-size: 30px;
  margin-bottom: 25px;
}

.technology-page h3 {
  font-size: 20px;
  margin-top: 25px;
}

.technology-page p {
  line-height: 1.8;
}

.aws-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.tech-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 25px;
}

.tech-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.tech-card p {
  color: #ccc;
  line-height: 1.7;
}

.code-button {
  margin-top: 15px;
  padding: 10px 18px;
  background: transparent;
  color: white;
  border: 1px solid #666;
  border-radius: 6px;
  cursor: pointer;
}

.code-button:hover {
  background: white;
  color: #111;
}

.architecture-box {
  margin-top: 25px;
  padding: 25px;
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
}

.architecture-box h3 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .aws-grid {
    grid-template-columns: 1fr;
  }
}


.architecture-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.architecture-flow span {
  padding: 12px 18px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #161616;
}



.command-button {
  padding: 10px 18px;
  background: transparent;
  color: white;
  border: 1px solid #666;
  border-radius: 6px;
  cursor: pointer;
}

.command-button:hover {
  background: white;
  color: #111;
}

.command-modal {
  display: none;
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.75);

  align-items: center;
  justify-content: center;

  z-index: 1000;
}

.command-modal.show {
  display: flex;
}

.command-modal-content {
  width: 90%;
  max-width: 700px;
  max-height: 80vh;

  background: #161616;
  border: 1px solid #444;
  border-radius: 12px;

  padding: 30px;
  position: relative;

  display: flex;
  flex-direction: column;
}

.command-modal-content h3 {
  margin-top: 0;
  flex-shrink: 0;
}

.command-modal-content pre {
  margin: 15px 0 0 0;

  background: #0d0d0d;
  padding: 20px;
  border-radius: 8px;

  overflow: auto;
  max-height: 60vh;

  white-space: pre;
  text-align: left;
}

.command-modal-content code {
  display: block;
  white-space: pre;
}

.close-command-modal {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 40px;
  height: 40px;

  background: transparent;
  border: none;

  color: white;
  font-size: 26px;

  cursor: pointer;
  z-index: 10;
}
