@import url('https://fonts.googleapis.com/css?family=Limelight&display=swap');


body, html {
  height: 100%;
  margin: 0;
  font-family: "Montserrat";
  max-width: 100%;
  overflow-x: hidden;
}


header {
  position: relative;
  opacity: 1;
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  background-image: url("Images/pittsburgh-skyline-bg-ptero.svg");
  background-attachment: fixed;
  width: 100%;
  height: 80%;
}


/* headline text */
.pxtext {
  position: relative;
  top: 35%;
  width: 100%;
  padding-left: 10%;
  left: 2rem;
  text-wrap: wrap;
}



.border {
  margin: 0;
  font-size: 10vh;
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  color: black;

}

.border>p {
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
}

/* CTA button */
.pxtext>p>a {
  background-color: black;
  text-align: center;
  color: white;
  border-radius: 16px;
  padding: 10px 10px 10px 10px;
  margin-bottom: 10px;
  text-decoration: none;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  transition: .5s ease;
}

/* CTA button on hover */
.pxtext>p>a:hover {
  background-color: #cb4335;
  box-shadow: 1px 1px 5px rgba(203, 67, 53, 0.6);
  font-size: 20px;
  transition: .5s;
}

.row {
  display: flex;
  flex-direction: row;
}

.col {
  width: 75%;
  padding: 40px 20px 40px 20px;
}

.overlay-image {
  position: relative;
  width: 100%;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  border-radius: 7px;
}

/* Original image */

.overlay-image .image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
}

/* Original text overlay */

.overlay-image .text {
  color: #fff;
  font-size: 5vw;
  line-height: 1.5em;
  font-weight: bold;
  text-shadow: 2px 2px 2px #000;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.overlay-image .hover {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
}

/* New overlay appearance on hover */

.overlay-image:hover .hover {
  opacity: 1;
}

.overlay-image .normal {
  transition: 0.5s ease;
}

.overlay-image:hover .normal {
  opacity: 0;
}

.overlay-image .hover {
  background-color: rgba(0, 0, 0, 0.5);
}

#about-us {
  margin: 0 10% 0 10%;
}

section h1 {
  font-size: 40px;
  text-align: center;
}

section p {
  color: #000;
  font-size: 1.2vw;
  line-height: 1.25em;
  padding: 0 0 1em 0;
  text-align: justify;
}

.foot {
  margin: 0 10% 0 10%;
}

footer {
  background-color: #1b212b;
  color: white;
}

.col>ul>li>a {
  color: white;
  text-decoration: none;
}

.col>ul>li {
  list-style-type: none;
}

.col>ul>li>a:hover {
  color: brown;
}

.col>ul {
  margin: 0;
  padding: 0;
}


a {
  color: cadetblue;
  text-decoration: none;
}

#footer-social {
  margin: 0;
  padding: 0;
}

.foot-icons {
  margin: 0 30% 0 30%;
}

.foot-icons>li {
  margin: 10px auto;
  padding-bottom: 40px;
  padding-top: 20px;
}

.foot-icons>li>a>i {
  color: white;
  transition: .2s ease;
  transition-timing-function: initial;
}

.foot-icons>li>a>i:hover {
  color: #38A1F3;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6);
  font-size: 70px;
  transition: .2s ease-out;
}

figcaption {
  text-align: center;
  color: #000;
  font-weight: bold;
  font-size: 20px;
}

.item>a>img {
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6);
  border-radius: 7px;
}

.item:hover {
  filter: brightness(50%);
  transition: .5s ease;
}

/* Big size */
@media (min-width: 1920px) {
  header {
    top: -50px;
    }
}


/* Mid size */
@media (max-width: 900px) {
header {
  height: 80%;
  background-size:auto;
  background-position: center;
  }

  /* headline text */
.border {
    font-size: 5vh;
    }

    nav ul {
      flex-direction: column;
      align-items: center;
    }
}

/* Mobile size */
@media (max-width: 600px) {
/* header and bg image */
  header {
  height: 66%;
  background-size:auto;
  background-position: center;
  }

  /* headline text */
.border {
  font-size: 4vh;
  }

  /* headline text and button container */
.pxtext {
  padding-left: 5%;
  top: 30%;
  width: 100%;
}

.pxtext .border {
  margin: 0 auto; /* Centering horizontally */
  text-align: center; /* Align text center */
}

/* The cards  */
.row {
  flex-direction: column;
  align-items: center;
}


}