* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #333;
}

.header h1 a {
  color: white;
  text-decoration: none;
}
.header h1 {
  margin: 0;
  font-size: 14px;
}

.header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.header ul li {
  display: inline-block;
}

.header ul li a {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  color: white;
}

.header ul li a:hover {
  background-color: #555;
}

@media screen and (max-width: 768px) {
  .header ul {
    display: none;
  }

  .header .menu-toggle {
    display: block;
    cursor: pointer;
  }
}

.menu-toggle {
  display: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #555;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #555;
}

/* Add this to your existing CSS */
.subscribe {
  background-color: #4CAF50;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
}

.subscribe:hover {
  background-color: #45a049;
}


button {
  padding: 8px 40px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: white;
}

#shiny {
  border-radius: 50px;
  border: none;
  background: #a7c957;
  position: relative;
  overflow: hidden;
}

#shiny::before {
  content: "";
  width: 15rem;
  height: 1.5rem;
  position: absolute;
  top: -70%;
  left: -60%;
  background-color: #f2e8cf;
  transform: rotateZ(115deg);
  transition: left 800ms ease, transform 800ms ease;
}

#shiny:hover:before {
  left: 70%;
}

#shiny:active {
  transform: scale(0.98);
}

.error {
  font-size: 20px;
  color: red;
}

/* Add this to the end of your styles.css */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 300px);
}

.login-btn {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border: 2px solid #333;
  border-radius: 4px;
  font-size: 18px;
  text-decoration: none;
  color: #333;
}

.login-btn img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.login-btn:hover {
  background-color: #f1f1f1;
}

.container {
  padding: 2% 6%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.top-section {
  flex: 1;
  min-width: 45%;
  max-width: 45%;
  margin-bottom: 20px;
}

.bottom-section {
  flex-basis: 100%;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .top-section {
    min-width: 100%;
    max-width: 100%;
  }
}

.centered-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50vh;
}

.centered-content h2 {
  margin-bottom: 1rem;
}

.centered-content p {
  margin-bottom: 2rem;
}

.centered-content a {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
}

.centered-content a:hover {
  background-color: #555;
  cursor: pointer;
}

.style-button {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

.style-button:hover {
  background-color: #555;
  cursor: pointer;
}

/* Modal */
.footer-menu {
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.footer-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0 0.5rem;
}

.footer-menu a:hover {
  color: #4CAF50;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.dont-show {
  display: none;
}

#drop_zone {
  border: 2px dashed #aaa;
  border-radius: 10px;
  width: 100%;
  height: 100px;
  text-align: center;
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
}

#drop_zone:hover {
  border: 2px solid #414141;
}

#drop_zone p {
  font-size: 16px;
}

/* For Dashboard */

.hold {
  margin: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0;
}

.dash-container {
  max-width: 800px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex; /* Added */
  flex-direction: column; /* Added */
  align-items: center; /* Added */
}

form p {
  margin: 0; /* Added */
  display: flex; /* Added */
  flex-direction: column; /* Added */
  align-items: center; /* Added */
  width: 100%; /* Added */
}

form p input {
  margin-bottom: 16px; /* Added */
}

/* For custom text field */
form .custom-text-container {
  width: 100%; /* Added */
  margin-bottom: 16px; /* Added */
}

form .custom-text-container label {
  display: none; /* Added */
}

form .custom-text-container input[type="text"] {
  width: 100%; /* Added */
}

input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #45a049;
}

/* Add this to your existing CSS */
.success-message {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 4px;
  text-align: center;
}
