/* Manejar SAAS variables de CSS, estructura de Koala, KOALA SCSS, por ejemplo: Lo díficil de cpiar y pegar los colores para el botón */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Oswald:wght@200;300;400;500;600;700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2884FF;
    --color-second: #3E26E8;
    --color-text: #fff;
    --paddingsecciones: 6rem 0;
    --margin-elements: 3.5rem;
    --roboto: 'Roboto', sans-serif;
    --font-oswald:  'Oswald', sans-serif;
    --font-opensans:  'Open Sans', sans-serif;
    --font-serif: 'PT Serif', serif;
    --bold-letter: 700;
    --color-bg: #1b088580;
    --color-hover: #9bca0f;
    --color-black: #000;
}

.contenedor {
    width: 90%;
    max-width: 75rem;
    margin: auto;
    overflow: hidden;
    padding: var(--paddingsecciones);
}

/* Menu de navegación */

.menu-navegacion{
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.8rem;
    font-family: var(--font-opensans);
    font-weight: var(--bold-letter);
    font-size: 1.1rem;
}

.logo {
    height: 3rem;
}

.logo img {
    margin-top: 0.5rem;
    display: block;
    height: 100%;
    border-radius: 8rem 3rem 6rem 0;
    border: 0.12rem dashed var(--color-black);
    box-shadow: 18px 3rem 0rem 20px rgb(255, 225, 0);
    transition: all .7s;
    clip-path: circle(100% at 14% top);
}

.logo img:hover {
    clip-path: circle(100px at center top);
}

.enlaces li {
    list-style: none;
    display: inline-block;
}

.enlaces a {
    text-decoration: none;
    color: var(--color-black);
    margin-left: 0.8rem;
    line-height: 4rem;
}

.enlaces a:hover {
    color: #773737;
}

.enlaces a:active {
    color: rgb(255, 0, 0);
}

/* hero */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82)), url("./melas/IMG_1720.svg");
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
}

.contenedor-textos {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.titulohero {
    font-family: var(--font-oswald);
    font-size: 2.2rem;
    color: var(--color-text);
    font-weight: var(--bold-letter);
    margin-top: 0.5rem;
}

.textohero {
    font-family: var(--roboto);
    font-size: 1.4rem;
    font-weight: var(--bold-letter);
    color: var(--color-text);
    margin-top: 1rem;
}

#mifoto{
    width: 18.5rem;
    height: 18.2rem;
    margin-top: 0.7rem;
    box-shadow: 0 5px 10px var(--color-black);
    border-radius: 100%;
}

.mifoto {
    background: transparent;
    border: 0.19rem solid var(--color-text);
    border-radius: 100%;
    margin-top: 1rem;
    width: 19.87rem;
    height: 20rem;
    transition: all 0.4s;
}

.mifoto:hover {
    border: 0.17rem dashed var(--color-text);
    -moz-transform: rotate(5deg);  
    -webkit-transform: rotate(5deg);
}

.btn-a {
    width: 13rem;
    display: block;
    margin: auto;
    padding: 1rem 0;
    background-color: var(--color-text);
    color:#000;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: var(--bold-letter);
    /* border: 0.125rem solid royalblue; */
    border-radius: 1rem;
}

#solitob {
    position: relative;
    bottom: 2.2rem;
}

.btn-a:hover {
    border: 0.3rem solid var(--color-text);
    background: transparent;
    color: #fff;
    /* transition: color 0.1s linear 0.3s; */
}

/* Main */

.title-main {
    text-align: center;
    font-size: 2.4rem;
    color:var(--color-black);
    font-weight: var(--bold-letter);
}

.texto-main {
    text-align: center;
    color: var(--color-black);
    font-family: var(--font-opensans);
    font-size: 1.2rem;
    margin: 1.3rem 0;
}

.beneficios {
    padding-top: var(--margin-elements);
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.beneficio {
    font-size: 1.4rem;
    font-weight: var(--bold-letter);
    width: 10em;
    height: 10em;
    background: linear-gradient(rgba(90, 90, 90, 0.8), rgba(23, 45, 0, 0.5), rgba(168, 224, 79, 0.158)), url("./melas/porsi.jpeg");
    background-size: cover;
    background-position: center;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.7s;
}

.beneficio:hover {
    border: 0.22rem solid var(--color-black);
    transform: scale(1.15);
    color: rgb(255, 208, 0);
}

/* he colaborado */

#logo-sena{
    font-size: 1.4rem;
    font-weight: var(--bold-letter);
    width: 7em;
    height: 7em;
    background-size: cover;
    background-position: center;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* margin-top: 3rem; */
}

#logo-Msft {
    width: 18em;
    height: 12em;
}

.logos{
    opacity: 0.5;
}

.logos:hover {
    opacity: 1.0;
}


/* .beneficio:hover {
    transform: scale(1.12);
    border: 0.3rem solid #000;
    color: rgba(255, 252, 65, 0.623);
} */

/* About me */

.contenedor-2 {
    height: 40rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./melas/893141d21efa25579e7e4457912a0355.jpg");
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    color: var(--color-text);
    /* display: flex;
    justify-content: space-between; */
}


