/* Mobile first */

* {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

header {
  font-family: "Montserrat", sans-serif;
  float: left;
  position: absolute;
  padding-top: 1%;
  padding-left: 2%;
}

a:link,
a:visited {
  text-decoration: none;
  color: white;
}

a:hover {
  opacity: 0.8;
}

nav {
  width: 100%;
  height: 3%;
  background-color: #191919;
  padding-top: 1%;
}

nav ul {
  padding: 0px;
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  padding-top: 6%;
  padding-bottom: 1%;
}

nav li {
  display: inline-block;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  color: white;
  font-weight: bold;
}

.index #index-nav,
.contact #contact-nav,
.cv #cv-nav,
.work #work-nav {
  border-bottom: 1px solid #e0e0e0;
}

.content {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 80vh;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  font-size: 35px;
  line-height: 40px;
  color: #ecf0f1;
}

.content-container {
  font-weight: 600;
  overflow: hidden;
  height: 85px;
  text-align: center;
}

.content-container-list {
  margin-top: 0;
  margin-left: 0px;
  padding-left: 0;
  text-align: center;
  list-style: none;
  -webkit-animation-name: change;
  -webkit-animation-duration: 10s;
  -webkit-animation-iteration-count: infinite;
  animation-name: change;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

.content-container-list-item {
  line-height: 80px;
  margin: 0;
  padding: 0;
  font-size: 2.3rem;
  width: 100vw;
}

@-webkit-keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@-webkit-keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

@-o-keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@-o-keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

@-moz-keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@-moz-keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

@keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

.big-container {
  background: url("../images/cityhall.jpg") no-repeat center center;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  max-width: 100%;
  height: 80vh;
  margin: 0;
  padding: 0;
}

.logo-lg {
  text-align: center;
  background-color: #191919;
}

.logo-lg img {
  display: none;
}

footer {
  position: relative;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #191919;
  color: white;
  padding: 30px 0 30px 0;
  height: 100px;
  font-size: 14px;
}

.footer-wrapper img {
  width: 60%;
  height: auto;
}

footer .separator {
  border-right: 1px solid white;
}

.footer-wrapper .title {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-wrapper a {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

#intro {
  padding: 16px 0;
  font-family: "Montserrat", sans-serif;
  background: url("../images/phlmap copy2.jpg") no-repeat center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  width: 100%;
  height: 300px;
}

#intro img {
  padding-top: 1%;
  padding-left: 1%;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  float: left;
}

#intro h3 {
  font-size: 1.2rem;
  padding-top: 18%;
  padding-bottom: 25%;
}

#intro p {
  font-size: 1rem;
  margin-left: -45%;
  margin-top: 5%;
  padding-bottom: 16px;
}

.contact-container {
  background: url("../images/math2.png");
  image-rendering: -webkit-optimize-contrast;
  width: 100%;
}

.big-textbox {
  height: 50px;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.big-textbox p {
  font-size: 40px;
  color: #191919;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding-top: 10px;
}

.reg-textbox {
  margin-bottom: 10px;
  margin-top: 20px;
  padding-top: 1%;
}

.reg-textbox p {
  font-size: 12pt;
  color: #191919;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding-top: 2%;
  padding-bottom: 5%;
}

.box2 {
  text-align: center !important;
}

.box2 p {
  font-size: 12pt;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
}

.box2 i {
  margin: auto 0;
  color: #191919;
  font-size: 40px;
}

.small-centered {
  margin: 0 auto;
}

.work-container {
  margin-bottom: 60px;
}

.work-title {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 5%;
}

.card0,
.card1,
.card2,
.card3,
.card4,
.card5,
.card-bdt {
  overflow: hidden;
  position: relative;
  border: 1px solid #191919;
  background-color: #d3d3d3;
  height: 100%;
  width: auto;
}

.card2 {
  background: url("../images/memr.png") no-repeat center bottom;
  background-size: cover;
}

.card-bdt {
  background: url("../images/meet-bdt.png") no-repeat center bottom;
  background-size: cover;
}

.card1 {
  background: url("../images/zoetry-home.png") no-repeat center bottom;
  background-size: cover;
}

.card0 {
  background: url("../images/bdt-home.png") no-repeat center bottom;
  background-size: cover;
  background-position: 10%;
}

.card3 {
  background: url("../images/tev-media.png") no-repeat center bottom;
  background-size: cover;
}

.card4 {
  background: url("../images/cb-2.png") no-repeat center top;
  background-size: cover;
  margin-bottom: 5%;
}

.card5 {
  background: url("../images/bb-image.png") no-repeat center top;
  background-size: cover;
/*  margin-bottom: 5%;*/
}

.card0 p,
.card1 p,
.card2 p,
.card3 p,
.card4 p,
.card5 p,
.card-bdt p {
  font-family: "Montserrat", sans-serif;
  margin-top: 340px;
  padding-top: 3%;
  padding-left: 5px;
  padding-bottom: 3%;
  text-align: center;
  z-index: 9999;
  background-color: white;
  color: #191919;
}

.cv-container {
  margin: 0 auto 40px auto;
}

.cv-container p {
  font-family: "Montserrat", sans-serif;
  padding-bottom: 1%;
}

.cv-org {
  display: inline-block;
  font-weight: bold;
}

.cv-year {
  display: inline-block;
}

.cv-title {
  font-style: italic;
}

.cv-description {
  padding-bottom: 4%;
  line-height: normal;
}

.cv-description a:link,
.cv-description a:visited {
  text-decoration: none;
  color: #8a8a8a;
}

.email-textbox {
  margin-top: 40px;
  background: rgb(24, 30, 30);
  background: rgba(24, 30, 30, 0.4);
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
}

.email-textbox h3 {
  color: white;
  font-size: 1.3rem;
}

.paddy {
  margin-bottom: 40px;
}

@media all and (max-width: 766px) {
  nav ul {
    margin-bottom: 0;
  }
  #intro {
    height: 325px;
  }
}

