@import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');

.story-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 20px;
    display: none;
}

.story-action-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.story-action-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgb(255, 255, 255, 0.6);
    padding: 5px;
    border-radius: 50px;
}

.story-action-block a {
    font-size: 30px;
    background: white;
    color: black;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-action-block a:hover {
    background: black;
    color: white;
}

.story {
    width: 55%;
    background: rgb(255, 255, 255, 1);
    padding: 30px 30px;
    min-height: 85vh;
    height: 85vh;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 40px;
    scrollbar-width: none;
    backdrop-filter: blur(5px);
    padding-bottom: 60px;
    animation: slide-in 0.5s ease-in-out;
}

@keyframes slide-in {
    from {
        transform: translate(100%, 100%);
        opacity: 0;
        border-radius: 40px;

    }

    to {
        transform: translate(0, 0);
        opacity: 1;
        border-radius: 20px;

    }
}

.story-head {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    font-family: "Itim";
    font-weight: 800;
    text-transform: uppercase;
    color: var(--second-color);
}

.story-list {
    font-family: "Mukta";
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    width: 100%;
}

.story-item {
    width: 100%;
    background: rgba(255, 255, 255, 1);
    background: linear-gradient(to bottom,
            white, rgb(240, 240, 240));
    padding: 20px 20px;
    border-radius: 50px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: rgb(50, 50, 50);
    font-family: "Itim";
    position: relative;
    box-shadow: 0px 0px 60px rgba(255, 255, 255, 1);
    border-top: 2px solid rgba(0, 0, 0, 0.6);
    top: 0;
    position: sticky;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top: 2px dashed rgba(0, 0, 0, 0.5);
}

.story-inline-image {
    width: 200px;
    border-radius: 50px;
    border: 2px solid var(--accent-color-trans);
    padding: 10px;
    border: 1px solid rgb(0, 0, 0, 0.4);
}

.story-item p {
    padding: 0px 20px;
}

.story-item p b {
    color: var(--second-color);
    font-weight: lighter;
    text-transform: uppercase;
}


.story-item p span {
    color: black;
    font-size: 26px;
    font-weight: bold;
}

.story-item.special .story-center-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50px;
    border: 2px solid var(--accent-color-trans);
    padding: 20px;
    border: 1px solid rgb(0, 0, 0, 0.4);
}

.arrow-down {
    position: absolute;
    top: 99%;
    height: 80px;
    z-index: 100;
    right: 100px;
    opacity: 0.6;
    transform: scaleX(-1);
    display: none;
}

.arrow-down-2 {
    position: absolute;
    top: 99%;
    height: 80px;
    z-index: 100;
    left: 100px;
    opacity: 0.6;
    display: none;
}

.story-hireca-logo {
    background: white;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.story-hireca-logo p {
    font-size: 20px;
    font-family: "Itim";
}

.story-hireca-logo img {
    height: 60px;
    margin-bottom: 10px;
}

.story-hireca-logo a {
    width: 200px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--second-color);
    color: white;
    text-transform: uppercase;
    font-family: "Itim";
    font-weight: 400;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.story-hireca-logo a i {
    font-size: 20px;
}

.story-hireca-logo a:hover {
    background: var(--accent-color);
}

@media (max-width: 1366px) {
    .story {
        width: 80%;
    }
}

@media (max-width: 800px) {
    .story {
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        height: 94svh;
        min-height: 94svh;
        max-height: 94svh;
        padding: 20px;

    }

    .story-wrapper {
        flex-direction: column-reverse;
        justify-content: flex-end;
        gap: 0;
    }

    .story-action-block {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        padding: 0px 20px;
        background: black;
        width: 100%;
        height: 6svh;
    }

    .story-action-arrows {
        flex-direction: row;
        gap: 50px;
    }

    .story-action-block a {
        font-size: 17px;
        width: 25px;
        height: 25px;
    }

    .story-head {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .story-inline-image {
        width: 120px;
    }

    .story-item.special .story-center-image {
        width: 120px;
        height: 120px;
    }

    .story-list {
        gap: 30px;
    }

    .story-item {
        font-size: 16px;
        padding: 15px;
        border-radius: 30px;
        gap: 20px;
    }

    .story-item p {
        padding: 0 10px;
    }
}

@media (max-width: 450px) {
    .story-head {
        margin: 30px 0 40px 0
    }

    .story-item {
        font-size: 14px;
    }

    .story-item p span {
        font-size: 18px;
    }

    .story-inline-image {
        width: 100px;
        padding: 5px;
        border-radius: 20px;
    }

    .story-item.special .story-center-image {
        width: 100px;
        height: 100px;
        padding: 5px;
        border-radius: 20px;
    }

    .story-list {
        padding: 0 5px;
    }

    .story-item {
        padding: 10px;
        gap: 0px;
        border-radius: 20px;
        border: 2px solid rgba(0, 0, 0, 0.2);
        border-top: 2px dashed rgba(0, 0, 0, 0.5);
    }

    .story {
        padding: 20px 10px;
    }
}

.story-pop-button {
    position: fixed;
    bottom: -20px;
    right: -20px;
    font-size: 14px;
    background: white;
    color: black;
    font-family: "Itim";
    z-index: 99999;
    border-radius: 60px 0 0 0px;
    text-align: center;
    padding: 25px 30px 30px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 150px;
    box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.3);
    animation: story-pop-flipper 2s ease-in-out infinite;
}

.story-pop-button img {
    height: 18px;
}

.story-pop-button span {
    display: none
}

@keyframes story-pop-flipper {
    0% {
        bottom: -20px;
        right: -20px;
    }

    30% {
        bottom: -10px;
        right: -10px;
    }

    70% {
        bottom: -10px;
        right: -10px;
    }

    100% {
        bottom: -20px;
        right: -20px;
    }
}

.story-pop-button:hover {
    animation: story-pop-blinker 0.5s ease-in-out infinite;
}

@keyframes story-pop-blinker {
    0% {
        box-shadow: 0px 0px 10px rgb(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0px 0px 50px rgb(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0px 0px 30px rgb(0, 0, 0, 0.2);
    }
}

@media (max-width: 600px) {
    .story-pop-button {
        position: fixed;
        bottom: -20px;
        right: 0;
        padding: 8px;
        border-radius: 10px;
        padding-bottom: 25px;
        width: 100%;
        font-size: 12px;
        box-shadow: 0px 0px 30px rgb(0, 0, 0, 0.2);
        animation: story-pop-flipper 3s ease-in-out infinite;

    }

    @keyframes story-pop-flipper {
        0% {
            bottom: -40px;
        }

        40% {
            bottom: -20px;
        }

        70% {
            bottom: -20px;
        }

        100% {
            bottom: -40px;
        }
    }

    .story-pop-button span {
        display: inline;
    }


    @keyframes slide-in {
        from {
            transform: translateY(100%);
            opacity: 0;
            border-radius: 40px;

        }

        to {
            transform: translateY(0);
            opacity: 1;
            border-radius: 20px;

        }
    }
}