/* MOBILE VIEW */

@media (max-width:768px){

body{
font-size:14px;
}

/* HEADER */

header{
min-width:unset;
width:95%;
padding:10px 15px;
top:10px;
}

/* NAVBAR */

nav{
flex-direction:column;
gap:10px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
gap:10px;
}

.logo{
font-size:20px;
}

/* ICARD MOBILE FIX */

@media (max-width:768px){

/* make hero-right relative so we can position strap */
.hero-right{
position:absolute;
top:380px;
left:50%;
transform:translateX(-50%);
z-index:0;
}


/* move hanger up */
.hanger{
position:relative;
top:-300px;
z-index:0;
}

/* shorten strap */
.lanyard{
height:450px;
opacity: 0.7;
}

/* keep button above strap */
.usb-btn{
position:relative;
z-index:2;
}

}

/* HERO */

.hero{
flex-direction:column;
text-align:center;
padding:140px 20px 40px 20px;
padding-top: 140px;
position:relative;
}

.hero h1{
font-size:28px;
}

.hero h2{
font-size:20px;
}

.hero p{
font-size:14px;
}

.hero-right{
margin-right:0;
margin-top:30px;
}

.hero-left{
position:relative;
z-index:5;
}

/* ICARD */



.photo{
width:60px;
height:60px;
}

/* ABOUT */

.folder-container{
width:100%;
}

.about-text h2{
font-size:24px;
}

.about-text p{
font-size:14px;
}

/* SKILLS */

/* SKILLS RESPONSIVE */

.skills{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
gap:18px;
padding:0 10px;
}

.skill-power{
width:90px;
height:90px;
margin:auto;
}

.power-icon{
font-size:24px;
}

/* CERTIFICATIONS MOBILE */

@media (max-width:768px){

.badges-container{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
padding:0 10px;
}

.badge{
display:flex;
justify-content:center;
}

.badge{
width:100%;
max-width:160px;
}

}
/* PROJECT SECTION MOBILE */

@media (max-width:768px){

.project-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
}

.project{
width:90%;
max-width:350px;
height:auto;
border-radius:40px;
padding:18px;
text-align:center;
}

.project-img{
width:100%;
height:140px;
object-fit:cover;
border-radius:20px;
}

}
/* CONTACT */

#contact{
padding:80px 20px;
}

.contact-form{
gap:15px;
}

.input-group input,
.input-group textarea{
font-size:14px;
padding:12px;
}

/* FOOTER */

.footer{
padding:30px 15px;
}

.social-icons{
gap:12px;
}

.social-icons a{
width:38px;
height:38px;
font-size:16px;
}

}