﻿.cyb-uc-BlocAccesMagasins__nos-magasins {
    width: 100%;
    height: 50vh;
    position: relative;
    background: #3A3A3A;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    margin-top: 5%;
    overflow: hidden;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.cyb-uc-BlocAccesMagasins__nos-magasins_content {
    width: calc(100% - 5px );
    height: calc(100% - 5px );
    background-image: url('https://www.cybertek.fr/images_produits/cybertek/site/soldes-ete_bg-all-stores.png');
    background-size: cover;
    background-position: 14% 50%;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 20px;
    padding: 35px;
    box-sizing: border-box;
}


.cyb-uc-BlocAccesMagasins__nos-magasins_content_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #00000000 0%, #00000000 50%, #000000 100%);
    z-index: 1;
    top: 0;
    left: 0;
}

.cyb-uc-BlocAccesMagasins__nos-magasins_content::before {
    content: '';
    position: absolute;
    width: calc(100% - 5px );
    height: calc(100% - 5px );
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.3); /* Ajustez l'opacité pour assombrir plus ou moins */
    z-index: 1;
}

.cyb-uc-BlocAccesMagasins__nos-magasins_content h4 {
    color: white;
    flex: none;
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.cyb-uc-BlocAccesMagasins__nos-magasins_content .cyb-uc-BlocAccesMagasins__cta-button {
    flex: none;
    align-self: flex-end !important;
}

.cyb-uc-BlocAccesMagasins__nos-magasins_border {
    position: absolute;
    height: 90%;
    width: 150%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(17deg);
    background: linear-gradient(to bottom, transparent 0%, #FFC600 50%, transparent 100%);
    z-index: -1;
}

.cyb-uc-BlocAccesMagasins__cta-button {
    width: max-content;
    align-self: center;
    position: relative;
    z-index: 3;
    width: 192px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    cursor: pointer;
    transition: box-shadow 0.6s linear;
    border-radius: 8px;
    color: white;
}

    .cyb-uc-BlocAccesMagasins__cta-button:hover {
        box-shadow: 0 0 14px 2px #FFC600, inset 0px 0px 16px #FFC600;
    }

    .cyb-uc-BlocAccesMagasins__cta-button span {
        position: relative;
        z-index: 3;
        font-size: 18px;
        font-weight: 500;
    }

    .cyb-uc-BlocAccesMagasins__cta-button img {
        position: absolute;
        width: 100%;
        height: calc(100% - 5px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%)
    }


    .cyb-uc-BlocAccesMagasins__cta-button svg {
        overflow: visible;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

        .cyb-uc-BlocAccesMagasins__cta-button svg rect {
            stroke-dasharray: 165;
            animation: dash 5s linear infinite;
            filter: drop-shadow(0px 0px 6px rgb(255, 198, 0)) blur(1px);
            width: 100%;
            height: 100%;
        }

@keyframes dash {
    to {
        stroke-dashoffset: 330; /*Doit etre x2 par rapport à dasharray*/
    }
}

@media screen and (max-width: 768px) {
    .cyb-uc-BlocAccesMagasins__nos-magasins_content {
        flex-direction: column-reverse;
        align-items: flex-end;
        justify-content: flex-start;
    }
    
}
