/*
███████╗███████╗ ██████╗ ██╗   ██╗██╗   ██╗██╗
██╔════╝██╔════╝██╔════╝ ██║   ██║██║   ██║██║
█████╗  ███████╗██║  ███╗██║   ██║██║   ██║██║
██╔══╝  ╚════██║██║   ██║██║   ██║╚██╗ ██╔╝██║
███████╗███████║╚██████╔╝╚██████╔╝ ╚████╔╝ ██║
╚══════╝╚══════╝ ╚═════╝  ╚═════╝   ╚═══╝  ╚═╝
*/
@import url('https://fonts.googleapis.com/css2?family=Akaya+Telivigala&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #1c1c1c;
    background-image: url(images/background.png);
    background-repeat: repeat;
    color: var(--blanco);
    font-family: var(--poppins);
    font-size: 1rem;
    margin: 0;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    max-width: 1400px;
    margin: auto;
}

.conc {
    color: var(--secondary);
    padding-right: 20px;
    font-style: italic;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 300px;
}

.portada {
    display: inline-block;
    color: black;
}

.portada h1 {
    font-size: clamp(1.7rem, 7vw, 4.5rem);
    color: #fff;
    line-height: 1.1;
    font-family: Heebo, sans-serif;
    text-shadow: 2px 2px 10px #000b;
    padding: 20px;
    font-weight: bold;
}

.portada h2 {
    font-size: 80px;
    font-family: Heebo, sans-serif;
    text-shadow: 2px 2px 10px #000b;
    color: #9ca3af;
    padding-left: 100px;
}

h2 {
    font-size: 1.5em;
    font-weight: bold;
}

.header__span {
    display: block;
    /* Declaramos que es todo un bloque*/
    font-size: 20px;
    border-right: var(--secondary) solid;
    color: var(--secondary);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    animation: pp 10s steps(13) infinite, blink .5s infinite step-end alternate;
    /* steps indica que tiene que ir celda por celda*/
    white-space: nowrap;
    /* white-space nowrap funciona para cuando a la hora de hacer la animacion, no se coloque 
                              el texto de forma dispareja vertical*/
    width: 13ch;
    overflow: hidden;
    /* Permite que el texto se coloque en columna vertical cuando no quepa. EGV*/
}

