body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #1f1f1f;
}


#active:hover {
  background-color: #252525;
  border-radius: 10px;
}
* {
  box-sizing: border-box;
}

.topnav {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
background: 161616;
background: linear-gradient(315deg, rgb(14, 14, 14) 0%, rgb(31, 31, 31) 100%);
  padding: 0px 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    rgba(137, 46, 240, 0.4) 0px 5px,
    rgba(114, 46, 240, 0.3) 0px 10px,
    rgba(98, 46, 240, 0.2) 0px 15px,
    rgba(75, 46, 240, 0.1) 0px 20px,
    rgba(104, 46, 240, 0.05) 0px 1px;
  z-index: 1000;
}

.logo {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 17px;
  padding: 14px 16px;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
}

.logo img {
  margin-right: 8px;
}

.logo:hover {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav {
  color: #f2f2f2;
    border-radius: 10px;
  text-decoration: none;
  padding: 15px 15px;
  font-size: 17px;
  transition: background-color 0.2s;
}

.nav:hover {
  background-color: #252525;
  border-radius: 10px;
}

.icon {
  display: none;
  color: #f2f2f2;
  font-size: 20px;
  padding: 5px;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  .topnav {
    position: relative; 
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center; 
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 20px; 
    margin-bottom: 25px;
  }

  .nav-links.responsive {
    display: flex;
  }

  .nav {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
  }

  .icon {
    display: block;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
  }
}

.main {
  margin-top: 60px; 
  padding: 20px;
  max-width: 1600px;   
  margin-left: auto;   
  margin-right: auto;
  color: #ffffff;         
}

h2 {
  background: -webkit-linear-gradient(#8f4aff, #3e25ac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h3 {
    color:rgb(199, 199, 199);
}

.norm {
    border: none;
    color:white;
    background-color: #181818;
    padding:10px;
    border-radius: 10px;
    box-shadow: rgb(24, 24, 24) 0px 0px 10px 3px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.1s;
    font-weight: bold;
}

.norm:hover{
    transform: scale(1.05);
    color:#a166ff;
    font-weight: bold;
}

.discord {
    border: none;
    color:white;
    background-color: #5c64d6;
    padding:10px;
    border-radius: 10px;
    box-shadow: rgb(24, 24, 24) 0px 0px 10px 3px;
    text-decoration: none;
    padding-left: 30px;
    padding-right: 30px;
    cursor: pointer;
    transition: transform 0.1s;
    font-weight: bold;
}

.discord:hover{
    transform: scale(1.05);
    color:#000000;
    font-weight: bold;
}

.responsive {
  width: 100%;
  height: auto;
  max-width: 500px;
}

.responsive2 {
  width: 100%;
  height: auto;
  max-width: 1000px;
}

code {
    background-color: #585858;
    padding:2.5px;
    border-radius: 6px;
}

textarea {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 15px;
  border: 2px solid #2f2f2f;
  padding: 10px;
  font-family: Arial;
  font-size: 14px;
  background-color: #1f1f1f;
  color: #ffffff;
  resize: none;
  box-sizing: border-box;
  overflow: hidden;
}

pre {
    background-color: #181818;
    padding: 10px;
    border-radius: 8px;
    white-space: pre-wrap; 
    word-wrap: break-word;
    max-width: 100%; 
    overflow-x: auto; 
    box-sizing: border-box; 
}

@media (max-width: 768px) {
    pre {
        font-size: 14px; 
        padding: 10px; 
    }
}