/* nAV BAR  */
/* @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap'); */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
} 
nav{
  display: flex;
  height: 80px;
  width: 100%;
  background: #1b1b1b;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px 0 100px;
  flex-wrap: wrap;
  position: relative; /* Ensure the nav bar is positioned */
  z-index: 999; /* Bring the nav bar on top of other content */ 
  
}
nav .logo{
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}
nav ul{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  position: relative;
  z-index: 1000; /* Make sure the menu appears above the moving cards */
}
nav ul li{
  margin: 0 5px;
}
nav ul li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
nav ul li a.active,
nav ul li a:hover{
  color: #111;
  background: #fff;
}
nav .menu-btn i{
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
  position: relative;
}
input[type="checkbox"]{
  display: none;
}
@media (max-width: 1000px){
  nav{
    padding: 0 40px 0 50px;
  }
}
@media (max-width: 920px) {
  nav .menu-btn i{
    display: block;
  }
  #click:checked ~ .menu-btn i:before{
    content: "\f00d";
  }
  nav ul{
    position: fixed;
    top: 80px;
    left: -100%;
    background: #111;
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
  }
  #click:checked ~ ul{
    left: 0;
  }
  nav ul li{
    width: 100%;
    margin: 40px 0;
  }
  nav ul li a{
    width: 100%;
    margin-left: -100%;
    display: block;
    font-size: 20px;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  #click:checked ~ ul li a{
    margin-left: 0px;
  }
  nav ul li a.active,
  nav ul li a:hover{
    background: none;
    color: cyan;
  }
}
.content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: -1;
  width: 100%;
  padding: 0 30px;
  color: #1b1b1b;
}
.content div{
  font-size: 40px;
  font-weight: 700;
}
/* end */

body{
  background-image: url(images/wordbg.webp);
}

#title{
  color: black;
}

/* Main container styles */
.container {
    max-width: 800px;
    margin: 100px auto 50px auto; /* Adjusted top margin for navbar */
    padding: 30px;
    background: #ffffff; /* White background for contrast */
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-image: url(images/wordcon.webp);
}

/* Header styles */
h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #007BFF; /* Consistent with navbar */
}

/* Textarea styles */
textarea {
    width: 100%;
    height: 150px;
    padding: 12px; /* Increased padding for comfort */
    border-radius: 8px;
    border: 1px solid #ccc; /* Light border */
    margin-bottom: 20px; /* Increased bottom margin */
    font-size: 16px;
    font-family: 'Poppins', sans-serif; /* Match font */
}

/* Button styles */
button {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #28a745; /* Green button */
    color: #ffffff;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth transition */
}

button:hover {
    background-color: #218838; /* Darker green on hover */
}

/* Results section styles */
#results {
    margin-top: 30px; /* Increased margin */
    backdrop-filter: blur(4px);
}

#results p {
    font-size: 18px;
    margin-bottom: 10px; /* Spacing between results */
    
}

/* Upload box styles */
#upload_box {
    margin-top: 0px; /* Increased margin */
    display: flex;
    width: 900px;
    margin-left: 210px;
    justify-content: center;
    background-color: #343a40; /* Dark background for contrast */
    border-radius: 10px;
    padding: 15px; /* Padding for better look */
}

.file {
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}
