html {
    height: 95vh;
}

body {
    background-color: rgb(34, 38, 88);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
    height: 100%;
    margin: 0;
    color: white;
}

header {
    width: 90%;
    max-width: 1200px;
    height: 80px;
    background-color: rgb(92, 99, 190);
    border: 2px solid white;
    border-radius: 20px;
    display: flex;
    margin-top: 20px;       
}

a {
    color: white;
    text-decoration: none;
}

.redes {
    display: flex;
    width: 30%;
    height: 100%;
    align-items: center;
}

.red {
    margin-left: 20px;
}

.menu {
    display: flex;
    width: 70%;
    height: 100%;
    align-items: center;
    justify-content: right;
}

.opcion {
    margin-right: 30px;
}

article {
    width: 95%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(92, 99, 190), rgb(34, 38, 88));
    border-top: 2px white;
    margin-top: 20px;
    border-top: 5px solid white;
    border-radius: 20px;
    max-width: 100%;

    overflow-y: auto;
    scrollbar-width: none;
}

.inicio {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 90vh;
}

.nombre {
    font-size: 80px;
    font-family: monospace;
    white-space: nowrap;
    border-right: 3px solid white;
    width: 0;
    overflow: hidden;

    animation: 
        escribiendo 3.5s steps(23) forwards, 
        parpadeo-cursor 0.8s infinite;
}

@keyframes escribiendo {
    from { width: 0; }
    to { width: 23ch; }
}


@keyframes parpadeo-cursor {
    50% {border-color: transparent;}
}

.SobreMi {
    flex-direction: column;
    display: flex;
    align-items: center;
    width: 100%;
    height: 800px;
    p {
        margin-left: 20px;
    }
    h3 {
        margin-left: 20px;
        text-decoration: underline;
    }
}

.submi {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    text-align: justify;
}

.soy {
    width: 30%;
    height: 90%;
}

.formacion {
    width: 30%;
    height: 90%;
    border-left: 2px solid white;
    border-right: 2px solid white;
    margin-left: 20px;
    margin-right: 20px;
}

.experiencia {
    width: 30%;
    height: 90%;
}

.Habilidades {
    flex-direction: column;
    display: flex;
    align-items: center;
    width: 100%;
    height: 800px;
}

.content {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    text-align: justify;
}

.tecnico {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 90%;
    border-right: 2px solid white;
    align-items: center;
    justify-content: center;
}

.bar_aux {
    display: flex;
    width: 100%;
    height: auto;
    margin-top: 40px;
    justify-content: center;
}

.bar_right {
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 100px;
    background-color: white;
    border: 5px solid rgb(189, 189, 189);
    border-radius: 40px;
    color: black;
    align-items: center;

    p {
        margin: 0;
        margin-bottom: 5px;
    }

    h3 {
        margin-bottom: 5px;
    }

    transition: transform 0.3s ease-in-out;
}

.bar_right:hover {
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.bar_left {
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 100px;
    background-color: white;
    border: 5px solid rgb(189, 189, 189);
    border-radius: 40px;
    margin-right: 40px;
    color: black;
    align-items: center;

    p {
        margin: 0;
        margin-bottom: 5px;
    }

    h3 {
        margin-bottom: 5px;
    }

    transition: transform 0.3s ease-in-out;
}

.bar_left:hover {
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

progress {
    width: 85%;
    border: 2px solid black;
    border-radius: 20px;
    overflow: hidden;
}

.otros {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 90%;
}

.soft {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 98%;
    height: 50%;
    margin-left: 10px;
}

.soft_aux {
    display: flex;
    align-items: center;
    height: 100%;
    width: 80%;
}

.idiomas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 98%;
    height: 50%;
    margin-left: 10px;
}

.idiomas_aux {
    display: flex;
    align-items: center;
    height: 100%;
    width: 80%;
}

.cont_otros {
    display: flex;
    flex-direction: column;
    width: 25%;
    height: 170px;
    background-color: white;
    border: 5px solid rgb(189, 189, 189);
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 40px;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;

    h3 {
        margin-bottom: 2px;
    }

    p {
        margin: 0;
        margin-bottom: 2px;
    }

    transition: transform 0.3s ease-in-out;
}

.cont_otros:hover {
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.Proyectos {
    flex-direction: column;
    display: flex;
    align-items: center;
    width: 100%;
    height: 800px;
}

.pro_aux {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.proyecto {
    display: flex;
    flex-direction: column;
    width: 30%;
    height: 500px;
    background-color: white;
    margin: 40px;
    border: 5px solid rgb(189, 189, 189);
    border-radius: 40px;
    align-items: center;
    color: black;

    p {
        margin: 10px;
        margin-top: 2px;
    }
}

.img_proyecto {
    border-radius: 35px;
}

.ir {
    display: flex;
    width: 120px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background-color: rgb(92, 99, 190);
    border: 5px solid rgb(189, 189, 189);
    border-radius: 40px;
    margin-top: 10px;
    h2 {
        font-size: 30px;
    }
}

.contacto {
    flex-direction: column;
    display: flex;
    align-items: center;
    width: 100%;
    height: 800px;
}

.contact_aux {
    display: flex;
    align-items: center;
    width: 100%;
    height: 800px; 
}

.contact_info {
    display: flex;
    flex-direction: column;
    width: 43%;
    height: 90%;
    margin-left: 30px;
    margin-right: 10px;

    h2 {
        margin: 10px;
    }
}

.mensaje {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 90%;
    margin-left: 10px;
    margin-right: 10px;
}

iframe {
    border-radius: 30px;
}







h1 {
    font-size: 50px;
    text-decoration: underline;
}

.separador {
    width: 90%;
    border-top: 5px solid white;
}

.subseparador {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

