body{
  font-family: 'Montserrat', sans-serif;
}

a{
  color: white;
  text-decoration: none;
  text-shadow: 2px 2px 2px black;
}
h3{
  height: 100%;
  width:100%;
  text-align: center; 
  font-size: 25px;
  color: white;
  text-shadow: 2px 2px 3px black;
  font-size: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 50px;
  background-color: #00ab67;
}

/* Video Header */
.Heading {
  background-image: url('https://gis.pearlandtx.gov/images/open%20data%20portal/GaterwayGIS.jpg');
  text-align: center;
  position: relative;
  overflow: hidden;
	width: 100%;
  height: 100%;
} 
.Heading iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 16/9;
  margin-top: -100px;
}
.OpenDataPortal {
  color: white;
  text-shadow: 3px 3px 3px black;
  padding-top: 130px;
  padding-bottom: 100px;
  text-align: center;
  font-size: 35px;
  position: relative;
}
.Buttons {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  place-items: center;
  position: relative;
  padding: 20px;
  background: linear-gradient(#00000000, #1f3525);
}
.Buttons img {
  padding-top: 10px;
  transition: all .15s ease-in-out; 
}
.Buttons img:hover{
  transform: scale(1.1);
}

/* Dashboards */
.Dashboards{
  height: 100%;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  place-items: center;
  font-size: 17px;
}
.Dashboards div{
  text-align: center;
  margin: 25px;
}
.Dashboards img{
  width: 270px;
  height: 170px;
  transition: all .15s ease-in-out;
}
.Dashboards img:hover{
  color: white;
  opacity: 85%;
  transform: scale(1.05);
}

/* Interactive Maps */
.InteractiveMaps{
  height: 100%;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  place-items: center;
  font-size: 17px;
}
.InteractiveMaps div{
  text-align: center;
  margin: 25px;
}
.InteractiveMaps img{
  width: 270px;
  height: 170px;
  transition: all .15s ease-in-out;
}
.InteractiveMaps img:hover{
  color: white;
  opacity: 85%;
  transform: scale(1.05);
}

/* Media Query for mobile device detection */
@media screen and (min-width: 820px) and (max-width: 1500px) {
  .Video{
    display: none;
  }
  .OpenDataPortal {
    padding: 40px;
    font-size: 20px;
    text-align: center;
  }
  .Buttons {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto;
  }
  h3{
    height: 100%;
    width:100%;
    text-align: center;
  }
  .Dashboards{
    height: 100%;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .InteractiveMaps{
    height: 100%;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 819px) {
  body{
    max-width: 100%;
    height: 100%;
    scroll-behavior: auto;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
  }
  .OpenDataPortal {
    padding: 40px;
    font-size: 20px;
    text-align: center;
  }
  .Heading iframe {
    display: none;
  }
  .Dashboards{
    display: inline-grid;
    grid-template-columns: 1fr;
  }
  .InteractiveMaps{
    display: inline-grid;
    grid-template-columns: auto;
  }
  .Buttons {
    display: inline-grid;
    grid-template-columns: auto;
  }
}