:root {
--primary: #2c3e50;
--secondary: #3498db;
--accent: #e74c4c;
--light: #ecf0f1;
--dark: #2c3e50;
--text: #333;
--text-light: #7f8c8d;
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
}
* {   
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Geneva, Tahoma,    sans-serif;
line-height: 1.6;
color: var(--text);
background: #ecf0f1;
height: 150rem;
padding-top: 8rem;
}
header {    
margin: auto;
background-color: #0c0a1a;
height: 140px;
align-items: center;
align-content: center;
position: fixed;
right: 0px;
left: 0px;
top: 0;
z-index: 1000;

}
.navbar{
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: auto;
position: relative;

}
.navbar ul{
display: flex;
justify-content: space-between;
width: 30%;
list-style: none;
margin-right: 5%;
}

.navbar ul li{
margin-right: 3%;
}
.navbar ul li a{
text-decoration: none;
color: var(--text-light);
font-size: 16px;
cursor: pointer;
font-weight: bold;

}
.navbar ul li a:hover{
text-decoration: underline;
color:  #00c6ff;

}
.name {
font-size: 1.8rem;
font-weight: 700;
color: rgb(141, 145, 143);
text-decoration: none;
animation: fadein 2s ease-in-out;
text-shadow: 4px 4px 5px rgba(255, 255, 255, 0.431);
margin-left: 7%;
}
.name span {
color: var(--secondary);
background: linear-gradient(90deg, #73e1ff, #3a90fadf, #00c6ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 300%;
animation: gradientMove 4s infinite;

}
.name:hover{
transform: scale(1.1);
transition: 1s ease;
text-shadow: 4px 4px 5px rgba(62, 61, 61, 0.333);
}
@keyframes gradientMove {
0% {background-position: 0% 50%;}
50% {background-position: 100% 50%;}
100% {background-position: 0% 50%;}
}

@keyframes fadein {
from { opacity: 0; transform: 
translateY(-10px)}
to { opacity: 1; transform:
translateY(0)}
}

.container{
   padding: 55px  10%;
   background-color: var(--dark);
   height: 15; 
   display: flex;
   flex-direction: column;

}

.container-part{
background-color: var(--light);
padding: 2% 1%;
max-width: 1100px;
margin: auto;
border-radius: 10px;
}

.image-container{
   border-radius: 15px;
   width: 230px;
   display: flex;
   align-self: center;
   margin-top: -30px; 
   box-shadow: 0 0 25px rgba(0, 200, 255, 0.35);
   margin-bottom: 5px;
   transition: 1s;
}
.image-container:hover{
   transform: translateY(-4px);
background-color: rgb(245, 243, 243);
  box-shadow: 0 0 50px rgba(0, 200, 255, 0.445);
}

.profile_pic{
   width: 100%;
   height: 100%;
   border-radius: 15px;
   object-fit: cover;

}

.title{
font-weight: bold;
font-size: 2.5rem;
color: var(--dark);

}

.text{
padding: 1% 1%;
font-size: 18px;
color: rgb(101, 101, 101);
}
.intro h1 {
font-weight:bold;
margin-bottom: 5px;
text-align: center;

}
.intro p {
color: var(--light);
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 15px;
text-align: center

}
.intro-btn-container {
display: flex;
justify-content: center;
gap: 15px;

}
.btn {
padding: 15px 25px;
text-decoration: none;
color: rgb(238, 238, 238);
font-weight:500;
transition: 0.5s;
border-radius: 5px;
}
.intro .btn {
background: var(--secondary);

}
.work-btn:hover {
transform: translateY(-5%);
}
.intro .btn-outline {
background: transparent;
border: 2px solid white;
color: white;
padding: 12px 32px;

}
.intro .btn-outline:hover {
background: white;
color: var(--primary);
transform: translateY(-5%);
}
.img{
 height: 100%;
 width: 100%;
}
.skills {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 3.5% 2%;
padding: 10px 0%;
}
.skills div h3{
text-align: center;
color: var(--primary)
}
.skills div p{
font-size: 17px;
color: rgb(67, 66, 66);
margin-top: 1%;
}
.skills div {
background-color: rgb(255, 254, 254);
padding: 5% 10%;
background: rgba(179, 179, 179, 0.107);
backdrop-filter: blur(20px) ;
border-radius: 15px;
transition: 0.3s;
box-shadow: 1px 2px 2px 1px rgb(211, 211, 211);
}
.skills div:hover{
transform: translateY(-4px);
background-color: rgb(245, 243, 243);
box-shadow:1px 10px 30px 1px rgb(206, 205, 205);

}

#top-title {
text-align: center;
color: var(--primary);
font-size: 2.3rem;
}

