/* Add these rules to your styles.css file */

/* Base responsive improvements */
@media (max-width: 1024px) {
  .container {
    padding: 15px;
  }
}

/* General mobile improvements */
@media (max-width: 768px) {
  .container {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  
  body {
    font-size: 16px;
  }
  
  h1 {
    font-size: 24px;
  }
  
  h2 {
    font-size: 20px;
  }
}

/* Special handling for very wide mobile screens (like Galaxy Z Fold) */
@media (min-width: 768px) and (max-width: 912px) and (orientation: portrait) {
  .container {
    max-width: 95%;
    margin: 0 auto;
  }
  
  body {
    font-size: 18px;
    line-height: 1.7;
  }
  
  /* Add readable width for content */
  .content {
    max-width: 650px;
    margin: 0 auto;
  }
  
  /* Improve spacing on presentations page */
  .content ul {
    padding-left: 30px;
  }
}

/* For landscape orientation on foldable devices */
@media (min-width: 1200px) and (max-width: 1350px) and (orientation: landscape) {
  .container {
    max-width: 1000px;
  }
}

/* For explicit Galaxy Fold support */
@media screen and (width: 884px) and (orientation: portrait), 
       screen and (width: 906px) and (orientation: portrait) {
  .container {
    max-width: 700px;
    margin: 0 auto;
  }
  
  .content {
    max-width: 650px;
    margin: 0 auto;
  }
}

/* Fix for very small screens when folded */
@media (max-width: 400px) {
  .navigation a {
    margin: 0 5px;
    padding: 5px;
    font-size: 14px;
  }
  
  .content {
    padding: 10px 0;
  }
  
  .footer a {
    display: inline-block;
    margin-bottom: 5px;
  }
}

/* Create more focused reading experience on wider screens */
.content {
  max-width: 800px;
  margin: 0 auto;
}

/* Ensure all elements respect the box model */
* {
  box-sizing: border-box;
}


body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.navigation {
  margin: 15px 0;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.navigation a {
  display: inline-block;
  margin: 0 10px;
  padding: 5px 10px;
  text-decoration: none;
  color: #3498db;
  border-radius: 3px;
  transition: background-color 0.3s;
}

.navigation a:hover {
  background-color: #e7f2fa;
  text-decoration: underline;
}

.content {
  padding: 20px 0;
  text-align: left;
}

.footer {
  margin-top: 30px;
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer a {
  margin: 0 5px;
  text-decoration: none;
  color: #3498db;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .navigation a {
    margin: 0 5px;
    padding: 5px;
  }
}

h2 {
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

ul {
  list-style-type: square;
  padding-left: 25px;
}

li {
  margin-bottom: 10px;
}

.contact-content {
  text-align: center;
}

.contact-content img {
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.contact-content img:hover {
  transform: scale(1.02);
}

/* For better looking links in the presentation page */
.content a {
  text-decoration: none;
  color: #3498db;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.content a:hover {
  background-color: #e7f2fa;
  text-decoration: underline;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #3498db;
  color: white !important; /* Added !important to override any inherited styles */
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.download-button:hover {
  background-color: #2980b9;
  text-decoration: none !important; /* Prevents underline on hover if that's causing issues */
}

.download-button svg {
  transition: transform 0.2s;
}

.download-button:hover svg {
  transform: translateY(2px);
}

