/* general--------------- */
* {
  /*! font-family: "Times New Roman", Times, serif; */
  /*! font-family: 'DM Serif Display'; */
  font-family: 'DM Serif Text';
  box-sizing: border-box;
  color: rgba(0, 0, 0, .9);
  transition: 0.3s;
}


body {
  background: url('https://wallpapercave.com/wp/sYIlSxO.jpg') no-repeat center center fixed;
  background-size: cover; 
  height:100%;
  width: 100%;
  top: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

h1 {
  font-family: 'DM Sans', sans-serif;
  font-size-adjust: 0.6;
}

h2 {
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  
}


/* header and search element styling--------------- */
header {
  text-align: center;
  width: 100%;
  top: 0;
  margin: auto;
  margin-bottom: 5vh;
  background-color: white;
  border: 1px solid white;
  border-radius: 5px;
  z-index: 2;
  display: flex;
}

/* #title-svg {
  position: absolute;
  top: 0;
  left: 0;
}

textPath {
  font-size-adjust: 1;
  text-align: center;
} */

.adjustAfterSearch {
  margin-top: -3vh;
}

.hideAfterSearch {
  display: none;
}

.websiteTitle {
  width: 40vw;
/*   height: 6vh; */
/*   border-bottom: 3px solid rgba(0, 0, 0, .7); */
  margin: auto;
  margin-top: 5vh;
}
  
form {
  text-align: center;
  width: 100%;
  background-color: white;
  position: absolute;
  padding: 4vh;
  left: 0px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

#addressBox {
  border-radius: 15px 0px 0px 15px;
  text-align: center;
  font-size-adjust: .5;
  font-family: 'DM Serif Text';
  border: 2px solid rgba(0, 0, 0, .7);
  color: rgba(0, 0, 0, .7);
}

#addressBox:focus {
  background-color: rgba(176, 224, 230, .1);
  box-shadow: inset 0 0 5px 3px rgba(176, 224, 230, 1);
  border: 2px solid rgba(0, 0, 0, .9);
  color: rgba(0, 0, 0, .9);
}
  
#searchButton {
  border-radius: 0px 15px 15px 0px;
  font-size-adjust: .5;
  font-family: 'DM Serif Text';
  border: 3px solid transparent;
  background-color: rgba(0, 0, 0, .7);
  color: white;
}

#searchButton:hover {
  cursor: pointer;
  transition: 0.3s;
  background-color: rgba(0, 0, 0, .9);
  color: powderblue;
}

.topAndBottomBars {
  border-bottom: 3px solid white;
  padding: 1vh;
}
  
#stickThis.stick {
  position: fixed;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
  top: 0;
  z-index: 9999;
}

  
.centerOnLoad {
  margin-top: 35vh;
}


  
  
  /* map elements---------------- */
.mapsContainer {
  display: flex;
  justify-content: center;
  margin-bottom: 8vh;
  margin-top: 3vh;
  width: 99%;
  height: 100%;
  z-index: 1;
}

#politicalMap {
  height: 30vh;
  width: 50vw;
  border-radius: 500px 0px 0px 500px;
  border: 3px solid white;
  border-right: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  
}

#geographicMap {
  height: 30vh;
  width: 50vw;
  border-radius: 0px 500px 500px 0px;
  border: 3px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}




/* Wiki location info--------------------  */
.areaHistory {
  margin-top: 8vh;
  display: inline-flex;
  width: 100%;
  padding-left: 10em;
  padding-right: 10em;
  text-align: center;
  justify-content: center;
  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  font-size-adjust: 0.45;
}
  
#wikiTitle {
  font-size: 1.5em;
}

#wikiDescription {
  font-size: 1.2em;
}

#wikiLink {
  color: white;
  text-shadow: 0.07em 0 black, 0 0.07em black, -0.07em 0 black, 0 -0.07em black;
}
  



  /* stylings for news articles and page selector--------------- */
.currentEvents {
  background-color: white;
  width: 90vw;
  margin: auto;
  border-radius: 5px;
  padding-bottom: 2vh;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.trendingNews {
  border-bottom: 3px solid rgba(0, 0, 0, .7);
  padding: 1vw;
  font-size: 1.5em;
}
  
.newsArticleTitle {
  padding-top: 5px;
  padding-left: 1vw;
  margin-top: 5vh;
}

.newsArticleTitle:first-of-type {
  margin-top: 1vh;
}
  
.newsContent {
  padding-left: 2vw;
  padding-right: 3vw;
  line-height: 1.5;
}

.newsContainer > p {
  margin-top: -1vh;
}

h3 {
  margin-left: -0.9vw;
  margin-top: -2vh;
}

.newsUrl {
  display: flex;
  color: navy;
}

.newsUrl:hover {
  color: steelblue;
}
  
.pageChangeButtons {
  display: flex;
  align-items: center;
  width: 100%;
  height: 10vh;
  justify-content: space-around;
  background-color: white;
  margin-top: 5vh;
  padding-left: 5vw;
  padding-right: 5vw;
  box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.2);
}
  
.pageNumber {
/*   width: 9vw; */
  margin: auto;
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
  border-radius: 15px;
  border: none;
}
  
.nextPage, .previousPage {
  border: none;
  width: 30vw;
  height: 4vh;
  border-radius: 15px;
  font-size: 1.3em;
  font-family: 'DM Serif Text';
  background-color: rgba(0, 0, 0, .7);
  color: white;
}

.nextPage:hover, .previousPage:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, .9);
  color: powderblue;
}




/* misc. classes------------------------ */
.hideOnLoad {
  display: none;
}

.adjustmentsAfterSearch p {
  margin: 0;
  background-color: white;
  height: 100%;
  border-bottom: 2px solid white;
}

button {
  background-color: white;
}

a:link {
  text-decoration: none;
}
  
  
 
  
/* stylings for varying screen sizes------------------- */
@media only screen and (min-width:900px) {
  #politicalMap, #geographicMap {
    height: 40vh;
    width: 40vw;
  }
}

@media only screen and (max-width:500px) {
  .centerOnLoad {
    margin-top: 0;
  }
  #searchButton {
    margin-top: 1vh;
  }
  .currentEvents {
    width: 100%;
  }
  .websiteTitle {
    height: unset;
    width: unset;
    margin-top: 4vh;
  }
  .mapsContainer {
    flex-flow: column wrap;
    align-content: center;
  }
  #politicalMap, #geographicMap {
    height: 30vh;
    width: 80vw;
    border-radius: 500px;
  }
  .areaHistory {
    width: 100%;
  }
  .nextPage, .previousPage {
    height: 8vh;
    font-size-adjust: .4;
    background-color: rgba(0, 0, 0, .9);
  }
  #addressBox, #searchButton {
    border-radius: 15px;
  }
  .adjustmentsAfterSearch p {
    border-top: 4vh solid white;
    font-size-adjust: 0.4;
  }
}