/* for iPad Tablet */
@media all and (min-width: 767px) {
  nav {
    width: 100%;
    height: 3%;
    background-color: #191919;
    padding-top: 1%;
  }

  nav ul {
    padding: 0px;
    list-style-type: none;
    display: flex;
    justify-content: space-around;
  }

  nav li {
    display: inline-block;
    font-size: 1.2rem;
    font-family: "Montserrat", sans-serif;
    color: white;
    font-weight: bold;
    margin-right: 6%;
  }

  ul {
    margin-left: 70%;
  }

  .logo-lg {
    margin-top: -5.5%;
    padding-bottom: 4px;
  }

  .logo-lg img {
    display: inline-block;
    width: 6%;
  }

  .big-container {
    background: url("../images/cityhall.jpg") no-repeat center center fixed;
    max-width: 120%;
    background-position: 50%;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    height: 100vh;
  }

  .content {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 800px;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    font-size: 35px;
    line-height: 40px;
    color: #ecf0f1;
  }

  .content-container {
    font-weight: 600;
    overflow: hidden;
    height: 85px;
    padding: 0 36px 0 0;
    text-align: center;
  }

  .content-container-list {
    margin-top: 0;
    margin-left: 30px;
    padding-left: 0;
    text-align: center;
    list-style: none;
    -webkit-animation-name: change;
    -webkit-animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    animation-name: change;
    animation-duration: 10s;
    animation-iteration-count: infinite;
  }

  .content-container::before {
    content: "[";
    left: 0;
    color: white !important;
  }

  .content-container::after {
    content: "]";
    position: absolute;
    right: 0;
    color: white !important;
  }

  .content-container::after,
  .content-container::before {
    position: absolute;
    top: 0;
    color: white;
    font-size: 2.5rem;
    line-height: 60px;
    -webkit-animation-name: opacity;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-name: opacity;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }

  .content-container::after,
  .content-container::before {
    font-size: 6rem;
  }

  .content-container-list-item {
    line-height: 80px;
    margin: 0;
    padding: 0;
    font-size: 4.3rem;
    width: 700px;
  }

  #intro {
    height: 300px;
  }

  #intro img {
    max-width: 100%;
    margin-top: 17%;
  }

  #intro h3 {
    font-size: 1.2rem;
    padding-top: 5%;
    padding-bottom: 0;
  }

  #intro p {
    font-size: 1.2rem;
    margin-top: 3%;
    margin-left: 0;
  }

  .reg-textbox p {
    font-size: 1.2rem;
    padding-bottom: 0;
  }

  #contact-bar {
    margin-top: 25%;
  }

  .box2 {
    text-align: center;
    margin-top: 2%;
  }

  .box2 p {
    font-size: 1.2rem;
    font-family: "Montserrat", sans-serif;
    margin-top: 5%;
    font-weight: 600;
  }

  .box2 i {
    margin: auto 0;
    color: #191919;
    font-size: 40px;
  }

  .card0,
  .card1,
  .card2,
  .card3,
  .card4,
  .card5,
  .card-bdt {
    height: 100%;
    width: 100%;
  }

  .card4 {
    margin-bottom: 5%;
  }

  .work-title {
    margin-bottom: 1%;
  }

  .cv-description {
    padding-bottom: 2%;
  }

  .cv-org {
    float: left;
  }

  .cv-year {
    float: right;
  }

  .cv-title {
    clear: both;
  }

  .email-textbox {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .email-textbox h3 {
    font-size: 40px;
  }
}