@keyframes pp {
    0% {
        width: 0;

    }

    20% {
        width: 13ch;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.conoceme {
    margin-top: 600px;
    padding-left: 100px;
}

.conoceme h1 {
    color: white;
    font-family: Heebo, sans-serif;
    font-weight: bold;
}

button .descarga {
    color: white;
    text-decoration: none;
}

button:hover .descarga {
    color: black;
    text-decoration: none;
    transition: 0s;
}

button a {
    text-decoration: none;
    color: black;
}

button a:hover {
    text-decoration: none;
    color: black;
}

.caja1 {
    float: left;
    width: 50%;
    height: 700px;
    display: flex;
    flex-direction: column;
    padding: 10%;
}

.caja2 {
    height: 700px;
    width: 50%;
    float: left;
    display: flex;
    align-items: center;
    padding-right: 50px;
}

.texto_caja2 {
    background-color: var(--primary);
    padding: 40px;
    border: 5px solid --primary;
    border-radius: 50px;
    font-family: 'Akaya Telivigala', cursive;
    font-size: 20px;
    color: white;
}

.texto_caja2 h1 {
    color: var(--secondary);
}

.texto_caja2 p {
    color: var(--tertiary);
}

.conoceme_img {
    border-radius: 10px;
    display: flex;
    position: relative;
    width: 290px;
    height: 250px;
    background-color: #6114C8;
}

.conoceme_img img {
    display: flex;
    border: black solid 3px;
    border-radius: 10px;
    width: 290px;
    height: 250px;
    transform: rotate(10deg);
    transition: all .3s;
    background-color: white;
}

.conoceme_img img:hover {
    display: flex;
    transform: rotate(0deg);
    margin-top: 0px;
    margin-left: 0px;
    width: 290px;
    height: 250px;
}

.botones {
    display: block;
    padding: 5px;
    width: 130px;
    height: 50px;
    margin-top: 40px;
}

.botones button {
    font-size: 20px;
    background-color: var(--tertiary);
    color: black;
    width: 200px;
    border-color: var(--tertiary);
}

.soft {
    margin-top: 1000px;
    padding-left: 100px;
}

.soft h1 {
    color: white;
    font-family: Heebo, sans-serif;
    font-weight: bold;
}

.hard {
    margin-top: 300px;
    padding-left: 100px;
}

.hard h1 {
    color: white;
    font-family: Heebo, sans-serif;
    font-weight: bold;
}


/* Soft skill*/
.skills {
    padding-left: 150px;
}

.contenedor {
    float: left;
    text-align: center;
    display: inline-block;
    margin-top: 100px;
    width: 300px;
    height: 250px;
    background-color: var(--primary);
    border-radius: 20px;
    padding: 20px;
}

.contenedor h1 {
    font-size: 30px;
    color: var(--secondary);
}

.contenedor p {
    color: white;
}

.contenedor span i {
    color: grey;
    font-size: 50px;
}

.contenedor1 {
    float: left;
    text-align: center;
    display: inline-block;
    margin-top: 100px;
    width: 300px;
    height: 250px;
    background-color: var(--primary);
    border-radius: 20px;
    padding: 20px;
    margin-left: 10px;
}

.contenedor1 h1 {
    font-size: 40px;
    color: var(--secondary);
}

.contenedor1 p {
    color: white;
}

.contenedor1 span i {
    color: grey;
    font-size: 40px;
}

.contenedor2 {
    text-align: center;
    display: inline-block;
    margin-top: 100px;
    float: left;
    width: 300px;
    height: 250px;
    background-color: var(--primary);
    border-radius: 20px;
    padding: 20px;
    margin-left: 10px;
}

.contenedor2 p {
    color: white;
}

.contenedor2 h1 {
    font-size: 40px;
    color: var(--secondary);
}

.contenedor2 span i {
    color: grey;
    font-size: 40px;
}

.contenedor3 {
    text-align: center;
    display: inline-block;
    margin-top: 100px;
    width: 300px;
    height: 250px;
    background-color: var(--primary);
    border-radius: 20px;
    padding: 20px;
    margin-left: 10px;
}

.contenedor3 p {
    color: white;
}

.contenedor3 h1 {
    font-size: 40px;
    color: var(--secondary);
}

.contenedor3 span i {
    color: grey;
    font-size: 40px;
}

/*Hard skills*/
.contenedor4 {
    float: left;
    opacity: 1;
    height: 200px;
    width: 30%;
    margin-top: 50px;
    margin-left: 10%;
}

.contenedor4 button {
    display: flex;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border-radius: 1px;
    border: 0px;
    width: 175px;
    height: 50px;
    padding: 15px;
}

.contenedor4 button a {
    text-decoration: none;
    color: beige;
}

.contenedor4 button:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.2);
    color: rgb(255, 255, 255);
}

.contenedor5 {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    margin-right: 10%;
    padding: 50px;
    float: left;
    height: 300px;
    width: 50%;
}

.contenedor5 h1 {
    font-size: 40px;
    color: var(--secondary);
    padding: 0px;
    font-family: 'Akaya Telivigala', cursive;
}

.contenedor5 p {
    color: white;
    font-family: 'Akaya Telivigala', cursive;
}

.contenedor6 {
    position: relative;
    opacity: 0;
    bottom: 300px;
    left: 560px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    margin-right: 10%;
    padding: 50px;
    float: left;
    height: 300px;
    width: 50%;
}

.contenedor6 h1 {
    font-size: 40px;
    color: var(--secondary);
    padding: 0px;
    font-family: 'Akaya Telivigala', cursive;
}

.contenedor6 p {
    color: white;
    font-family: 'Akaya Telivigala', cursive;
}

.contenedor7 {
    position: relative;
    opacity: 0;
    bottom: 600px;
    left: 560px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    margin-right: 10%;
    padding: 50px;
    float: left;
    height: 300px;
    width: 50%;
}

.contenedor7 h1 {
    font-size: 40px;
    color: var(--secondary);
    padding: 0px;
    font-family: 'Akaya Telivigala', cursive;
}

.contenedor7 p {
    color: white;
    font-family: 'Akaya Telivigala', cursive;
}

.contenedor8 {
    position: relative;
    opacity: 0;
    bottom: 900px;
    left: 560px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    margin-right: 10%;
    padding: 50px;
    float: left;
    height: 300px;
    width: 50%;
}

