/* Teléfono */
@media (min-width: 0px) {
    
    /* GENERAL */

    body {
        background: linear-gradient(180deg, #03333E 0%, #000000 100%);
        background-repeat: no-repeat;
        position: relative;
        color: white;
        width: 100%;
        height: auto;
    }

    ul, ol {
        list-style-type: none;
        padding: 0px;
        margin: 0px;
    }

    a {
        text-decoration: none;
        color: white;
        font-family: Inter;
        font-size: 16px;
        font-weight: 200;
        line-height: 24.46px;
        text-align: left;
    }

    a:hover {
        box-shadow: 0px 4.49px 4.49px 0px #00000040;
        color: #a0a0a0;
    }

    p {
        margin: 0px;
        padding: 0px;
    }

    h2 {
        font-family: Inter;
        font-size: 21px;
        font-weight: 100;
        line-height: 17px;
        text-align: left;
        color: #B3CCD1;
    }

    h3 {
        font-family: Inter;
        font-size: 21px;
        font-weight: 600;
    }

    /* ESTÁTICO */

    .star {
        position: absolute;
        top: 115px;
        left: -20px;
        width: 60px;
    }

    .circle {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: .6;
        z-index: -1;
        top: 0px;
        left: 0px;
    }

    .line {
        display: none;
    }
    
    /* MENÚ */

    header {
        width: 100%;
        height: auto;
        padding: 50px 30px 0px 30px;
    
        .menu {
            width: 100%;
            height: auto;
            border-radius: 10px;
            background: linear-gradient(107.59deg, rgba(2, 34, 44, 0.13) -39.57%, rgba(248, 253, 255, 0.1) 100%);

            ul {
                display: flex;
                align-items: center;
                justify-content: space-evenly;
                padding: 13px 0px;
            }
        }
    
        .together {
            display: none;
        }
    }

    /* SOBRE MI */

    #about-me {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 40px;

        aside {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;            
            margin: 50px 0px;

            img {
                width: 200px;
                height: auto;
            }

            .rings {
                animation: rotate 10s linear infinite;
                position: absolute;
                margin-left: 14px;
            }
        }

        main {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            .name {
                font-family: Inter;
                font-size: 24px;
                font-weight: 700;
                line-height: 26px;
                margin: 0px;
            }

            h1 {
                font-family: Inter;
                font-size: 20px;
                font-weight: 400;
                line-height: 40px;
                margin: 0px;
                color: #cbcbcb;
            }

            .buttons {
                display: flex;
                gap: 20px;
                margin: 5px 0px;

                .button {
                    width: 161px;
                    height: 30px;
                    border-radius: 6px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                    background-color: white;
                }

                img {
                    width: 26px;
                }
    
                span {
                    font-family: Inter;
                    font-size: 15px;
                    font-weight: 500;
                    line-height: 18px;
                    text-align: left;
                    color: black;
                }
            }

            .button:hover {
                background-color: #a0a0a0;
            }

            .line2 {
                margin: 15px 0px;
            }

            .info {
                width: 100%;
                height: auto;
                padding: 0px 20px;

                p {
                    font-family: Inter;
                    font-size: 15px;
                    font-weight: 500;
                    line-height: 18px;
                    text-align: justify;

                    strong {
                        color: #bdbdbd;
                        font-weight: 700;
                    }
                }
            }
        }
    }

    /* HABILIDADES */

    .skills {
        padding: 0px 20px;
        display: flex;
        flex-direction: column;
        gap: 25px;

        .head {
            display: flex;
            align-items: center;
            justify-content: start;
            gap: 15px;
            overflow: hidden;

            .star2 {
                display: none;
            }

            h2 {
                font-size: 26px;
            }
        }

        .buttons-skills {
            display: flex;
            align-items: center;
            justify-content: space-between;

            button {
                width: 135px;
                height: auto;
                padding: 6px 0px;
                font-family: Inter;
                font-size: 18px;
                font-weight: 400;
                background-color: transparent;
                border: 1px solid #03333E;
                color: white;
                border-radius: 5px;
            }

            button:hover {
                background: #E1FAFF6E;
            }
        }

        .hard,
        .soft {
            margin-top: 5px;

            .line-skill {
                width: 100%;
                height: auto;
                display: flex;
                justify-content: center;
                align-items: center;
                margin-bottom: 20px;
                gap: 7px;

                div {
                    width: 100%;
                    height: 125px;
                    font-family: Inter;
                    font-size: 14px;
                    font-weight: 400;
                    border-radius: 5px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 7px;
                    padding: 0px 5px;

                    img {
                        width: 40px;
                    }

                    span {
                        width: 100%;
                        text-align: center;
                    }
                }

                .box-skill {
                    border: 1px solid #03333E;
                }
            }
        }

        .soft {
            display: none;
        }

    }

    /* PROYECTOS */

    #projects {
        margin-top: 20px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 0px 20px;
        gap: 20px;

        .head-projects {
            display: flex;
            justify-content: space-between;
            align-items: center;

            h2 {
                font-family: Inter;
                font-size: 46px;
                font-weight: 700;
                color: #D9D9D9;

            }

            .pages {
                display: none;
            }

            .star3 {
                width: 64px;
            }
        }

        .card-project {
            width: 100%;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: space-evenly;

            .card {
                width: 300px;
                height: 200px;
                border-radius: 15px;
                box-shadow: 7px 9px 20px rgba(255, 255, 255, 0.2);
                background-size: cover;
                color: white;
                padding: 15px;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                margin: 25px 0px 0px 0px;

                .more {
                    width: 100%;

                    a {
                        display: block;
                        width: 99px;
                        height: 29px;
                        border-radius: 9px;
                        background: #00C7BC;
                        margin-left: 15px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        color: white;
                    }
    
                    a:hover {
                        background-color: #009d94;
                    }
                }
            }
        }
    }

    /* CONTACTO */

    #contact {
        margin-top: 80px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 10px 20px;
        gap: 30px;
        margin-bottom: 20px;

        h2 {
            font-family: Inter;
            font-size: 46px;
            font-weight: 700;
            color: #D9D9D9;
        }
        
        .col-contact {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: start;
            gap: 12px;

            .box-contact {
                display: flex;
                align-items: center;
                justify-content: start;
                gap: 15px;
                width: 100%;
                cursor: pointer;
    
                img {
                    width: 45px;
                }
    
                span {
                    font-family: Inter;
                    font-size: 19px;
                    font-weight: 400;
                    line-height: 28px;
                    text-align: left;
                }
            }
    
            .box-contact:hover span {
                color: #a0a0a0;
            }
        }
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.skill-selected {
    background: #E1FAFF6E !important;
}