body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0e9d8;
}

nav {
    background-color: #3b2c1a;
    padding: 1em;
    display: flex;
    justify-content: space-around;
}

nav a {
    color: #f1c059;
    text-decoration: none;
    font-size: 1.1em;
}

header {
    text-align: center;
    background-color: #5a3826;
    background-image: url('../image/map3.png');
    background-position: center top; /* Update this line */
    background-repeat: no-repeat;
    background-size: 100% auto; /* Update this line */
    padding: 2em 0;
    color: #f1e4c8;
    /*color: #634425;*/
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

header h2 {
    font-size: 1.5em;
    margin-top: 0;
}

.social-sharing {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.social-sharing a {
    color: #333;
    font-size: 24px;
    text-decoration: none;
}

.social-sharing a:hover {
    color: #0077b5; /* Change this to the desired hover color */
}

#share-btn {
  display: none;
  background-color: #0077b5;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

#share-btn:hover {
  background-color: #005582;
}


#Pirates-Throne {
    text-align: center;
    margin-bottom: 2em;
}

#Pirates-Throne h2, #Pirates-Throne h3, #Pirates-Throne h5, #Pirates-Throne p {
    color: #5a3826;
}

.container {
    display: flex;
    flex-wrap: wrap; /* Add this line */
    justify-content: space-around;
}

.column {
    width: 45%;
}

.article {
    background-color: #ffffff;
    margin-bottom: 1em;
    padding: 1em;
    border: 1px solid #9c6d34;
}

.category-article {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.article-title {
    margin-top: 0;
    font-size: 1.2em;
}

.article-description {
    font-size: 1em;
    color: #666;
}

.article img {
    max-width: 60%; /* Update this value */
    height: auto;
    display: block; /* Add this line */
    margin-left: auto; /* Add this line */
    margin-right: auto; /* Add this line */
}

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

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

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

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

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

footer {
    background-color: #3b2c1a;
    padding: 1em;
    text-align: center;
}

footer a {
    color: #f1c059;
    text-decoration: none;
}

/* Replace the previous @media (max-width: 768px) rule with this one */
@media (max-width: 768px) {
    .column {
        width: 100%;
    }
/* Replace the previous .dropdown and .dropdown-content rules inside the @media (max-width: 768px) media query with these */
.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
}    
   /* Hide categories nav on mobile devices */
    #categories-nav {
        display: none;
    }
}

/* Add this new media query to your styles.css file */
@media (min-width: 769px) {
    .dropdown {
        display: none;
    }
}