@import url(variables.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/*

    BODY, HEADER, MAIN
    
    Se da las propiedades a los elementos más generales de la página.
    Se utiliza grid para dividir los espacios que el header y el main consumiran.
    Se le da configuraciones generales al body.
  
*/

.elemento {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}

.elemento.visible {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header_nav ul li {
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100vw;
    min-width: 100%;
    z-index: 1;
}

body {

    height: 132vh;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #f4f4f9;
    line-height: 1.6;
    user-select: none; 
}

main {

    width: 100%;
    height: auto;
    
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/*

    ELEMENTOS DEL HEADER

*/

.header_logo {
    margin-left: 4%;
    height: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    z-index: 1;
}

.header_logo img {
    width: 120px;
    height: 100px;
    object-fit: contain;
}

.header_nav {
    width: 60%;
}

.header_nav ul {
    display: flex;
    width: 100%;
    justify-content: end;
    justify-content: space-evenly;
    padding-right: 4%;
    list-style: none;
}

.menu-toggle {
    display: none;
}

.header_nav ul li a {
    text-decoration: none;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header_nav ul li a:hover {
    color: var(--color-pinker);
}

.header_nav ul .focus {
    border-radius: 8px;
    border: 2px solid var(--color-pinker);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.header_nav ul li {
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1600px) {
    .header_nav {
        width: 65%;
    }
}

/* Media Queries for Mobile */
@media screen and (max-width: 1024px) {

    .header_logo img {
        width: 90px;
        height: 60px;
        object-fit: contain;
        object-position: bottom;
    }

    .header_nav {
        width: 100%;
    }

    header {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header_nav ul {
        display: none; /* Initially hidden */
        flex-direction: column; /* Stack menu items */
        position: absolute;
        top: 8vh; /* Below the header */
        right: 0;
        width: 100%;
        background-color: #fff;
        padding-right: 0;
        padding-left: 0;
    }

    .header_nav ul .focus {
        width: 30%;
        color: var(--color-pinker);
    }

    .header_nav ul li {
        width: 100%;
        text-align: center;
    }

    .header_nav ul.show { /* Class to show the menu */
        display: flex;
        gap: 30px;
        padding-bottom: 20px;
        padding-top: 20px;

    }

    /* Show the menu toggle button on mobile screens */
    .menu-toggle {
        display: block;
        cursor: pointer;
        right: 5%;
        top: 3vh;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--color-black);
        margin: 6px 0;
        transition: 0.3s;
    }

    /* Menu toggle animation when active */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/*

    ELEMENTOS DEL SECTION #1, MANIFIESTO.

*/

.manifiesto_section {
    height: auto;
    width: 100%;


    display: flex;
    flex-direction: column;

   
    text-align: left;
    background-color: #fff;
    z-index: 1;
}

.primer_p {

    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 20px;

}

.tercer_p {

    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 20px;

}

.segundo_p {

    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    background-color: var(--color-light-green);
    border-bottom: 2px solid #f0f0f0;
    justify-content: center;

}

.segundo_p .text_container p  {
    color: white;
}
.segundo_p .text_container h2 {
    color: white;
}

.parrafo {

    width: 100%;
    height: 100%;
    padding: 4%;

}

.image {

    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.image img {

    width: 55%;
    height: 55%;

}

.text_container {

    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline: 8%;

}

.text_container h2 {
    
    font-size: 38px;
    margin-bottom: 20px;
    color: #000;
    font-weight: 600;

}

.text_container p {
    
    font-size: 24px;
    margin-bottom: 12px;
    color: rgba(0, 0, 0, 0.726);
    
}

.manifiesto_section .parrafo {
    opacity: 0;
    transform: translateY(50px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
  }

  .manifiesto_section .parrafo.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .manifiesto_section .text_container {
    opacity: 0;
    transform: translateX(-50px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
    text-align: justify;
  }

  .manifiesto_section .text_container.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .manifiesto_section .image {
    opacity: 0;
    transform: translateX(50px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
  }

  .manifiesto_section .image.visible {
    opacity: 1;
    transform: translateX(0);
  }

@media (max-width: 1024px) {

    .parrafo {

        padding-right: 0px;
        padding-left: 0px;

    }

    .primer_p {
        display: flex;
        flex-direction: row;
        text-align: left;
        padding-top: 10%;

    }

    .segundo_p .text_container {
        text-align: right;
    }
    

    .image {
        width: 100%;
        height: 100%;
    }

    .image img {
        width: 100%;
        height: 100%;
    }

    .text_container {
        padding-inline: 4%;
    }

    .text_container h2 {

        width: auto;
        font-size: 24px;
        

    }

    .text_container p {
        font-size: 16px;
    }
    
}

@media (max-width: 900px) {

    .parrafo {

        padding-right: 0px;
        padding-left: 0px;

    }

    .primer_p {
        display: flex;
        flex-direction: row;
        text-align: left;
        padding-top: 10%;

    }

    .segundo_p .text_container {
        text-align: right;
    }
    

    .image {
        width: 80%;
        height: 100%;
    }

    .image img {
        width: 100%;
        height: 100%;
    }

    .text_container h2 {

        width: auto;
        font-size: 22px;
        

    }

    .text_container p {
        font-size: 12px;
    }

    .legal {
        font-size: 10px;
    }

    .footer-links {
        margin-bottom: 30px;
    }
    
}











/*

    FOOTER

*/

.footer {

    height: 40vh auto;
    max-width: 100vw;
    min-width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4%;

    padding: 4%;
    text-align: center;

    background-color: black;
    color: white; 
    list-style: none;

    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.1);
}

.footer_container {
    width: 100%;
    display: flex;

}

.footer-row {

    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding-inline: 4%;

    flex-wrap: wrap;
    

}

.footer-links {

    width: 25%;
    min-width: 235px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    

}

.footer-links h4 {

    width: 60%;
    min-width: 182px;
    display: inline;
    font-size: 20px;
    text-align: left;
    color: white;
    margin-bottom: 25px;
    font-weight: 500;
    border-bottom: 2px solid var(--color-pinker);
    padding-bottom: 10px;

}

.footer-links ul li  {

    list-style: none;

}

.footer-links ul {
    width: 60%;
    min-width: 182px;
}


.footer-links ul li a {

    text-align: left;
    font-size: 18px;
    text-decoration: none;
    color: #bbbbbb;
    display: block;
    margin-bottom: 15px;
    transition: all .3 ease;

}

.footer-links ul li a:hover {
    color: white;
    padding-left: 6px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;

}

.social-links a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-height: 44px;
    width: 44px;
    border-radius: 50%;
    margin-inline: 10px;
    font-size: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all .5s ease;
    color: white;
}

.gmail:hover {
    color: rgb(175, 32, 32);
    font-size: 28px;
    background-color: white;
    box-shadow: 0px 0px 5px 0px white;

}

.instagram:hover {
    background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
    font-size: 28px;
    box-shadow: 0px 0px 5px 0px #d92e7f;
}

.tiktok:hover{

    font-size: 28px;
    background-color: black;
    box-shadow: 0px 0px 5px 0px white;
    text-shadow: 1.2px 1.2px 0 #fe2d52, -1.2px -1.2px 0 #28ffff;
    
}

.linkedin:hover{

    font-size: 28px;
    background-color: white;
    box-shadow: 0px 0px 5px 0px white;
    color: #0a66c2;
    
}

.legal {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.705);
}