/* animegifs */
section2 {
  display: grid;
  grid-template-columns: 1fr min-content;
  grid-gap: 5px;
}

.container {
      display: flex;
      flex-direction: column;
      width: 100%;
      display: flex;
      margin: auto;
      text-align: center;
    }

.code-box pre code.hljs{
      background-color: rgba(0, 0, 0, 0.9);
      color: white;
      padding: 10px;
      display: inline-block;
      width: 790px;
      height: 230px;
      overflow: auto;
      overflow-x: auto;
      overflow-y: hidden;
      font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
      margin: 55px 0 5px 50px;
      text-align: left;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
      border-radius: 6px;
      transition: transform 0.3s ease-in-out;
    }

.code-box pre code.hljs:hover {
      transform: scale(1.05);
    }

.code-box2 {
      background-color: rgba(0, 0, 0, 0.9);
      color: white;
      padding: 10px;
      display: inline-block;
      align-items: center;
      width: 790px;
      height: 300px;
      overflow: auto;
      overflow-x: auto;
      overflow-y: hidden;
      font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
      margin: 55px 0 5px 57px;
      text-align: left;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
      border-radius: 6px;
      transition: transform 0.3s ease-in-out;
    }

.code-box2:hover {
      transform: scale(1.05);
    }

.code-box2 pre code.hljs {
  background-color: transparent;
  color: white;
  padding: 0;
  margin: 0;
}

section3 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  display: none;
  margin-top: 5px;
}

.container2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.code-box3 {
      background-color: rgba(0, 0, 0, 0.1);
      color: white;
      padding: 5px;
      display: inline-block;
      align-items: center;
      width: 790px;
      height: 475px;
      overflow: auto;
      overflow-x: hidden;
      overflow-y: auto;
      font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
      margin: 0px 0 50px 50px;
      text-align: center;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
      border-radius: 6px;
      transition: transform 0.3s ease-in-out;
      margin-bottom: 5px;
    }

.gifgif {
    margin: 0 0 0px 20px;
}

.title_h {
    color: white;
    text-shadow: 2px 2px 6px black;
    text-align: center
    margin: 20px
}

.line-container {
      margin: 20px;
    }

.hr {
      border: none;
      border-top: 1px solid white;
    }

.image-box .agifs_img {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: inline-block;
    width: 600px;
    height: 600px;
    margin: 55px 50px 0px 360px;
    text-align: right;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    transition: transform 0.3s ease-in-out;
    align-items: center;
}

.image-box .agifs_img:hover {
      transform: scale(1.05);
    }

.url-prefix {
  display: inline-block;
  border: 1px solid blue;
  padding: 2px 4px;
  color: green;
  font-weight: bold;
  border-radius: 4px;
  background-color: #f2f2f2;
}

.hidden {
    display: none;
}

.select-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

#formSelector {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease-in-out;
}

#formSelector:focus {
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

form {
  padding-top: 20px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

label {
    display: block;
}

.preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
}

.option-label {
  font-family: inherit;
  font-size: 14px;
  color: #333;
  margin-right: 10px;
}

.option-row {
  display: flex;
  align-items: center;
}

.preview-button {
  padding: 8px 15px;
  background-color: #4CAF50;
  color: white;
  border: 1px solid black;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.preview-button:hover {
  background-color: #45a049;
}