*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: orangered;
    font-weight: 500;
}
@keyframes abrir-menu{
    from{
        left: 100%;
    }
    to{
        left: 0%;
    }
}
@keyframes cerrar-menu{
    from{
        left: 0%;
    }
    to{
        left: 100%;
    }
}

@media screen and (min-width: 280px) {
    
    body{
        display: flex;
        flex-direction: column;
    }
    header{
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 10px 12px;
        border-bottom: 1px solid #aaaaaa;
    }
    h1 a{
        text-decoration: none;
        color: #000000;
    }
    .menu{
        width: 50%;
    }
    .menu nav{
        width: 100%;
        text-align: right;
    }
    .menu nav input{
    display: none;
    }
    .menu nav label{
        cursor: pointer;
        user-select: none;
        font-size: 25px;
        padding: 1px 10px 3px 10px;
        border: 1px solid #aaaaaa;
        border-radius: 4px;
        color: #6e6e6e;
    }
    .menu nav input:not(:checked)~ul{
        animation-name: cerrar-menu;
        animation-duration: .5s;
    }
    .menu nav input:checked~ul{
        display: block;
        animation-name: abrir-menu;
        animation-duration: .5s;
    }
    .menu nav input:checked~label{
        color: #212529;
        border: 1px solid #212529;
    }
    .menu nav ul{
        margin-top: 10px;
        position: relative;
    }
    .menu nav ul li{
        margin: 13px 0;
    }
    .menu nav ul li a{
        text-decoration: none;
        color: #212529;
        font-weight:500;
        transition: all .5s;
    }
    .menu nav ul li a:hover{
        color: orangered;
    }
    main{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .contenedor_titulo{
        padding: 3rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: auto;
        background-color: #f8f8f8;
    }
    .titulo{
        margin: auto;
        width: 100%;
        text-align: center;
        background-color: #f8f8f8;
        border-bottom: 1px solid #aaaaaa;
    }
    .img{
        margin: auto auto 0 auto;
        width: 200px;
        height: 200px;
        border: 2px solid #212529;
        border-radius: 50%;
        background-image: url(Alan\ Cuevas.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position:top;
        transition: all .5s;
    }
    img:hover{
        border: 2px solid orangered;
    }
    .img_titulo{
        margin: 0 auto auto auto;
    }
    .sobre_mi{
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 25px 15px;
    }
    .sobre_mi .derecho{
        margin-top: 15px;
    }
    footer{
        border-top: 1px solid #aaaaaa;
        padding: 0 15px;
    }
    .copyright{
        color: #6e6e6e;
        text-align: center;
    }
    .redes{
        margin-top: 10px;
    }
    .redes ul{
        text-align: center;
    }
    .redes ul li{
        display: inline-block;
    }
    .redes ul li a{
        color: #6e6e6e;
    }
}

@media screen and (min-width: 768px) {   
    body{
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: stretch;
    }
    header{
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: baseline;
        padding: 10px 60px;
        border-bottom: 1px solid #212529;
    }
    h1 a{
        text-decoration: none;
        color: #000000;
    }
    .menu{
        width: 20%;
    }
    .menu nav{
        width: 100%;
        text-align: right;
    }
    .menu nav input{
        display: none;
    }
    .menu nav label{
        user-select: none;
        font-size: 25px;
        padding: 1px 10px 3px 10px;
        border: 1px solid #aaaaaa;
        border-radius: 4px;
        color: #6e6e6e;
    }
    .menu nav input:not(:checked)~ul{
        display: none;
    }
    .menu nav input:checked~label{
        color: #212529;
        border: 1px solid #212529;
    }
    .menu nav ul{
        margin-top: 10px;
        list-style: none;
        display: block;
    }
    .menu nav ul li{
        margin: 13px 0;
    }
    .menu nav ul li a{
        text-decoration: none;
        color: #212529;
        font-weight:500;
        transition: all .5s;
    }
    .menu nav ul li a:hover{
        color: orangered;
    }
    main{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .contenedor_titulo{
        display: flex;
        height: 50vh;
        width: 100%;
        background-color: #f8f8f8;
    }
    .titulo{
        text-align: center;
    }
    .img{
        margin: auto auto 0 auto;
    }
    .img:hover{
        border: 2px solid orangered;
    }
    .img_titulo{
        margin: 0px auto auto auto;
    }
    .sobre_mi{
        display: flex;
        justify-content: center;
        flex-direction: row;
    }
    .izquierdo{
        width: 60%;
        padding-right: 30px;
        margin-right: 30px;
    }
    .derecho{
        width: 20%;
    }
    .derecho ul{
        list-style: none;
    }
}

@media screen and (min-width: 990px) {
    
    body{
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: stretch;
    }
    header{
        display: flex;
        justify-content: space-between;
        padding: 10px 60px;
        align-items: center;
        width: 100%;
        border-bottom: 1.5px solid #212529;
    }
    .menu{
        width: 60%;
    }
    .menu nav{
        width: 100%;
    }
    .menu nav ul{
        list-style: none;
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }
    #checkmenu:not(:checked)~ul{
        display: flex;
    }
    .menu nav ul li a{
        text-decoration: none;
        font-weight: bold;
        color: black;
        padding: 20px;
    }
    .menu nav ul li a:hover{
        color: orangered;
    }
    .menu nav input, .menu nav label{
        display: none;
    }
    main{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .titulo{
        display: flex;
        text-align: center;
        width: 100%;
        height: 60vh;
        background-color: #f8f8f8;
    }
    .contenedor_titulo{
        margin: auto;
    }
    .img_titulo b{
        font-size: 18px;
    }
    .img{
        margin: auto;
        width: 250px;
        height: 250px;
        border: 2px solid #212529;
        border-radius: 50%;
        background-image: url(Alan\ Cuevas.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position:top;
        transition: all .5s;
    }
    .img:hover{
        border: 2px solid orangered
    }
    .sobre_mi{
        margin-top: 20px;
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .izquierdo{
        width: 60%;
    }
    .derecho{
        width: 20%;
    }
    .derecho ul{
        list-style: none;
    }
    .derecho ul li{
        margin: 5px 0;
    }
    .derecho ul li a{
        text-decoration: none;
    }
    footer{
        padding: 10px 0;
        display: flex;
        border-top: 1px solid #aaaaaa;
        justify-content: space-between;
        align-items: baseline;
        width: 100%;
        margin-bottom: 15px;
    }
    .copyright{
        color: #aaaaaa;
        width: 30%;
    }
    .redes{
        width: 50%;
    }
    .redes ul{
        list-style: none;
    }
    .redes ul li{
        display: inline-block;
        margin: 0 20px;
    }
    .redes ul li a{
        text-decoration: none;
        color: #aaaaaa;
    }
}