@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+QLD+Beginner:wght@400..700&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root{
    --bg-primary:#001f3f;
    --primary-color:#00ff00;
    --secondary-color: #003366;
}
html{
    scroll-behavior:smooth;
}
body{
    height:100%;
    width:100%;
    font-family: "Poppins", sans-serif;
    background-color:var(--bg-primary);
}
nav{
    padding:30px 70px;
    width:100%;
    height:75px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background-color:var(--secondary-color);
}
nav h1{
    color:var(--primary-color);
    font-size:24px;
    font-weight:600;
}

nav ul{
    list-style:none;
    display:flex;
    flex-direction:row;
    align-items:center;
}
nav ul li a{
    display:inline-block;
    text-decoration:none;
    padding-right:25px;
    color:#fff;
    font-size:18px;
    font-weight:600;
    animation-name:links;
    animation-duration: 0.6s;
}
@keyframes links{
    0%{
        transform:translateY(90%)
    }
    100%{
        transform:translateY(0%)
    }
}
nav ul li a:hover{
    color:var(--primary-color);
}
#menu-icon i {
  font-size: 25px;
  color: var(--primary-color);
  display: none;
}

.mobile-menu {
  display: none;
  position: absolute;
  background-color: var(--secondary-color);
  flex-direction: column;
  width: 100%;
  z-index:999;
  height: 200px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-top: 220px;
  padding-top:30px;
}

.mobile-menu a {
  display: none;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 18px;
}

.animation-menu {
  animation: menu 0.5s ease;
}

@keyframes menu {
  from {
    transform: translateX(50px);
  }
  to {
    transform: translateX(0);
  }
}

.typewriter{
    width:0;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: writer 2s steps(17) 0.3s forwards, blink 0.7s step-end infinite;
    border-right:2px solid #000;
    opacity:0;
}
@keyframes writer {
    from{
    width: 0;
    }
  to {
    width: 17ch;
    opacity: 1;
  }
}

@keyframes blink{
    50% {border-color: transparent}
}
#home{
    min-height:100vh;
    width:100%;
    position:relative;
}
#home .container {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:60px;
    margin:auto;
}
#home .container .info{
    margin-right:40px;
}
#home .container .info h2{
    font-size:23px;
    font-weight:500;
    color:#000;
}
#home .container .info h2 span{
    display:inline-block;
    font-size:50px;
    font-weight:600;
    color:var(--primary-color);
    animation-name:info;
    animation-duration:0.5s;
}
@keyframes info{
    0%{
        transform:translateX(-50%);
    }
    100%{
        transform:translateX(0%);
    }
}
#home .container .info h3 span{
    font-size:25px;
    font-weight:500;
    color:var(--primary-color);   
}
#home .container .info h3{
    font-size:17px;
    font-weight:600;
    color:#000;
}
#home .container .info h2 { 
    font-size:17px;
    font-weight:600;
    color:#fff;
}
.icons{
    display: inline-block;
    width:40px;
    height:40px;
    padding:5px;
    border-radius:50%;
    transition:all 0.4s;
    text-align:center;
    margin-right:5px;
    color:var(--primary-color);
    border:2px solid var(--primary-color);
    margin-top:20px;
    font-size:18px;
    text-decoration: none;
}
.icons:hover{
    color:#fff;
     border:2px solid #fff;
    transform: scale(1.2);
}
#home .container img{
    width:50%;
    height:400px;
    border-radius:50%;
    box-shadow: 0 0 25px 19px var(--primary-color);
    animation-name:img;
    animation-duration:1.5s;
    border:3px solid #fff;
    object-fit: cover;
}

