.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-content-skills {
  background: rgb(0, 0, 0);
  padding: 20px;
  max-width: 400px;
  border-radius: 8px;
  position: relative;
  color: rgb(255, 255, 255);
}

#modalClose {
  color: red;
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

#modalClose:hover {
  color: darkred;
}

#readme-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#readme-content {
  background: white;
  color: black;
  padding: 20px;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  position: relative;
}

#close-modal {
  position: absolute; 
  top: 10px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: red;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
}

#close-modal:hover {
  color: darkred;
}

#readme-modal.hidden {
  display: none;
}

.markdown-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}