/* Google Font */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#071224;
    color:#ffffff;
}

/* Sidebar */

.sidebar{
    position:fixed;
    left:0;
    top:0;
    width:90px;
    height:100vh;
    background:linear-gradient(180deg,#081526,#123C8A);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    padding:30px 0;
    z-index:1000;
}

.logo{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#0E2E68;
    color:#9FC5FF;
    border:2px solid #4E8CFF;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    font-weight:700;
}

.sidebar nav{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.sidebar nav a{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    text-decoration:none;
    transition:.3s;
    font-size:20px;
}

.sidebar nav a:hover,
.sidebar nav .active{
    background:white;
    color:#6C63FF;
}

/* Home */

.home{
    min-height:100vh;
    margin-left:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:100px;
    padding:70px;
}

/* Profile */

.image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.circle{
    width:380px;
    height:380px;
    border-radius:50%;
    border:8px solid #4E8CFF;
box-shadow:
0 0 30px rgba(78,140,255,.5),
0 0 80px rgba(78,140,255,.25);
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.circle img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Content */

.content{
    max-width:600px;
}

.content h4{
    color:#76A8FF;
    letter-spacing:3px;
    margin-bottom:10px;
}

.content h1{
    font-size:60px;
    line-height:1.1;
}

.content h1 span{
    color:#76A8FF;
}

.content h3{
    margin-top:20px;
    font-size:28px;
    font-weight:500;
}

.content h3 span{
    color:#76A8FF;
}

.content p{
    margin:30px 0;
    line-height:1.8;
    color:#555;
    font-size:17px;
}

/* Buttons */

.buttons{
    display:flex;
    align-items:center;
    gap:25px;
}

.btn{
    background:#6C63FF;
    color:white;
    text-decoration:none;
    padding:14px 35px;
    border-radius:50px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(108,99,255,.3);
}

.social{
    display:flex;
    gap:15px;
}

.social a{
    width:45px;
    height:45px;
    border-radius:50%;
    border:2px solid #76A8FF;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#76A8FF;
    text-decoration:none;
    transition:.3s;
}

.social a:hover{
    background:#76A8FF;;
    color:white;
}

/* Sections */

section{
    padding:100px 100px 80px 190px;
}

section h2{
    font-size:40px;
    margin-bottom:40px;
    color:#76A8FF;
}

/* About */

.about p{
    max-width:850px;
    line-height:1.9;
    color:#555;
}

/* Skills */

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

.card{
    background:white;
    padding:30px;
    border-radius:18px;
    text-align:center;
    font-weight:600;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

/* Projects */

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

.project{
    background:white;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.project h3{
    margin-bottom:15px;
}

.project p{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

.project a{
    color:#76A8FF;
    text-decoration:none;
    font-weight:600;
}

/* Contact */

.contact-links{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.contact-links a{
    background:#6C63FF;
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:40px;
    transition:.3s;
}

.contact-links a:hover{
    transform:translateY(-4px);
}

/* Responsive */

@media(max-width:1100px){

.home{
    flex-direction:column;
    text-align:center;
    gap:60px;
}

.buttons{
    justify-content:center;
}

.content h1{
    font-size:48px;
}

}

@media(max-width:768px){

.sidebar{
    width:100%;
    height:70px;
    flex-direction:row;
    padding:0 20px;
}

.sidebar nav{
    flex-direction:row;
    gap:15px;
}

.home{
    margin-left:0;
    padding-top:130px;
}

section{
    padding:80px 30px;
}

.circle{
    width:280px;
    height:280px;
}

.content h1{
    font-size:38px;
}

.content h3{
    font-size:22px;
}

}

/* ========================= */
/* Large Tablets */
/* ========================= */

@media (max-width:1200px){

.home{
    gap:50px;
    padding:40px;
}

.circle{
    width:320px;
    height:320px;
}

.content h1{
    font-size:48px;
}

.content h3{
    font-size:24px;
}

}


/* ========================= */
/* Tablets */
/* ========================= */

@media (max-width:992px){

.home{
    flex-direction:column;
    justify-content:center;
    text-align:center;
    margin-left:90px;
    gap:40px;
}

.content{
    max-width:100%;
}

.buttons{
    justify-content:center;
}

.circle{
    width:280px;
    height:280px;
}

.content h1{
    font-size:42px;
}

.content h3{
    font-size:22px;
}

.content p{
    width:90%;
    margin:auto;
    margin-top:20px;
}

}


/* ========================= */
/* Mobile */
/* ========================= */

@media (max-width:768px){

.sidebar{

    width:100%;
    height:70px;

    left:0;
    top:0;

    flex-direction:row;

    justify-content:space-between;

    padding:0 25px;

}

.logo{

    width:45px;
    height:45px;
    font-size:18px;

}

.home{

    margin-left:0;

    padding:120px 25px 40px;

    flex-direction:column;

    gap:30px;

}

.image{

    width:100%;

}

.circle{

    width:230px;
    height:230px;

}

.content{

    width:100%;

}

.content h4{

    font-size:14px;

}

.content h1{

    font-size:34px;

}

.content h3{

    font-size:20px;

}

.content p{

    width:100%;

    font-size:16px;

}

.buttons{

    flex-direction:column;

    gap:20px;

}

.social{

    justify-content:center;

}

.social a{

    width:48px;
    height:48px;

}

section{

    padding:80px 25px;

}

.skill-grid{

    grid-template-columns:1fr;

}

.project-grid{

    grid-template-columns:1fr;

}

}


/* ========================= */
/* Small Phones */
/* ========================= */

@media (max-width:480px){

.circle{

    width:180px;
    height:180px;

}

.content h1{

    font-size:28px;

}

.content h3{

    font-size:18px;

}

.content p{

    font-size:15px;

}

.btn{

    width:100%;

    text-align:center;

}

.social{

    flex-wrap:wrap;

}

.social a{

    width:45px;
    height:45px;

}

}