.contenedor8 h1 {
    font-size: 40px;
    color: var(--secondary);
    padding: 0px;
    font-family: 'Akaya Telivigala', cursive;
}

.contenedor8 p {
    color: white;
    font-family: 'Akaya Telivigala', cursive;
}

.skills__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.skills__img {
    width: 45px;
    max-width: 65px;
}

/* BOTONES PERSONALIZADOS*/

.caja_boton {
    position: relative;
    bottom: 500px;
    width: 100%;
    height: 50px;
}

.botones_redes {
    display: flex;
    justify-content: center;
}

.botones_redes li {
    list-style: none;
    margin-right: 30px;
    padding: 80px;
}

.botones_redes li a {
    text-decoration: none;
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}

.botones_redes li a .fa-brands {
    font-size: 50px;
    padding: 10px;
    color: white;
}

.botones_redes li a {
    position: absolute;
    text-decoration: none;
    border: 1px solid black;
    color: black;
    background-color: rgb(0, 0, 0);
    opacity: 20%;
    height: 70px;
    width: 70px;
    transform: skew(40deg);
    box-shadow: -40px 40px 20px black;
}

.botones_redes li a::before {
    content: '';
    position: absolute;
    width: 25px;
    top: 10px;
    border: 1px solid black;
    right: 70px;
    background-color: rgb(0, 0, 0);
    height: 70px;
    transform: skew(0deg, -40deg);
}

.botones_redes li a::after {
    content: '';
    position: absolute;
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(2, 2, 2);
    bottom: -20px;
    top: 70px;
    right: 12px;
    height: 20px;
    width: 100%;
    transform: rotate(0deg) skewX(-50deg);
}

.lista a:hover {
    translate: 20px -20px;
    transition: .5s;
}

.botones_redes li a:hover .fa-brands {
    color: white;
}

