/* Sekcja: full_photo_icons - pełny CSS sekcji (zapis zagnieżdżony). */

.full-photo-icons {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    .wrapper {
        padding: 120px 0;

        .buttons {
            .btn-primary {
                color: var(--element1-btn1-text);
                background-color: var(--element1-btn1-bg);
                border-color: var(--element1-btn1-border);

                &:hover {
                    color: var(--element1-btn1-text-hover) !important;
                    background-color: var(--element1-btn1-bg-hover) !important;
                    border-color: var(--element1-btn1-border-hover) !important;
                }
            }

            .btn-secondary {
                color: var(--element1-btn2-text);
                background-color: var(--element1-btn2-bg);
                border-color: var(--element1-btn2-border);

                &:hover {
                    color: var(--element1-btn2-text-hover) !important;
                    background-color: var(--element1-btn2-bg-hover) !important;
                    border-color: var(--element1-btn2-border-hover) !important;
                }
            }
        }
    }

    h3 {
        color: var(--element1-title);
        font-size: 4.5625rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 20px;
    }

    .subtitle {
        p {
            color: var(--element1-text);
            text-align: center;
            font-size: 1.25rem;
        }
    }

    .icons {
        margin: 100px 0;
    }

    .icon {
        .photo {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            height: 140px;

            .image {
                width: 140px !important;
                height: 100%;
            }

            img {
                width: auto;
                max-width: 100%;
                max-height: 100%;
            }
        }

        .text {
            h4 {
                font-size: 1.375rem;
                color: var(--element1-text);
                font-weight: 600;
                text-align: center;
                margin-bottom: 15px;
            }

            p {
                color: var(--element1-text);
                font-weight: 600;
                text-align: center;
            }
        }
    }
}

@media (max-width: 575.5px) {
    .full-photo-icons {
        .wrapper {
            padding: 40px 0;
        }

        h3 {
            font-size: 1.5625rem;
        }

        .icons {
            margin: 50px 0 0 0;
        }

        .icon {
            margin-bottom: 30px;

            .photo {
                height: 80px;
                margin-bottom: 20px;

                .image {
                    width: 80px !important;
                }
            }

            .text {
                h4 {
                    margin-bottom: 10px;
                }
            }
        }

        .buttons {
            margin-top: 0;
        }
    }
}

@media (min-width: 576px) and (max-width: 767.5px) {
    .full-photo-icons {
        .wrapper {
            padding: 50px 0;
        }

        h3 {
            font-size: 2.5rem;
        }

        .icons {
            margin: 50px 0 0 0;
        }

        .icon {
            margin-bottom: 30px;

            .photo {
                height: 80px;
                margin-bottom: 20px;

                .image {
                    width: 80px !important;
                }
            }

            .text {
                h4 {
                    margin-bottom: 10px;
                }
            }
        }

        .buttons {
            margin-top: 0;
        }
    }
}

@media (min-width: 768px) and (max-width: 991.5px) {
    .full-photo-icons {
        .wrapper {
            padding: 60px 0;
        }

        h3 {
            font-size: 3.125rem;
        }

        .icons {
            margin: 50px 0 30px 0;
        }

        .icon {
            margin-bottom: 30px;

            .photo {
                height: 80px;

                .image {
                    width: 80px !important;
                }
            }

            .text {
                h4 {
                    margin-bottom: 10px;
                }
            }
        }

        .buttons {
            margin-top: 0;
        }
    }
}

@media (min-width: 992px) and (max-width: 1199.5px) {
    .full-photo-icons {
        .wrapper {
            padding: 80px 0;
        }

        h3 {
            font-size: 3.4375rem;
        }

        .icons {
            margin: 60px 0;
        }

        .icon {
            .photo {
                height: 100px;

                .image {
                    width: 100px !important;
                }
            }
        }
    }
}

@media (min-width: 1200px) and (max-width: 1579.5px) {
    .full-photo-icons {
        .wrapper {
            padding: 100px 0;
        }

        h3 {
            font-size: 4.0625rem;
        }

        .icons {
            margin: 80px 0;
        }

        .icon {
            .photo {
                height: 120px;

                .image {
                    width: 120px !important;
                }
            }
        }
    }
}
