/*ad container*/
:root {
    --ad-final-top: 120px;
}
.spider-ad-hinge {
    background-color: rgb(19, 122, 137);
    box-shadow: 0 2px 5px #FFFFFF;
    animation: spider-web-drop 2s ease-in-out;
    animation-fill-mode: forwards;
    border-radius: 15px;
    width: 3px;
    height: 0;
    left: 120px;
    z-index: 1;
    position: absolute;
}
.spider-ad-container {
    z-index: 100;
    position: absolute;
    background: url("../images/anniversary/ad002.png") no-repeat center;
    background-size: contain;
    animation: spider-drop 2s ease-in-out;
    animation-fill-mode: forwards;
    left: 50px;
    top: var(--ad-final-top);
    width: 150px;
    height: 150px;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

/*// modal*/
#anniversary010Modal {
    width: 100%;
}
#anniversary010Modal .modal-content {
    border: none;
    align-items: center;
    background-color: transparent;
}
#anniversary010Modal .modal-content .modal-header .close {
    position: absolute;
    right: 25px;
    background-color: azure;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    top: 5px;
}
#anniversary010Modal .modal-content .modal-body {
    padding: 0;
    align-items: center;
}



















/*/// animation*/
@keyframes spider-drop {
    0% { top: -100px; transform: rotate(-90deg)}
    100% { top: var(--ad-final-top); transform: rotate(0deg)}
}
@keyframes spider-web-drop {
    0% { top: -100px; height: 0;}
    100% { top: 0; height: calc(var(--ad-final-top) + 20px);}
}


/*media queries*/
@media (max-width: 991px) {
    .modal.show,
    .modal-backdrop.show {
        width: 100%;
    }
}







/* 1. Extra Small (xs) - Default color for phones */


/* 2. Small (sm) - Devices 576px and up */
@media (min-width: 576px) {
    .spider-ad-hinge {
        left: 104px;
    }
    .spider-ad-container {
        left: 42px;
    }
}

/* 3. Medium (md) - Tablets 768px and up */
@media (min-width: 768px) {
    .spider-ad-hinge {
        left: 104px;
    }
    .spider-ad-container {
        left: 42px;
    }
}

/* 4. Large (lg) - Desktops 992px and up */
@media (min-width: 992px) {
    .spider-ad-hinge {
        left: 104px;
    }
    .spider-ad-container {
        left: 42px;
    }
}

/* 5. Extra Large (xl) - Large Desktops 1200px and up */
@media (min-width: 1200px) {
    .spider-ad-hinge {
        left: 68px;
    }
    .spider-ad-container {
        left: 1px;
    }
}
