@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
*{
	padding: 0;
	margin: 0;
	font-family: "PT Sans", sans-serif;
	box-sizing: border-box;
}

body{
	min-height: 100vh;
	background-position: center;
	background-color: rgb(255, 255, 255);
	align-items: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.header.off {
    transform: translateY(-100%);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    backdrop-filter: blur(50px);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    translate: .5s;
}

.header:hover::after {
    left: 100%;
}

.logo {
    width: 130px;
}

.navbar a {
    font-size: 1.15rem;
    color: rgb(1, 1, 1);
    text-decoration: none;
    font-weight: 700;
    margin-left: 2.5rem;
    position: relative;
    display: inline-block; /* Asegúrate de que los enlaces sean elementos en línea */
    transition: color .35s ease; /* Transición suave para el color */
}

.navbar a::before,
.navbar a::after {
    content: '';
    height: 7px; /* Aumentado el tamaño de los triángulos */
    width: 7px; /* Aumentado el tamaño de los triángulos */
    position: absolute;
    transition: all .35s ease;
    opacity: 0;
}

.navbar a::before {
    right: -8px; /* Separa más el triángulo del texto */
    top: -8px; /* Separa más el triángulo del texto */
    border-top: 3px solid #3BAA33; /* Cambiado el color del borde superior */
    border-right: 3px solid #3BAA33; /* Cambiado el color del borde derecho */
    transform: translate(-100%, 50%);
}

.navbar a::after {
    left: -8px; /* Separa más el triángulo del texto */
    bottom: -8px; /* Separa más el triángulo del texto */
    border-bottom: 3px solid #3BAA33; /* Cambiado el color del borde inferior */
    border-left: 3px solid #3BAA33; /* Cambiado el color del borde izquierdo */
    transform: translate(100%, -50%);
}

.navbar a:hover::before,
.navbar a:hover::after {
    transform: translate(0, 0);
    opacity: 1;
}

.navbar a:hover {
    color: #1877f2; /* Cambia el color del texto al pasar el mouse */
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: rgb(4, 4, 4);
    cursor: pointer;
    display: none;
}

.linea {
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #3BAA33, #4954A3, #049BE2, #286522);
    background-size: 200% auto;
    animation: cambioColor 2.5s linear infinite;
    z-index: 99;
}

.contenedor-linea {
    position: relative;
}

.linea-footer {
    width: 100%;
    height: 3px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #3BAA33, #4954A3, #049BE2, #286522);
    background-size: 200% auto;
    animation: cambioColor 2.5s linear infinite;
    z-index: 99;
}

.bp {
    color: #f30c0c;
    text-decoration: none;
}

@keyframes cambioColor {
    0% {
        background-position: 0 0; /* Inicia desde el extremo izquierdo */
    }
    100% {
        background-position: 200% 0; /* Termina en el extremo derecho */
    }
}

/*BREAKPOINT*/
@media(max-width:992px) {
    .header {
        padding: 1.3rem 5%;
    }
}

@media(max-width:768px) {
    .icons {
        display: inline-flex;
    }
    
    #check:checked ~ .icons #menu-icon {
        display: none;
    }
    
    .icons #close-icon {
        display: none;
    }
    
    #check:checked ~ .icons #close-icon {
        display: block;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, 0.1);
        background-color: #fff;
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
    }
    
    #check:checked ~ .navbar {
        height: 17.7rem;
    }
    
    .navbar a {
        display: block;
        font-size: 1.2rem;
        margin: 1.5rem 0;
        color: #000000;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
    }
    
    #check:checked ~ .navbar a {
        transform: translateY(0);
        transition-delay: calc(.15s * var(--i));
        opacity: 1;
    }
    
    .navbar a::before,
    .navbar a::after {
        content: none;
    }
}

/*FOOTER*/
.pie-pagina{
    width: 100%;
    background-color: #ffffff;
	margin-top: auto;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}
.pie-pagina .grupo-1 .box-footer figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box-footer figure img{
    width: 200px;
}
.pie-pagina .grupo-1 .box-footer h2{
    color: #049BE2;
    margin-bottom: 25px;
    font-size: 25px;
    font-weight: 700;
}
.pie-pagina .grupo-1 .box-footer p{
    color: #3BAA33;

    margin-bottom: 10px;
    font-weight: 700;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    color: #ffffff;
    margin-right: 10px;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-2{
    background:#dcdddc ;
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
	color: #020202;
}

.red-social a.instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045); 
}

.red-social a.facebook {
    background: linear-gradient(45deg, #3b5998, #1877f2); 
}

.red-social a.tiktok {
    background-color: #000000; 
}

.red-social a.twitter {
    background-color: #1da1f2; 
}

.red-social a:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}


@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

.titulos{
    font-weight: 700;
    font-size: 50px;
    color: #049BE2;
    text-align: center;
}


/*FOOTER*/
::-webkit-scrollbar {
    display: none;
}
