body {
  overflow-x: hidden;
  font-family: 'Roboto Slab', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

p {
  line-height: 1.75;
}

a {
  color: #36d1fe;
}

a:hover {
  color: #03c5fe;
}

a:focus{
  outline: none;
}

button:focus{
  outline: none;
}

.text-primary {
  color: #36d1fe !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section {
  padding: 80px 0;
}

section h2.section-heading {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 15px;
}

section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 25px;
  text-transform: none;
  font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@media (min-width: 768px) {
  section {
    padding: 100px 0;
  }
  section h3.section-subheading {
    margin-bottom: 50px;
  }
}

.btn {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-primary {
  background-color: #36d1fe;
  border-color: #36d1fe;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #10c8fe !important;
  border-color: #10c8fe !important;
  color: white;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(55, 209, 254, 0.5) !important;
}

::-moz-selection {
  background: #36d1fe;
  text-shadow: none;
}

::selection {
  background: #36d1fe;
  text-shadow: none;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

#mainNav {
  background-color: #212529;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: #36d1fe;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#mainNav .navbar-brand {
  color: #36d1fe;
  font-family: 'Satisfy', 'Helvetica Neue', Helvetica, Arial, cursive;
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #03c5fe;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 90%;
  font-weight: 400;
  padding: 0.75em 0;
  letter-spacing: 1px;
  color: white;
  font-family: 'Helvetica Neue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #36d1fe;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 25px;
    padding-bottom: 25px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #212529;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
  }
}

header.masthead {
  text-align: center;
  color: white;
  background-image: url("../img/header-bg.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.masthead .intro-text {
  padding-top: 150px;
  padding-bottom: 100px;
}

header.masthead .intro-text .intro-lead-in {
  font-size: 22px;
  font-style: italic;
  line-height: 22px;
  margin-bottom: 25px;
  font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header.masthead .intro-text .intro-heading {
  font-size: 50px;
  letter-spacing: 0.1em;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 25px;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header.masthead .intro-line {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
  border-style: inset;
  border-width: 0;
  border-top: 1px solid;
  
}

header.masthead .intro-text .intro-subtext {
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 22px;
  margin-bottom: 25px;
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


@media (min-width: 768px) {
  header.masthead .intro-text {
    padding-top: 250px;
    padding-bottom: 250px;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 40px;
    font-style: italic;
    line-height: 40px;
    margin-bottom: 25px;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  header.masthead .intro-text .intro-heading {
    font-size: 75px;
    letter-spacing: 0.1em;
    font-weight: 700;
    line-height: 75px;
    margin-bottom: 25px;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  header.masthead .intro-text .intro-subtext {
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 22px;
    margin-bottom: 50px;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
}

.about-me-photo {
  margin-bottom: 50px;
  text-align: center;
}

.about-me-photo img {
  width: 225px;
  height: 225px;
  border: 7px solid #fff;
}

.about-me-photo h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}

.about-me-photo p {
  margin-top: 0;
}

.about-me-descp{
  margin-top: 0;
}

.list-text-item{
  margin-bottom: 5px;
}

@media (min-width: 767px) {
  .about-me-descp{
    margin-top: 20px;
  }
}

#projects .projects-item {
  right: 0;
  margin: 0 0 15px;
}

#projects .projects-item .projects-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#projects .projects-item .projects-link .projects-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(54, 209, 254, 0.9);
}

#projects .projects-item .projects-link .projects-hover:hover {
  opacity: 1;
}

#projects .projects-item .projects-link .projects-hover .projects-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#projects .projects-item .projects-link .projects-hover .projects-hover-content i {
  margin-top: -12px;
}

#projects .projects-item .projects-link .projects-hover .projects-hover-content h3,
#projects .projects-item .projects-link .projects-hover .projects-hover-content h4 {
  margin: 0;
}

#projects .projects-item .projects-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
}

#projects .projects-item .projects-caption h4 {
  margin: 0;
  text-transform: none;
}

#projects .projects-item .projects-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#projects * {
  z-index: 2;
}

@media (min-width: 768px) {
  #projects .projects-item {
    margin: 0 0 30px;
  }
}

.projects-modal {
  padding-right: 0px !important;
  
}

.modal-iframe {
  width: 400px;
  height: 300px;
}


.modal-carousel-img {
  width:100%; 
  height: 350px 
  !important;
}

.modal-carousel-img-tall {
  height:100%; 
  width: 350px 
  !important;
}

.carousel-item:before {
  -webkit-box-shadow: inset 0 0 20rem rgba(0, 0, 0, 1);
  box-shadow: inset 0 0 20rem rgba(0, 0, 0, 1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
}

/* .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
} */

/* .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
} */

.projects-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
  margin-left: 10%; 
  margin-top: 2%;
  margin-right: 10%;
}
.projects-modal .modal-header {
  width: 100%;
  display: flex;
  align-items:flex-start;
  padding: 1rem;
  border-bottom: 0px;
}

.projects-modal .modal-content {
  text-align: center;
}

.projects-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}

.projects-modal .modal-content p {
  margin-bottom: 30px;
}

.item-description {
  text-align:left ;
}

.projects-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
  font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.projects-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
  text-align: left;
  list-style-type: circle;
}

.projects-modal .modal-content img {
  margin-bottom: 30px;
}

.projects-modal .modal-content button {
  cursor: pointer;
}

.projects-modal .close{
  padding: 1rem;
  margin: -1rem;
}
.projects-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}

.projects-modal .close-modal:hover {
  opacity: 0.3;
}

.projects-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #212529;
}

.projects-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #212529;
}

.logo {
  max-height: 60px;
	margin: 1% auto;
}

section#contact {
  padding-top: 60px;
  padding-bottom: 20px;
  background-image: url("../img/contact-image.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width: 768px) {
  section#contact {
    padding-top: 80px;
    padding-bottom: 50px;
  }
}

section#contact .section-heading {
  color: #fff;
}

.contact-icon{
  color: #fff;
}

.contact-icon-transparent{
  opacity: 0.75;                
  color: rgba(0, 0, 0, 0.75); 
}

footer {
  padding: 25px 0;
  text-align: center;
}

footer span.copyright {
  font-size: 90%;
  line-height: 40px;
  text-transform: none;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  font-size: 20px;
  line-height: 40px;
  display: block;
  width: 40px;
  height: 40px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  color: white;
  border-radius: 100%;
  outline: none;
  background-color: #212529;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background-color: #36d1fe;
}
