html {
    font-family:"Quicksand", sans-serif;
    color:#ffffff;
}

body, head {
    margin:0;
    padding: 0;
}


/*FIXING THE FOOTER*/
body, html {
  height: 100%;
}

body{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

section{
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

footer, header {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
/*FIXING THE FOOTER*/

header, footer, section, div {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

section, #logo, nav ul, footer{
    text-align:center;
}

section {
    padding-bottom: 80px;
}

#welcome {
    padding-top: 145px;
}

#hello, #nav_skills div a,  #services_top_contact,  #services_bottom_contact, .element a, #pf_contact,.btn_description,.title_card, .cpt_bottom_msg {
    text-transform: uppercase;
}

.dark_blue {background-color: #5ed3e6;}
.medium_blue {background-color: #96f1ff;}
.light_blue{background-color:#68ebff;}
.yellow {background-color: #fffa69;}
.orange {background-color: #ffc169;}
.red { background-color: #ff6969;}
.purple {background-color: #cc69ff;}
.white {background-color: #ffffff;}

.light_blue_txt {color:#68ebff;}
.yellow_txt, .menu_focus {color: #fffa69;}
.orange_txt {color: #ffc169;}

a {text-decoration: none;}

#logo {
    position: relative;
    height: 141px;
    width:298px;
    display: block;
    margin: 0 auto;
    border-radius: 0px 0px 12px 12px;
}

a > #img_logo {
    height: 40px;
    width: 210px;
    position:absolute;
    margin: auto;
    top:0;right:0;bottom:0;left:0;
}

#img_logo{
    background-image: url(../img/sprite.png);
    background-size: 270% 468%;
    background-position: 39.97% 72.6%;
}

#coder{
    position:absolute;
    right: 75px;
    top: 30px;
}

#img_coder {
    display:block;
    float:right;
    width: 135px;
    height: 172px;
    background: url(../img/sprite.png) 0 0;
    background-size: 478% 110.43%;
}

#hello, nav ul li a, #btn_services, footer p, #nav_skills div a, #description_skills, #contact_info, #services_top_contact,  #services_bottom_contact, .element a, .mg_div p, #pf_contact,.btn_description, #description_portfolio, .title_card, .services_contact, .cpt_bottom_msg, .project_title {
    font-weight: bold;
}

#hello {
    display:block;
    float:left;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    padding:50px 50px 20px 50px;
    font-size: 15px;
}

ul li a:hover {
    color: #fffa69; 
}

hr {
    display: block;
    height: 1px;
    width:70%;
    border: 0;
    border-top: 1px solid #ffffff;
    margin: 0 auto;
    padding: 0;
}

#welcome h1 {
    color: #5ed3e6;
    padding-top: 9px;
    padding-bottom: 9px;
    width: 88%;
    margin: 0 auto;
    -webkit-box-shadow:8px 8px 0px #5ed3e6;
    box-shadow:8px 8px 0px #5ed3e6;
}

#description_kood {
    padding:70px 0px 70px 0px;
    font-size: 20px;
    width:70%;
    text-align: justify;
    margin: 0 auto;
}

#btn_services, ul li a {
    color:#ffffff;
}

#btn_services {
    padding: 10px;
}

#btn_services:hover {
    background-color: #fffa69;
    color: #5ed3e6;
}

footer {
    position:relative;
    padding: 20px;
}

#img_logo_footer {
  height: 40px;
  width: 161px;
  background-image: url(../img/sprite.png);
  background-size: 270% 350%;
  background-position: 39.97% 72.6%;
}

#img_top {
  position: absolute;
  top: 15px;
  right: 20px;
  height:30px;
  width: 30px;
}

.fa-arrow-circle-up {color: #ffffff;}

.fa-arrow-circle-up:hover {color: #fffa69;}

#nav_skills {
    width:100%;
    padding: 50px;  
}

#nav_skills div {
    height:300px;
    width: 300px;
    display:-webkit-inline-box;
    display:-ms-inline-flexbox;
    display:inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 25px;
    -webkit-box-shadow:8px 8px 0px #5ed3e6;
    box-shadow:8px 8px 0px #5ed3e6;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
}

#nav_skills div a {
    height: 300px;
    width: 300px;
    line-height: 300px;
}

#nav_skills div:hover{ 
  -webkit-animation: pulse 1s; 
  animation: pulse 1s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes pulse {
  0% { -webkit-transform: scale(1); transform: scale(1); }
  50% { -webkit-transform: scale(1.03); transform: scale(1.03);}
  100% { -webkit-transform: scale(1); transform: scale(1); }
}

