body {
    font-family: "Josefin Sans", sans-serif;
}

#fondo {
    background-image: linear-gradient(to bottom right, red, blue);
}
.contenedorGeneral {
    width: 80%;
    margin: 20px auto;
}

/* CONTENEDORES (Sobre mi, tecnologias y Actividades */

.encabezado, .contenedorTecnologias, .contenedorContactos {
    background-color: rgba(255, 228, 196, 0.205);
    border: 1px solid black;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 30px;
    box-shadow: 5px 5px 5px lightblue;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .encabezado, .contenedorTecnologias, .contenedorActividades, .contenedorContactos {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.contenedorActividades {
    background-color: rgba(255, 228, 196, 0.205);
    border: 1px solid black;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 30px;
    box-shadow: 5px 5px 5px lightblue;
    display: flex;
}

.encabezado {
    margin: auto;
    margin-top: 5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenedorTecnologias {
    margin: auto;
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contenedorActividades {
    margin: auto;
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.titulos {
    margin: auto;
    padding: 3em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.parrafo {
    font-size: 18px;
    line-height: 1.5em;
    text-align: center;
    color: beige;
    margin: auto;
    margin-top: 2em;
    border-radius: 1em;
    padding: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


#miNombre {
    font-size: 60px;
    color: white;
    margin: auto;
}

#tituloTecnologias, #tituloActividades, #tituloSobreMi, #tituloFormulario {
    font-size: 30px;
    font-weight: bold;
    color: #fffead;
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: center;
}


#subtitulo {
    font-size: 25px;
    margin-top: 90px;
    color: white;
    text-shadow: 2px 2px 3px black, 0 0 25px blue, 0 0 5px darkblue;
    font-weight: bold;
    animation: flotar 2s ease infinite;
}

@keyframes flotar {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-30px);
    }
    100% {
      transform: translateY(0);
    }
  }



/* MIS TECNOLOGIAS  */
.cardContainer {
    width: fit-content;
    padding: 1em 1em 2em 1em;
    margin-top: 5em;
    transition: 1s;
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    align-items: baseline;
    align-content: stretch;
    justify-content: space-evenly;
}

.card {
    width: fit-content;
    padding: 1em 1em 2em 1em;
    border-radius: 10%;
    transition: 1s;
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    outline: none;
}

.card:hover {
    outline-offset: -5px;
    box-shadow: 10px 10px 15px rgba(255, 255, 255, 0.5); 
}

.logoTecnologias {
    width: 130px;
    height: auto;
    transition: transform 1s ease;
}

.logoTecnologias:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* CONTENEDOR INPUTS */
.actividades {
    margin: auto;
    margin-top: 2em;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    margin-top: 5em;
}

/* INPUTS */
#title, #description, #imgURL {
    background-color: #fffead;
    background-position: white;
    width: 100%;
    height: 40px;
    align-items: center;
    flex-direction: row;
    font-size: 15px;
    font-family:  "Josefin Sans", sans-serif;
    color: #482c21;
    padding: 10px;
    border-radius: 30px;
}

#description {
    align-items: normal;
}

/* BOTÓN */
#agregar {
    background-color: #4CAF50; /* Color de fondo */
    color: white; /* Color del texto */
    padding: 15px 30px; /* Espacio alrededor del texto */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cursor al pasar sobre el botón */
    font-size: large; /* Tamaño del texto */
    width: 250px; /* Ancho del botón */
    height: 50px; /* Altura del botón */
    margin-top: 2em;
    cursor: pointer;
}

/* .formulario {
    text-align: center;
    font-size: xx-large;
    width: 250px;
    height: 250px;
    border: 2px solid black;
} */



/* TARJETAS CREADAS DESDE JS */

/* DIV html */
#contenedorCartas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 1em;
    margin-top: 20px;
}

/* DIV TARJETA JS */
.card-activity {
    width: 300px;
    padding: 20px 20px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TITULO TARJETA JS */
.title-cardActivity {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 5px;
    text-shadow: 2px 2px 3px black, 0 0 25px blue, 0 0 5px darkblue;
    max-width: max-content;
}

/* DESCRIPCION TARJETA JS */
.p-cardActivity {
    font-size: 18px;
    color: beige;
    margin: 30px 0px;
    width: 300px;
}

/* IMG TARJETA JS */
.img-cardActivity {
    width: 100%;
    margin: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    outline: none; 
    transition: transform 1s ease;
}

.img-cardActivity:hover{
    outline-offset: -5px;
    box-shadow: 10px 10px 15px rgba(255, 255, 255, 0.5); 
    transform: scale(1.1);
    transition: transform 0.6s ease;
}

/* BOTÓN ELIMINAR TARJETA */
.btnDelete {
    background-color: rgba(0, 0, 0, 0.377);
    width: 200px;
    font-size: 16px;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-top: 15px;
    text-shadow: 2px 2px 3px black, 0 0 25px rgb(255, 0, 0), 0 0 5px rgb(255, 0, 0);
    
}

    /* FOOTER */
    .contenedorContactos {
        height: 80px;
        margin: auto;
        margin-top: 8em;
        margin-bottom: 5em;
        padding: 1em 3em;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border: 1px solid black;
        border-radius: 40px;
    }
    
    .derechos {
        font-size: 15px;
        text-align: justify center;
        text-align: 2em;
        color: white;
        display: flex;
        flex-direction: row;
    }
    
    .cardContactos {
        margin: 0.4em;
    }
    
    .listaContactos {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-direction: row;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    
    
    .cardContactos i{
        transition: transform 0.3s ease-in-out;
        color: white;
    }
    
    .cardContactos:hover i{
        transform: scale(1.3);
    
    }
    
    .cardContactos:hover i.fa-brands.fa-github.fa-xl {
        color: var(--github-color);
    }
    
    .cardContactos:hover i.fa-brands.fa-whatsapp.fa-xl {
        color: var(--whatsapp-color);
    }
    
    .cardContactos:hover i.fa-brands.fa-linkedin-in.fa-xl {
        color: var(--linkedin-color);
    }
    
    :root {
        --github-color: #181717;
        --whatsapp-color: #25D366; 
        --linkedin-color: #0077;
    }
    
    label {
        font-size: 2em;
    }