* {
  margin: 0px;
  padding: 0px;
  border: 0px;
  box-sizing: border-box;
  margin: auto;
  width: auto;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

body {
  background-color: white;
  max-width: 1500px;
}




header {
  height: 100vh;
  display: flex;
  margin-left: 200px;
  width: 100%;
  position: fixed;
  max-height: 100vh;
}

#headertext {
  display: block;
  width: 600px;
  height: 400px;
  left: 100px;
}

h1 {
  font-size: 2rem;
  text-align: center;
  color: black;
  padding: 10px;
  display: block;
}

h2 {
  font-size: 1.25em;
  text-align: center;
  color: black;
  padding: 10px;
  display: block;
}

nexttitle {
  font-size: 3rem;
  text-align: center;
  color: black;
  padding: 10px;
  display: block;
}

#descriptionholdersection h1 {
  color: white;
}

#descriptionholdersection h2 {
  color: white;
}

#descriptionholdersection {
  margin-top: 50px;
  padding: 60px;
  position: relative;
}

#descriptionholder {
  width: 100%;
  background-image: linear-gradient(#666666, #2e2e2e, #000000);
  text-align: center;
  height: 400px;
}

.dropdown {
  display: block;
  scale: 0.5;
  align-self: center;
}


#imageholder {
  text-align: center;
  align-items: center;
  align-content: center;
  width: 100%;
  margin: auto;
  background-color: white;
}

map {
  width: 100%;
  height: 800px;
  max-height: 200vh;
  position: relative;
  margin: auto;

  display: flex;
  z-index: 2;


}

ideastatistic {
  position: relative;
  font-style: italic;
  top: 60px;
  left: 370px;
  font-size: 3rem;
  color: black;
  display: inline;
}


@property --num {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

ideastatistic {
  transition: --num 0.6s;
  counter-reset: num var(--num);
  color: black;
}

body:hover ideastatistic {
  color: black;
  --num: 1944;
}

body:hover::after ideastatistic {

  --num: 1944;
}

ideastatistic::after {
  content: counter(num);
  color: black;
}




#headertext {
  overflow-y: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black var(--top-mask-size, 0px), black calc(100% - var(--bottom-mask-size, 0px)), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black var(--top-mask-size, 0px), black calc(100% - var(--bottom-mask-size, 0px)), transparent 100%);
  --top-mask-size: 0px;
  --bottom-mask-size: 0px;
}

#headertext.is-top-overflowing {
  --top-mask-size: 500px !important;
}

#headertext.is-bottom-overflowing {
  --bottom-mask-size: 500px !important;
}

.geomap {
  position: absolute;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  object-fit: cover;
  height: 110%;
  transform: scale(.80);
  width: 110%;
  right: -100px;
  background-size: cover;
  background-position: center center;
  padding: 10px;

}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: black;
}

.scrolldown {

  width: 300px;
  height: 55px;
  background: black;
  position: fixed;
  justify-content: center;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: rgb(0, 0, 0, .5);
  z-index: 7;
  margin: auto;
  margin-left: 650px;
  margin-top: 610px;
}

.arrow-down {
  width: 60px;
  height: 40px;
  margin: 0 0 0 -20px;
  position: absolute;
  left: 50%;
  -webkit-animation: arrow 0.5s 1s infinite ease-out alternate;

}

.arrow-down:hover {
  -webkit-animation-play-state: paused
}

.left {
  position: absolute;
  height: 10px;
  width: 40px;
  background: black;
  -webkit-transform: rotate(240deg);
  left: 20px;
  bottom: 0px;
  -webkit-border-radius: 4px;
  -webkit-transform-origin: 5px 50%;
  -webkit-animation: leftArrow 0.5s 1s infinite ease-out alternate;
}

.right {
  position: absolute;
  height: 10px;
  width: 40px;
  background: black;
  -webkit-transform: rotate(-60deg);
  bottom: 0px;
  left: 20px;
  -webkit-border-radius: 4px;
  -webkit-transform-origin: 5px 50%;
  -webkit-animation: rightArrow 0.5s 1s infinite ease-out alternate;
}




@-webkit-keyframes arrow {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 10px;
  }
}

stats {

  display: block;
  width: 100%;
  position: relative;
  top: 700px;
  background-color: white;
}

