/***** Homepage sections *****/

.pizza-example img {
    width: 97%;
    border-radius: 10px;
    margin-left: 10px;
    box-shadow: 4px 6px 20px rgba(1, 1, 1, 0.503);
}

.our-pizza img {
    width: 100%;
    margin-left: 10px;
    border-radius: 10px;
    box-shadow: 4px 6px 20px rgba(1, 1, 1, 0.503);
}

.text-pizza {
    margin-bottom: 50px;
    margin-left: 30px;
}

.text-pizza p {
    color: #9d5208;
    margin-left: 60px;
    padding-top: 15px;
    font-size: clamp(16px, 1.1vw + 0.75rem, 22px);
}

.text-pizza div {
    width: 50px;
    height: 50px;
    border: #763b008c solid 2px;
    border-radius: 50%;
    text-align: center;
    padding: 15px 0;
    float: left;
}

.references {
    background: linear-gradient(rgba(0, 0, 0, 0.702), rgba(23, 23, 23, 0.768)), url(../images/pizza.jpg);
    background-size: cover;
    width: 100%;
    background-attachment: fixed;
}

.references .heading-main h2 {
    color: #ffab4b;
    padding-top: 20px;
}

.references h2:after {
    width: 250px;
    border-color: #ffab4b;
}

.customer-references {
    display: flex;
    color: #ffbf7f;
    font-size: 20px;
    padding: 0 30px;
    gap: 60px;
    font-style: italic;
}

.photo-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 60px;
    font-size: 20px;
}

.photo-name p {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    text-align: center;
    font-style: normal;
}

.photo-name img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.references-more {
    font-style: normal;
    text-align: center;
}

.references-more .btn-full {
    display: block;
    margin: 0 auto;
}

.lightbox {
    top: 50% !important;
    transform: translateY(-50%);
}

.photo-gallery h2:after {
    width: 250px;
    border-color: #c958169d;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 30px;
    margin-bottom: 150px;
}

.photo-segment {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.photo-segment--gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 950px;
}

.photo-segment li {
    list-style-type: none;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
}

.photo-segment img {
    display: block;
    width: 300px;
    height: auto;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(2.0);
}

.photo-segment img:hover {
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}



@media only screen and (max-width: 1025px) {

/***** Pizza examples *****/

    .pizza-example {
        margin-bottom: 100px;
    }

    .pizza-example .span-1-of-2 {
        float: none;
        transform: translate(0%, 0%);
        width: 50%;
    }

    .pizza-example .span-1-of-2:first-child {
        margin: 0 auto 12px;
    }

    .pizza-example .span-1-of-2:last-child {
        margin: 0 auto;
    }

/***** Our pizza *****/

    .our-pizza-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .our-pizza-content .col.span-1-of-2 {
        width: 96% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 10px;
        text-align: center;
    }

    .our-pizza img {
        display: block;
        width: 50%;
        margin-left: 26%;
    }

    .text-pizza {
        margin-left: 23%;
        margin-right: 20%;
        text-align: center;
    }

    .text-pizza p {
        margin-left: 0;
        text-align: center;
    }

    .text-pizza .number {
        margin: 0 auto 12px;
        float: none;
        margin-top: 30px;
    }

    .photo-segment--gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 640px;
    }

    .photo-segment--gallery li {
        width: 100%;
        margin: 0;
    }

    .photo-segment--gallery img {
        width: 100%;
    }

}
