@media screen and (min-width: 1200px) {
  .md-grid {
    max-width: 80%;
  }

  .md-sidebar {
    min-width: 15rem;
  }

  .md-nav__list {
    min-width: 13rem;
  }

}

.md-header__button.md-logo {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  margin-top: 10px;
  height: 25%;
  width: 25%;
}

.md-source {
  width: 200px;
}


:root {
  --icon-color-light: #000;
  /* Light mode color */
  --icon-color-dark: #fff;
  /* Dark mode color */
}

@media (prefers-color-scheme: dark) {
  .logo {
    color: var(--icon-color-dark);
  }
}

@media (prefers-color-scheme: light) {
  .logo {
    color: var(--icon-color-light);
  }
}


.icon-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.icon-box {
  flex: 1;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 250px;
  height: 250px;
  transition: all 0.3s ease;
  /* Smooth resizing */
}

.icon-box figure {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.properties-box {
  flex: 1;
}

/* Responsive layout and larger SVG for zoom or smaller screens */
@media (max-width: 800px) {
  .icon-container {
    flex-direction: column;
    align-items: center;
  }

  .icon-box {
    width: 550px;
    height: 550px;
  }

  .properties-box {
    width: 100%;
    text-align: left;
  }
}

.glass-hero {
  /* Frosted Glass Effect */
  background: rgba(255, 255, 255, 0.2);
  /* Semi-transparent white */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  backdrop-filter: blur(15px);
  /* Applies blur */
  -webkit-backdrop-filter: blur(15px);
  /* Safari Support */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
  padding: 20px;
  max-width: 1300px;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

dialog::backdrop {
  /* Darkened Background */
  background: rgba(0, 0, 0, 0.5);
}

/* Glass Effect for Textarea */
.glass-textarea {
  width: 100%;
  font-size: 1rem;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Subtle white border */
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  /* Semi-transparent white */
  backdrop-filter: blur(10px);
  /* Frosted glass blur */
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Light shadow */
  color: #fff;
  /* White text for contrast */
  outline: none;
  /* Removes default focus outline */
}

.glass-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  /* Lighter placeholder text */
}

/* Glass Effect for Buttons */
.glass-button {
  background: rgba(255, 255, 255, 0.2);
  /* Semi-transparent white */
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Subtle white border */
  border-radius: 10px;
  padding: 10px 15px;
  color: #fff;
  /* White text */
  cursor: pointer;
  backdrop-filter: blur(10px);
  /* Frosted glass blur */
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Light shadow */
  transition: background 0.3s, transform 0.2s;
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.3);
  /* Slightly brighter on hover */
  transform: scale(1.05);
  /* Scale effect on hover */
}

.glass-button:active {
  transform: scale(0.95);
  /* Pressed button effect */
}

/* Light theme styles */
.light-theme {
  background-color: #fff;
  color: #000;
  border: 1px solid #ddd;
}

/* Dark theme styles */
.dark-theme {
  background-color: #2d3748;
  color: #fff;
  border: 1px solid #4a5568;
}

/* Button theme overrides */
.glass-button.light-theme {
  background-color: #f0f0f0;
  color: #000;
}

.glass-button.dark-theme {
  background-color: #4a5568;
  color: #fff;
}

/* Green submit button */
.green-submit {
  background-color: #4caf50;
  /* Green */
  color: white;
  border: none;
}

.green-submit:hover {
  background-color: #45a049;
  /* Darker green */
}