.-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px 1fr));
gap: 30px;
}
.project-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: var(--shadow);
transition: var(--transition);
}
.project-card:hover{
transform: translateY(-10px);

}
.project-img {
   height: 450px;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 3rem;
   position: relative;
   background:#0c0a1a;
   overflow: hidden;

}
.project-img img{
   display: none;
}

img.displaySlide{
   display: block;
   animation-name: fade; 
   animation-duration: 2.5s;
}

.slides, .farmacy, .todoList{
   height: 90%;
   width: 80%;

}
.Amazon{
   height: 90%;
   width: 85%;
}
.prev{
   position: absolute;
   left: 5%;
   width: 20px;
   font-size: 20px;
   padding: 15px 10px;
   padding-right: 15px;
   border-radius: 2px;
   border: 1px solid rgb(76, 74, 74);;
   background-color: #3b3563;
   opacity: 0.9;
   color: white;
   cursor: pointer;
   transition: 0.5s;
}
.next{
   position: absolute;
   right: 5%;
   width: 20px;
   font-size: 20px;
   padding: 15px 10px;
   padding-right: 15px;
   border-radius: 2px;
   border: 1px solid rgb(76, 74, 74);;
   background-color: #25213e;
   color: white;
   transition: 0.5s;

   
}
.next:hover{
   background-color: #4b4387;
   border-radius: 2px;
   cursor: pointer;
}
.prev:hover{
   background-color: #4b4387;
   border-radius: 2px;
   cursor: pointer;

}
.next:active{
   opacity: 0.1;
}
.prev:active{
   opacity: 0.1;
}
@keyframes fade {

   from {opacity: 0.5};
   to {opacity: 1};
}

.fms{
   position: relative;
   overflow: hidden;
}


.project-info {
padding: 20px;
}  
.project-info h3 {
margin-bottom: 10px;
color: var(--primary);
}
.project-tech {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 15px 0;
}
.tech-tag {
background: var(--light);
padding: 5px 10px;
border-radius: 5px;
font-size: 0.8rem;
color: var(--primary);

}
.project-links {
display: flex;
gap: 10px;  
}
.project-links a {
text-decoration: none;
color: var(--secondary);
font-weight: 600;
font-size: 0.9rem;
transition: var(--transition);
}
.project-links a:hover {
color: var(--primary);
}

.contact_container{
   display: grid;
   grid-template-columns: 1fr 1fr;
   column-gap: 2%;
   padding-top: 10px 15px;
   
}

.contact-info{
   display: grid;
   grid-template-columns: 25% 1fr;
   gap: 15px;
  
}
.contact-info div{
   margin-bottom: 20px;
}
.contact_title{
   font-size: 22px;
   color: rgb(78, 78, 78);
  
}
.contact{
   margin-top: 10px;
   font-size: 18px;
   color: rgb(68, 62, 62);
}
.contact-image-container{
   display: flex;
   height: 80px;
}
.contact-form{
   display: grid;
   padding: 5px 10px;

}
.contact-form label{
   font-size: 15px;
   font-weight: bold;
   color: rgb(110, 110, 110);
   margin-top: 10px;
   margin-bottom: 3px;
}
.contact-form input{
   border: 1px solid rgb(219, 218, 218);
   padding: 7px 10px;
   border-radius: 3px;
   font-size: 14px;
   box-shadow: 2px 1px 5px 1px rgba(102, 219, 255, 0.1);
   height: 40px;
   color: grey;
}