.sect-jus {
    margin: auto;
    text-align: center;
    background-color: var(--color-text);
    width: 24rem;
    height: 30rem;
    margin-bottom: 1rem;
    box-shadow: 1px 5px 8px var(--color-black);
}

.text-about {
    padding-top: 0.8rem;
    font-family: var(--font-oswald);
    font-size: 2.9rem;
    margin-bottom: 0.1rem;
}

.text-about-me {
    margin-top: 0.3rem;
    font-family: var(--font-oswald);
    font-size: 1.8rem;
}

#bor-img {
    margin: auto;
    margin-top: 2rem;
    width: 8rem;
    height: 8rem;
    border-radius: 100%;
}

.name-titulo {
    color: #000;
    font-family: var(--font-roboto);
    font-size: 1.35rem;
    margin-top: 1rem;
    font-weight: var(--bold-letter);
}

.texto {
    font-family: var(--font-oswald);
    margin-top: 1rem;
    color: var(--color-black);
    text-align:justify;
    padding: 0.5rem;
    font-size: 1.05rem;
}

.btn2 {
    font-weight: var(--font-bold);
    font-size: 1rem;
    background: var(--color-black);
    color: var(--text-black);
    width: 9rem;
    height: 3.5rem;
    border: 0.2rem solid var(--color-black);
    border-radius: 4rem;
    margin-top: 0.1rem;
}


.btn2:hover {
    background-color:transparent;
    color: var(--color-black);
}

/* habilidades */

.progress {
    height: 2.8em;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    border: 0.5px solid var(--color-black);
    box-shadow: 0 3px 5px var(--color-black);
    text-align: center;
}

.progress:hover {
    transform: scale(1.09 );
    transition: transform 0.5s ease-in-out;
}



.p-html {
    border: 3px solid var(--color-text);
}

/* projects */
.proyects {
    background: #f2f2f2;
}

.contenedor-imagenes {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.contenedor-imagenes img {
    display: flex; 
    width: 45%;
    box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.5);
    margin-bottom: var(--margin-elements);
    transition: all 0.5s;
}

.contenedor-imagenes #img-left:hover {
    transform: translate(-50px);
}

.contenedor-imagenes #img-rigth:hover {
    transform: translate(50px);
}

footer .titulo-seccion{
    color: #3E26E8;
}

footer .texto-main {
    color: #000;
}

.redes-sociales {
    display: flex;
    justify-content: center;
}

.redes-sociales a{
    text-decoration: none;
    color: #000;
    font-size: 2rem;
    padding: 0 1.1rem 0 1.1rem;
}

.redes-sociales a:hover{
    color: var(--color-hover);
}

.hero2 {
    background: rgb(12, 12, 19);
    min-height: 10vh;
    display: flex;
    align-items: center;
}
/* .texto-letter {
    width: 100%;
    color: transparent;
    font-family: var(--font-serif);
    text-align: center;
    text-transform: uppercase;
    font-size: 7rem;
    font-weight: var(--bold-letter);

    background-image: url("../RECURSOS/melas/poil.jpg");
    background-size: cover;
    background-position-y: center;

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
} */

@media screen and (max-width:800px) {
    .menu-navegacion {
        flex-direction: column;
        height: 8rem;
        justify-content: space-evenly;
    }

    .titulohero {
        font-size: 1.5rem;
        margin-top: 1rem;
    }
    .textohero {
        font-size: 1.1rem;
        font-weight: 500;
    }
    .btn-a {
        margin-bottom: 4rem;
        border-radius: 20px;
        width: 9rem;
        font-size: 1rem;
    }
    .hero {
        height: 30rem;
    }
    .beneficio{
        margin-bottom: 40px;
    }
    .contenedor-imagenes img{
        width: 90%;
    }
}

@media screen and (max-width:200px) {
    .menu-navegacion {
        flex-direction: column;
        height: 12rem;
        justify-content: space-evenly;
    }
    .hero {
        height: 40rem;
    }
    .btn-a {
        margin-bottom: 2rem;
        border-radius: 20px;
        width: 9rem;
        font-size: 1rem;
    }
    .contenedor-imagenes img{
        width: 90%;
    }

    footer {
        background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("../RECURSOS/melas/Maxresdefault4.jpg");
        color: var(--color-text);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
    }

    footer .titulo-seccion {
        color: var(--color-text);
    }

    footer .texto-main{
        color: var(--color-text);
    }

    .redes-sociales a{
        color:var(--color-text);
    }

    
}

@media screen and (max-width: 420px) {
    .hero {
        height: 41rem;
    }

    #mifoto {
        width: 13rem;
        height: 14rem;
        margin-top: 0rem;
    }

    .mifoto {
        margin-top: 10rem;
        width: 14.870000000000001rem;
        height: 14rem;
    }

    .textohero {
        margin-bottom: 4rem;
    }

    .contenedor-2 {
        height: 42rem;
    }

    .m-img{
        display: flex;
        justify-content: center;
    }

}

@media screen and (max-width: 1100px) {
    .hero {
        height: 120vh;
    }
    .btn-a {
        margin: 1.8rem 0;
    }
}

@media screen and (max-width: 280px) {
    html {
        width: 140vw;
        height: 100vh;
    }
}


@media screen and (max-width: 664px) {
    .contenedor-2 {
       height: 43rem;
    }
}
