.movil{
    display: none;
}
a{
    color: inherit;
    text-decoration: none;
}
@font-face {
    font-family: "Letra";
    src: local("Geologica"), url(/assets/fonts/Geologica/Geologica_Auto-Medium_optima_.ttf);
}
html{
    overflow-x: hidden;
    background: linear-gradient(to bottom, #3a5ead, #aac7df);
    font-family: "Letra";
    width: 100%;
    height: auto;
    padding-bottom: 150px;
}
/* Primeras medidas contenedoras */
body{
    width: 100%;
    height: auto;
    position: relative;
}
header{
    width: 100%;
    height: auto;
    margin-top: 50px;
    position: relative;
}
main{
    width: 100%;
    height: auto;
    padding: 1px;
    position: relative;
    top: 2vh;
}
/***********************************/
.menu_princi{
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
}
.conten_opci{
    color: white;
    display: flex;
}
.ico_menu_desp_mov{
    background-color: #1A15A4;
    height: 100px;
    flex-grow: 1;
    text-align: center;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: invert;
    box-shadow: inset 0px 0px 10px 5px #6984F1;
}
.linked_class_pos{
    padding-bottom: 10px;
}
.ico_menu_desp_mov:hover{
    background: linear-gradient(to top, #413CBD, #5B55F6);
    box-shadow: inset 0px 0px 10px 5px #352EB5;
}
.op_inic{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.op_cont{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
@media screen and (max-width : 970px) {
    .linked_class_pos{
        display: none;
    }
    .ico_pos{
        display: block;
    }
}
@media screen and (max-width: 660px){
    html{
        overflow-x: hidden;
    }
    body{
        color: white;
        margin-top: 50px;
    }
    header{
        position: relative;
        top: -20px;
        width: auto;
        height: 50px;
    }
    main{
        width: auto;
        height: auto;
        margin: 0;
        margin-top: auto;
        position: relative;
    }
    .conten_menu{
        display: block;
        background-color: white;
        position: fixed;
        width: 100%;
        height: 50px;
        border-radius: 70px;
        position: fixed;
        left: 1px;
        z-index: 100;
    }
    .menu_princi{
        display: block;
        color: black;
        width: 100%;
        height: auto;
        position: absolute;
        z-index: 10;
        left: 0;
        top: 0;
    }
    .conten_opci{
        display: block;
        width: 85%;
        height: auto;
        position: absolute;
        right: -100%;
        transition: 1s;
        margin-top: 25px;
    }
    .ico_menu_desp_mov{
        display: block;
        box-shadow: none;
        width: 100%;
        height: 100px;
        position: relative;
        font-size: 140%;
        color:white;
        margin: 0;
    }
    .linked_class_pos{
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
        text-align:left;
        margin-top: 35px;
        margin-left: 100px;
    }
    .ico_cerrar{
        display: block;
        z-index: 5;
        position: absolute;
        top: 0;
        left: 5px;
        opacity: 0;
    }
    .ico_menu{
        display: block;
        position: relative;
        left: 85%;
    }
    .op_inic{
        border-radius: 0;
        background-color: #1238AE;
        border-left: 5px solid black;
        border-top-right-radius: 50px;
        border-top: 5px solid blue;
    }
    .op_proy{
        background-color: #2E51C1 ;
        border-left: 5px solid black;
    }
    .op_gale{/*ahora otros*/
        background-color: #5774CE;
        border-left: 5px solid black;
    }
    .op_preg{/*ahora sobre mi*/
        background-color: #4363C7;
        border-left: 5px solid black;
    }
    .op_cont{
        border-radius: 0;
        background-color: #667FCF;
        border-bottom-left-radius: 50px;
        border-left: 5px solid black;
        box-shadow: 0px 1px black;
    }
    .ico_pos{
        display: block;
        width: 60px;
        height: 60px;
        position: relative;
        top: 17px;
        left: 20px;
        margin: 0;
    }
    .ico_menu:hover ~ .conten_opci{
        transform: translateX(-123%);        
    }
    .ico_menu:hover{
        animation-name: modo_menu_ocultar;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }
    .ico_menu:hover + .ico_cerrar{
        animation-name: modo_menu_mostrar;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }
    @keyframes modo_menu_ocultar {
        0%{
            opacity: 1;
        }
        100%{
            opacity: 0;
        }
    }
    @keyframes modo_menu_mostrar {
        0%{
            opacity: 0;
        }
        100%{
            opacity: 100%;
        }
    }

    @media screen and (max-width: 300px){
        .linked_class_pos{
            display: none;
        }
        .ico_menu{
            position: relative;
            left: 80%;
        }
        .ico_pos{
            position: relative;
            top: 0;
            left: 0;
            margin-left: 30%;
        }
        @media screen and (max-width: 250px){
            .ico_menu{
                position: relative;
                left: 75%;
            }
            @media screen and (max-width: 200px){      
                .ico_menu{
                    position: relative;
                    left: 65%;
                }
                @media screen and (max-width: 180px){      
                    .ico_menu{
                        position: relative;
                        left: 60%;
                    }
                    .ico_cerrar{
                        z-index: 5;
                        position: absolute;
                        left: 0;
                        opacity: 0;
                    }
                }
            }
        }
    }
}
