@import url('https://fonts.googleapis.com/css?family=Great+Vibes');
@import url('https://fonts.googleapis.com/css?family=Rajdhani|Sacramento');
@import url('https://fonts.googleapis.com/css?family=Rubik');

body{
  margin: 0;
  padding:0;
  font-family: 'Rubik', sans-serif;
  position: relative;
}
html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0px;  
    background: transparent;  
}
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

header {
  position: relative;
  width:100%;
  height:100vh;
  overflow: hidden;
}

header .main-nav {
  display: flex;
  justify-content: left;
  color: #f8f8f8f8;
  flex-wrap: nowrap;
  font-weight: bold;

}
header .main-nav div {
  width: 50%;
  margin: 20px;
  text-align: center;
  font-size: 2em;

 
}

header .main-nav .logo a {
  text-decoration: none;
  font-size: 1.4em;
  color:#ccc;
  font-weight: bold;
  font-family: 'Rubik', sans-serif;
  animation: logo-animate 5s infinite ease-in-out alternate-reverse;
}

header .main-nav.scrolled {
  position: fixed;
  width: 100%;
  left: 0;
  margin-bottom:20px;
  background:rgba(245,245,245,0.88);
  color:  #fff;
  z-index:6;
  transition: 0.2s;
  height:91;
  animation:scrolled-nav-animate .5s ease-in forwards;
  box-shadow: 0 4px 12px 0 rgba(0,0,0,.05)!important;
}
header .main-nav.main-nav.scrolled div {
  width: 50%;
  font-size: 1.5em;
}
header .main-nav.main-nav.scrolled div.logo {
  text-align: left;
  margin-left:1.5em;
  font-weight:bold;
}
header .main-nav.main-nav.scrolled div.menu {
  text-align: right;
  padding-right:30px;
  font-size: 1.4em;
}
header .main-nav.main-nav.scrolled div.logo a:hover,
header .main-nav.main-nav.scrolled div.menu i:hover {
  color:#262626;
}

header .main-nav .menu i {
  justify-content: flex-end;
  cursor: pointer;
  color: #ddd;
  font-size: 28px;
  animation: logo-animate 5s infinite ease-in-out alternate-reverse;
}

header .showcase .bg {
  background: linear-gradient(rgba(47, 46, 46, 0.87), rgba(19, 19, 19, 0.89)), url(./Images/Photo.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;

}
header .showcase .content {
  position: absolute;
  top: 28%;
  left: 15%;
  right: 15%;
  color: #fff;
  height: 100vh;

}
header .showcase .content h1 {
  font-size: 3em;
  margin-top: 1.1em;
  color:#40f2e1;
  text-transform: uppercase;
  letter-spacing: 4px;
}
header .showcase .content p {
  font-size: 28px;
  margin-top: 1.2em
}
header .showcase .content a {
  padding-right:20px;
}
@keyframes logo-animate {
  0% { color:#fff;}
  25% { color:rgb(129, 183, 214)}
  0% { color:rgb(54, 57, 124)}
  0% { color:rgba(180, 188, 214, 0.788)}
}

header .showcase .content a button {
  padding: 8px 16px;
  outline: none;
  border: none;
  font-size: 25px;
  background: #7F00FF;  
  background: -webkit-linear-gradient(to left, #d618ef, #7f6599);  
  background: linear-gradient(to left, #d618ef, #7f6599);
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

header .showcase .content a:nth-of-type(2) button{
  padding: 8px 16px;
  outline: none;
  border: none;
  font-size: 25px;
  margin-top:20px;
  background: #06beb6;  
  background: -webkit-linear-gradient(to left, #48b1bf, #06beb6);  
  background: linear-gradient(to left, #48b1bf, #06beb6); 
  color: #fff;
  cursor: pointer;
 

}
header .showcase .content a button:hover {
 color:rgba(204, 204, 204, 0.356);
 transition: 0.3s;
 transform: scale(1.1,1).1;
 transition: 0.2s;
 
}

header .showcase .content button i {
  padding:10px;
  cursor: pointer;
}
.toggle-menu {
  display: none;
}
.toggle-menu.active {
  position: fixed;
  height:100%;  
  background:#fff;
  color:#262626;
  width:100%;
  left:0;
  top:0;
  display: block;
  z-index: 5;
  overflow:hidden;
  animation:nav-animate .5s  ease-in-out;
 
}
body.add-Opacity {
  animation: add-opacity-body 2s  ease-in-out ;
 
}
@keyframes  add-opacity-body {
  0% {
    opacity:0;
    }
  50% {
      opacity:0;
      }
    100%{
    
     opacity:1;
    }
}
@keyframes nav-animate {
  0% {
  left:-100%;
   opacity:0;
  }
  100%{
   left:0;
   opacity:1;
  }
}
.toggle-menu ul {
  padding:0;
  margin-top: 150px;
  text-align: center;
  animation: menu-animate 0.8s ease-in-out forwards;
  animation-delay: .6s;
  opacity:0;
 
} 
@keyframes menu-animate {
0% {

 opacity:0;
 margin-top: 0;
}

100% {
  margin-top:150px;
  opacity:1;

  }

}
.toggle-menu ul li {
  padding-top: 30px;
  list-style: none;
  
}
.toggle-menu ul li a {
  font-size:1.5em;
  text-decoration:none;
  color:#161515;
  font-weight: 800;
  letter-spacing:5px;
  padding:10px 20px;
  text-transform: uppercase;
}
.toggle-menu ul li a:hover{
  text-decoration: line-through;
  transition: 0.3s;
  color:#fff;
  z-index: 1;
  background:rgb(224, 14, 14);  
  
}

/*about me */
#aboutme {
  height:auto;
  width:100%;
  background-color: rgba(250, 249, 249, 0.651);
}
#aboutme h1,#heading-contact{

  text-align:center;
  font-size:2.2em;
  position: relative;
  width:180px;
  margin:50px auto;
  color: #673AB7;
  background-image: linear-gradient(0deg, rgba(115, 128, 135, 0.3) 50%, transparent 50%);
 
  }
   

#aboutme .container {
display: flex;
flex-wrap: wrap;
margin:0 auto;
padding:4em;
}

#aboutme .container div.profile {
  text-align: right;
  width:30%;
  
}  
#aboutme .container div.profile img {
  -webkit-clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
   box-shadow: 0 0.5rem 1rem rgba(5, 4, 4, 0.561);
}

#aboutme .container div.intro {
  text-align: left;
  width:60%; 
  margin-left:50px;
  box-shadow: #000;

  
}

#aboutme .container div.intro p {
  font-size:1.5em;
   line-height: 2;
   margin-left:50px;
}

