@font-face{
    font-family: 'Posterama2001W04-Black';
    src: url('/assets/Posterama2001W04-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@keyframes bounce {
	0%, 100%, 20%, 50%, 80% {
		-webkit-transform: translateY(0);
		-ms-transform:     translateY(0);
		transform:         translateY(0)
	}
	40% {
		-webkit-transform: translateY(-20px);
		-ms-transform:     translateY(-20px);
		transform:         translateY(-20px)
	}
	60% {
		-webkit-transform: translateY(-15px);
		-ms-transform:     translateY(-15px);
		transform:         translateY(-15px)
	}
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Posterama2001W04-Black', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #F5EEE8;
}

nav {
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.32px;
}

nav #logo-solventech {
    height: 1.5rem;
    align-self: center;
}

nav .nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav .nav-links li a {
    color: #E9573B;
    text-decoration: none;
    transition: color 0.3s;
}

nav .nav-links li a img {
    height: 1.8rem;
    width: 1.8rem;
    margin: 0;
    padding: 0;
}

.main-content {
    background-image: url("/assets/main_bg.svg");
    width: 100%;
    height: calc(100vh - 7rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-content h1 {
    margin: 0;
    font-size: 5rem;
    color: #E9573B;
    text-align: center;
}

.main-content #title-yellow {
    color: #FEB412;
}

.main-content p {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1.6rem;
    color: #825036;
    text-align: center;
}

.main-content .rectangule-info{
    border-radius: 33.908px;
    border: 2px solid #E9573B;
    background: rgba(245, 238, 232, 0.60);
    backdrop-filter: blur(6.599999904632568px);
    font-style: normal;
    font-weight: 300;
    width: fit-content;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

.rectangule-info:hover {
    cursor: pointer;
    animation-name: bounce;
    -moz-animation-name: bounce;
}

.main-content .rectangule-info p{
    padding: 1.8rem 2rem;
    margin: 0;
    font-size: 1.2rem;
    color: #825036;
    text-align: center;
}

.chatbot-fixed-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-fixed-button button {
    background-color: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

footer { 
    background-color: #F5EEE8;
    font-family: 'Inter', sans-serif;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #825036;
    font-size: 1.2rem;
}

footer button{
    margin: 3% 0;
    font-family: 'Posterama2001W04-Black', sans-serif;
    color: #E9573B;
    border-radius: 30px;
    border: 2px solid #E9573B;
    background-color: transparent;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

footer .footer-content {
    margin-bottom: 3%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
    height: 100%;
    gap: 3rem;
}

footer .footer-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
}

footer .footer-info a{
    color: #825036;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-logos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

footer .footer-logos .logo-cumbre{
    width: 16rem;
    height: auto;
}

@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav .nav-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .main-content {
        height: 55vh;
        padding: 8rem 0;
    }

    .main-content h1 {
        font-size: 2.8rem;
    }
    
    .main-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .main-content .rectangule-info{
        width: 80%;
    }

    .main-content .rectangule-info p{
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .about-us {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 80vh;
    }

    .about-us-text {
        margin: 0;
        align-items: center;
    }

    .about-us-text h2 {
        font-size: 2.8rem;
    }

    .about-us-text p {
        font-size: 1rem;
        line-height: 1.5rem;
        padding: 0 1rem;
    }

    .about-us img {
        display: none;
    }

    .pilar-card h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    .pilares-container {
        flex-direction: column;
    }

    .pilares-container .info-pilar {
        width: 80%;
        flex-direction: row;
    }

    .pilares-container .info-pilar img{
        width: 30%;
    }

    .chatbot-fixed-button button {
        display: none;
    }

    footer {
        padding-top: 2rem;
    }

    footer .footer-content {
        padding-top: 2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    footer .footer-info {
        align-items: center;
    }

    footer .footer-logos .logo-cumbre {
        width: 12rem;
    }
    
}

@media screen and (max-height: 600px) {
    .main-content {
        height: auto;
        padding: 5rem 0;
    }

    .about-us {
        height: auto;
        padding: 5rem 0;
    }

    .pilar-card {
        height: auto;
        padding: 5rem 0;
    }

    .pilar-card h2{
        margin: 1rem 0;
    }

    .pilares-container .info-pilar img{
        width: 50%;
    }
}
