body,
html {
    width: 100%;
    height: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
}

.col-lg-5.col-lg-offset-2.col-sm-6.custom {
    text-align: center;
}


/*btn customization*/
.btn.btn-default.btn-lg.custom {
    width: 145px;
}


.btn.btn-success.btn-lg.custom {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn.btn-success.btn-lg.custom:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;

}

.lead {
    font-size: 18px;
    font-weight: 400;
}

.intro-header {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    color: #f8f8f8;
    background: url(../img/intro-bg.jpg) no-repeat center center;
    background-size: cover;
}

.intro-message {
    position: relative;
    padding-top: 20%;
    padding-bottom: 20%;
}

.intro-message > h1 {
    margin: 0;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
    font-size: 5em;
}

.intro-divider {
    width: 400px;
    border-top: 1px solid #f8f8f8;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.intro-message > h3 {
    text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
}

@media(max-width:767px) {
    .intro-message {
        padding-bottom: 15%;
    }

    .intro-message > h1 {
        font-size: 3em;
    }

    ul.intro-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.intro-social-buttons > li:last-child {
        margin-bottom: 0;
    }

    .intro-divider {
        width: 100%;
    }
}

.network-name {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
}

/*sections layout*/
#contact {
    padding: 50px 0 50px;
}

#about {
    padding: 50px 0 80px;
}

#about h2, #contact h2 {
    padding-bottom: 30px;
}

/*about section*/

.about {
    line-height: 1.4;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.about p {
    margin: 0 2px 10px;
}

/*portfolio section*/

.content-section-a, .content-section-b, .content-section-c, .content-section-d {
    padding: 60px 0;
    margin: 0 45px 0;
}

.content-section-d {
    border-top: 2px solid #e7e7e7;
}

.content-section-a {
    border-bottom: 2px solid #e7e7e7;
}

#img-pigly, #img-gameoflife, #img-cabin, #img-wheat, #img-schemmer {
    border-radius: 4px;
    border: 1.5px solid #000;
}



/*game of life animation*/
#button_gol {
  display: block;
  text-align: center;
}

#run_animation {
  display: inline-block;
  margin-top: 1em;
  border-radius: 0.2em;
}

#reset_game {
  display: inline-block;
  margin-top: 1em;
  border-radius: 0.2em;
}

#canvas {
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 4px;
  border: 1.5px solid #000;
}

/*portfolio img*/

a.portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    opacity: 1;
}

a.portfolio-link:hover {
    opacity: 0.7;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading-spacer {
    float: left;
    width: 200px;
    border-top: 3px solid #e7e7e7;
}


/*contact section*/

#contactForm {
    font-size: 18px;
}

/*banner footer*/

.banner {
    padding: 100px 0;
    color: #f8f8f8;
    background: url(../img/banner-bg.jpg) no-repeat center center;
    background-size: cover;
}

.banner h2 {
    margin: 0;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
    font-size: 3em;
}

.banner ul {
    margin-bottom: 0;
}

.banner-social-buttons {
    float: right;
    margin-top: 0;
}

@media(max-width:1199px) {
    ul.banner-social-buttons {
        float: left;
        margin-top: 15px;
    }
}

@media(max-width:767px) {
    .banner h2 {
        margin: 0;
        text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
        font-size: 3em;
    }

    ul.banner-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons > li:last-child {
        margin-bottom: 0;
    }
}

footer {
    padding: 50px 0;
    background-color: #f8f8f8;
}

/*modals*/

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    margin: 20px;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    font-size: 18px;
}

.portfolio-modal .modal-content p, .portfolio-modal .modal-content ul {
     font-size: 14px;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content .item-details {
    margin: 30px 0;
}

.img-body {
    display: table;
}

.modal-img-inline {
    display: table-cell;
    padding: 10px;
}

p.copyright {
    margin: 15px 0 0;
}




