html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;

}


@media (min-width: 992px) {
    .navbar-brand {
        display: none;
    }

    body {
        margin-top: 50px;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        margin-left: auto;
        margin-right: auto;
    }

    .nav-link {
        position: relative;
        display: inline-block;
        text-decoration: none;
        color: inherit;
        font-size: 2rem;
        text-transform: uppercase;
        font-weight: bolder;
        overflow: hidden;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        bottom: 0;
        left: 0;
        background-color: #6E07F3;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease-out;
    }

    .nav-link:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #000814;
        /* Cambia esto según el color de fondo que desees */
        padding: 1rem;
        z-index: 1000;
        /* Asegura que el navbar esté siempre encima del contenido */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .bg-body-tertiary {
        background: linear-gradient(to bottom, #5BE9B9, #ffffff);
    }

}


.bg-body-tertiary {
    background-color: rgba(24, 126, 228, 0) !important;
}


.nav-link {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bolder;
}

.nav-link:hover {
    color: #6E07F3;
    transition: color 0.3s ease-in-out;
}

.icon-link {
    display: flex;
    justify-content: center;
}

.icon-link a {
    color: black;
    margin: 0.3rem;
    font-size: 1.5rem;
}

.icon-hover {
    transition: transform 0.3s ease, color 0.3s ease;
    color: #333;
}

.icon-hover:hover {
    transform: scale(1.2);
    /* Aumenta el tamaño del icono al pasar el mouse */
    color: #5BE9B9;
}

.presentacion {
    text-align: center;
}

.presentacion h1 {
    text-transform: uppercase;
    padding-top: 5rem;
    font-weight: bold;
    font-size: 2.2rem;
}

.presentacion h2 {
    padding-top: 1.5rem;
    font-size: 1.8rem;
}

.presentacion p {
    padding-top: 1.5rem;
    font-size: 1.3rem;
    line-height: 2.5rem;
}

.contenedor-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 3rem;
}

.contenedor-img img {
    max-width: 100%;
    height: auto;
    padding-top: 2rem;
}

@media (min-width: 992px) {
    .contenedor-img img {
        max-width: 750px;
        height: auto;
    }

    .presentacion h1 {
        font-size: 3rem;
    }
}

.proyectos {
    background: linear-gradient(to bottom, #5BE9B9, #ffffff);
    color: rgb(0, 0, 0);
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    padding-bottom: 10rem;
}

.proyectos h1 {
    text-transform: uppercase;
    font-size: 2.2rem;
    padding-bottom: 2rem;
    font-weight: bold;
}

.proyectos h2 {
    padding-top: 1.5rem;
    font-size: 1.8rem;
    margin-bottom: 6rem;
}

.card {
    --bs-card-bg: #ffffff85;
}

.card-img-top {
    background: black;
    width: 100%;
    transition: opacity 0.3s ease-in-out;
}

.img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.card-img-top,
.card-gif {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.card-gif {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.img-container:hover .card-img-top {
    opacity: 0;
}

.img-container:hover .card-gif {
    opacity: 1;
}

.fa-brands,
.fab {
    font-size: 2.5rem;
    padding: .4rem;
}

.card-body a {
    text-decoration: none;
    background: none;
    color: #000814;
}

.contacto {
    margin-top: 5rem;
}

.contacto h4 {
    padding-bottom: 2rem;
}

.form-control {
    background-color: #ffffff33;
}

.form-control:focus {
    background-color: #ffffff33;
}

footer {
    background-color: #000814;
    padding: 20px 0;
    color: white;
    margin-top: 40px;
}


.anchor {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    font-family: sans-serif;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #6E07F3;
    padding: 14px 40px 13px;
    overflow: hidden;
    position: relative;
}

.anchor:hover {
    color: #4e484a;
}

.button a::before {
    position: absolute;
    content: "";
    z-index: 0;
    background-color: #6E07F3;
    left: -5px;
    right: -5px;
    bottom: -5px;
    height: 111%;
    transition: all .3s ease;
}

.button a:hover::before {
    height: 11%;
}

.button span {
    position: relative;
    z-index: 2;
    transition: all .3s ease;
}

/* Boton enviar */
button {
    font-family: inherit;
    font-size: 18px;
    background: linear-gradient(to bottom, #6E07F3 0%, #6E07F3 100%);
    color: white;
    padding: 0.8em 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 25px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: scale(0.95);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

button span {
    display: block;
    margin-left: 0.4em;
    transition: all 0.3s;
}

button svg {
    width: 18px;
    height: 18px;
    fill: white;
    transition: all 0.3s;
}

button .svg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin-right: 0.5em;
    transition: all 0.3s;
}

button:hover .svg-wrapper {
    background-color: rgba(255, 255, 255, 0.5);
}

button:hover svg {
    transform: rotate(45deg);
}

/* Fin boton enviar */