*{
  margin: 0;
  padding: 0;
  font-family: oswald sans-serif;
  font-family: "Markazi Text", serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;

}
:root {
  --primary-color: #e0e0e0;
  --secondary-color: #2e2e2e;
  --accent-color: #23527c;
  --text-color: burlywood;
  --hover-color: #807676;
  --nav-color: #1e1a1a;
  --background-color: #2e2e2e;
  --new-color:black;
  --next-color:#3d3b3b;
}

.light-mode{
  --primary-color: black;
  --secondary-color: #2e2e2e;
  --accent-color: #23527c;
  --text-color: #1e1a1a;
  --hover-color: #807676;
  --nav-color: #e0e0e0;
  --background-color:#e0e0e0;
  --new-color:white;
  --next-color:#d5d2d2;
}

.light-mode .menu-button svg {
  fill: var(--primary-color);
}

.light-mode .sidebar li:first-child svg {
  fill:var(--primary-color);
}


body{
  margin: 0;
  background-color:var(--background-color);
  color: var(--primary-color);
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--nav-color);
  z-index: 1000;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
}

nav ul li a:hover {
  color: #ccc;
  background-color: var(--hover-color);
  padding: 20px;
}

nav ul li ul {
  display: none;
  position: absolute;
  background-color: var(--background-color);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li {
  margin-bottom: 10px;
}

nav ul li ul li a {
  color: var(--primary-color);
  text-decoration: none;
}

nav ul li ul li a:hover {
  color: var(--hover-color);
}



.blog-button {
  background-color:#2e2e2e;
  color: var(--primary-color);
  border: none;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  margin-left: 33px;
}

.blog-button:hover {
  background-color:var(--accent-color);
  color: var(--background-color);
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: var(--background-color);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
}

.sidebar li {
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid rgb(255, 228, 196);
}

.sidebar a {
  width: 100%;
  text-decoration: none;
  color: var(--text-color);
  font-size: 20px;
  font-weight: bold;
}

.sidebar a:hover {
  background-color: var(--hover-color);
  padding: 10px;
  color: var(--primary-color);
}

.sidebar li:first-child {
  padding-top: 0;
}

.sidebar li:last-child {
  border-bottom: none;
}
.menu-button{
  fill: var(--primary-color);
  display: none;
  margin-right: 70px;
}

/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
.menu-button {
  display: none;
}
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
.menu-button {
  display: block;
  margin-right: 0;
  width: 20%;
}
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
.menu-button {
  display: block;
  margin-right: 0;
  width: 15%;
}
}

/* Small Mobile Screens */
@media (max-width: 479px) {
.menu-button {
  display: block;
  margin-right: 0;
  width: 20%;
}
}

@media(max-width: 800px){
.hideonmobile{
    display: none;
}
.menu-button{
    display: block;
}
}

@media(max-width: 400px){
.hideonmobile{
    width: 100%;
}
}

@media (min-width: 768px) and (max-width: 1199px){
.hideonmobile{
display: none;
}
.menu-button{
display: block;
}
}



/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
nav {
  padding: 20px;
}

nav ul{
  max-width: 1200px;
  margin: 0 auto;
}

nav li{
  font-size: 20px;
}
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
nav {
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

nav ul{
  max-width: 1200px;
  margin: 0 auto;
}

nav li{
  font-size:35px ;
}
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
nav {
  padding: 10px;
}

nav ul{
  max-width: 1200px;
  margin: 0 auto;
}

nav li{
  font-size:35px ;
}
}

/* Small Mobile Screens */
@media (max-width: 479px) {
nav {
  padding: 5px;
}

nav ul{
  max-width: 1200px;
  margin: 0 auto;
}

nav li{
  font-size:30px ;
}
}










/*profile styles*/
.container {
 font-family: Barlow sans-serif;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--nav-color);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.image-section {
  width: 40%;
  margin-right: 20px;
  margin-top: 80px;
}

