.about-wrapper {
  opacity: 0; 
  transition: opacity 0.3s ease; 
  margin-top: 170px;
  height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  display: flex;
  margin: 50px;
}

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

.code-editor {
  max-width: 1000px;
  background-color: #0a0e14;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 0px 2px 2px 2px;
  border: 1px solid #1c1f26; 
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  background-color: #1a1f29; 
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 5px;
}

.header button {
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.2s ease-in;
  color: #8be9fd; 
}

.header button:hover {
  text-shadow: 0px 0px 8px rgba(139, 233, 253, 0.8); 
  color: #50fa7b; 
}

.title {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1.57px;
  color: #f8f8f2; 
}

.icon {
  width: 20px;
  transition: .2s ease;
}

.icon:hover {
  cursor: pointer;
  border-radius: 50px;
  background-color: #50fa7b; 
}

.editor-content {
  margin: 0 10px 10px;
  color: #f8f8f2; 
}

.html, .css, .js {
  display: none;
}

.css {
  display: block; 
}

.property {
  margin-left: 30px;
  color: #6272a4;
}

.property:hover {
  cursor: text;
  color: #8be9fd; 
}

.editor-content .color-0 {
  color: #ff79c6; 
}

.editor-content .color-1 {
  color: #50fa7b; 
}

.editor-content .color-2 {
  color: #8be9fd; 
}

.editor-content .color-3 {
  color: #bd93f9; 
}

.color-preview-1, .color-preview-2 {
  height: 8px;
  width: 8px;
  border: 1px solid #fff;
  display: inline-block;
  margin-right: 3px;
}

.color-preview-1 {
  background-color: #6272a4; 
}

.color-preview-2 {
  background-color: #8be9fd; 
}

@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column; 
    margin: 30px; 
    margin-top: 100px; 
    height: auto; 
  }

  .about-container {
    flex-direction: column; 
    width: 100%; 
  }

  .code-editor {
    width: 100%; 
    max-width: 100%; 
  }

  .header {
    flex-direction: column; 
    align-items: flex-start; 
  }
}
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    margin: 30px;
    margin-top: 100px;
    height: auto;
  }

  .about-container {
    flex-direction: column;
    width: 100%;
  }

  .code-editor {
    width: 100%;
    max-width: 100%;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .about-wrapper {
    margin-top: 80px;
  }

  .title {
    font-size: 12px;
  }

  .icon {
    width: 18px;
  }

  .property {
    margin-left: 20px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #0d151e81;
}

.modal-container {
  background-color: #1a1f29;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 40%;
  color: #fff;
  border: 1px solid #8be9fd;
  box-shadow: 0px 0px 15px rgba(77, 163, 255, 0.5); 
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5em;
  color: #ff79c6;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #444;
  background-color: #1e1e1e;
  color: #e0e0e0;
}

.about-tooltip {
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  visibility: hidden;
}

.about-trigger:hover .about-tooltip {
  visibility: visible;
}
