/* Base styles */
.main {
    width: 90%;
    margin: auto;
    padding: 20px 0;
    min-height: 100vh;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 50px;
    width: 100%;
    color: white;
}

.footer-legal {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}

.footer .container {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgb(0, 0, 0);
    padding: 10px 0;
    width: 100%;
}

.footer-legal a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.footer-legal a:hover {
    color: blue;
}

.footer-bottom {
    background-color: rgb(255, 255, 255);
    border-top: 1px solid rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
}

.footer-bottom p {
    text-align: center;
    background-color: white;
    margin: 0;
}

/* Mobile styles (up to 767px) */
@media (max-width: 767px) {
    .main {
        width: 95%;
        padding: 15px 0;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    .footer-legal {
        gap: 10px;
        font-size: 0.9rem;
    }
    
    .footer {
        bottom: 40px;
    }
}

/* Tablet styles (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .main {
        width: 85%;
        max-width: 800px;
    }
    
    .footer-legal {
        gap: 20px;
    }
}

/* Laptop/Desktop styles (1024px and up) */
@media (min-width: 1024px) {
    .main {
        width: 80%;
        max-width: 1200px;
    }
    
    .footer-legal {
        gap: 25px;
    }
}