* {
  margin:0;
  padding:0;
}



.container {
width: 80%;
height: 40px;
position: relative;
top: 30px;
margin: 0 auto;
}

#logo {
position: relative;
top: 0;
left: 0;
padding-right: 0;

}


/*navigation bar */
.navigation-wrapper {
position: relative;
}
.navigation-button {
/*will-change:transform;*/
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
position: fixed;
z-index: 1;
top: 10px;
right: 2px;
background: transparent;
cursor: pointer;
z-index:90;
}
.navigation-button i{
position: absolute;
top:20px;
right: 30px;
border: 2px solid #2c3e50;
border-radius: 10%;
padding: 8px;
color: #2c3e50;
}


.navigation-menu ul li {
list-style: none;
font-family: 'Piedra';
font-weight: 300;
color: hsl(0,0%,70%);

}

.navigation-menu {
content: '';
position: fixed;
top: 0;
right: 0;
width: 45%;
background: white;
height: 100%;
transform: skewX(0deg) translate(100%,0);
transform-origin: top right;
transition: all .2s ease-in;
z-index: 10;
}
.navigation-menu ul {
transform: skewX(-8deg);
transform-origin: top left;
position: fixed;
right: 20px;
top: 100px;
width: 400px;
text-align: right;
}
.navigation-menu ul li {
position: relative;
z-index: 999;
font-size: 1em;
color: hsl(0,0%,10%);
line-height:50px;
}
.navigation-menu ul li  a {
border: none;
color: hsl(0,0%,10%);
text-decoration: none;
}
.navigation-menu.active {
transform: skewX(8deg) translate(0,0);
z-index: 100;
}

.navigation-menu li {
opacity: 0;
transform: translate(0, 10px);
transition: all .0s ease-in .3s;

}
.navigation-menu.active li {
opacity: 1;
transform: translate(0,0);
transition: all .2s ease-in 0s;
}
.navigation-menu.active li:nth-child(1) {
transition-delay: .3s;
}
.navigation-menu.active li:nth-child(2) {
transition-delay: .4s;
}
.navigation-menu.active li:nth-child(3) {
transition-delay: .5s;
}
.navigation-menu.active li:nth-child(4) {
transition-delay: .6s;
}
.navigation-menu.active li:nth-child(5) {
transition-delay: .7s;
}
.navigation-menu.active li:nth-child(6) {
transition-delay: .8s;
}
.navigation-menu.active li:nth-child(7) {
transition-delay: .9s;}
.navigation-menu.active li:nth-child(8) {
transition-delay: 1.0s;}

#logo.serg .navigation-wrapper {
  display:inline;
}

.serg h1 {
  position: absolute;
  left:40%;
  top:0px;
  text-transform: uppercase;
  font-family: 'Piedra';
  font-size: 3vw;
  letter-spacing: .04vw;
  color:red;
  margin-left: 10px;
}


body {
  font: 16px Helvetica, Sans-Serif;
   line-height: 24px;
    background: url(../img/noise.jpg); }
.clear { clear: both; }

/*CV Pages */
/*personal profile code*/




#page-wrap {
   width: 550px;
    margin: 40px auto 40px;
  }

#pic {
  height:200px;
  width:150px;
  float: right;
   margin: -30px 0 0 0; }




h1
{ margin: 0 0 16px 0;
   padding: 0 0 16px 0;
   font-size: 35px;
   font-weight: bold;
   letter-spacing: -2px;
   border-bottom: 1px solid #999; }

h2 { font-size: 20px;
   margin: 0 0 6px 0;
   position: relative; }





h2 span {
  position: absolute;
  bottom: 0;
   right: 0;
    font-style: italic;
    font-family: Georgia, Serif;
     font-size: 16px;
      color: #999;
      font-weight: normal; }

p {
  margin: 0 0 16px 0;
 }

a {
   color: #999;
    text-decoration: none;
     border-bottom: 1px dotted #999; }

a:hover {
  border-bottom-style: solid;
   color: black; }

ul {
   margin: 0 0 32px 17px;
 }
#objective {
   width: 500px;
   float: left; }
#objective p {
  font-family: Georgia, Serif;
  font-style: italic;
  color: #666; }


dt {
  font-style: italic;
  font-weight: bold;
  font-size: 18px;
  text-align:left;
  padding: 0 5px 0 0;
  width: 100px;
  float: left;
  height: 100px;
  border-right: 1px solid #999;  }

dd { width: 400px;
   float: right; }

dd.clear { float: none;
   margin: 0;
   height: 15px; }




/*contact us */

#map{
  position:relative;
  top:50px;
  left:80px;
  height:300px;
  width:80%;
   }

.deteils{
  margin: 100px 80px 30px;
  padding-bottom: 0;
  font-size: 20px;
  line-height: 22px;

}

.deteils #contact  {
  margin:0;
  margin-top: -10px;
  list-style-type: none;

}

