* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    background-color: rgb(6, 5, 77);
    padding: 10px 0;
}

.logo {
    color: #ffffff;
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.4rem;
    }
}

@media (min-width: 769px) {
    .logo {
        font-size: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .logo {
        font-size: 1.7rem;
    }
}

.container {
    width: 100%;
    height: 15vh;
    display: flex;
    flex-direction: column;
}

.franja {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.animated-text {
    font-size: 2.3rem;
    color: rgb(255, 238, 0);
    position: relative;
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    0% {
        transform: translateY(200%);
        opacity: 0;
    }

    25% {
        transform: translateY(100%);
        opacity: 1;
    }

    50% {
        transform: translateY(0);
        opacity: 1;
    }

    75% {
        transform: translateY(-100%);
        opacity: 1;
    }

    100% {
        transform: translateY(-200%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .animated-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .animated-text {
        font-size: 1.5rem;
    }
}

.call-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    background-color: rgb(6, 5, 77);
}

.call-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    background-color: rgb(6, 5, 77);
}

.call-button {
    background-color: #FF5722;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(4, 60, 243, 0.918);
    transition: background-color 0.3s ease;
}


@media (max-width: 768px) {
    .call-button {
        padding: 12px 25px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .call-button {
        padding: 15px 30px;
        font-size: 1.4rem;
    }
}

.bounce-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    background-color: rgb(6, 5, 77);
}

.bounce-text {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .bounce-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bounce-text {
        font-size: 1.4rem;
    }
}

.independent-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.independent-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    padding: 20px 10px;
    background-color: rgb(6, 5, 77);
}

.independent-section-calpe {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
    padding: 20px 10px;
    background-color: rgb(214, 214, 224);
}

.titulo-seccion-calpe {
    font-size: 1.4rem;
}

.independent-container {
    max-width: 800px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333; /* Color del texto */
}

.independent-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #5d5e47;
}

.independent-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .independent-title {
        font-size: 1.3rem;
    }

    .independent-text {
        font-size: 1.2rem;
    }

    .independent-container {
        padding: 15px;
    }
}

@media (min-width: 769px) {
    .independent-title {
        font-size: 1.4rem;
    }

    .independent-text {
        font-size: 1.3rem;
    }
}

#responsive-section {
    display: auto;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 10px;
    text-align: center;
    max-width: 100%;
}

#responsive-section h1 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

#responsive-section p {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.5;
}

@media (min-width: 768px) {
    #responsive-section h1 {
        font-size: 1.6rem; 
    }

    #responsive-section p {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    #responsive-section h1 {
        font-size: 1.4rem;
    }

    #responsive-section p {
        font-size: 1.2rem;
    }
}

.banner {
    position: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #7ecf9c;
    color: rgb(0, 0, 0);
    padding: 15px 20px;
    text-align: center;
    z-index: 1000;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.whatsapp-button {
    background-color: rgb(87, 233, 68);
    color: #000000;
    padding: 10px 20px;
    border: solid, black, 2px;
    border-radius: 25px;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #f5f10a;
}

/* Responsive design: Para pantallas más grandes */
@media (min-width: 768px) {
    .banner {
        padding: 20px;
    }

    .banner h2 {
        font-size: 1.5rem;
    }

    .whatsapp-button {
        font-size: 1.2rem;
        padding: 11px 23px;
    }
}

.elegant-footer {
    background-color: rgb(6, 5, 77);
    color: #ecf0f1;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.footer-text {
    margin: 0;
    font-size: 1.2rem;
}

.footer-links {
    margin-top: 10px;
    font-size: 1.3rem;
}

.footer-link {
    color: #d8db34;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
    color: #f39c12;
    transform: translateY(-3px);
}

@keyframes elegant-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 600px) {
    .footer-text {
        font-size: 1.3rem;
    }

    .footer-link {
        display: block;
        margin: 5px 0;
    }
}
