* {
  margin: 0px;
}

#container-bc0472e14afa27bc2e854d0dbb92efea{
  height: 90px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%; 
}
.page {
  background-color: #002b36;
  margin-bottom: 90px;
}
html,
.background {
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  color: white;
}
.background {
  background-image: url("/images/background.png");
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Navbar */
nav {
  display: flex;
  width: auto;
  min-height: 40px;
  padding: 13px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  padding: 15px;
  text-decoration: none;
  color: white;
  border-radius: 10px;
}
a:hover {
  background-color: green;
}
#openLeetCode{
  padding: 8px;
  color: white;
  background-color: transparent;
  border: none;
  font-size: 18px;
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  position: absolute;
  right: 2.5%;
}
#openLeetCode:hover{
  background-color: green;
}
.main-tittle {
  font-size: 33px;
  position: absolute;
  left: 50%;
  padding: 6px;
}

#main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 15%;
  margin-bottom: 15%;
  height: 100%;
}

.leetcode_input{
  display: flex;
  gap: 25px;
  align-items: center;
}
#problem_No{
  width: 100%;
  height: 25px;
  text-align: center;
  border-radius: 10px;
  padding: 2px;
}

h1 {
  font-size: 54px;
  margin: 8px 0;
}
tr {
  gap: 5px;
}
.container {
  padding: 8px;
  width: 100%;
  justify-items: center;
}
.textarea,
#results,
#inputs {
  width: 30%;
  height: 200px;
}
#results,
#inputs {
  width: 400px;
}
#checkAi,
#run,
#explain {
  height: 35px;
  width: 100px;
  margin-bottom: 10px;
}
.selections {
  display: flex;
  margin: 8px;
  gap: 10px;
}
#checkAi {
  margin-left: 200px;
}
#checkAi:hover,
#run:hover,
#explain:hover {
  background-color: green;
}
.options {
  height: 35px;
  width: 200px;
}
.box {
  color: white;
}
#output {
  height: 300px;
  min-width: 75%;
  background-color: black;
}
.display,
.displayRun {
  visibility: collapse;
}
.displayRun {
  display: none;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 10px;
}
#explainCode {
  max-width: 80%;
  background-color: #958585;
  color: white;
  padding: 45px;
}

/* Menu Button */
.menu-btn {
  visibility: hidden;
}
.card {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  padding: 20px;
  width: 400px;
  color: white;
}
.setCards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* -------------------- Responsive Styles -------------------- */
@media screen and (max-width: 1230px) {
  .background {
    min-height: 60vh;
  }
  #container-bc0472e14afa27bc2e854d0dbb92efea{
  display: none;
}
  nav {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .main-tittle {
    font-size: 28px;
    position: static;
    text-align: center;
  }

  h1 {
    font-size: 34px;
    margin-top: 35%;
  }

  tr {
    display: flex;
    flex-direction: column;
  }

  #main-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 20px;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: -64px auto;
    box-sizing: border-box;
  }

  #checkAi {
    margin-left: 5px;
    width: -webkit-fill-available;
  }

  /* Menu */
  #draw-menu {
    position: fixed;
    left: 0;
    top: 50px;
    width: 80%;
    max-width: 250px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    display: none;
    flex-direction: column;
    z-index: 1000;
  }

  #draw-menu.active {
    display: flex;
  }

  #draw-menu a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #555;
    color: white;
    text-align: left;
    text-decoration: none;
  }

  #draw-menu a:hover {
    background: green;
  }

  .menu-btn {
    visibility: visible;
    display: block;
    position: fixed;
    left: 10px;
    top: 10px;
    background: green;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .display {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .selections {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .runbox {
    width: -webkit-fill-available;
    display: flex;
    flex-direction: center;
    align-items: center;
    gap: 5px;
  }
  .options {
    text-align: center;
  }
}
.upload-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.2);
}

.upload-label {
  display: inline-block;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.upload-label:hover {
  background-color: #218838;
}

.upload-input {
  display: none;
}

.input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.url-input {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
  background-color: #eee;
  color: #333;
}

.button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0056b3;
}