@keyframes img{
    0%{
        transform:translateX(-90%);
    }
    100%{
        transform:translateX(0%);
    }
}
#home a.about{
    position:absolute;
    margin:auto 30%;
    padding:10px;
    width:160px;
    height:50px;
    border-radius:50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border:none;
    background-color:var(--primary-color);
    color:#fff;
    font-size:15px;
    font-weight:500;
    transition:transform 0.3s ease;
    box-shadow: 0 0 10px 3px var(--primary-color);
    text-decoration: none;
}
#home a.about:hover{
    border:2px solid #fff;
    color:#fff;
    box-shadow: 0 0 10px 3px var(--primary-color);
    background-color: var(--bg-primary);
}
.button{
    margin:auto;
    padding:10px;
    width:160px;
    height:50px;
    border-radius:50px;
    text-align:center;
    display: flex;
    justify-content: center;
    align-items: center;
    border:none;
    background-color:var(--primary-color);
    color:#fff;
    font-size:15px;
    font-weight:500;
    transition:transform 0.3s ease;
    box-shadow: 0 0 10px 3px var(--primary-color);
    text-decoration: none;
}
.button:hover,
#home a.about:hover{
    cursor:pointer;
    color:#000;
    border:2px solid var(--primary-color);
    background-color:#fff;
    transform:scale(1.1);
}
#home a.cv{  
    display:flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    padding:10px;
    width:160px;
    height:50px;
    border-radius:50px;
    border:2px solid #fff;
    color:#fff;
    font-size:17px;
    font-weight:500;
    transition:transform 0.3s ease;
    box-shadow: 0 0 10px 3px var(--primary-color);
    text-decoration: none;
}
#home a.cv:hover{
    border:none;
    background-color:var(--primary-color);
    color:#fff;
    transform:scale(1.1);
}
#about{
    min-height:100vh;
    width:100%;
    padding:20px;
    display:flex;
    flex-direction:column;
}
.h3{
    font-size:40px;
    font-weight:500;
    color:#fff;
    text-align:center;
}
.h3span{
    font-size:40px;
    font-weight:500;
    color:var(--primary-color);   
}
.hr{
    width:100px;
    height:5px;
    margin: 10px auto;
    background-color:#fff;
}
#about .content{
    display:flex;
    justify-content: space-around;
    align-items: center;
    flex-direction:column;
}
#about .content p{
    margin-bottom:50px;
    padding-top:20px;
    font-size:20px;
    font-weight:600;
    color:#fff;
    opacity:0;
}
.animationabout{
    animation-name:about;
    animation-duration:0.9s;
    animation-fill-mode:forwards;
}
@keyframes about {
    0%{
        opacity:0;
        transform:translateY(-50%);
    }
    100%{
        opacity:1;
        transform:translateY(0%);
    }
}
#services {
    min-height:100vh;
    width:100%;
    padding:20px;
    margin-bottom:20px;
}
#services .cards{
    display:grid;
    grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
    gap:40px;
}
#services .cards .card{
    min-height:300px;
}
.animationservices-top{
    animation-name:services;
    animation-duration:0.9s;
    animation-delay:0.2s;
    animation-fill-mode: forwards;
    opacity:0;
}
.animationservices-bottom{
    animation-name:services;
    animation-duration:0.9s;
    animation-delay:0.4s;
    animation-fill-mode: forwards;
    opacity:0;
}
@keyframes services {
    0%{
        opacity:0;
        transform:translateY(-50%)
    }
    100%{
        opacity:1;
        transform:translateY(0%)
    }
}
#services .cards .card{
    background-color:var(--secondary-color);
    border:2px solid var(--primary-color);
    box-shadow: 0 0 10px 5px var(--primary-color);
    color:#fff;
    text-align:center;
    padding:10px;
    margin:30px 25px 0;
    transition:transform 0.6s;
    opacity:0;
}
#services .cards .card i{
    color:var(--primary-color);
    font-size:40px;
    font-weight:600;
    padding-bottom:10px;
}
#services .cards .card h1{
    padding-bottom:10px;
    font-size:20px;
    font-weight:700;
}
#services .cards .card:hover{
    cursor:pointer;
    transform: scale(1.1);
}
#skills{
    min-height:100vh;
    width:100%;
    margin-top:60px;
}
#skills .all-skills{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:40px;
}
#skills .all-skills .technical-Skills img{
    margin-left:20px;
    width:30px;
    height:30px;
    border-radius:50%;
}
#skills .all-skills .technical-Skills h1{
    color:#fff; 
    margin-left:20px;
}
#skills .all-skills .soft-skills{
    border:2px solid #fff;
    box-shadow: 0 0 15px 5px var(--primary-color);
    width:500px;
    height:550px;
    border-radius:10px;
    width:50%;
    opacity:0;
}
#skills .all-skills .soft-skills i{
    color:var(--primary-color);
    font-size:40px;
    font-weight:600;
    padding-bottom:10px;
    margin-left:45%;
    margin-top:10px;
}
#skills .all-skills .soft-skills h1{
    color:#fff;
    font-size:28px;
    font-weight:600;
    text-align:center;
    padding-bottom:10px;
}
#skills .all-skills .soft-skills li{
    font-size:19px;
    font-weight:500;
    color:var(--primary-color);
    margin-left:10px;
    line-height: 50px;
}
.animationskills-li{
    animation-name:skillsli;
    animation-duration:1s;
    animation-fill-mode: forwards;
}
.animationskills-left{
    animation-name:skillsleft;
    width:100%;
    animation-duration:0.9s;
    animation-fill-mode: forwards;
}
.animationskills-right{
    animation-name:skillsright;
    width:100%;
    animation-duration:0.9s;
    animation-fill-mode: forwards;
}
@keyframes skillsleft{
    0%{
        transform:translateX(-50%);
    }
    100%{
        opacity:1;
        transform:translateX(0%);
    }
}
@keyframes skillsright{
    0%{
        transform:translateX(-50%);
    }
    100%{
        opacity:1;
        transform:translateX(0%);
    }
}
@keyframes skillsli{
    0%{
        transform:translateX(-90%);
    }
    100%{
        opacity:1;
        transform:translateX(0%);
    }
}
#projects{
    background-color:var(--secondary-color);
    height:100%;
    padding:20px 10px;
}
#projects .cards{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(400px,2fr));
    gap:60px;
    margin: auto; 
    padding-top:20px;
}
#projects .cards .card{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius:10px;
    position: relative;
    overflow: hidden;
}
#projects img{
    width:100%;
    border-radius: 10px;
    object-fit: cover;
}
.card .content {
    position: absolute;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: all 0.4s ease;
    text-align: center;
}

