input[type="file"]::file-selector-button {
  padding: 20px 305px;
  background: linear-gradient(135deg, #6EC1E4, #0078D7); /* Chromatic blue gradient */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 800px;
  font-size: large;
  transition: background 0.3s ease; /* Smooth transition for hover effects */
}

input[type="file"]::file-selector-button:hover {
  background: linear-gradient(135deg, #005A9E, #003F7F); /* Darker chromatic effect */
}



p{
  text-align: center;
  font-style:oblique;
  color: #003F7F; /* Darker text for readability */
  margin-bottom:0;
  padding:0;  
}
li,h3,h2,h4{
  color: #003F7F; /* Darker text for readability */
}
img{
  width:100px;
  height:100px;
}

body {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  background-color: #E3F2FD; /* Subtle light blue background for the page */
  margin: 0;
  min-height: 100vh; /* Ensure body takes up full viewport height */
  display: flex;
  flex-direction: column; /* Enable column layout for body */
}

#choices {
  padding: 10px 50px;
  width: 600px;
  font-size: 18px;
  background: linear-gradient(135deg, #ADD8E6, #6EC1E4); /* Lighter chromatic blue */
  color: #003F7F; /* Darker text for readability */
  border: 2px solid #0078D7; /* Accentuating borders */
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
  text-align: left;
}

#progress {
  padding: 10px 200px;
  width: 400px; 
}

#resize,#convert, #compress, #extract {
  background: linear-gradient(135deg, #6EC1E4, #0078D7);
  border: none;
  border-radius: 5px;
  color: white;
  padding: 10px 150px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.3s ease;
  width: 350px;
  text-align: center;
}

#resize:hover,#convert:hover,#compress:hover,#extract:hover {
  background: linear-gradient(135deg, #005A9E, #003F7F);
}

#download {
  background: linear-gradient(135deg, #6EC1E4, #0078D7);
  border: none;
  border-radius: 5px;
  color: white;
  padding: 10px 150px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.3s ease;
  width: 350px;
}

#download:hover {
  background: linear-gradient(135deg, #005A9E, #003F7F);
}

main{
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

form{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#file{
  margin-bottom:20px;

}

button,#progress{
  margin-bottom: 20px;
}
#choices{
  margin-bottom: 50px;
}

footer {
  background: linear-gradient(135deg, #0078D7, #005A9E); /* Chromatic blue gradient */
  color: white; /* White text for contrast */
  text-align: center;
  padding: 15px 0; /* Add vertical padding for a balanced look */
  position: relative;
  bottom: 0;
  width: 100%; /* Full width footer */
  box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow to lift footer */
  margin:0;
}

/* Footer links and headings */
footer h4,a {
  margin: 5px 0; /* Reduce spacing between footer items */
  font-size: 16px; /* Adjust size for readability */
  cursor: pointer; /* Pointer effect for interaction */
  transition: color 0.3s ease; /* Smooth hover color transition */
  text-decoration: none;
  color: white; /* White text for contrast */
}

footer h4,a:hover {
  color: #ADD8E6; /* Lighter blue on hover for interactive effect */
}




/* For tablets (screen width: 768px and below) */
@media (max-width: 768px) {
  input[type="file"]::file-selector-button {
    padding: 15px 50px; /* Smaller padding for compact layout */
    width: auto; /* Let the width adapt naturally */
    font-size: 14px;
  }

  #choices {
    width: 100%; /* Take full width of the container */
    font-size: 16px; /* Slightly smaller font size */
  }

  #progress {
    width: 80%; /* Adjust width for smaller screens */
    padding: 10px; /* Remove extra horizontal padding */
  }

  #resize,#convert,#compress,#extract {
    width: 100%; /* Full width for better button size on smaller screens */
    padding: 10px 0;
    text-align: center;
  }

  ul#fileList li {
    font-size: 14px; /* Adjust font size for file list */
  }
}

/* For mobile phones (screen width: 480px and below) */
@media (max-width: 480px) {
  input[type="file"]::file-selector-button {
    padding: 10px 20px; /* Smaller padding */
    font-size: 12px; /* Smaller font for compact devices */
    width: 98%; /* Take full width */
  }

  #choices {
    width: 80%; /* Full width for dropdown */
    font-size: 14px;
  }

  #progress {
    width: 80%; /* Full width progress bar */
  }

  #resize,#convert,#compress,#extract{
    width: 80%; /* Full width buttons */
    font-size: 14px; /* Adjust button font size */
    text-align: center;
  }

  ul#fileList li {
    font-size: 12px; /* Compact font for mobile */
  }
a{
    font-size:11px;
}
  footer {
    font-size: 14px; /* Adjust footer text for readability */
  }
  p, li{
    font-size:12px;
  }
}

#aboutsection p{
  text-align: justify;

}

#aboutsection{
  width:60%;
  margin-bottom:30px;
}
#abouttitle{
  text-align: center;
}