@keyframes pulse {
  0% { -webkit-transform: scale(1); transform: scale(1); }
  50% { -webkit-transform: scale(1.03); transform: scale(1.03);}
  100% { -webkit-transform: scale(1); transform: scale(1); }
}

#description_skills {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    height:auto;
    width:70%;
    -webkit-box-shadow:8px 8px 0px #5ed3e6;
    box-shadow:8px 8px 0px #5ed3e6;
    margin:90px auto;
}

#description_portfolio {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  -webkit-box-shadow:8px 8px 0px #5ed3e6;
  box-shadow:8px 8px 0px #5ed3e6;
  margin:0 auto;
  height:50px;
  width:70%;
}

#contact {
    height: 500px;
}

#contact div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#contact_info {
    font-size: 2em;
}

#services_top_contact {
  padding-top: 90px;
  padding-bottom: 120px;
}

#services_bottom_contact a {
  width: 100%;
}

#services_top_contact a, #services_bottom_contact div, .cpt_bottom_msg  {
  padding: 8px 35px 8px 35px;
}
 
#services_top_contact p, #services_bottom_contact p {
  padding:12px 5px 12px 5px;
}

#services_bottom_contact a, #services_top_contact a, .cpt_bottom_msg a{
  color: #68ebff;
}

 #services_top_contact a, #services_bottom_contact div, .cpt_bottom_msg {
    -webkit-box-shadow: 4px 4px 0px #5ed3e6;
    box-shadow: 4px 4px 0px #5ed3e6;
 }
 
 #services_bottom_contact div, .cpt_bottom_msg {
  width: 70%;
  margin: 0 auto;
  text-align:center;
}

.cpt_bottom_msg a:hover,  #services_top_contact a:hover,  #services_bottom_contact a:hover {
  color: #5ed3e6;
}

#container_services {
  display:-ms-grid;
  display:grid;
  -ms-grid-rows: 150px 250px;
  grid-template-rows: 150px 250px;
  margin: 0 auto;
  width: 75%;
  margin-bottom:120px;
  -webkit-box-shadow:0px 8px 0px #5ed3e6;
  box-shadow:0px 8px 0px #5ed3e6;
}

#coding { -ms-grid-row: 1; -ms-grid-row-span: 2; -ms-grid-column: 1; -ms-grid-column-span: 1; grid-area: 1 / 1 / span 2 / span 1; }
#copywriting { -ms-grid-row: 1; -ms-grid-row-span: 1; -ms-grid-column: 2; -ms-grid-column-span: 1; grid-area: 1 / 2 / span 1 / span 1; }
#integration { -ms-grid-row: 2; -ms-grid-row-span: 1; -ms-grid-column: 2; -ms-grid-column-span: 1; grid-area: 2 / 2 / span 1 / span 1; }
#seoref {-ms-grid-row:1;-ms-grid-row-span:2;-ms-grid-column:3;-ms-grid-column-span:1;grid-area:1 / 3 / span 2 / span 1;}

.element {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  padding: 10px;
}

.dark_blue_txt {color:#5ed3e6;}
.white_txt, #pf_contact{color:#ffffff;}

#coding a{font-size:1.2em;}

span {color:#fffa69;}

#portfolio {
  padding-top: 80px;
}

.mg_div {
  height: 400px;
  width: 400px;
  margin: 50px;
}

#dotpixel {
  background: #5ed3e6 url("../img/pf_dotpixel.png") no-repeat center;
  background-size:100% auto;
}

.project_title {
  text-align: left;
  font-size: 1.5em;
}

.pf_link_project{
  position: absolute;
  display:block;
  height: 100%;
  width: 100%;
  margin: auto;
  z-index:3;
}

.project_made {
  position: relative;
  z-index:2;
}

.overlay_div {
  position:absolute;
  top:0;left:0;
  height: 100%;
  width: 100%;
  background-color: #5ed3e6;
  opacity: 0.7;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  -ms-flex-direction:column;
  flex-direction:column;
  -webkit-box-pack:center;
  -ms-flex-pack:center;
  justify-content:center;
  -ms-flex-line-pack:center;
  align-content:center;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
}

#next_project {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  border: 8px solid #ffffff;
}

.mg_div p {
  font-size: 1.5em;
}

#pf_contact {
  background-color: #fffa69;
  color:#5ed3e6;
  margin: 10px 20px 10px 20px;
  padding: 10px;
  -webkit-box-shadow:4px 4px 4px #5ed3e6;
  box-shadow:4px 4px 4px #5ed3e6;
}

#pf_contact:hover {
  background-color: #5ed3e6;
  color:#fffa69;
}