.image-section img {
  width: 80%;
  height: 650px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.content-section {
  width: 40%;
  padding: 25px;
  color: var(--text-color);
}

.content-section p {
  font-size: 18px;
  margin-bottom: 20px;
}

.read-more {
  background-color:#2e2e2e;
  color: var(--primary-color);
  border: none;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.read-more:hover {
  background-color:var(--accent-color);
}

/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
 
  .image-section {
    width: 50%;
  }
  .content-section {
    width: 50%;
    font-size: 35px;
  }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    width: 100%;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    overflow-x: hidden;
  }
  .image-section {
    width: 60%;
    
  }
  .content-section {
    width: 100%;
    font-size: 20px;
  }
  .image-section img{
    width: 90%;
    height: auto;
  }
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
  .container {
    width: 100%;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    overflow-x: hidden;
  }
  .image-section {
    width: 80%;
  }
  .content-section {
    width: 100%;
    font-size: 10px;
  }

  .image-section img{
    width: 100%;
    height: auto;
  }
}

/* Small Mobile Screens */
@media (max-width: 479px) {
  .container {
    width: 100%;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .image-section {
    width: 100%;
  }
  .content-section {
    width: 100%;
    font-size: 10px;
  }
  .image-section img {
    width: 100%;
    height: auto;
  }
}

/* Responsive Read More Button */
@media (max-width: 400px) {
  .read-more {
    width: 100%;
    text-align: center;
  }
}


/*dazed*/
.con {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--nav-color);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
}

.book-cover {
  width: 50%;
  margin-right: 20px;
  margin-top: 100px;
}

.book-cover img {
  width: 80%;
  height: 600px;
  object-fit:contain;
  border-radius: 8px;
  box-shadow: 0 0 10px  rgba(0, 0, 0, 0.1);
}

.book-details {
  width: 50%;
  padding: 20px;
}

.book-details h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.book-details p {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.book a{
  text-decoration: none;
}

.book-title {
  text-decoration: none;
  color: var(--text-color);
}

.pre-order-button {
  background-color: var(--hover-color);
  color: var(--nav-color);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.pre-order-buttons {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.pre-order-button {
  margin-bottom: 10px;
}

.pre-order-button:last-child {
  margin-bottom: 0;
}

.pre-order-button:hover {
  background-color: rgb(107, 96, 82);
}

a .pre-order-button {
 text-decoration: none;
}


/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
.con {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  margin-top: 20px;
}
.book-cover {
  width: 50%;
  margin-right: 20px;
}
.book-cover img {
  width: 80%;
  height: 600px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(68, 64, 64, 0.1);
}
.book-details {
  width: 50%;
  padding: 20px;
}
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
.con {
  width: 100%;
  padding: 20px;
  flex-direction: row;
  flex-wrap: wrap;
}
.book-cover {
  width: 100%;
  margin-right: 20px;
}
.book-cover img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 50px;
  box-shadow: 0 0 10px rgba(48, 46, 46, 0.178);
}
.book-details {
  width: 100%;
  padding: 20px;
}
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
.con {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.book-cover {
  width: 100%;
  margin-right: 20px;
}
.book-cover img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.book-details {
  width: 100%;
  padding: 20px;
}
.pre-order-button {
  padding: 2% 4%;
  font-size: 80%;
}
}

/* Small Mobile Screens */
@media (max-width: 479px) {
.con {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.book-cover {
  width: 100%;
  margin-right: 0;
}
.book-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.464);
}
.book-details {
  width: 100%;
  padding: 20px;
}
}

@media(max-width: 800px){
  .hideonmobile{
      display: none;
  }
  .menu-button{
      display: block;
  }
}

@media(max-width: 400px){
  .hideonmobile{
      width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199px){
.hideonmobile{
  display: none;
}
.menu-button{
  display: block;
}
}



/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
  nav {
    padding: 20px;
  }

  nav ul{
    max-width: 1200px;
    margin: 0 auto;
  }

  nav li{
    font-size: 20px;
  }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
  nav {
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
  }

  nav ul{
    max-width: 1200px;
    margin: 0 auto;
  }

  nav li{
    font-size:35px ;
  }
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
  nav {
    padding: 10px;
  }

  nav ul{
    max-width: 1200px;
    margin: 0 auto;
  }

  nav li{
    font-size:35px ;
  }
}

/* Small Mobile Screens */
@media (max-width: 479px) {
  nav {
    padding: 5px;
  }

  nav ul{
    max-width: 1200px;
    margin: 0 auto;
  }

  nav li{
    font-size:30px ;
  }
}





/* Books Section Styles */
  
.contain {
  width: 100%;
  text-align: center;
  padding: 20px;
  background-color: var(--nav-color);
  color: var(--primary-color);
  margin-top: 50px;
}
.contain h1 {
  font-size: 2em;
  margin-bottom: 20px;
}
.books {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.book {
  width: 300px;
  height: 400px;
  margin: 20px;
  display: inline-block;
  transition: transform 0.5s,background-color 0.5s ;
  background-color: var(--text-color);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.book:hover {
  transform: scale(1.5);
  background-color: var(--primary-color);
}

.book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.book-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}


/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
  .book {
    width: 350px;
    height: 450px;
    margin: 25px;
  }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .books {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .book {
    width: 300px;
    height: 400px;
    margin: 20px;
  }
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
  .books {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .book {
    width: 250px;
    height: 350px;
    margin: 15px;
  }
}

/* Small Mobile Screens */
@media (max-width: 479px) {
  .books {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .book {
    width: 200px;
    height: 300px;
    margin: 10px;
  }
}

/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
  .book:hover {
    transform: scale(1.5);
    background-color: var(--primary-color);
  }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .book:hover {
    transform: scale(1.3);
    background-color: var(--primary-color);
  }
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
  .book:hover {
    transform: scale(1.2);
    background-color: var(--primary-color);
  }
}

/* Small Mobile Screens */
@media (max-width: 479px) {
  .book:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
  }
}



/*footer stats*/

.footer {
  background-color:var(--new-color);
  color: var(--primary-color);
  padding: 20px;
  text-align: center;
  clear: both;
  position: relative;
  z-index: 10;
  bottom: 0;
  width: 100%;
  margin-top: 100px;
}

.footer h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer p {
  font-size: 18px;
  margin-bottom: 20px;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  margin-right: 20px;
  font-size: 24px;
  color: var(--primary-color);
}

.social-links a:hover {
  color: var(--hover-color);
}

.copyright {
  font-size: 18px;
  margin-top: 20px;
}


/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
.footer {
  padding: 40px;
  text-align: center;
  width: 100%;
}
.footer h1 {
  font-size: 36px;
  margin-bottom: 20px;
}
.footer p {
  font-size: 24px;
  margin-bottom: 30px;
}
.social-links {
  margin-top: 30px;
}
.social-links a {
  margin-right: 30px;
  font-size: 36px;
  color: var(--primary-color);
}
.social-links a:hover {
  color: var(--hover-color);
}
.copyright {
  font-size: 24px;
  margin-top: 30px;
}
}


/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .footer {
    padding: 20px;
    width: 100%;
  }
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
  .footer {
    padding: 20px;
    width: 100%;
  }
}