box2 {
  background-color: black;
  width: 700px;
  height: 300px;
  position: relative;
  display: block;
  right: 10%;
  top: 17%;
  padding: 10px;
  text-align: center;

}

box1 {
  background-color: black;
  width: 700px;
  height: 200px;
  position: relative;
  display: flex;
  right: 10%;
  top: 8%;
  padding: 20px;
  text-align: center;
}

box3 {
  background-color: black;
  width: 200px;
  height: 550px;
  position: relative;
  display: block;
  bottom: 435px;
  left: 25%;
  padding: 10px;
  text-align: center;


}

ideastext {
  color: white;
  position: relative;
  display: inline;
  text-align: center;
  font-size: 2rem;
  font-family: Arial
}

ideastatistic {
  position: relative;
  font-style: italic;
  font-size: 3rem;
  color: white;
  display: inline;
  transition-delay: 1s;
}

nycnum {
  display: inline;
}

bronxnum {
  display: none;
}


@property --num {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

nycnum {
  transition: --num 0.8s;
  counter-reset: num var(--num);
}

stats:hover nycnum {
  --num: 1982;
}


nycnum::after {
  content: counter(num);
}



.dropbtn {
  background-color: white;
  color: black;
  padding: 16px;
  font-size: 24px;
  border: none;
  cursor: pointer;
  width: 150px;
  display: inline;
  justify-content: center;
  text-align: center;
}

.dropbtn:hover,
.dropbtn:focus {
  background-color: #ddd;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  width: auto;
}


.dropdown-content button {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  width: auto;
}


.dropdown button:hover {
  background-color: #ddd;
  cursor: pointer;
}


.show {
  display: block;
}






/* Float four columns side by side */
.column {
  float: left;
  width: 20%;
  padding: 0 5px;
}

.columnimpact {
  float: left;
  width: 12.5%;
  padding: 0 5px;
}

.row {
  margin: 0 -5px;
  padding: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive columns */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }
}


#wordcloudholder {
  display: inline-block;
}

#mapdescription {
  text-align: center;
}


#summarycon {
  background-color: black;
  color: white;
  text-align: center;
}

.rowimagee {
  display: flex;
  flex-wrap: wrap;
}

.columnimagee {
  flex: 1;
  padding: 10px;
  text-align: center;
}

.columnimagee img {
  width: 100%;
  height: auto;
}

/* Style the counter cards */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 16px;
  text-align: center;
  background-color: #444;
  color: white;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.card:hover {
  background-color: black;
}

horizontalline {
  height: 5px;
  color: black;
  background-color: black;
  width: 500px;
  top: 30px;
  position: relative;
  display: block;
  margin: auto;
  justify-content: center;
  text-align: center;
}


.fa {
  font-size: 50px;
}



.sentiments {

  font-family: Verdana, sans-serif;
  margin: 0;
  width: 600px;
  height: 200px;
  background-color: black;
  opacity: 0.75;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  position: relative;
  left: 450px;
  padding: 40px;
  display: block;


}

.sentiments:hover {
  opacity: 1.0;
}

.sentiments:hover sentimentstext {
  display: block;
  opacity: 1.0;
  color: white;
  transition-duration: 0.75s;
}

.sentiments:hover sentiment {
  color: black;
  transition-duration: 0.6s;
}

.sentiments:hover .anotherline {
  width: 0px;
  transition-duration: 0.6s;
}



sentiment {
  text-align: center;
  position: relative;
  display: block;
  color: white;
  font-size: 3rem;
  max-height: 100px;
  top: 30px;
  justify-content: center;
  transition-duration: 0.6s;
}

.anotherline {
  width: 400px;
  background-color: white;
  height: 5px;
  margin: auto;
  display: block;
  position: relative;
  top: 50px;
  transition-duration: 0.6s;
}

.fullsize {
  border: 11px solid black;
  z-index: 900;
  cursor: zoom-out;
  display: block;
  scale: 0.5;
  justify-content: center;
  position: fixed;
  left: 0px;
  top: -160px;

}

.fullsize:hover {
  cursor: zoom-out;
}

#wordcloudimage {
  cursor: zoom-in;
}

sentimentstext {
  font-size: 1.5em;
  color: white;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  display: block;
  opacity: 0;
  position: relative;
  margin: auto;
  top: -90px;
  color: black;
  transition-duration: 0.75s;
}