.contact-form textarea{
   height: 200px;
   border: 1px solid lightgrey;
   border-radius: 4px;
   box-shadow: 2px 1px 5px 1px rgba(102, 219, 255, 0.1);
   padding: 10px 10px;  
   font-size: 14px;
   color: grey;
}
#submit-button{
   background-color: var(--accent);
   color:  var(--light);
   width: 150px;
   margin-top: 10px;
   font-weight: bold;
   padding: 5px 10px;
   transition: 0.3s;
   border: none;
   box-shadow: 10p 1px 1px 1px rgb(161, 38, 38);;
   border-radius: 3px;
}
#submit-button:hover{
   background-color: #ee2929;
}
#submit-button:active{
   opacity: 0.8;
}

.footer{
   background-color: #0c0a1a;
   height: 60px;
   align-items: center;
   align-content: center;
   right: 0px;
   left: 0px;
   bottom: 0;

}
.footer-container{
   background-color: #0c0a1a;
   height: 100px;; 
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;

}
.footer-container h5{
   color: rgb(111, 111, 111);
}

/*  sdf
   @media Query_________________________ Responsive part
*/


@media (min-width: 700px){
    body{
         height: 250rem;
      }
   .menu, .menu_close{
    display: none;

   }
   .navBar-items{
      visibility: visible;
   }
   #title {
      text-align: left;
      padding: 0% 1%;
   }
 
  
}

@media (max-width: 700px){
   body{
      height: 250rem;
   }

   header {    
   height: 110px;
   }
   .container{
      margin-top: -27px;
   }

   .container h1{
   text-align: center;

   }
  
   .navBar-items{
      visibility: hidden;
      align-items: start;
      flex-direction: column; 

   }
   .intro-btn-container {
      display: flex;
      flex-direction: column;
      align-items: center;
   }
   .btn {
      padding: 10px 20px;
      text-decoration: none;
      color: rgb(238, 238, 238);
      font-weight:500;
      transition: 0.5s;
      width: 155px;
      text-align: center;
   }

   .menu{
      display: 1;
      position: absolute;
      right: 5%;
      height: 35px;
   }
   .menu_close{
      visibility: hidden;
      position: absolute;
      right: 5%;
      height: 35px;
         
      }

   .show-navBar-items{
      visibility: visible;
    
   }
   #title{
      font-size: 25px;
   }
   #top-title{
      font-size: 25px;
      margin-top: 10px;
      margin-top: 25px;
   }
   .contact_container{
      display: grid;
      grid-template-columns: 1fr;
      row-gap: 1%;
      padding: 5px;
   }
     .contact-info{
      display: grid;
      grid-template-columns: 18% 1fr;

   
   }
   .contact-image-container{
      display: flex;
      height: 60px;
   }
   .contact-title{
      font-size: 1rem;
   }
   .contact-form label{
      font-size: 14px;
   }
   .contact-form input{
      font-size: 14px;
   }
   .contact-form textarea{
      height: 80px;
   }
  
   #submit-button{
      background-color: var(--accent);
      color:  var(--light);
      width: 120px;
      margin-top: 10px;
      font-weight: bold;
      padding-top: 12px;
      padding-left: 12px;
      transition: 0.3s;
      border: none;
      box-shadow: 10p 1px 1px 1px rgb(124, 37, 37);;
      border-radius: 3px;
      display: flex;
   }

   .intro .btn-outline {
      background: transparent;
      border: 2px solid white;
      color: rgb(245, 234, 234);
      padding: 6px 6px;

   }
   .image-container{
      height: 250px;
      width: 200px;
   }
   .container h1{
      font-size: 1rem;
   }

   .container p{
      font-size: 0.9rem;
   }
   .work-btn{
      padding: 7px 10px;
   }
  
   .skills div{
      padding-left: 20px;
   }
   .skills div h3{
      font-size: 13px;
   }

   .skills div ul li{
      font-size: 13px;
   }
   #fm h3{
      font-size: 14px;
   }
   .prev{
   position: absolute;
   left: 2%;
   }
   .next{
      position: absolute;
      right: 2%;
   }
 
   .project-img{
      height: 300px;
   }
   .Amazon{
      margin-left: 8%;
   }
   #amazon{
      width: 91%;
   }
   .footer{
      background-color: #0c0a1a;
      align-items: center;
      align-content: center;
      right: 0px;
      left: 0px;
      bottom: 0;
   }
   .footer-container{
      background-color: #0c0a1a;
      height: 50px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
   }
   .footer-container h5{
      color: rgb(111, 111, 111);
   }


}