@media all and (min-width: 992px) {
  .content {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 800px;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    font-size: 35px;
    line-height: 40px;
    color: #ecf0f1;
  }

  .content-container {
    font-weight: 600;
    overflow: hidden;
    height: 85px;
    padding: 0 36px 0 0;
    text-align: center;
  }

  .content-container::before {
    content: "[";
    left: 0;
    color: white !important;
  }

  .content-container::after {
    content: "]";
    position: absolute;
    right: 0;
    color: white !important;
  }

  .content-container::after,
  .content-container::before {
    position: absolute;
    top: 0;
    color: white;
    font-size: 6rem;
    line-height: 60px;
    -webkit-animation-name: opacity;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-name: opacity;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }

  .content-container-list {
    margin-top: 0;
    margin-left: 30px;
    padding-left: 0;
    text-align: center;
    list-style: none;
    -webkit-animation-name: change;
    -webkit-animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    animation-name: change;
    animation-duration: 10s;
    animation-iteration-count: infinite;
  }

  .content-container-list-item {
    line-height: 80px;
    margin: 0;
    padding: 0;
    font-size: 4.3rem;
    width: 700px;
  }

  .logo-lg {
    margin-top: -4%;
    padding-bottom: 4px;
  }

  .logo-lg img {
    width: 4%;
    vertical-align: initial;
  }

  ul {
    margin-left: 70%;
  }

  nav li {
    margin-right: 16%;
  }

  #intro {
    height: 320px;
    padding-top: 0;
  }

  #intro img {
    margin-top: 0;
    margin-left: 5%;
    padding-top: 10%;
    max-width: 80%;
  }

  #intro h3 {
    font-size: 2rem;
    padding-top: 7.5%;
    float: left;
  }

  #intro p {
    font-size: 1.2rem;
    float: left;
    margin-top: 2%;
    margin-right: 15%;
  }

  .reg-textbox {
    margin-right: 15%;
    margin-left: 15%;
  }

  .reg-textbox p {
    font-size: 1.3rem;
  }

  .card0,
  .card1,
  .card2,
  .card3,
  .card4,
  .card-bdt {
    height: 20%;
    width: 100%;
  }

  .card4 {
    margin-bottom: 5%;
  }

  #contact-bar {
    margin-top: 8%;
  }

  .work-title {
    margin-bottom: 2%;
  }

  .cv-org {
    display: inline-block;
    float: left;
    font-weight: bold;
  }

  .cv-year {
    display: inline-block;
    float: right;
  }

  .cv-title {
    clear: both;
    font-style: italic;
  }

  .cv-description {
    padding-bottom: 2%;
  }

  .box2 p {
    font-size: 18px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
  }

  .centered-row {
    text-align: center;
  }

  footer {
    padding: 30px 0 50px 0;
    height: 120px;
    font-size: 16px;
  }

  .footer-wrapper img {
    width: 40%;
    height: auto;
  }
}

@media all and (min-width: 639px) and (max-width: 766px) {
  #intro p {
    margin-left: -30%;
  }

  #intro h3 {
    padding-bottom: 10%;
  }
}

@media all and (min-width: 1379px) {
  .logo-lg {
    padding: 4px 0;
  }
}

@media all and (min-width: 1448px) {
  .logo-lg {
    margin-top: -3.5%;
  }
}

@media all and (min-width: 1780px) and (max-width: 2399px) {
  .logo-lg img {
    width: 3%;
  }

  .logo-lg {
    margin-top: -2%;
  }
}

@media all and (min-width: 2400px) {
  .logo-lg {
    margin-top: -2%;
  }

  .logo-lg img {
    width: 3%;
  }

  #intro img {
    max-width: 58%;
  }

  #intro h3 {
    font-size: 2.5rem;
    padding-top: 7.5%;
    float: left;
  }

  #intro p {
    margin-left: 0;
    font-size: 1.8rem;
    margin-right: 23%;
    margin-top: 2%;
  }

  .card0,
  .card1,
  .card2,
  .card3,
  .card4,
  .card-bdt {
    height: 100%;
    width: 100%;
    background-position: top center;
  }

  .reg-textbox p {
    font-size: 2rem;
  }

  .box2 p {
    font-size: 2rem;
    margin-top: 1%;
    font-weight: 600;
  }

  .box2 i {
    font-size: 60px;
  }
}

@media all and (max-width: 519px) {
  nav li {
    padding-top: 6.5%;
  }
}
