/* Base */

body {
  line-height: 1.7;
  color: gray;
  font-weight: 300;
 }

::-moz-selection {
  background: #000;
  color: #fff; }

::selection {
  background: #000;
  color: #fff; }

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  a:hover {
    text-decoration: none; }

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  font-family: "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }

/*POP UP*/

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 70%;
  position: relative;
  transition: all 5s ease-in-out;
    max-height: calc(100vh - 210px);
    overflow-y: auto;

}


.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}

@media screen and (max-width: 700px){
  .popup{
    width: 70%;
  }
}
/* Blocks */
.intro-section {
  position: relative; }
  .intro-section, .intro-section .container .row {
    height: 100vh;
    min-height: 900px; }
  .intro-section:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 70%;
    background: #709FCF;
    border-bottom-right-radius: 0px; }
    @media (max-width: 991.98px) {
      .intro-section:before {
        width: 100%; } }
  .intro-section h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #fff; }
  .intro-section p {
    color: rgba(255, 255, 255, 255);
    font-size: 1.1rem;
    max-width: 400px; }

.img-absolute {
  position: absolute;
  right: 10%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%); }
  .img-absolute img {
    max-width: 600px;
    -webkit-box-shadow: 0 10px 50px -5px rgba(0, 0, 0, 0.4);
    box-shadow: 0 10px 50px -5px rgba(0, 0, 0, 0.4); }
    @media (max-width: 991.98px) {
      .img-absolute img {
        max-width: 100%; } }

.footer-section {
  background-color: #fafafa; }
  .footer-section p {
    font-size: 1rem; }
  .footer-section h3 {
    font-size: .9rem;
    letter-spacing: .1rem;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 1.5rem;
    font-weight: 900; }
  .footer-section .footer-links li {
    margin-bottom: 10px; }


    .social a {background-color:#000;background-image: url('images/sprites.png');background-repeat:no-repeat;width: 60px;font-size:2.5em;height: 60px;display:block; float:left;margin-left:10px;padding-left:10px;opacity:0.5;}
    .social a.facebook {background-position: 10px -340px ;}
    .social a.wordpress {background-position: -40px -340px ;}
    .social a.linkedin {background-position: -90px -340px ;}
    .social a.xing {background-position: -140px -340px ;}
    .social a.mail {background-position: -190px -340px ;}
    .social a:hover {opacity:1;}

    /* RESPONSIVE */
    @media screen and (max-width:360px) {
        #title, #info {padding:20px;}
    	.social a.mail {margin-top: 10px;}
    	.social a.wordpress {margin-right:50px;}

    }

    @media screen and (max-width:767px) {
        body {overflow:scroll;}
        #half {width:100%;background-color:transparent;position:relative;height:auto;overflow:hidden;}
        #page-frame {width:100%;position:relative;}
        #title, #info {background-color:#0099cc;position:relative;width:auto;top:auto;padding:30px;text-align:left;overflow:hidden;}
    	#info {background-color:#FFFFFF;}
        #footer {position:relative;text-align:center;bottom:auto;right:auto;padding:10px 0;width:100%;}

        .social {width:100%;}
        .social a {margin-right:10px;margin-left:0;}
    }
