/* Font importada */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;900&display=swap');

/* Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}


/* establecer tamaño de fuente por defecto. Equivalencia: 1rem = 10px */
html {
    font-size: 62.5%;
}

body{
    min-height: calc(100vh-50px);
    background-color: #191919;
    color: #f7f9f9;
}

/* width */
::-webkit-scrollbar {
    width: 0.5rem;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 1rem;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #f7f9f9;
    border-radius: 1rem;
  }

h1{
    color: #f7f9f9;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5rem);
    z-index: -1;
}

.header::after{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: .5s;
}

.header:hover::after{
    left: 100%;
}


.navbar a{
    font-size: 2rem;
    color: #f7f9f9;
    text-decoration: none;
    font-weight: 500;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    /* border-bottom: solid 1rem #f7f9f9;
    border-top: solid 1rem #f7f9f9; */
    border-radius: 0.4rem;
}

.navbar a:hover{
    /* border-bottom: solid 1rem #ff785a; */
    color: #ff785a;
}

#check{
    display: none;
}

.icons{
    position: absolute;
    right: 5%;
    filter: invert(98%) sepia(31%) saturate(1857%) hue-rotate(173deg) brightness(119%) contrast(95%);
    cursor: pointer;
    display: none;
}




/* este estilo se aplica al contenedor padre de cada pantalla. Ayuda al Footer a estar hasta al final de la pantalla */
.cont-pantalla{
    margin-top: 5rem;
    display: flex;
    flex-direction: row;
    /* min-height: calc(100vh-50px); */
}

.cont-info{
    background-color: rgba(0, 0, 0, .2);
    width: 50%;
    height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: solid 0.1rem #f7f9f9;
}

.cont-formacion{
    background-color: blue;
    width: 50%;
    height: calc(100vh - 5rem);
}

.cont-info-datos{
    font-size: 1.5rem;
    line-height: 1.7;
}

.cont-info-datos h1{
    position: relative;
    top: -2rem;
    right: -5rem;
}

.cont-info-datos-e{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1.7;
}

.cont-info-datos-e h1{
    position: relative;
    top: -2rem;
    right: 2.5rem;
}

.cont-herramientas{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1.7;
}

.cont-herramientas h1{
    position: relative;
    top: -2rem;
    /* right: -5rem; */
}

.angel{
    position: relative;
    top: -3rem;
    width: 30rem;
    border-radius: 20rem;
    /* margin: 5rem 0; */
}

.cont-formacion{
    background-color: rgba(0, 0, 0, .2);
    width: 50%;
    height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: solid 0.1rem #f7f9f9;
    border-collapse: collapse;
}

.cont-titulo{
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 5rem;
}

.cont-titulo h1{
    text-align: center; 
    margin-bottom: 5rem;   
}

.cont-titulo h3{
    text-align: center;
}

.etiqueta{
    position: relative;
    left: -2.5rem;
    width: 120%;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    background-color: #191919;
    border: solid 0.1rem #f7f9f9;
}

.etiqueta img{
    width: 5rem;
}

.etiqueta p{
    /* background-color: #ff785a; */
    margin-left: 1rem;
}

.etiqueta-framework{
    position: relative;
    top: 1rem;
    left: -2.5rem;
    width: 120%;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    background-color: #222222;
    border: solid 0.1rem #f7f9f9;
}

.etiqueta-framework img{
    width: 5rem;
}

.etiqueta-framework p{

    margin-left: 1rem;
}

.etiqueta-metodologia{
    position: relative;
    left: 1.5rem;
    width: 80%;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    background-color: #191919;
    border: solid 0.1rem #f7f9f9;
}

.etiqueta-metodologia p{
    display: block;
    text-align: center;
    margin-left: 3rem;
}

.etiqueta-idioma{
    position: relative;
    left: 1.5rem;
    width: 80%;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #191919;
    border: solid 0.1rem #f7f9f9;
}

.etiqueta-idioma p{
    display: block;
    text-align: center;
}

.etiqueta-herramientas{
    position: relative;
    width: 80%;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    background-color: #191919;
    border: solid 0.1rem #f7f9f9;
}

.etiqueta-herramientas img{
    width: 5rem;
}

.etiqueta-herramientas p{
    margin-left: 1rem;
}