h3 {
  display:none;
}

#list_skills {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  list-style: none;
  padding: 20px;
}

#list_skills li {
  padding-right: 10px;
}

#list_skills > li:not(:last-of-type)::after {
  padding-left: 10px;
  content: '·';
  font-family: monospace;
}

.btn_description {
  background-color:#ffffff;
  color:#5ed3e6;
  border:none;
  outline: none;
  text-align: center;
  border-radius:5px;
  height:40px;
  line-height:40px;
  width:150px;
  -webkit-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

.btn_description:hover {background-color: #fffa69;}

.style_ul {
  list-style: square;
  text-align:left;
  line-height: 1.3em;
  margin-top: 50px;
  margin-bottom: 30px;
}

.style_li {
  margin-bottom: 1.1em;
}

.tools li {
  text-align:center;
  margin: 5px;
  padding:5px;
  border-radius: 10px;
  background-color:#ffffff;
  color: #5ed3e6;
  list-style: none;
}

#tools_cpt li, #tools_cpt_more li {
  text-align:center;
  margin: 5px;
  border-radius: 10px;
  background-color:#5ed3e6;
  color: #fffa69;
  list-style: none;
  font-weight: bold;
}

#tools_cpt li {
  padding:20px;
}

#tools_cpt_more  li {
  padding: 8px;
}

.description_hidden h2 , .aside h2{
  text-align:left;
}


#container_portfolio {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
   flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  -ms-flex-line-pack: center;
  align-content: center;
  width: 75%;
  margin: 0 auto;
  padding: 100px 10px 10px 10px;
}

.element_flex_container {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  margin-bottom: 50px;
  width:100%;
  border: 8px solid #ffffff;
}

.aside {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  -ms-flex-direction:column;
  flex-direction:column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 10px;
}

.pic_div{
  height:90%;
  width: 90%;
  max-width:400px;
  max-height:400px;
  -webkit-box-flex:1;
  -ms-flex:auto;
   flex:auto;
}

.tools, #tools_cpt, #tools_cpt_more {
  list-style-type: none;
  padding:10px;
}

.tools li, #tools_cpt li, #tools_cpt_more li {
  display:inline-block;
}

.sv_description {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack:distribute;
  justify-content:space-around;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.sv_desc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width:75%;
  min-height: 300px;
  padding: 10px;
  margin: 50px;
  -webkit-box-shadow:8px 8px 0px #5ed3e6;
  box-shadow:8px 8px 0px #5ed3e6;
}

.sv_desc div {
  -ms-flex-preferred-size:50%;
  flex-basis:50%;
}

