/* Updated Theme CSS with Image-Based Color Palette */

/*header*/
.main-header {
      height: 60px;
      width: 100%;
      position: fixed;
      top: 0;
      left: 0;
      background-color: #23d994;
      z-index: 100;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .header-navigation {
      display: flex;
      flex-direction: row;
      gap: 20px;
      margin-right: 30px;
    }
    .nav-link {
      font-size: 17px;
      font-weight: 500;
      text-decoration: none;
      color: black;
      /* padding: 15px; */
    }


.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 250px;
  background-color: #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

/* .sidebar-open {
  transform: translateX(0);
}

li {
  padding-left: 10px;
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  display: block;
  margin-left: auto;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.sidebar-menu li {
  margin: 15px 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-menu a {
  text-decoration: none;
  font-size: 16px;
  color: #2b2b2b;
}

.sidebar-menu li.active {
  background-color: #e6f0fa;
  padding: 10px 20px 10px 5px;
}

.sidebar-menu li.active a {
  color: #1476e1;
  font-size: 20px;
}

.menu-icon {
  cursor: pointer;
  height: 50px;
  width: 50px;
  margin-left: 20px;
  margin-right: 10px;
}

.menu-icon:hover {
  opacity: 0.8;
}

.website-icon-name {
  width: 350px;
  height: 100%;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.website-icon {
  height: 50px;
  width: 50px;
  margin-right: 10px;
}

.website-name {
  font-size: 20px;
  font-weight: 600;
  color: black;
}

.right {
  width: 250px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-button,
.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 25px;
  border: 1px solid #1476e1;
  background-color: white;
  color: #1476e1;
  cursor: pointer;
}
.login-button{
  margin-left: 10px;
}

.right button:hover {
  background-color: #1476e1;
  color: white;
}

.share-icon,
.login-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
}

.login-icon {
  width: 20px;
  height: 20px;
} */

.content {
  width: 100%;
  height: 650px;
  background:transparent;
  /* border: solid 1px white;
  border-radius: 20px; */
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.model-name {
  font-size: 70px;
  font-weight: 600;
  color: black;
  margin-bottom: 20px;
  text-align: center;
}

.model-description {
  font-size: 17px;
  font-weight: 400;
  color: gray;
  text-align: center;
  width: 900px;
  /* min-width:fit-content; */
  margin-bottom: 50px;
}
.tag-list{
  width: 30rem;
  position: relative;
  overflow: hidden;
  border-radius:0.8rem ;
  padding: 5px;
}
.inner{
  width:fit-content;
  display: flex;
  gap: 1rem;
  animation: loop 5s linear infinite;
}
.tag{
  display: flex;
  align-items: center;
  gap: 0 0.2rem;
  color: rgb(22, 22, 22);
  font-size: 0.9rem;
  background-color: #4bd8a2;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  /* box-shadow: 
  0 0.1rem 0.2rem #00000033,
  0 0.1rem 0.5rem #0000004d,
  0 0.2rem 1.5rem #00000066; */
}
.tag span{
  font-size: 1.2rem;
  color: #050706;
}
.fade{
  position: absolute;
  background: linear-gradient(90deg,#49e1a7,#71e8ba,#f1fdf8);
  inset: 0;
  pointer-events: none;
}

@keyframes loop{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

.input-container {
  margin-top: 50px;
  height: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  border-radius: 20px;
  width: 100%;
  background-color: transparent;
}

.input-area {
  background:linear-gradient(135deg,#1df09f,#71e8ba,#f1fdf8) ;
  width:700px;
  height: 700px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  /* box-sizing: border-box; */
  
}

.image-preview {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 60px;
}

.upload-remove-buttons {
  display: flex;
  gap: 50px;
  margin-top: 40px;
 
}

.upload-btn,
.remove-btn {
  padding: 16px 28px;
  font-size: 18px;
  font-weight: 600;
  /* border: 1px solid lightgray; */
  border-radius: 20px;
  color: rgb(241, 239, 239);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.upload-btn {
  background-color: #49e1a7;
  padding-left: 50px;
  padding-right: 50px;
}

.remove-btn {
  background-color: #49e1a7;
}

.upload-btn:hover,
.remove-btn:hover,
.upload-btn:active,
.remove-btn:active {
  opacity: 0.7;
}

.upload-icon {
  height: 80px;
  width: 80px;
  border: 1px solid lightgray;
  padding: 5px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 30px;
}
.prediction-box {
  margin-top: 20px;
  padding: 10px 50px;
  border-radius: 12px;
  background-color: #e6f4ea;
  color: #2b593e;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
}


.custom-file-upload input[type="file"] {
  display: none;
}

.select-image-btn,
.dropdown-btn {
  height: 70px;
  border: none;
  cursor: pointer;
  font-size: 22px;
  font-weight: 600;
  color: white;
  padding: 20px 20px;
  border: 1px solid white;
  border-radius: 8px;
  margin-top: 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom:20px ;
}

.methods{
  height: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.how-to-wrapper {
  width: 100%;
  height: auto;
  background-color: #98eecd;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 200px;
  box-shadow: 0 4px 12px rgba(236, 234, 234, 0.363);
}

.how-to-box {
  width: 80%;
  max-width: 800px;
  background-color: transparent;
  padding: 20px 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 12px;
}

.how-to-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.how-to-use {
  font-size: 18px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background-color: transparent;
}

.how-to-use p {
  margin: 0;
  margin-bottom: 14px;
}

.about-model {
  width: 100%;
  background-color: transparent;
  /* border: solid 1px white;
  border-radius: 20px; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  padding: 70px 120px;
  box-sizing: border-box;
  margin-top: 200px;
  margin-bottom: 30px;
  
}

.about-model-point {
  background-color: #71e8ba;
  border-radius: 20px;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 200px;
}

.about-model-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
}

.about-model-title {
  font-size: 20px;
  font-weight: 700;
  color: black;
  margin-bottom: 30px;
}

.about-model-description {
  font-size: 17px;
  color: black;
  font-weight: 500;
  text-align: center;
}

.container {
  width: 100%;
  margin: 0 auto;
 
  box-sizing: border-box;
}

body {
  background:linear-gradient(#c0f5e1,#f1fdf8);
  color: black;
  font-family: Roboto;
  height: 3000px;
  padding-top: 70px;
}
@media screen and (max-width: 768px) {
  .about-model {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 30px;
  }

  .left, .right {
    width: 100%;
    justify-content: space-around;
  }

  .header {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  .website-icon-name {
    flex-direction: column;
    align-items: center;
  }

  .input-area {
    height: auto;
  }

  .upload-remove-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .model-name {
    font-size: 28px;
  }

  .model-description {
    font-size: 16px;
    width: 90%;
  }

  .select-image-btn {
    font-size: 18px;
    padding: 14px;
  }

  .how-to-box {
    width: 95%;
  }
}

