body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(39, 38, 38, 0.688);
    color: #ffffff;
    align-items: center;
    justify-content: center;
}


#portafolio-header {
    padding: 20px;
    text-align: center;
    color: white;
    background: linear-gradient(to right, #77009f, #d5c0ddc4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2%; 
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}


main {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.contenedor-general {
    
    display: flex;
    gap: 10px;
    max-width: 950px;
    width: 100%;
}

.contenido-principal {
    
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 3;
}

.contenedor-columnas {
    display: flex;
    gap: 10px;
}

.contenedor-proyectos1,
.contenedor-proyectos2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.contenedor-proyectos3,
.contenedor-proyectos4 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

#proyectos-destacados{
    padding: 10px;
    border-radius: 15px;
    background-color: rgba(39, 38, 38, 0.625);
}

#proyectos-destacados2{
    padding: 10px;
    border-radius: 15px;
    background-color: rgba(39, 38, 38, 0.625);
}

#proyectos-destacados2 article {
    
    margin-bottom: 20px;
}

.skills-sidebar {
    flex: 1;
    background-color: #fff;
    color: rgb(118, 120, 122);
    padding: 20px;
    border-radius: 15px;
    font-size: 14px;
    width: fit-content;
    height: fit-content;
}

.proyect-card1, .proyect-card2, .proyect-card3, .proyect-card4{
    background-color: #ffffff;
   color: rgb(118, 120, 122);
    border-radius: 15px;
    padding: 10px;
    font-size: 14px;
    width: 300px;
    height: 180px;
    margin: 5px 0;
}

.proyect-card5, .proyect-card6 {
    background-color: #ffffff;
    color: rgb(118, 120, 122);
    border-radius: 15px;
    padding: 10px;
    font-size: 14px;
    width: 630px;
    height: 170px;
    margin: 5px 0;
}

.button1{
    background-color: rgb(231, 117, 30);
    border: none;
    border-radius: 10px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;

}
.button2{
    background-color: rgba(32, 152, 7, 0.75);
    border: none;
    border-radius: 10px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;

}
.button3{

    background-color: rgba(1, 81, 135, 0.8);
    border: none;
    border-radius: 10px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}


.button1:hover {
    background-color: rgb(244, 162, 97);
    transform: scale(1.05); 
}

.button2:hover {
    background-color: rgba(71, 232, 26, 0.62);
    transform: scale(1.05);
}

.button3:hover {
    background-color: rgba(20, 147, 226, 0.737);
    transform: scale(1.05);
}

.certificaciones ul{
  
    list-style-type: none;
    border-radius: 10px;
    padding: 0;
   
}

.certificaciones-list li{
    background-color: dimgray;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
    color: lightgray;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 10px solid rgb(93, 169, 233);
    position: relative;
    transition: all 0.3s ease;
}

.certificaciones-list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;

}

.certificaciones-list li:hover {
    background-color: 10px solid rgb(93, 169, 233);
    transform: scale(1.05); 
}


footer{

    background-color:rgba(39, 38, 38, 0.625) ;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    text-align: center;
    padding : 1px;
    
}

.contacto{

    display: flex;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    padding : 1px;
    gap: 10px;
    
}


.skill {
    margin-bottom: 10px;
}

.skill:last-child {
    margin-bottom: 0;
}

.skill p {
    margin: 0 0 5px;
    font-weight: 400;
    color: rgb(118, 120, 122);
}

.skill-bar {

    color: rgb(118, 120, 122);
    background-color: rgb(39, 38, 38, 0.688);
    border-radius: 10px;
    overflow: hidden;
    height: 10px;
}

.skill-level {
    height: 10px;
    background-color: rgb(104, 181, 243);
    
}