.line_dark_blue {border-right: 1px solid #5ed3e6;}
.line_yellow {border-right: 1px solid #fffa69;}
.line_white {border-right: 1px solid #ffffff;}

.cpt_desc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 75%;
  margin: 50px auto;
  padding: 20px;
}

.cpt_parag{
  text-align:justify;
  padding: 10px;
  width: 70%;
  margin: 0 auto;
}

.fa-bars {
   height: 40px;
  width: 75px;
  text-align: right;
  position: absolute;
  top: 10px;
  right: 30px;
  display: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.detail_descr_sv {
  padding: 20px 60px;
}

.detail_descr_sv p {
  padding: 20px 10px;
}

.services_contact{
  font-size:1.2em;
}

.services_contact:hover {
  opacity: 0.8;
}

.txt_highlight {
  font-weight: bold;
  font-size: 1.5em;
  width: 60%;
}

/*RESPONSIVE DESIGN*/

@media (max-width: 1199px){
  
  .element_flex_container {
     -webkit-box-orient:vertical;
     -webkit-box-direction:reverse;
     -ms-flex-direction:column-reverse;
     flex-direction:column-reverse;
     -webkit-box-pack:center;
     -ms-flex-pack:center;
     justify-content:center;
     -ms-flex-line-pack:center;
     align-content:center;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
   }
   
   .aside {
     margin-top: 50px;
   }
   
   .aside h2 {
     text-align:center;
   }
   
   .style_ul {
     padding: 0px 50px 0px 50px;
   }
   
    .menu_list li {
     padding-left: 30px;
     padding-right: 30px;
   }
   
   #list_skills {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-orient: vertical;
     -webkit-box-direction: normal;
     -ms-flex-direction: column;
     flex-direction: column;
     padding-top: 10px;
     font-size: 0.8em;
   }
   
   #list_skills > li:not(:last-of-type)::after {
     content: none;
   }
}

@media (max-width: 991px){
  
  #container_portfolio {
    width: 100%;
  }
  
  #img_coder {
    width: 100px;
    height: 142px;
    background-size: 410% 90%;
    background-position: 0 15px;
  }
  
  #next_project {
    width: 300px;
    height: 300px;
  }
  
  /*container_services browsers compatibility*/
  #container_services {
    -ms-grid-columns: 60% 40%;
    grid-template-columns: 60% 40%;
    -ms-grid-rows: 50% 25% 25%;
    grid-template-rows: 50% 25% 25%;
  }#container_services > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }#container_services > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }#container_services > *:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }#container_services > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }#container_services > *:nth-child(5) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }#container_services > *:nth-child(6) {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
  }

  #coding { -ms-grid-row: 1; -ms-grid-row-span: 2; -ms-grid-column: 1; -ms-grid-column-span: 1; grid-area: 1 / 1 / span 2 / span 1; }
  #copywriting { -ms-grid-row: 1; -ms-grid-row-span: 1; -ms-grid-column: 2; -ms-grid-column-span: 1; grid-area: 1 / 2 / span 1 / span 1; }
  #integration { -ms-grid-row: 2; -ms-grid-row-span: 1; -ms-grid-column: 2; -ms-grid-column-span: 1; grid-area: 2 / 2 / span 1 / span 1; }
  #seoref {-ms-grid-row:3;-ms-grid-row-span:1;-ms-grid-column:1;-ms-grid-column-span:2;grid-area:3 / 1 / span 1 / span 2;}
  
  .element {
    padding: 50px;
  }
  
  .sv_desc {
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
  }
  
  .sv_desc div {
    -ms-flex-preferred-size:auto;
    flex-basis:auto;
    padding: 20px;
  }
  
  .line_dark_blue {border-right:none; border-bottom: 1px solid #5ed3e6;}
  .line_yellow {border-right:none; border-bottom: 1px solid #fffa69;}
  .line_white {border-right:none; border-bottom: 1px solid #ffffff;}
  
}

@media (max-width:768px) {
  
  .fa-bars {
    display: block;
  }
  
  .menu_list {
    display: none;
  }
  
  hr {
    display: none;
  }
  
  nav {
    padding-top: 50px;
  }
  
  .menu_list {
    overflow:hidden;
  }
  
  .menu_list li {
    width: 100%;
    display: block;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 2px solid #68ebff;
    padding: 1px 1px;
  }
  
  .menu_list li a {
    display: block;
    color: #68ebff;
    line-height: 40px;
    font-size:1.3em;
  }

  .menu_list li a:hover {
    color: #ffffff;
  }
  
  .menu_list li:hover {
    background-color:#68ebff;
    border: 1px solid #ffffff;
  }
  
  .active {
    display: block;
  }
  
  #coder {
    display: none;
  }
  
  #welcome {
    padding-top: 80px;
  }
  
  .menu_focus{color: #68ebff;}
  
  .menu_focus::after, .menu_focus::before{
    content: '.';
    color: #68ebff;
    padding: 0px 10px 0px 10px;
  }

  .menu_focus:hover::after, .menu_focus:hover::before{
    content: '.';
    color: #ffffff;
    padding: 0px 10px 0px 10px;
  }

  #nav_skills {
    padding: 0px;
  }
  
  #nav_skills div {
    height: 250px;
    width: 250px;
  }
  
  .cpt_desc {
    padding: 2px;
  }
  
  #services_top_contact {
    padding-top: 60px;
  }
  
  h3 {
    display:block;
    padding-top: 20px;
  }
  
  #container_services {
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
    -ms-grid-rows: 15% auto 15% 15%;
    grid-template-rows: 15% auto 15% 15%;
  }#container_services > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }#container_services > *:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }#container_services > *:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }#container_services > *:nth-child(4) {
    -ms-grid-row: 4;
    -ms-grid-column: 1;
  }

  #coding { -ms-grid-row: 3; -ms-grid-row-span: 1; -ms-grid-column: 1; -ms-grid-column-span: 1; grid-area: 3 / 1 / span 1 / span 1; }
  #copywriting { -ms-grid-row: 1; -ms-grid-row-span: 1; -ms-grid-column: 1; -ms-grid-column-span: 1; grid-area: 1 / 1 / span 1 / span 1; }
  #integration { -ms-grid-row: 2; -ms-grid-row-span: 1; -ms-grid-column: 1; -ms-grid-column-span: 1; grid-area: 2 / 1 / span 1 / span 1; }
  #seoref {-ms-grid-row: 4;-ms-grid-row-span: 1;-ms-grid-column: 1;-ms-grid-column-span: 1;grid-area: 4 / 1 / span 1 / span 1;}  
}