/*About SERG */
.aboutgroup p{
  padding: 0;
  margin-right:10px;
  margin-left: 10px;
  margin-top: 5px;
}

.aboutgroup .project-design{
  margin-bottom: 20px;
  width:80%;
  position:relative;
  left:50px;
}


/* Projects */

.content .projects {
  width:90%;
}

.projects h1{
  font-size: 30px ;
}



#img-container{

margin-right: 40px;
margin-bottom: 50px;
position: relative;
width:300px;
height: 250px;
right:40px;

}

#img-container img {
  position: 10 auto 0;
  width:300px;
height: 250px
}

#proj-desc {
  position: absolute;
  height:20%;
  bottom: 8px;
  width:100%;
  color: white;
  background-color: #2c3e50;
  opacity: .8;

  }
#proj-desc span {
  position: absolute;
  right:100px;
  bottom: 15px;
  font-size: 1.2em;
  font-weight: bold;
}

#img-container a:hover {
  text-decoration: none;
}



 #more{
   display:none;
 }

.read{
   background-color: #122F65;
   border:none;
   outline: none;
   color:white;
   font-size:18px;
   padding:5px;
   display: block;
   cursor: pointer;
 }

.page-wrap .content{
     position: relative;
     left:-200px;
     top:100px;
     width:800px;


 }

 figure {
  display: flex;
  align-items: center;
  position:relative;
  margin-top: 20px;
  margin-left: 90px;
}

.photo-link{
  border-bottom: none;
}
.photo-link:hover {
  border-bottom: none;
}




figcaption {
  position: relative;

  text-align:justify;
  display: inline;
  margin-left: 20px;
  top:-80px;
}



.projectimg {
  position:relative;
  top:-80px;
  left:10px;
  width:300px;
  height: 200px;
  display: inline;
}





figure p{
  font-size: 14px;
}

figcaption img{
  width:400px;
  height:300px;
}

/* Page number in Projects */

.pagination{
  position: relative;

  width: 100%;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
  margin-left: 55px;
  transform: translateY(-50%);

}

.pagination a{
  margin: 0px 0px;
  display: inline-block;
  width: 40px;
  background: #2c3e50;
  height: 40px;
  line-height: 40px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
  padding-right: 20px;

}
.prev,.next{
  padding-right: 12px !important;
  font-size: 20px;
}
.pagination a:hover{
  color: #e74c3c;
}

.prev{
  border-radius: 30px 0 0 30px;
}

.next{
  border-radius: 0 30px 30px 0;
}

.pagination a::before,.pagination a:after{
  content: "";
  position: absolute;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
}
.num::before,.next::before{
  border-right: 20px solid #2c3e50;
  right: 100%;
}

.num:after,.prev:after{
  border-right: 20px solid #f1f1f1;
  right: 0;
}


footer p{
  font-size: 12px;
  font-weight: bold;
  position: relative;
  left:50px;
  display:block;
}



/* photo gallery*/

#page-wrap #gallery{

  width:500px;
  position:flex;
  margin-left: 30px;

}



#page-wrap #gallery img{
  max-height: 200px;
  width:200px;
  transition: 1s;
  margin:10px;
  cursor: pointer;

}

#page-wrap .gallery img:hover{
  filter:grayscale(100%);
  transform: scale(1.1);
}


/*meet the team */




.works .filtering .filter  {
  color: #2c3e50;
  width:600px;
  padding: 15px 10px;
  box-shadow: 0px 10px 30px rgba(0,0,0,0.2);
  border-radius: 10px;
  border: #CFDAEC solid .5px;
  position: relative;
  margin-left: 10px;
}




