footer {
    box-shadow: 0px 0px 34px 0px #00000080;
    background-color: #fff;
    display: grid;
    place-items: center center;
    position: relative;

    .footerContainer {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 1400px;

        .logo {
            padding: 10px;
        }

        .line {
            position: absolute;
            display: block;
            height: 4px;
            width: 100%;
            background-color: #FFA434;
            top: 150px;
        }

        .footerContent {
            display: flex;
            justify-content: space-around;
            align-items: start;
            padding: 40px;
            width: 100%;

            .column {
                display: flex;
                flex-direction: column;
                align-items: start;
                width: 270px;

                * {
                    margin: 0px;
                }
                p {
                    font-size: 34px;
                    color: #FFA434;
                    font-weight: 600;
                }
                ul {
                    margin-left: 2px;
                    li {
                        list-style-type: none;

                        a {
                            color: black;
                            transition: 0.2s;
                            text-decoration: none;

                            &:hover {
                                color: #FFA434;
                                text-decoration: underline;
                            }
                        }
                    }
                }
                .nip {
                    margin-left: 2px;
                    margin-top: 10px;
                    color: black;
                }
            }
            .centerColumn {
                align-items: center;

                .facebookLogo, ul {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                }

                ul {
                    margin-top: 20px;
                }
            }
        }
        .createdBy {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;

            .stellar {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 5px;
                text-decoration: underline;
                color: black;
            }
        }
    }
}
#ast-scroll-top {
    background-color: #FFA434 !important;
}
.newsletter {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    padding-bottom: 50px;

    #newsletter-container {
        width: 100%;
        max-width: 1200px;
        padding: 50px;
        background-image: url(http://hliwapodroze.pl/wp-content/uploads/2024/11/newsletter-bg.webp);
        background-size: cover;
        background-position: center;

        .newsletter-Text {
            span {
                font-size: 45px;
                font-weight: 800;
                color: white;
                text-shadow: 0px 5px 6px rgba(0, 0, 0, 0.3);
            }
        }
        #newsletter-form {
            padding-top: 10px;

            label {
                font-size: 34px; 
                font-weight: 600;
                text-shadow: 0px 5px 6px rgba(0, 0, 0, 0.3);
                color: white;
            }
            .emailAndSubmit {
                display: flex;
                justify-content: space-between;
                margin-top: 20px;
                position: relative;
                gap: 20px;

                #newsletter-email {
                    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.5);
                    padding-left: 60px;
                    height: 65px;
                    font-size: 24px;
                }
                button {
                    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.5);
                    height: 65px;
                    background-color: #FFA434;
                    border: 2px solid #FFA434;
                    width: 240px;
                    font-size: 24px;
                    font-weight: 600;
                    border-radius: 0px;
                    transition: 0.2s;

                    &:hover {
                        background-color: unset;
                    }
                }
                svg {
                    position: absolute;
                    top: 15px; 
                    left: 15px;
                }
            }

            .checkPrivacy {
                display: flex;
                align-items: center; 
                padding-top: 10px;

                input {
                    transform: scale(2);
                    margin-left: 5px;
                    accent-color: #FFA434;
                }
                label {
                    font-size: 21px;
                    margin-left: 10px;
                }
                a {
                    color: white;
                    font-size: 21px;
                }
            }
        }
    }
}
#newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

#newsletter-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 500px;

    .popup-content {
        text-align: center;
        font-size: 21px;

        #newsletter-message {
            margin: 0px;
            margin-bottom: 20px;
        }
        #close-popup {
            background-color: #FFA434;
            border: 2px solid #FFA434;
            width: 200px;
            transition: 0.2s;
            color: white;

            &:hover {
                background-color: white;
                color: #FFA434;
            }
        }
    }
}
@media (max-width: 1024px) {
    footer {
        .footerContainer {
            .logo {
                img {
                    width: 200px;
                }
            }
            .line {
                top: 100px;
                width: 80%;
            }
            .footerContent {
                width: auto;
                justify-content: center;
                flex-direction: column;
                gap: 20px;

                .column {
                    align-items: center;
                    font-size: 17px;

                    ul {
                        text-align: center;
                    }
                }
                .centerColumn {
                    ul {
                        margin-top: 10px;
                    }
                }
            }
        }
        .createdBy {
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
            font-size: 17px;

            p {
                margin: 0px;
            }
        }
    }
    .newsletter {
        #newsletter-container{
            width: 100%;
            padding: 30px 20px;

            .newsletter-Text {
                span {
                    font-size: 28px;
                }
            }
            #newsletter-form {
                label {
                    font-size: 21px;
                }
                .emailAndSubmit {
                    flex-direction: column;
                    align-items: center;

                    input, button {
                        font-size: 17px;
                        height: 45px;
                    }
                    button:hover {
                        background-color: #FFA434;
                        color: white;
                    }
                }
                .checkPrivacy {
                    justify-content: center;
                    label {
                        font-size: 13px;
                        a {
                            font-size: 13px;
                        }
                    }
                }
            }

        }
    }
}