.card:hover .content {
    opacity: 1;
    transform: translateY(0);
}

.card .content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.card .content .buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.card .content .buttons a {
    display: inline-flex;
    padding: 10px 20px;
    font-size: 17px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card .content .buttons a.btn2 {
    background-color: #fff;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.card .content .buttons a.btn1:hover {
    background-color: #fff;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

#education {
    padding:40px;
    min-height:100%;
    background-color: var(--secondary-color);
}
#education .education-item{
    opacity:0;
    width:90%;
    height:210px;
    border:2px solid var(--primary-color);
    border-radius:10px;
    background-color:var(--bg-primary);
    margin: 30px auto;
    display:flex;
    flex-direction:row;
    box-shadow:0 0 15px 10px var(--primary-color);
    opacity:0;
}

.animationeducation{
    animation-name:animationeducation;
    animation-duration:0.9s;
    animation-fill-mode:forwards;
}
@keyframes animationeducation{
    0%{
        opacity:0;
        transform:translateY(50%);
    }
    100%{
        opacity:1;
        transform:translateY(0%);
    }
}
#education .education-item .education-img img{
    width:200px;
    height:207px;
    border:2px solid #fff;
    border-radius:5px;
}
#education .education-item .education-content,
#experience .experience-content{
    padding:20px 0 10px 20px;
    opacity:0;
}
#education .education-item .education-content h2{
    color:#fff;
    font-size:30px;
    font-weight:800;
}
#education .education-item .education-content p{
    font-size:20px;
    font-weight:600;
    line-height:40px;
    color:#fff;
}
#education .education-item p span{
    color:var(--primary-color);
    font-weight:700;
}
#experience {
    background-color:var(--bg-primary);
    min-height:100%;
    margin:20px auto 50px;
}
#experience .experience-item{
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;
    width:90%;
    height:300px;
    border:2px solid #fff;
    border-radius:10px;
    background-color:var(--bg-primary);
    margin:auto;
    box-shadow:0 0 15px 10px var(--primary-color);
    opacity:0;
}
#experience .experience-item p{
    color:var(--primary-color);
    font-size:20px;
    font-weight:500;
    text-align:center;
    margin-top:60px;
    opacity:0;
}
#experience .experience-item span{
    color:#fff;
    font-weight:800;
    font-size:22px;
}
#experience .experience-item a.experience{
    display: flex;
    justify-content: center;
    align-items: center;
    width:160px;
    height:50px;
    margin-top:30px;
    padding:9px;
    border-radius:50px;
    background-color:var(--primary-color);
    box-shadow: 0 0 10px 3px var(--bg-primary);
    color:#fff;
    font-size:17px;
    font-weight:400;
    transition:transform 0.3s ease;
    text-decoration: none;
}
#experience .experience-item a.experience:hover{
    cursor:pointer;
    color:#000;
    border:3px solid var(--primary-color);
    background-color:#fff;
    transform:scale(1.1);
}
#contact {
    min-height:100%;
    margin:60px;
    display:flex;
    flex-direction:column;
}
#contact p{
    font-size:19px;
    text-align: center;
    font-weight:600;
    color:var(--primary-color);
    padding:5px 0;
    opacity:0;
}
#contact form{
    display:flex;
    flex-direction:column;
    width:40%;
    height:450px;
    margin:20px auto;
    border-radius:10px;
    background-color: var(--bg-primary);
    color:#fff;
    opacity:0;
    padding-bottom:15px;
}
#contact form input{
    text-align:center;
    margin-bottom:10px;
    border-radius:8px;
    background-color:var(--bg-primary);
    border:2px solid var(--primary-color);
    padding:5px;
    font-size: 15px;
    color:var(--primary-color);
}
#contact form textarea{
    height:300px;
    padding:5px;
    font-size:15px;
    text-align:center;
    margin-bottom:10px;
    background-color: var(--bg-primary);
    border-radius:5px;
    border:2px solid var(--primary-color);
    resize: none;
    color:var(--primary-color);
}
#footer {
    display:flex;
    justify-content: center;
    align-items: center;
    background-color:var(--secondary-color);
    height:70px;
    padding:0 50px;
}
#footer p{
    color:#fff;
    font-size:17px;
    font-weight:400;
}
#footer p span{
    color:var(--primary-color);
    font-weight:500;
    font-size:19px;
}

