* {
    margin: 0%;
    padding: 0;
}

body {
    background-color: #131313;
}

.main {
    display: grid;
    grid-template-columns: 1fr 3fr;



}




.sidebar{
    width:400px;
    padding: 1rem;

  
}
.content-side{
    position: fixed;
   max-width:350px;
}

nav {
    padding: .8rem;
    border-radius: 50px;
    background-color: #1f1d1d;
    width: 90%;

}




nav ul {
    display: flex;
    justify-content: center;
    align-items: center;

}

nav ul li {
    aspect-ratio: 2/1;
    width: 50px;
    /* border: 1px solid red; */
    list-style: none;
    padding: 0px 20px;


}

nav ul li a {
    text-decoration: none;
    color: #aaaaaa;
    font-size: 12px;
    transition: color ease-in 0.3s;
}
nav ul li a:hover{
    color: #7700ff;
}

.side-container {
    color: #aaaaaa;
    width: 80%;
    border: 1px solid white;
    margin-top: 60px;
    padding: 2rem;
    border-radius: 30px;


}

.namecard {
    margin-bottom: 5px;
    position: relative;
}

.border1 {
    height: 4px;
    width: 100px;
    background-color: #7700ff;
    border-radius: 30px;
}

.namecard h1 {
    text-transform: uppercase;
    font-size: 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

.namecard span {
    font-size: 15px;
    font-weight: 900;
}

/* .display-text h1 {

    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
} */

.social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0px;
    margin-bottom: 10px;
}

.social a {
    text-decoration: none;
    color: #aaaaaa;
    padding: 10px;
    font-size: 25px;
}

.btn-contact {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #7700ff;
    color: white;
    padding: 10px ;
    border-radius: 20px;

}

.content {
    padding: 0 20px;
}

.blank {
    height: 110px;
}

/* content section */
.topic {
    color: white;
    font-size: 25px;
    font-weight: 500;
    border: 1px solid white;
    border-radius: 10px;
    padding: 5px 10px;
    display: inline-block;
}

.pfp img {
    aspect-ratio: 4/4;
    width: 90%;
    object-fit: contain;
}

.big-text {
    margin-top: 20px;
    color: white;
    font-size: 5vw;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    /* padding-left: 15px; */
}
section{
    position: relative;
    margin-bottom: 100px;

}
section::before{
    content: '';
    position: absolute;
    height: 100%;
    left:50px;
    width:70%;
    border-bottom: 1px solid  #7700ff;
    padding-bottom: 70px;
    z-index: -1;
    
}

.big-text span {
    color: #7700ff;
}
.about-text{
    color:#aaaaaa;
    font-size: 25px;
    max-width: 800px;
    margin-top: 30px;
    word-spacing: 5px;
    line-height: 1.5;

}


.containerSkills {
    display: flex;
    flex-wrap: wrap;
    width:80%;
    margin-top: 50px; 
    justify-content:space-around;
}

.skillbox {
    text-align: center;
    margin: 20px ;
    width:100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skillbox:hover{
    cursor: pointer;
    i,h2{
        color:#7700ff;
    }
    i{
    border: 1px solid #7700ff; 

    }
} 


.skillbox i {
    font-size: 4rem;
    color:#aaaaaa;
    border: 1px solid white; 
    border-radius: 20px;
    padding:20px 25px;
    aspect-ratio: 3/2;
    width:5rem;
    transition: color ease-in 0.3s;
    /* transition: border ease-in 0.3s; */

}

.skillbox h2 {
    text-align: center;
    margin-top: 10px;
    color:#aaaaaa;
    font-size: 1em;
    transition: color ease-in 0.3s;

}
.project-card iframe{
    height:500px;
    width:100%;
    border-radius: 30px;
    margin-top: 50px;
}

/* contact */

form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
}
input,textarea{
    width: 80%;
    background-color: transparent;
    outline: none;
    color: white;
    border:none;
    margin-top: 30px;
    border-bottom: 1px solid white;
}
textarea{
    margin-bottom: 30px;
}
input{
    height:50px;
}
#contact{
    margin-bottom:100px ;
}
footer{
    padding: 20px;
    color: white;
}






.active{
    color: #7700ff;
}
.active i{
    color:#7700ff;
}

::-webkit-scrollbar {
    width: 5px; 
  }
  
  ::-webkit-scrollbar-thumb {
    background-color:#7700ff; 
    /* border-radius: 5px;  */
  }

  #about{
    transition: step-end ;
  }
  a[title]:hover:after {
    content: attr(title);
    display: block;
    position: absolute;
    background:#7700ff ;
    color: white; /* Tooltip text color */
    padding: 5px;
    border-radius: 5px;
    z-index: 1000;
}





/* DevOps Projects Section */
#devops-projects {
    padding: 0 20px;
}

.project-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-card h2 {
    color: #7700ff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    color: #ddd;
    font-size: 1rem;
    margin-bottom: 15px;
}

.btn-github {
    padding: 10px 20px;
    background-color: #7700ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-github:hover {
    background-color: #5500cc;
}

@media (max-width: 850px) {
    .project-cards {
        grid-template-columns: 1fr;
    }
}




/* responsive */

@media (max-width:850px) {
    .sidebar{
        width:90% !important;
        margin-top: 50px;
    }
   

    .content-side{
        position:static !important;
        max-width:350px !important;
        margin: auto !important;
       
    }
    .main {
        display: grid;
        grid-template-columns: 100%;
    }
    .big-text{
        font-size: 3rem !important;
    }
    nav{
        position: fixed !important;
        top:0 !important;
        left: 0 !important;
        z-index: 10 !important;
        width: 100% !important;
        border-radius: 0px !important;
    }
    .containerSkills {
        display: flex;
        flex-wrap: wrap;
        width:100% !important;
        margin-top: 50px; /
    }
    .skillbox{
        width: 80px !important;
    }
    .skillbox i{
        padding: 10px !important;
    }
    form{
        justify-content: center !important;
        align-items: center ;
    }
    footer{
        padding:5px !important;
    }
   
   
   
}



/* DevOps Projects Section */
#devops-projects {
    padding: 0 20px;
}

.project-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-card h2 {
    color: #7700ff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    color: #ddd;
    font-size: 1rem;
    margin-bottom: 15px;
}

.btn-github {
    padding: 10px 20px;
    background-color: #7700ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-github:hover {
    background-color: #5500cc;
}

@media (max-width: 850px) {
    .project-cards {
        grid-template-columns: 1fr;
    }
}