/* Small Mobile Screens */
@media (max-width: 479px) {
  .footer {
    padding: 10px;
    width: 100%;
  }
  .social-links {
    margin-top: 10px;
  }
  .copyright {
    font-size: 16px;
    margin-top: 10px;
  }
}

/* Contact Page CSS Styling */

.contact-page {
background-color: var(--nav-color);
color: var(--primary-color);
padding: 20px;
margin-top: 100px;
}

.contact-page h1 {
font-size: 45px;
margin-bottom: 10px;
color: var(--text-color);
}

.contact-page p a{
color: var(--primary-color);
text-decoration: none;
}

.contact-info {
margin-bottom: 20px;
display: inline-block;
text-align: left;
margin-left: auto;
margin-right: auto;
}

.contact-info div {
margin-bottom: 20px;
}

.contact-info h2 {
font-size: 18px;
margin-bottom: 10px;
color: var(--primary-color);
}

.contact-info p {
font-size: 16px;
margin-bottom: 10px;
color: var(--primary-color);
}

.social-links {
margin-top: 20px;
display: inline-block;
text-align: left;
margin-left: auto;
margin-right: auto;
}

.social-links a {
margin-right: 20px;
font-size: 24px;
color: var(--primary-color);
}

.social-links a:hover {
color: var(--hover-color);
}