.bd-callout {
   background-color: #f7f7f9;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem
}
.bd-callout-warning {
  border-left-color: #f0ad4e
}

/*skills*/
#skills {
  width:100%;
  margin:0 auto;
  height:auto;
 
}

#skills h1 {
  text-align:center;
  font-size:2.2em;
  color: #673AB7;
  width:165px;
  margin:50px auto;
  text-transform: uppercase;
  background-image: linear-gradient(0deg, rgba(115, 128, 135, 0.3) 50%, transparent 50%);
}
#skills .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-size:1.5em;
}
#skills .container div {
  width:100%;
  color:#eee;
}

#skills .container .front,
#skills .container .back,
#skills .container .database
 {
  
  padding:1.5em;
  color:#fff;
  background-color: #681964;
  height: 100%;
  width:30%;
  box-shadow: 0 0.5rem 1rem rgba(5, 4, 4, 0.66);
}

#skills .container .front:hover,#skills .container .back:hover,
#skills .container .database:hover{
  color:#000;
  background:rgba(245,245,245,0.88);
  transition: 0.5s;
  height: 100%;
}
#skills .container .back,#skills .container .database {
  padding:1.2em;
   transition:0.2s;
  height: 100%;
}
#skills .container .back:hover{
  transition: 0.5s;
  height: 100%;
}
#skills .container .database {
  transition:0.2s;
  height: 100%;
}
/*projects*/

#projects {
  width:100%;
  height: 100%;
  background-color:#eeee;
}
#projects h1 {
  text-align:center;
  font-size:2.2em;
  color: #a4a4ad;
  position: relative;
  
  width:185px;
  margin:50px auto;
  color: #673AB7;
  text-transform: uppercase;
  background-image: linear-gradient(0deg, rgba(115, 128, 135, 0.3) 50%, transparent 50%);
}

#projects .container {
  display: flex;
  width:100%;
  flex-wrap: wrap;
  padding:3em 0;
  justify-content: center;
 
}
#projects .container .project {
  position: relative;
  width:380px; 
  height: 300px;
  padding-top:10px;
  cursor: pointer;
 
 }
#projects .container .project::after {
content:"";
position: absolute;
width:100%;
height:auto;
top:0;
left:0;
z-index:1;
}

