#particles-js{
  position:fixed;
  width:100%;
  height:100%;
  z-index:-1;
  top:0;
  left:0;
  background:#111;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:#111;
  color:#fff;
  scroll-behavior:smooth;
}

.container{
  width:90%;
  margin:auto;
}

/* NAVBAR */
header{
  position:fixed;
  width:100%;
  background:#111;
  z-index:1000;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo{
  font-weight:700;
  font-size:20px;
}
.logo img{
  width: 50px;
  height: auto;
  border-radius: 50px;
}
.aa{
  width: 10%;
  height: 10px;
}

nav a{
  margin-left:30px;
  text-decoration:none;
  color:#fff;
  font-size:14px;
}

.btn-outline{
  border:1px solid #fff;
  padding:6px 15px;
  border-radius:20px;
}

.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
}

.hamburger span{
  height:3px;
  width:25px;
  background:#fff;
  margin:4px;
}
.btn-cv{
  display:inline-block;
  margin-top:25px;
  padding:10px 22px;
  border:1px solid #fff;
  border-radius:25px;
  text-decoration:none;
  color:#fff;
  transition:0.3s;
}

.btn-cv:hover{
  background:#fff;
  color:#000;
}

/* HERO */
.hero{
  display:flex;
  min-height:100vh;
}

.hero-left{
 flex: 1;
 padding: 120px 80px;
}

.hero-right{
  width:50%;
  background: gray;
/*clip-path:polygon(15% 0,100% 0,100% 100%,0% 100%); */
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-right img{
  width:70%;
  border-radius: 20px;
  margin: 20px;
}


.socials a:nth-child(1):hover{
  
  background-color: liner-gradient(45deg, #f58529, #dd2a7b,#8134af);
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.4);
}
.socials a:nth-child(2):hover{
  color: white;
  background-color: liner-gradient(45deg, #f58529, #dd2a7b,#8134af);
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.4);
}
.socials a:nth-child(3):hover{
  background-color: #0077B5;
  box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.socials a:nth-child(4):hover{
  background-color: #EA4335;
  box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4);
}


/* SECTION */
.section{
  padding:100px 10%;
  text-align:center;
}

.dark{
  background:#000;
}

.title{
  font-size:22px;
  letter-spacing:4px;
  margin-bottom:30px;
}

.subtitle{
  max-width:600px;
  margin:auto;
  margin-bottom:50px;
}

.about-grid{
  display:flex;
  gap:30px;
  justify-content:center;
}

.card{
  background:#1a1a1a;
  padding:30px;
  border-radius:10px;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-10px);
}

/* SKILLS */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  font-size:60px;
}

/* PORTFOLIO */
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.portfolio-item{
  overflow:hidden;
}

.portfolio-item img{
  width:100%;
  transition:0.4s;
}

.portfolio-item:hover img{
  transform:scale(1.1);
}

/* CONTACT */
.contact-form{
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
}

.contact-form input,
.contact-form textarea{
  margin-bottom:15px;
  padding:12px;
  border:none;
}

.contact-form button{
  padding:12px;
  background:#fff;
  color:#000;
  border:none;
  cursor:pointer;
}

/* FOOTER */
footer{
  text-align:center;
  padding:30px;
  background:#111;
}

/* ANIMATION */
@keyframes fadeIn{
  from{opacity:0; transform:translateY(30px);}
  to{opacity:1; transform:translateY(0);}
}

/* RESPONSIVE */
@media(max-width:768px){

.hero{
  flex-direction:column;
}

.hero-left, .hero-right{
  width:100%;
  clip-path:none;
}

nav{
  position:absolute;
  top:70px;
  right:-100%;
  background:#000;
  flex-direction:column;
  width:200px;
  transition:0.3s;
  padding:20px;
}

nav.active{
  right:0;
}

.hamburger{
  display:flex;
}

.about-grid{
  flex-direction:column;
}

.skills-grid{
  grid-template-columns:repeat(2,1fr);
}

.portfolio-grid{
  grid-template-columns:1fr;
}
}