
@media screen and (max-width: 500px){
    body {
        background:black;
        border: 20px;
        border-style: groove;
        border-color: darkslategray;
        font-family: sans-serif;
        font-weight: 500;
        font-feature-settings: normal;
    }
    #encabezado{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        align-items: center;
        justify-content: center;
      }
    #nombreconts{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 65%;
    }
    #fotoperfil{
        margin-top: 20px;
        width: 50%;
        height: auto;
        border: inset;
        justify-self: baseline;
    }
    #nombre{
        display: flex;
        text-align: center;
        font-size: 25px;
        color: aliceblue;
    }
    #perfil{
        font-size: 80%;
        text-align: justify;
        color: aliceblue;
        border-bottom-style: double;
        border-top: double;
        margin-left: 5%;
        margin-right: 5%;
        padding: 10px;
    }
    .titul{
        font-size: 90%;
        color: aliceblue;
        text-decoration: underline double;
        margin-left: 5%;
    }
    #icontacs{
        display: flex;
        justify-content: space-evenly;
        width: 100%;
      }
    .icontacto{
        width: 50%;
        height: auto;
        padding: 20%;
    }
    .icontacto:hover{
        box-shadow: 0px 0px 15px 15px yellow;
        border-radius: 100%;
        width: 70%;
        height: auto;
        padding: 10%;      
    }
    .content-proyect{
        display: flex;
        flex-flow: wrap;
        justify-content: center;
        background: grey;
        padding-bottom: 2%;
        padding-top: 2%;
        align-items: baseline;
    }
    .icon-proyecto{
        width: 78%;
        height: auto;
        padding: 10%;
        border-radius: 20%;
    }
    .icon-proyecto:hover{
        width: 83%;
        height: auto;
        padding: 5%;
        border-radius: 15%;
        filter: saturate(180%);
        box-shadow: 0px 0px 15px 15px greenyellow;
    }
    .ver{
        background: yellow;
    }
    .compets{
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-flow: wrap;
    }
    .proyect-box{
        display: flex;
        flex-flow: column;
        align-items: center;
        width: 26%;
        text-align: center;
    }
    .compet{
        font-size: 70%;
        border-radius: 10px;
        background: aliceblue;
        text-align: center;
        margin: 6px;
        width: 125px;
        padding: 2px;
    }
    .content-card-est:hover{
        font-size: 20px;
        display: flex;
        flex-flow: wrap;
        border-radius: 25px;
        background: lightseagreen;
        text-align: start;
    }
    .content-card-est{
        font-size: 20px;
        display: flex;
        flex-flow: wrap;
        border-radius: 25px;
        background: aliceblue;
        text-align: start;
    }
    .card-content{
        background: aliceblue;
        margin: 10px;
        border-radius: 25px;
        min-width: 247px;
        max-width: 100px;
    }
    .content-card{
        font-size: 20px;
        margin: 10px;
        display: flex;
        flex-flow: wrap;
        border-radius: 25px;
        background: aliceblue;
        text-align: start;
        min-width: 247px;
        max-width: 100px;
    }
    .titedu{
        width: 74%;
        font-size: 100%;
        margin-left: 10px;
    }
    .logos{
        margin: 10px;
        border: 5px;
        border-radius: 5px;
        width: 30px;
        height: 30px;
    }
    .estes{
        margin: 10px;
        font-size: 78%;
    }
}
@media screen and (min-width:501px){
body {
    background: black;
    border: 20px;
    border-style: groove;
    border-color: darkslategray;
    font-family: sans-serif;
    font-weight: 500;
    font-feature-settings: normal;
}
#encabezado{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
#nombreconts{
    display: flex;
    flex-wrap: wrap;
    width: 65%;
    justify-content: center;
}
#fotoperfil{
    margin-top: 20px;
    width: 347px;
    height: 405px;
    border: inset;
    justify-self: baseline;
}
#nombre{
    display: flex;
    text-align: center;
    font-size: 80px;
    color: aliceblue;
}
#perfil{
    font-size: 30px;
    text-align: justify;
    color: aliceblue;
    border-bottom-style: double;
    border-top: double;
    margin-left: 8px;
    margin-right: 8px;
    padding: 10px;

}
.titul{
    font-size: 30px;
    color: aliceblue;
    text-decoration: underline double;
    
    margin-left: 5%;
}
#icontacs{
    width: 374px;
    height: 70px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}
.icontacto{
    width: 40px;
    height: auto;
    margin: 10px;    
}
.icontacto:hover{
    box-shadow: 0px 0px 15px 15px yellow;
    border-radius: 100%;
    
    
    
}
.content-proyect{
    display: flex;
    flex-wrap: wrap;
    background: grey;
    justify-content: space-evenly;
    padding-bottom: 2%;
    padding-top: 2%;
}
.icon-proyecto{
    text-decoration-color: aliceblue;
    width: 100px;
    height: 100px;
    padding: 5px;
    border-radius: 15%;
}
.icon-proyecto:hover{
    filter: saturate(180%);
    box-shadow: 0px 0px 15px 15px greenyellow;
    border-radius: 15%;
    width: 110px;
    height: 110px;
    padding: 0px;
}
.ver{
    background: yellow;
}
.compets{
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-flow: wrap;
}
.compet{
    font-size: 25px;
    border: 8px solid black;
    border-radius: 25px;
    background: aliceblue;
    text-align: center;
    margin: 6px;
    width: 260px;
    height: 200;
}
.content-card-est:hover{
    
    box-shadow: 0px 0px 15px 15px greenyellow
}
.content-card-est{
    font-size: 20px;
    /* margin: 10px; */
    display: flex;
    flex-flow: wrap;
    /* border: 10px solid red; */
    border-radius: 25px;
    background: aliceblue;
    text-align: start;
}
.card-content{
    background: aliceblue;
    margin: 10px;
    border-radius: 25px;
    min-width: 350px;
    max-width: 390px;
    min-height: 150px;
}
/* lo de IT */
.content-card{
    font-size: 25px;
    margin: 10px;
    display: flex;
    border: 10px solid black;
    border-radius: 25px;
    flex-wrap: wrap;
    background: aliceblue;
    width: 420px;
}
.titedu{
    width: 250px;
    margin: 10px;
}
.logos{
    margin:10px;
    border: 5px;
    border-radius: 5px;
    width:60px;
    height:60px;
}
.estes{
    margin: 10px;
}
}