#projects .container .project .project-details {
  display: none;
}

#projects .container .project:hover .project-details {
  display: block;
  position: absolute;
  top:0;
  left:0;
  width:380px;
  height: 280px;
  z-index:3;
  height:100%;
  animation: project-animate 0.3s ease-in forwards ;
}
#projects .container .project:hover .project-details .project-links{
  text-decoration: none;
  text-align:center;
  position: absolute;
  top:50%;
  left:12%;
  opacity:0;
  animation: project-animate .5s ease-out forwards ;
}

#projects .container .project:hover .project-details .project-links a {
  text-decoration: none;
  padding:7px 14px;
  color:#ece4e5;
  font-size:.8em;
  border:2px solid #cecece;
  border-radius:24px;
  font-weight: bold;
  z-index:99;
  
}
#projects .container .project:hover .project-details .project-links a:hover {
  background-color:#ecebeb;
  color:rgb(16, 89, 206);
  transition:0.2s ease-in-out;
  width:100%;
  height:80%;
}

#projects .container .project:hover .project-details .project-links a i {
  font-size:1.2em;
  text-align: center;
  padding:3px 5px;
}

@keyframes project-animate {
  0% {
  opacity: 0;
  background-color: rgba(31, 92, 192, 0.288);
  transform:scale(0,0);
  z-index:-4;
  }
  33%
   {
     left:-100%;
     opacity:0;
     z-index: -3;
     transform:scale(0.3,0.3);
   }

 100% 
 {   
  transform:scale(1,1);
  background-color: rgb(31, 93, 192);
  opacity:1;
  z-index: 1;
    
 }
}
@keyframes project-button {
  0% {
    
    opacity: 0;
 }
33% {
  
  opacity:0;
}
 55% {
   opacity: 0.5;
}
100% {
  opacity:1;
}
}

/*contacts*/

#contact {
  width:100%;
  height: auto;
  background-color: #333;
  color:#fff;
  clip-path: polygon(0 0%, 100% 4%, 100% 96%, 0% 100%);

}
#showalert {
  text-align:center;
  position:absolute;
  color:#79c879;
  margin-bottom:10px;
  display:none;
  width:30%;
  left:40%;

}
#above-contact {
  text-align:center;
  font-size:2.2em;
  color: #a4a4ad;
  position: relative;
  width:220px;
  margin:50px auto;
  color: #673AB7;
  text-transform: uppercase;
  background-image: linear-gradient(0deg, rgba(115, 128, 135, 0.3) 50%, transparent 50%);

}
#contact > h1 {
  text-align: center;
  font-size:1.8em;
  color: #a4a4ad;
}
#contact .container {
 
  display: flex;
  flex-wrap: wrap;
  background-size: cover;
  background-size: 100%;
 
}
#contact .container .social {
  width:100%;
  text-align:center;
  color:#fff;
  background-color: #000000;
  
}
#contact .container .social h1 {
  text-align: center;
  font-size:1.8em;
  color: #a4a4ad; 
}
#contact .container .social ul {
  list-style: none;
  font-size:2.8em;
  color:#fff;
}
#contact .container .social ul li {
  display: inline;
  padding: 10px;
}
#contact .container .social ul li a {
  color:#fff;
}
#contact .container .social ul li a .fa-linkedin-in:hover{
  
  color:#0077b5;
  border-bottom:1px solid #0077b5;
  padding-bottom:5px;
  transition: 0.5s;

  
}
#contact .container .social ul li a .fa-github:hover{
  
  color:#262626;
  border-bottom:1px solid #262626;
  padding-bottom:5px;
  transition: 0.5s;
  
}
#contact .container .social ul li a .fa-facebook:hover{
 
  color:#3b5998 ;
  border-bottom:1px solid #3b5998 ;
  padding-bottom:5px;
  transition: 0.5s;
 
  
}
#contact .container .social ul li a .fa-stack-overflow:hover{
  
  color:#f48024;
  border-bottom:1px solid #f48024;
  padding-bottom:5px;
  transition: 0.5s;
 
  
}
#contact .container .contact-form {
  
  width:100%;
  text-align:center;
  border-left:1px solid #a9a9a926;

  
}
#contact .contact-form {
  font-size:1.3em;
}
#contact .contact-form form .form-group{
  display:flex;
  padding:10px;
  flex-wrap: wrap;
  
}
#contact .contact-form form .form-group label {
  
  width:30%;
  text-align:right;
  padding: 5px 35px; 

}
#contact .contact-form form .form-group input,
#contact .contact-form form .form-group select,
#contact .contact-form form .form-group textarea
{
  width: 38%;
  text-align:left;
  border: none;
  outline: none;
  padding: 8px;
  background: #f0e8e821;
  color: #faf5f5f5;
  border-radius: 4px;
  font-size:18px;
  
}
#contact .contact-form form .form-group option {
  background:#000;
  width: 45%;
}
#contact .contact-form form .form-group button{
  width: 39%;
  border-radius: 4px;
  padding: 6px;
  outline: none;
  border: none;
  font-size: 25px;
  background: #f0e8e821;
  color: #faf5f5f5;
  cursor: pointer;
}
#contact .contact-form form .form-group button:hover {

  transition:0.3s;
  background: #f0e8e8b9;
  color: #0a0909f5;


}
#contact .contact-form form .form-group input:focus {
  background:rgb(245, 243, 243);
  color:#010303f8;
  box-shadow: 1px 3px 4px grey;
}
#contact form input {
  display: inline;
}

