
body {
  background-color:#f3e0d3;
  color: rgb(0, 0, 0);
  font-family: Baskerville, Baskerville;
  overflow-x: hidden;
  margin-bottom: 0;
}
header{
  text-align: center;
}
p{
  color: #53323e;
  margin: 1% auto;
  font-size: 1.1em;
}
a.webLink{
  color: white;
  text-decoration: none;
  text-shadow: 1px 2px lightcoral;
  padding-top: 0;
  line-height: .4em;
  font-size: .8em;
}
.webLink:hover{
  font-size: inherit;
}
a.webLink h2{
  margin-left: 8px;
  font-weight: 600;
}

nav{
  color: #53323e;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  position: relative;
  color: #53323e; 
  text-shadow: 4px 4px 4px rgba(255, 227, 239, 0.6); 
  letter-spacing: 5px; 
  text-align: center;
  font-family: 'Lora', serif;
  text-shadow: 1px 2px rgb(247, 216, 216);
  font-weight: 500;
  margin: .4em auto;
}
h1:hover{

  text-decoration: underline;
  text-decoration-color: #f4c5c5;
}

h2{
  color: #ffffff;
  margin: 0;
}

/* for my map */
.myMap, .countryMap{
  max-width: 92%;
  width: 1000px;
  margin: 2% auto;
}

.contact-dropdown a{
  color: white;
  text-decoration: none;
  text-shadow: 1px 2px lightcoral;
}

a:hover {
  color: #fff;
  font-size: 1.2em;
}

/* Contact button style */
.contact{
  padding: 5px 0;
  margin: 5px 0;
  text-shadow: 1px 2px lightcoral;
  font-size: 1.05em;
}

.contact-button {
  position: relative;
  cursor: pointer;
  color: #fff;
  margin-left: 86%;
  font-size: 1.3em;
  display: inline-block;
}

.contact-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #53323e;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  text-align: right;
  z-index: 1;
}

.contact-button:hover .contact-dropdown {
  display: block;
}

/* li elements */

#country-list li{
  display: inline-block;
  padding: 1% 2%;
  text-shadow: 1px 2px rgb(214, 150, 224);
  text-decoration: underline;
  text-decoration-color: #f4b7cd;
}

#continent-buttons{
  padding: 5px 16px;
  margin: 0 auto;
  text-align: center;
}
.continent-button{
  padding: 6px 10px;
  margin: 1px 8px;
  color: #53323e;
  font-family: Baskerville, Baskerville;
  border-radius:10em;
  border-color: #f4b7cd;
  font-size: 1em;
  background-color: rgb(252, 247, 250);
}
.continent-button:hover{
  background-color: #f8d1d1;
}

#country-list{
  margin: 1% auto;
  text-align: center;
}

#country-list li:hover{
  font-size: 1.2em;
  color: #160e0e;
  text-shadow: 2px 3px rgb(225, 128, 240);
}

/* Share & Print button */
.share-print{
  margin: 1.5% auto;
  text-align: center;
  margin-top: 2%;
}

#shareOptions{
  display: none;
  padding: 2% 2%;
}
#shareOptions a{
  text-decoration: none;
  padding: 1.5% 1.5%;
  color: #523013;
}
#shareButton, #printButton{
  padding: 0 4%;
  background: none;
  border: 0;
  font-weight: 1;
  font-size: 1.5em;
  color: #6e4457;
}
#shareButton:hover, #printButton:hover{
  font-size: 1.8em;
}
#shareButton span, #printButton span{
  display: block;
  font-size: .5em;
}
#shareButton span:hover, #printButton span:hover{
  text-decoration: underline;
  text-decoration-color: #f4c5c5;
}

/* Footer style */
footer {
  background-color: #53323e;
  color: #fff;
  text-align: center;
  padding: 50px;
  margin: 5% -2%;
  margin-bottom: 0;
  position: relative;
  max-width: 100%; /* Set the width to 100% */
}

.footer-links {
  display: flex;
  justify-content: left;
  align-items: center;
}

.footer-link, .copyright {
  text-decoration: none;
  color: #fff;
  text-shadow: 1px 2px lightcoral;
  margin: 0 0;
}

.copyright{
  position:relative;
  text-align: right;
  bottom: -10%;
  font-size: .95em;
}





/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
  h1 {
    font-size: 30px; /* Decrease font size for smaller screens */
  }

  nav li {
    margin: 15px 10px; /* Adjust margin for smaller screens */
  }

  nav a {
    padding: 12px; /* Adjust padding for smaller screens */
  }
}

/* Media query for screens smaller than 480px */
@media (max-width: 480px) {
  h1 {
    font-size: 26px; 
    margin: 1px;
  }

  li {
    margin: 15px 5px; /* Further adjust margin for very small screens */
  }

  a {
    padding: 10px; /* Further adjust padding for very small screens */
  }
  .contact-button{
    font-size: 1.1em;
    margin-left: 80%;
  }

  .text-blocks{
    padding-top: 0;
    display: block;
  }
  .text-block{
    padding-top: 0;
  }

  nav{
    padding-bottom: 0;
    padding-top: 0;
  }

  .left-links li{
    margin: 15px 5px;
  }
  ul.left-links, ul.right-links{
    margin-top: 0;
    padding-top: 0;
  }

  footer {
    padding: 20px;
  }

  .footer-links {
    justify-content: center; /* Center the links on small screens */
  }

  .footer-link, .copyright {
    margin: 0;
    display: block; /* Display links and copyright in a column on small screens */
  }

  .copyright {
    text-align: center; 
    font-size: .8em;
    margin-top: 7px;
}

a.footer-link{
  padding-top: 1px;
}
}


