html, body {
  margin: 0;
  padding: 0;
  }

.container {
  display: grid;
  grid-template-columns: 1fr;
}

.navbar {
  display: flex;
  height: 80px;
  width: auto;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  padding: 15px 25px 0px 25px;
}

.name {
  font-family: Verdana, Geneva, sans-serif;
  color: white;
  font-weight: bolder;
  overflow: hidden;
  position:relative;
  text-shadow: 1px 1px 5px black;
}
.main-header {
  background-color: rgba(0, 102, 153, 0.3);
  background-image: url("Images/sky2.jpg");
  background-blend-mode: screen;
  background-size: cover;
}

.scroll {
  background:transparent;
  width: auto;
  height: 68px;
  line-height:auto;
  overflow:hidden;
  position:relative;
}

.slider {
    top: 1em;
    position: relative;
    box-sizing: border-box;
    animation: slider 20s linear infinite;
    animation-delay: 0s
    list-style-type: none;
    text-align: center;
}

.slider:hover {
    animation-play-state: paused;
}

@keyframes slider {
    0%   { top:   10em }
    100% { top: -16em }
}

@-webkit-keyframes slider {
    0%   { top:   10em }
    100% { top: -16em }
}
.text .slider {
  	margin: 0;
    padding: 0 1em;
    line-height: 1em;
}

.text:before, .text::before,
.text:after,  .text::after {
    left: 0;
    z-index: 1;
    content: '';
    position: absolute;
    width: 100%;
    height: 0.1em;
}

.text:after, .text::after {
    bottom: 0;
    transform: rotate(180deg);
}

.text:before, .text::before {
    top: 0;
}

p {
  font-family: helvetica, arial, sans serif;
  font-size: 10px;
}

.batten-bar {
  width: 100%;
  background-color: rgba(0, 102, 153, 0.3);
  overflow: auto;
}

.batten-bar a {
  float: left;
  text-align: center;
  width: 20%;
  padding: 0px 0;
  color: white;
  font-size: 16px;
  text-decoration: none;
}

.batten-bar a:hover {
  background-color: rgba(48, 48, 48, 0.8);
}

.active {
  background-color: rgba(0, 102, 153, 0.3);
}

.items-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.item-wrapper {
  position: relative;
}

.img-background {
  height: 300px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.text-wrapper {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding-left: 100px;
  padding-right: 100px;
}

.text-wrapper {
  transition: 0.5s;
  font-weight: 700;
  color: rgba(33, 222, 80, 0.3);
}

.text-wrapper:hover {
  font-weight: 700;
  color: white;
}

.img-darken {
  transition: 0.5s;
  filter: brightness(10%);
}