/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
.contact-page {
  padding: 40px;
  text-align: center;
  width: 100%;
}
.contact-info {
  display: inline-block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
.social-links {
  display: inline-block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
.contact-page {
  padding: 30px;
  width: 100%;
}
.contact-info {
  width: 60%;
}
.social-links {
  width: 60%;
}
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
.contact-page {
  padding: 20px;
  width: 100%;
}
.contact-info {
  width: 80%;
}
.social-links {
  width: 80%;
}
}

/* Small Mobile Screens */
@media (max-width: 479px) {
.contact-page {
  padding: 10px;
  width: 100%;
}
.contact-info {
  width: 90%;
}
.social-links {
  width: 90%;
}
}

/* Subscribe Section Styles */

.subscribe-section {
background-color: var(--nav-color);
color: var(--primary-color);
padding: 20px;
margin-top: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}

.subscribe-section h1 {
font-size: 24px;
margin-bottom: 10px;
color: var(--text-color);
}

.subscribe-section p {
font-size: 18px;
margin-bottom: 20px;
}

#subscribe-form {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

#subscribe-form input[type="email"] {
width: 80%;
padding: 10px;
border: none;
border-radius: 5px;
font-size: 18px;
margin-bottom: 10px;
}

#subscribe-form button[type="submit"] {
background-color: var(--hover-color);
color: var(--new-color);
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
width: 80%;
font-size: 18px;
}

#subscribe-form button[type="submit"] i {
margin-right: 10px;
}

#subscribe-form button[type="submit"]:hover {
background-color: rgb(107, 96, 82);
}

span {
color: var(--text-color);
margin-top: 10px;
display: block;
}

/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
.subscribe-section {
  padding: 40px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}
.subscribe-section h1 {
  font-size: 36px;
  margin-bottom: 20px;
}
.subscribe-section p {
  font-size: 24px;
  margin-bottom: 30px;
}
#subscribe-form input[type="email"] {
  width: 60%;
  padding: 15px;
  font-size: 24px;
}
#subscribe-form button[type="submit"] {
  padding: 15px 30px;
  font-size: 24px;
  width: 60%;
}
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
.subscribe-section {
  padding: 30px;
  width: 100%;
  margin: 0 auto;
}
.subscribe-section h1 {
  font-size: 30px;
  margin-bottom: 15px;
}
.subscribe-section p {
  font-size: 20px;
  margin-bottom: 20px;
}
#subscribe-form input[type="email"] {
  width: 70%;
  padding: 10px;
  font-size: 20px;
}
#subscribe-form button[type="submit"] {
  padding: 10px 20px;
  font-size: 20px;
  width: 70%;
}
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
.subscribe-section {
  padding: 20px;
  width: 100%;
  margin: 0 auto;
}
.subscribe-section h1 {
  font-size: 24px;
  margin-bottom: 10px;
}
.subscribe-section p {
  font-size: 18px;
  margin-bottom: 15px;
}
#subscribe-form input[type="email"] {
  width: 80%;
  padding: 10px;
  font-size: 18px;
}
#subscribe-form button[type="submit"] {
  padding: 10px 20px;
  font-size: 18px;
  width: 80%;
}
}

/* Small Mobile Screens */
@media (max-width: 479px) {
.subscribe-section {
  padding: 15px;
  width: 100%;
  margin: 0 auto;
}
.subscribe-section h1 {
  font-size: 20px;
  margin-bottom: 5px;
}
.subscribe-section p {
  font-size: 16px;
  margin-bottom: 10px;
}
#subscribe-form input[type="email"] {
  width: 90%;
  padding: 10px;
  font-size: 16px;
}
#subscribe-form button[type="submit"] {
  padding: 10px 20px;
  font-size: 16px;
  width: 90%;
}
}



#icon {
  position: fixed;
  top: 80vh; /* Move the icon down to 80% of the viewport height */
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--primary-color);
  z-index: 1000;
}


.light-mode button  {
  background-color: var(--nav-color);
  color: var(--primary-color);
  border: 2px solid #000;
}


.light-mode .read-more  {
  background-color: var(--nav-color);
  color: var(--primary-color);
  border: 2px solid #000;
}


.light-mode .pre-order-button  {
  background-color: var(--nav-color);
  color: var(--primary-color);
  border: 2px solid #000;
}

.light-mode .read-more:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.light-mode .pre-order-button:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

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

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px;
  border-radius: 10px;
}

.dropdown-content a {
  color: var(--text-color);
  padding: 10px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  color: var(--nav-color);
}

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