/*media quries */

@media screen and (max-width: 768px) {
 
  header .main-nav div {
    
    margin: 20px;
    text-align: center;
   
   
  }
  header .main-nav div.logo  {
    text-decoration: none;
    font-size: 1.3em;
    width: 70%;
  }
  header .main-nav div.menu {
    width:30%;
  }
  header .main-nav div.profile {
    width: 70%;
  }
  header .main-nav div.intro {
    width: 30%;
  }
  header .main-nav.main-nav.scrolled div.logo {
    text-align: left;
    margin-left: 1.5em;
    font-weight: bold;
    width: 70%;
  }
  header .showcase .content {
    position: absolute;
    z-index: 1;
    color: #fff;
    top:10%;
    height: 100vh;
  
  }

  header .showcase .content h1 {
    font-size: 1.5em;
    margin-top: 1.1em;
    color:#40f2e1;
    text-transform: uppercase;
    word-spacing: 10px;
    letter-spacing: 3px;
  }
  header .showcase .content p {
    font-size: 25px;
    margin-top: 1.2em;
    overflow: visible;
    line-height: 1;
  }
  header .showcase .content button {
  
    width:100%;

  }
  header .showcase .content a:nth-of-type(2) button {
    width:100%;
  }

  header .showcase .content a {
    padding-right:20px;
  }
  header .main-nav {
    display: flex;
    justify-content: right;
    color: #f8f8f8f8;
  
  }

  header .main-nav.main-nav.scrolled div.logo a {
    font-size: .9em;
    font-weight: bold;

  }

  #aboutme h1::after,#projects h1::after {
    left:25%;
  }
  #aboutme .container {
    padding:0;
  }
  #aboutme .container div.profile  {
    text-align: left;
    width: 100%;
    padding-left: 40px;
    margin: 30px;
   
  }
  #aboutme .container div.profile img {
  
    box-shadow: 0 0.5rem 1rem rgba(5, 4, 4, 0.561);
  }
  #aboutme .container div.intro p {
    padding-left: 0;
    text-align:center;
  }
  #skills .container {
    flex-wrap: wrap;
  }
 #skills .container .front,
 #skills .container .back,
 #skills .container .database
 {
  
  padding:1.5em;
  color:#fff;
  background-color: #681964;
  height: 100%;
  width:100%;
  box-shadow: 0 0.5rem 1rem rgba(5, 4, 4, 0.66);
}

  #skills .container .database {
    padding:1.2em;
    transition:0.2s;
    height: 100%;
  }
 
  #projects h1::after {
    left:35%;
  }
#contact h1 {
    text-align: center;
    padding-top:50px;
    font-size: 1.2em;
    color: #d2d2d6;
}

#contact .contact-form form .form-group label {
  width:100%;
  text-align:left;

  
}
#contact .contact-form form .form-group input,
#contact .contact-form form .form-group select,
#contact .contact-form form .form-group textarea {
  width:70%;
  margin-left:35px;
}
#contact .contact-form form .form-group button {
  font-size:0.8em;
  width: 75%;
  margin-left: 35px
}
#contact .container .social {
  text-align:left;
}
#contact .container .social h1 {
  font-size: 1.2em;
  width: 75%;

}
#contact .container .social ul {
  font-size: 2.2em;
 
}
#showalert {
  width: 100%;
  left:0;
  font-size: 0.8em;
  font-weight: 900;

  }
  
  
}