.lista:nth-child(1) a:hover {
    background-color: rgb(255, 0, 0);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(1) a:hover::before {
    background-color: rgb(255, 0, 0);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(1) a:hover::after {
    background-color: rgb(255, 0, 0);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(2) a:hover {
    background-color: rgb(209, 21, 115);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(2) a:hover::before {
    background-color: rgb(209, 21, 115);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(2) a:hover::after {
    background-color: rgb(209, 21, 115);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(3) a:hover {
    background-color: rgb(75, 180, 213);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(3) a:hover::before {
    background-color: rgb(75, 180, 213);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(3) a:hover::after {
    background-color: rgb(75, 180, 213);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(4) a:hover {
    background-color: rgb(0, 0, 0);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(4) a:hover::before {
    background-color: rgb(12, 12, 12);
    opacity: 100%;
    transition: .5s;
}

.lista:nth-child(4) a:hover::after {
    background-color: rgb(12, 12, 12);
    opacity: 100%;
    transition: .5s;
}

.orange {
    color: var(--secondary);
}

:root {
    --primary: #222831;
    --secondary: #6114C8;
    --secondary-50: #fd701444;
    --tertiary: #9ca3af;
    --tertiary-2: #babfc7;
    --poppins: "Poppins", sans-serif;
    --jetBrains: "JetBrains Mono", monospace;
    --sidePadding: 150px;
    --headerHeight: 100vh;
    --scrollbarBG: #1c1c1c;
    --thumbBG: #9ca3af88;
    --blanco: white;


    /* FORMULARIO DE CONTACTO*/


    --white: #afafaf;
    --red: #e31b23;
    --bodyColor: #292a2b;
    --borderFormEls: hsl(0, 0%, 10%);
    --bgFormEls: hsl(0, 0%, 14%);
    --bgFormElsFocus: hsl(0, 7%, 20%);
}

@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");

a {
    color: inherit;
}

.cont {
    color: #e74141;
    padding-right: 20px;
}

input,
select,
textarea,
button {
    font-family: inherit;
    font-size: 100%;
}

button,
label {
    cursor: pointer;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Remove native arrow on IE */

select::-ms-expand {
    display: none;
}

/*Remove dotted outline from selected option on Firefox*/
/*https://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002*/
/*We use !important to override the color set for the select on line 99*/

select:-moz-focusring {
    color: transparent !important;
    text-shadow: 0 0 0 var(--white);
}

textarea {
    resize: none;
}

ul {
    list-style: none;
}


.my-form {
    width: 100%;
    margin-left: 310px;
    bottom: 700px;
    position: relative;
    right: 215px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* FORM ELEMENTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form h1 {
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.my-form li,
.my-form .grid>*:not(:last-child) {
    margin-bottom: 1.5rem;
}

.my-form select,
.my-form input,
.my-form textarea,
.my-form button {
    width: 100%;
    line-height: 1.5;
    padding: 15px 10px;
    border: 1px solid var(--borderFormEls);
    color: var(--white);
    background: var(--bgFormEls);
    transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25),
        transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.my-form textarea {
    height: 170px;
}

.my-form ::-moz-placeholder {
    color: inherit;
    /*Fix opacity issue on Firefox*/
    opacity: 1;
}

.my-form :-ms-input-placeholder {
    color: inherit;
    /*Fix opacity issue on Firefox*/
    opacity: 1;
}

.my-form ::placeholder {
    color: inherit;
    /*Fix opacity issue on Firefox*/
    opacity: 1;
}

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus,
.my-form button:enabled:hover,
.my-form button:focus,
.my-form input[type="checkbox"]:focus+label {
    background: var(--bgFormElsFocus);
}

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus {
    transform: scale(1.02);
}

.my-form *:required,
.my-form select {
    background-repeat: no-repeat;
    background-position: center right 12px;
    background-size: 15px 15px;
}

.my-form *:required {
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg);
}

.my-form select {
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/down.svg);
}

.my-form *:disabled {
    cursor: default;
    filter: blur(2px);
}


/* FORM BTNS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form .required-msg {
    display: none;
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg) no-repeat center left / 15px 15px;
    padding-left: 20px;
}

.my-form .btn-grid {
    position: relative;
    overflow: hidden;
    transition: filter 0.2s;
}

.my-form button {
    font-weight: bold;
}

.my-form button>* {
    display: inline-block;
    width: 100%;
    transition: transform 0.4s ease-in-out;
}

.my-form button .back {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-110%, -50%);
}

.my-form button:enabled:hover .back,
.my-form button:focus .back {
    transform: translate(-50%, -50%);
}

.my-form button:enabled:hover .front,
.my-form button:focus .front {
    transform: translateX(110%);
}


/* CUSTOM CHECKBOX
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form input[type="checkbox"] {
    position: absolute;
    left: -9999px;
}

.my-form input[type="checkbox"]+label {
    position: relative;
    display: inline-block;
    padding-left: 2rem;
    transition: background 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.my-form input[type="checkbox"]+label::before,
.my-form input[type="checkbox"]+label::after {
    content: '';
    position: absolute;
}

.my-form input[type="checkbox"]+label::before {
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--white);
}

.my-form input[type="checkbox"]:checked+label::before {
    background: var(--red);
}

.my-form input[type="checkbox"]:checked+label::after {
    left: 7px;
    top: 7px;
    width: 6px;
    height: 14px;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transform: rotate(45deg);
}

/* MQ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (min-width: 600px) {
    .my-form .grid {
        display: grid;
        grid-gap: 1.5rem;
    }

    .my-form .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .my-form .grid-3 {
        grid-template-columns: auto auto auto;
        align-items: center;
    }

    .my-form .grid>*:not(:last-child) {
        margin-bottom: 0;
    }

    .my-form .required-msg {
        display: block;
    }
}

@media screen and (min-width: 541px) {
    .my-form input[type="checkbox"]+label::before {
        top: 50%;
        transform: translateY(-50%);
    }

    .my-form input[type="checkbox"]:checked+label::after {
        top: 3px;
    }
}

/*
███████╗███████╗ ██████╗ ██╗   ██╗██╗   ██╗██╗
██╔════╝██╔════╝██╔════╝ ██║   ██║██║   ██║██║
█████╗  ███████╗██║  ███╗██║   ██║██║   ██║██║
██╔══╝  ╚════██║██║   ██║██║   ██║╚██╗ ██╔╝██║
███████╗███████║╚██████╔╝╚██████╔╝ ╚████╔╝ ██║
╚══════╝╚══════╝ ╚═════╝  ╚═════╝   ╚═══╝  ╚═╝
*/