.works .filtering a {
  margin:0 5px;
  padding: 8px 8px;
  font-size: 16px;
  font-weight: bold;
  display:inline-block;
  border-radius: 10px;
  cursor: pointer;
  border-bottom: none;
  color:#2c3e50;

}

.works .filtering .active {
  background: #2c3e50;
  color:#E6EAEE;
  text-decoration:none;
}

.works .gallery-full-width{
  width:680px;
  position: absolute;
  padding: 20px;
  top:0px;
  left: -5px;
}

.works .info{
  display:inline-block;
  padding: 0;
  margin: 0;
  padding-right: 0;
}

.works .img-responsive {
  padding: 0;
  width: 250px;
  height: 250px;
}


.works .item-img{
  position:relative;
  margin-top: 30px;
  margin-left: 50px;
  width:250px;
  box-shadow: 0px 10px 30px rgba(0,0,0,0.6);

}

.works .item-img:hover .item-img-overlay{
  visibility: visible;
  opacity: 1;
  width: 230px;
}

.works .item-img-overlay{
  position: absolute;
  top:10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding:30px;
  background: #D2DBEC;
  opacity: 1;
  visibility: hidden;
  transition: all 0.5s;
  z-index: 150;
  width: 230px;
}
.works .item-img-overlay .icon{
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  border: 1px solid #1a237e;
  text-align: center;
  font-size: 20px;
  color: #1a237e;

}

.overlay-info{
  color:#2c3e50;
}



#team-structure{
  position:relative;
  top: 30px;
  width:500px;
  margin-left: 50px;
  margin-top: 80px;
  margin-bottom: 40px;
}



#team-structure p{
  position: relative;
  font-size: 22px;
  font-weight: bold;
  color:#2c3e50;
  left:5vw;
}



#team-structure-img{
  position: relative;
  width:550px;
  height:50vh;
  margin-bottom: 150px;
}






@media (min-width: 700px) {

.navigation-menu ul {
right: 30px;}




  .navigation-menu ul li {
  font-size: 22px;
  line-height:75px;
  }

  .navigation-menu li:hover {
    font-size:28px;}


    #map{
      position:relative;
      top:50px;
      left:80px;
      height:300px;
      width:60%;
      top:40px;
    }



    .deteils #contact  {
      margin-top: 0px;
      font-size: 16px;
      line-height: 30px;
    }

    .page-wrap .content{
      width:1200px;
      margin-left: 30px;
    }


    .projectimg {
      top:-80px;
      width:400px;
      height: 200px;
    }



    .works .gallery-full-width{
      width:950px;
      left: -60px;
    }



    #team-structure-img{

      width:750px;
      height:30vh;

    }


    #page-wrap #gallery{
      margin-left: 0px;
      width:600px;
    }


    #page-wrap #gallery img{
      max-height: 150px;
      width:170px;}

    #img-container{
    width:400px;
    height: 300px;
    left:50px;
    margin-right: 20px;
    margin-bottom: 40px;
  }

    #img-container img {
    width:400px;
    height:300px;}

  }




@media (min-width: 1100px) {
  .navigation-menu {
    width: 20%;
  }



    #page-wrap {
       width: 800px;
        margin: 40px auto 60px;}

    dt {
      text-align: right;
      padding: 0 26px 0 0;
         }


     dd { width: 600px;
     }

    #map{
      position: absolute;
      height:350px;
      width:40%;
      top:150px;
      left:600px;
    }
    .deteils{
      position:relative;
      left: -200px;
  }
  .page-wrap .content{
    width:1500px;
    margin-left: 0px;
  }
  .projectimg {
    width:400px;
    height: 250px;
  }

  .projects .container{
    width:1000px;
  }

  #img-container{

    float:left;
    width:350px;
    height: 300px;
    margin-right: 25px;
   }

  #img-container img {
    width:350px;
    }


  figure{

    left:-60px;
  }

  figcaption p{
    width:800px;
  }


  .works .gallery-full-width{
    width:1300px;
    left: -30px;
  }



  #team-structure-img{
    width:1100px;
    height:70vh;

  }


  #page-wrap #gallery{
    margin-left: 50px;
    width:800px;}


}


@media (min-width: 1416px){



   #img-container{

    width:400px;
    margin-right: 50px;
    }

  #img-container img {
    width:400px;
    }

}