.cont-pantalla-proyectos{
    margin-top: 6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.proyecto{
    width: 38rem;
    height: 28rem;
    margin: 0 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem;
    background-color: #191919;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 3rem;
    border-style: groove;
    border-color: #ff785a;
}

.proy{
    width: 24rem;
    height: 14rem;
    border-radius: 3rem;
    border-style: groove;
    border-color: #191919;
    cursor: pointer;
}

.p-titulo{
    color: #ff785a;
    padding-top: 0.5rem;
    padding-bottom: 0;
}

.cont-cat{
    /* background-color: red; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.8rem;
}

.cat{
    display: flex;
    flex-direction: row;
    padding: 0rem 1rem;
    align-items: center;
    width: 10rem;
    height: 3rem;
    background-color: #ff785a;
    border: solid 0.2rem #191919;
    border-radius: 0.4rem;
}

.cat img{
    width: 3rem;
    height: 3rem;
}

.cont-pantalla-proyectos .popup{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .9);
    height: 100%;
    width: 100%;
    z-index: 100;
}

.cont-pantalla-proyectos .popup span{
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 4rem;
    font-weight: bolder;
    color: #f7f9f9;
    cursor: pointer;
    z-index: 100;
}

.cont-pantalla-proyectos .popup img{
    position: absolute;
    top: 20%;
    left: 5%;
    border:  solid 0.5rem #ff785a;
    border-radius: 0.5rem;
    width: 75rem;
    object-fit: cover;
    z-index: 100;
}

.cont-pantalla-proyectos .popup .cont-descripcion{
    background-color: #191919;
    position: absolute;
    top: 15%;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border:  solid 0.5rem #ff785a;
    border-radius: 0.5rem;
    width: 45rem;
    height: 42.62rem;
    object-fit: cover;
    z-index: 100;
    line-height: 2rem;
}

.cont-pantalla-proyectos .popup .cont-descripcion .p-titulo{
    font-size: 3rem;
    line-height: 5rem;
    text-align: center;
}

.origen{
    display: none;
    margin-top: 2rem;
    padding: 2rem;
    font-size: 2rem;
    text-align: justify;
}

/* responsivos */

@media(max-width: 992px){
    .header {
        padding: 1.3rem 5%;
    }
}

@media(max-width: 768px){
    .header::before{
        height: 8rem;
    }

    .header::after{
        height: 8rem;
    }

    .icons {
        display: inline-flex;
        top: 0.3rem;
        height: 8rem;
    }

    #check:checked~.icons #menu{
        display: none;
    }
    
    #check:checked~.icons #cerrar{
        display: block;
    }

    .icons #cerrar{
        display: none;
    }

    .navbar{
        position: absolute;
        top: 8rem;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .6);
        backdrop-filter: blure(5rem);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .6);
        overflow: hidden;
        transition: .3s ease;
    }
    
    #check:checked~.navbar{
        height: 12rem;
    }

    .navbar a{
        display: block;
        font-size: 2rem;
        margin:  1.5rem 0;
        text-align: center;
        transform: translateY(-5rem);
        opacity: 0;
        transition: .3s ease;
    }

    #check:checked~.navbar a{
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }

    .cont-info-datos{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .angel{
        width: 15rem;
    }

    .cont-info-datos h1{
        left: 0;
    }

    .cont-info-datos h3{
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .cont-pantalla{
        display: flex;
        flex-direction: column;
    }

    .cont-info{
        width: 100%;
        border: none;
    }

    .cont-formacion{
        width: 100%;
        height: 40rem;
        border: none;
        border-top: solid 0.1rem #f7f9f9;
        text-align: center;
    }

    .cont-info-datos h1{
        right: 0;
    }

    .cont-info-datos-e h1 {
        position: relative;
        top: -2rem;
        right: 0;
    }

    .etiqueta-idioma {
        left: 1rem;
    }

    .etiqueta-framework {
        left: -1.5rem;
    }

    .etiqueta{
        left: 0;
    }

    .cont-pantalla-proyectos{
        margin-top: 10rem;
    }

    .proyecto{
        margin-bottom: 2rem;
    }

    .popup{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .cont-pantalla-proyectos .popup span {
        top: -0.5rem;
        font-size: 8rem;
    }

    .cont-pantalla-proyectos .popup img {
        position: relative;
        top: 15%;
        left: 5%;
        width: 91%;
    }

    .cont-pantalla-proyectos .popup .cont-descripcion {
        position: relative;
        padding: 2rem;
        /* top: 52%; */
        left: 5%;
        width: 91%;
        height: 45%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: auto;
    }

    .cont-pantalla-proyectos .popup .cont-descripcion .p-titulo{
        margin-top: 8rem;
    }
}