

.container-background{
    background: #ad1739 !important;
}

.img-fluid{
    width: 100% !important;
    height: auto;
}

.footericon{
    width: 50% !important;
    height: auto;
}

#footer-container{
    /*background-color:#868160; */
    background: linear-gradient(to bottom, #ece5c6, #857f60);
    a{
        color: black
    }
    a:hover{
        color: #ad1739;
    }
}


.icon svg, .icon{
    width: 24px;
    height: auto;
    transition: transform 0.3s ease, fill 0.3s ease;
}

.icon svg:hover, .icon:hover {
    transform: rotate(360deg) scale(1.25); /* Obrót i powiększenie */
}

.team-container {
    height: 500px;
    position: relative;
    background: url('../resources/img/photos/19.webp') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 5rem;
    border-radius: 0.3rem;
    overflow: hidden; /* Zapobiega wyjściu rozmycia poza krawędzie */
    h2 {
        position: relative !important; /* Ensure the text is above the blurred background */
        z-index: 1 !important; /* Place text above the blurred background */
        color: white !important; /* Change to a contrasting color for better visibility */
        font-size: 36px !important; /* Adjust font size as needed */
        text-align: center !important; /* Center text horizontally */
        text-shadow: #ad1739 0 0 10px !important; /* Add a shadow to the text */
    }
}

.team-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* Dziedziczy tło */
    filter: blur(5px); /* Rozmycie */
    transform: scale(1.1); /* Powiększenie, by ukryć krawędzie rozmycia */
    z-index: 1;
}

.team-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.piece1{
    width:42% !important;
    height: auto;
    margin-bottom: 5px;
}
.piece3{
    width:45% !important;
    height: auto;
}

.piece-rect{
    width: 30% !important;
    height: auto;
}





.insta,
.whatsap,
.face {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    /* Usuwa podkreślenie w linkach */
}

.svgContainerinsta,
.svgContainerWhatsap,
.svgContainerFace {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(4px);
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(156, 156, 156, 0.466);
}

.BGinsta,
.BGwhatsap,
.BGface {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 9px;
    pointer-events: none;
    transition: all 0.3s;
}

/* Stylizacja indywidualna dla każdego przycisku */
.BGinsta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.BGwhatsap {
    background: #075e54;
}

.BGface {
    background: #1877f2;
}

/* Efekty hover */
.insta:hover .BGinsta,
.whatsap:hover .BGwhatsap,
.face:hover .BGface {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.insta:hover .svgContainerinsta,
.whatsap:hover .svgContainerWhatsap,
.face:hover .svgContainerFace {
    background-color: rgba(156, 156, 156, 0.466);
}

/* Tooltip style */
.tooltip {
    position: absolute;
    bottom: 100%;
    /* Pozycjonowanie nad przyciskiem */
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.insta .tooltip {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.whatsap .tooltip {
    background: #075e54;
}

.face .tooltip {
    background: #1877f2;
}

.insta:hover .tooltip,
.whatsap:hover .tooltip,
.face:hover .tooltip {
    opacity: 1;
}