@media (max-width:1300px){
nav{
    padding:0;
    margin:0;
}
nav h1{
    padding: 0 20px;
}
nav ul li a{
    padding-right:20px;
}
#home a.about{
    position:absolute;
    margin:auto 25%;
}
#home a.cv{  
    left: 50%;
}
}
#home{
    min-height:100vh;
    width:100%;
    position:relative;
    margin-bottom:60px;
}
@media (max-width:600px){
header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-color);
    padding-right:15px;
}
nav ul{
    display:none;
}
#menu-icon i{
    display: flex;
    color: var(--primary-color);
}
#home{
    min-height:100vh;
    width:100%;
    position:relative;
    margin-bottom:60px;
}
#home .container {
    display:flex;
    flex-direction:column;
    padding:60px;
    margin:auto;
}
#home .container .info{
    margin:0;
}
#home .container img{
    width:100%;
    margin-top:30px;
    height:50%;
}
#home a.about{
    position:absolute;
    margin:auto 5%;
}
#home a.cv{  
    left: 53%;
}
#about p{
    width:100%;
}
#services .cards{
    display:grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap:40px;
    margin:auto;
}
#skills .all-skills{
    display:flex;
    flex-direction: column;
}
#skills .all-skills .technical-Skills{
    width:100%;
    opacity:0;
    margin: auto auto 20px;
}
#skills .all-skills .soft-skills{
    width:100%;
} 
#experience{
    margin: auto 20px;
    height:100%;
}
#experience .experience-item{
    width:90%;
    margin:auto auto 50px;
    height:100%;
    padding:10px;
    padding-bottom:30px;
}
#education{
    padding:30px;
}
#education .education-item{
    display: flex;
    flex-direction: column;
    width:100%;
    height:100%;
}
#education.education-img img{
    width:100%;
}
#projects .cards{
   display:grid;
   grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
}
.card .content h2{
    padding-top:10px;
}
.card .content .buttons{
    margin:auto;
    padding:0;
}
.card .content .buttons .btn2,
.card .content .buttons .btn1{
    margin-bottom:20px;
} 
#contact {
    margin:30px;
}
#contact form{
    display:flex;
    flex-direction:column;
    width:100%;
    margin-top:40px;
}
#footer {
    text-align: center;
}
}