body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    text-align: justify;
}

header {
    height: 65px;
    background-color: #7b1fa2;
    color: white;
    display: flex;
    align-items: center;
    padding-left: 25px;
}

.cara {
    border-radius: 500px;
    height: 200px;
}

.uno {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: calc(100vh - 65px);
    background-color: #303030;
    color: white;
}

.caja-central {
    margin-top: 10%;
    width: 50%;
    display: flex;
    flex-direction: row;
    border-radius: 20px;
    overflow: hidden;
    height: 50%;
}

.caja-cara {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    background-color: #424242;
}

.caja-presentacion {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    background-color: #F2F2F2;
    color: #303030;
    padding: 10px;
    box-sizing: border-box;
    text-align: justify;
}

.dos {
    background-color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #303030;
    padding-left: 20%;
    padding-right: 20%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    text-align: justify;
}

.aptitudes {
    width: 90%;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10px;
}

.tech-item {
    text-align: center;
    margin: 10px;
    border: 1px solid gray;
    transition: border 0.3s, transform 0.3s, box-shadow 0.3s, font-size 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
}

.tech-item:hover {
    border: 2px solid transparent;
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.tech {
    height: 100px;
    background-color: transparent;
}

.tech-title {
    margin-top: 10px;
    font-weight: bold;
}

.tech-item:hover .tech-title {
    font-size: 115%;
}

.tres {
    background-color: #303030;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #F2F2F2;
    padding: 10px;
    box-sizing: border-box;
    text-align: justify;
}

.proyectos {
    width: 60%;
    display: flex;
    justify-content: space-between;
}

.card {
    text-align: center;
    width: 30%;
    border: solid #F2F2F2 1px;
    border-radius: 10px;
    padding: 10px;
}

.card img {
    width: 100%;
}

.card a, footer a {
    color: white;
}

.red-social {
    height: 45px;
    background-color: #F2F2F2;
    border-radius: 10px;
}

footer {
    background-color: #424242;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #F2F2F2;
    height: 250px;
    padding: 10px;
    box-sizing: border-box;
    text-align: justify;
}

.contacto {
    width: 30%;
    display: flex;
    justify-content: center;
}

.no-style-link {
    text-decoration: none;
    color: inherit;
}

p, h1, h2, h3, ul, li {
    text-align: justify;
}

@media (max-width: 1000px) {
    .caja-central {
        width: 90%;
        height: 70%;
        flex-direction: column;
    }

    .caja-cara {
        width: 100%;
        height: 50%;
    }

    .caja-presentacion {
        width: 100%;
        height: 50%;
        align-items: flex-start;
    }

    .aptitudes {
        width: auto;
    }

    .dos {
        padding: 0 10px 10px 10px;
    }

    .tres {
        height: auto;
    }

    .proyectos {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 20px;
    }

    .card {
        width: 80%;
        margin-top: 20px;
    }

    .red-social {
        margin: 0 10px 0 10px;
    }
}
