/* Estilo General */
body {
    background-color: #0d0d0d;
    color: #fff;
}


  /* Navbar */
.navbar {
    background-color: #1a1a1d;
    border-bottom: 2px solid #01c5c4;
    font-family: "Bowlby One SC", sans-serif;
}
.navbar-brand {
    font-size: 1.5rem;
    color: #01c5c4;
}
.navbar-nav{
    margin: 1rem;
}
.nav-link {
    color: #fff;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #01c5c4;
}
.logo {
    width: 100px;
    height: 70px;
}


/* Sección Sobre mí */
#sobre-mi {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}
#sobre-mi .mi-image {
    width: 20rem;
    height: 20rem;
    border: 0.3rem solid #01c5c4;
    margin: 4rem;
}
#sobre-mi h1 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: #01c5c4;
}
#sobre-mi p {
    font-size: 1.5rem;
    margin-top: 2rem;
}
#sobre-mi h3 {
    font-size: 1.8rem;
    margin: 3rem 0rem 3rem 0rem;
    font-weight: bold;
    color: #01c5c4;
}
/* Tecnologías */
.tecnologias {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
    justify-content: center; 
    padding: 1rem;
}
.tecnologia {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.icon-tecnologia {
    width: 3rem;
    transition: transform 0.3s, color 0.3s;
}
.icon-tecnologia:hover {
    transform: scale(1.2);
}
.tecnologia p {
    font-size: 1rem;
    color: #fff;
}
.h-p {
    max-width: 80rem;
    font-size: 1.5rem;
    color: #fff;
}


/* Educación */
#educacion {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 80vh;
}
#educacion h2 {
    font-size: 2.5rem;
    color: #01c5c4;
    margin-bottom: 8rem;
    text-align: center;
}
#educacion ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 80rem;
}
#educacion li {
    font-size: 1.2rem;
    background-color: #1a1a1d;
    padding: 10px;
    border-left: 5px solid #01c5c4;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


/* Proyectos */
#proyectos {
    min-height: 80vh;
    padding-bottom: 4rem;
}
#proyectos h2 {
    font-size: 2.8rem;
    color: #01c5c4;
    margin: 6rem 0 4rem;
    font-weight: 600;
}

.card {
    background-color: #1a1a1d;
    border: none;
    border-radius: 1rem;
    margin-bottom: 3rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(1, 197, 196, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(1, 197, 196, 0.3);
}

.card-title {
    font-size: 1.5rem;
    color: #01c5c4;
    font-weight: 600;
}

.card-text {
    font-size: 1.05rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.image-proyecto {
    width: 100%;
    height: 13rem;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* Botones */
.card-body .btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    border-radius: 2rem;
    margin: 0.25rem 0.4rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: #01c5c4;
    color: #1a1a1d;
    border: none;
}

.btn-secondary {
    background-color: #00a5a5;
    color: #1a1a1d;
    border: none;
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: #028c8b;
    transform: scale(1.05);
}


/* Redes */
#redes {
    margin-top: 10rem;
    max-width: 80rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#redes h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #01c5c4;
}
#redes p {
    margin-bottom: 10rem;
    font-size: 1.2rem;
    color: #fff;
}
.container_redes {
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
    justify-content: center;
    align-items: center;
}
.card_redes {
    justify-content: center;
}
.c-f{
    background-color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 0.7rem;
}
.card_redes .logo-redes {
    width: 4rem;
    transition: transform 0.3s, color 0.3s;
}
.card_redes .logo-redes:hover {
    transform: scale(1.2);
}
.container_redes p {
    margin-top: 1rem;
    font-size: 1.6rem;
    color: #fff;
}




/*Contacto */
#contacto {
    margin-top: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}
#contacto h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #01c5c4;
    margin: 5rem;
}
#contacto form {
    width: 100%;
    max-width: 40rem;
    background-color: #2a2a2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    margin-bottom: 4rem;
}
.form-control {
    background-color: #1a1a1d;
    color: #fff;
    border: 1px solid #01c5c4;
    margin-bottom: 1rem;
}
.form-control:focus {
    border-color: #01e5e4;
    box-shadow: none;
}
.btn-contacto {
    background-color: #01c5c4;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
}
.btn-contacto:hover {
    background-color: #01e5e4;
    cursor: pointer;
}
.swal-title {
    font-size: 1.8rem;
    color: #01c5c4;
}
.swal-popup {
    border-radius: 8px;
}
.swal-button {
    font-weight: bold;
    border-radius: 4px;
}



  /* Footer */
footer {
    background-color: #1a1a1d;
    padding: 20px;
    color: #fff;
    border-top: 2px solid #01c5c4;
}
footer p {
    margin: 0;
    font-size: 1rem;
}


  /* Responsividad */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }


    #sobre-mi {
        flex-direction: column;
        text-align: center;
    }
    #sobre-mi .mi-image {
        width: 13rem;
        height: 13rem;
    }
    #sobre-mi h1 {
        font-size: 2.5rem;
    }
    #sobre-mi h3 {
        font-size: 1.5rem;
    }
    .sobre-mi-text {
        margin-top: 20px;
    }
    #sobre-mi p, #redes p {
        font-size: 1rem;
    }
    #sobre-mi .icon-tecnologia {
        width: 3rem;;
    }

    #educacion h2 {
        font-size: 2rem;
        margin-top: 6rem;
    }
    #educacion ul {
        grid-template-columns: 1fr;
    }


    #proyectos {
        margin-bottom: 5rem;
    }
    #proyectos h2 {
        font-size: 2rem;
    }

    #redes h2{
        font-size: 2rem;
    }
    .container_redes {
        gap: 2rem;
    }
    .c-f{
        background-color: white;
        width: 3rem;
        height: 3rem;
        border-radius: 0.5rem;
    }
    .card_redes .logo-redes {
        width: 3rem;
        transition: transform 0.3s, color 0.3s;
    }
    .card_redes .logo-redes:hover {
        transform: scale(1.2);
    }
    #contacto h2 {
        font-size: 2rem;
    }
    .form-control {
        font-size: 0.9rem;
    }


    footer p {
        font-size: 0.9rem;
    }
}

@media(min-width: 992px) {
    #sobre-mi {
        flex-direction: row;
        text-align: left;
        justify-content: center;
        align-items: center;
    }
    .sobre-mi-text {
        margin-left: 50px;
    }
}
