* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}



#nav {
  width: 100%;
  height: 9vh;
  background-color: rgb(220, 220, 228);
  display: flex;
  align-items: center;
  justify-content: space-between;
  
 
}

#logo img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  margin-left: 30px;
  border-radius: 30px;
  position: relative;
  bottom: 5px;
  padding: 5px;
  margin-top: 9px;
}

#icon i {
  position: absolute;
  top: 20px;
  right: 40px;
  color: black;
  font-size: 28px;
  cursor: pointer;
}

#sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 220px;
  height: 100vh;
  background: #c7d0d7;
  color: black;
  padding: 50px;
  transition: left 0.3s ease;
  z-index: 3;
  visibility: hidden;
}

#sidebar.active {
  left: 0;
  visibility: visible;
}

#sidebar ul {
  list-style: none;
  
}

#sidebar li {
  margin-bottom: 40px;
}

#sidebar a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: larger;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


#sidebar a:hover {
  color:white;
  text-decoration: underline;
}

#text p {
  display: flex;
  justify-content: center;
margin-top: 60px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 30px;
  color: #333;
  z-index: 1;
}

#upload-container {
  margin-top: 200px;
  margin-left: 480px;
  border: 2px solid rgb(175, 175, 191);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(144, 159, 168, 0.1);
  width: 500px;
  height: 260px;
  padding: 50px;
  background-color:white; 
}

#upload-container h2 {
  position: relative;
  left: 120px;
  bottom: 30px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 15px;
}

input[type="file"] {
  padding: 10px;
  border: 1px solid #98a3ad;
  border-radius: 7px;
  width: 100%;
  font-size: 16px; 
  background-color: #f9f9f9; 
  transition: border-color 0.3s ease;
}

input[type="file"]:hover {
  border-color: #0078d4; 
}

button {
  padding: 10px;
  border: 1px solid rgb(86, 86, 142);
  border-radius: 10%;
  width: 5vw;
  background: #0078d4;
  color: white;
  cursor: pointer;
  font-weight: bold; 
  
}

button:hover {
  background-color: #e6f0ff; 
  color: #0078d4; 
}


@media (max-width: 780px) {
  #nav {
    flex-direction: column;
    height: 10vh;
    padding: 10px;
   
  }

  #logo img {
    width: 60px;
    height: 60px;
    margin-left: 10px;
    margin-top: 10px;
    bottom: 0;
  }

  #icon i {
    top: 10px;
    right: 20px;
    font-size: 24px;
  }

  #upload-container {
    margin-top: 120px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: auto;
    padding: 30px;
  }

  #upload-container h2 {
    left: 0;
    text-align: center;
    bottom: 0;
    font-size: 22px;
  }

  form {
    padding: 10px;
    gap: 10px;
  }

  input[type="file"] {
    font-size: 14px;
  }

  button {
    width: 100%;
    font-size: 16px;
  }

  #sidebar {
    width: 70%;
    padding: 30px 20px;
  }

  #sidebar li {
    margin-bottom: 25px;
  }

  #sidebar a {
    font-size: 16px;
  }

  #text p {
    font-size: 24px;
    margin-top: 20px;
    text-align: center;
  }
}