/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
  .dropdown-content {
    min-width: 200px;
    padding: 15px;
  }
  .dropdown-content a {
    font-size: 18px;
    padding: 15px;
  }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .dropdown {
    display: none;
    
  }
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
  .dropdown {
    display: none;
  
  }
  
}

/* Small Mobile Screens */
@media (max-width: 479px) {
  .dropdown {
    display: none;
  }
  
}

.sidebar .dropdown {
  position: relative;
  display: block;
}

.sidebar .dropdown-content {
  display: none;
  position: relative;
  background-color: var(--nav-color);
  min-width: 100%;
  box-shadow: none;
  padding: 10px;
  border-radius: 5px;
}

.sidebar .dropdown-content a {
  color: var(--text-color);
  padding: 10px;
  text-decoration: none;
  display: block;
}

.sidebar .dropdown-content a:hover {
  color: var(--primary-color);
}

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

/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
  .sidebar .dropdown-content {
    position: relative;
    min-width: 100%;
    padding: 15px;
  }
  .sidebar .dropdown-content a {
    font-size: 18px;
    padding: 15px;
  }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .sidebar .dropdown-content {
    position: relative;
    min-width: 100%;
    padding: 12px;
  }
  .sidebar .dropdown-content a {
    font-size: 16px;
    padding: 12px;
  }
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
  .sidebar .dropdown-content {
    position: relative;
    min-width: 100%;
    padding: 10px;
  }
  .sidebar .dropdown-content a {
    font-size: 14px;
    padding: 10px;
  }
}

/* Small Mobile Screens */
@media (max-width: 479px) {
  .sidebar .dropdown-content {
    position: relative;
    min-width: 100%;
    padding: 8px;
  }
  .sidebar .dropdown-content a {
    font-size: 12px;
    padding: 8px;
  }
}




/*order styles*/
.order-page {
  background-color: var(--nav-color);
  color: var(--primary-color);
  padding: 20px;
  margin-top: 200px;
  width: 80%;
  margin: 0 auto;
}

.order-page h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.order-page p {
  font-size: 24px;
  margin-bottom: 30px;
}

.order-page form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-page label {
  font-size: 24px;
  margin-bottom: 20px;
}

.order-page input, .order-page textarea {
  width: 80%;
  padding: 15px;
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  font-size: 24px;
}

.order-page input[type="submit"] {
  background-color: var(--hover-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 24px;
}

.order-page input[type="submit"]:hover {
  background-color: rgb(107, 96, 82);
}

.order-page select {
  width: 80%;
  padding: 15px;
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  font-size: 24px;
}

/* Desktop and Laptop Screens */
@media (min-width: 1200px) {
  .order-page {
    width: 100%;
    margin: 0 auto;
  }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .order-page {
    width: 85%;
    margin: 0 auto;
  }
}

/* Mobile Screens */
@media (min-width: 480px) and (max-width: 767px) {
  .order-page {
    width: 90%;
    margin: 0 auto;
  }
}

/* Small Mobile Screens */
@media (max-width: 479px) {
  .order-page {
    width: 100%;
    margin: 0 auto;
  }
}


/*News and Events*/

 .news{
  margin: 0;
  background-color: var(--background-color);
}
.containei {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px;
}
.bg {
  text-align: center;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 40px;
  margin-top: 60px;
}
.bg:hover{
  color: var(--accent-color);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
article {
  background:var(--next-color);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
article h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
article h3.uppercase {
  text-transform: uppercase;
}
article p {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--hover-color);
  margin: 0;
  line-height: 1.4;
}
article p strong {
  font-weight: 700;
}

article h3:hover{
  color: var(--accent-color);
}

article p:hover{
  color: var(--accent-color);
}

/* Style the button */
.btn-link {
  display: inline-block;
  padding: 8px 16px;
  margin-left: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--background-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none; /* Remove underline for the link */
  transition: background-color 0.3s ease;
}
.btn-link:hover,
.btn-link:focus {
  background-color: var(--hover-color);
  outline: none;
}

.br{
  margin-top: 10px;
}
/* Make sure the button link fits well on mobile screens */
@media (max-width: 600px) {
  p {
    font-size: 16px;
  }
  .btn-link {
    font-size: 14px;
    padding: 6px 12px;
    margin-left: 5px;
  }
}