﻿
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.carousel-thumb {
    cursor: pointer;
    opacity: 0.6;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: 0.3s;
}

    .carousel-thumb:hover,
    .carousel-thumb.active {
        opacity: 1;
        border-color: #0d6efd;
    }

.main-carousel img {
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

#sidebar {
    background-color: #eceff1;
    padding: 2em 1em;
    border-radius: 8px;
    width: 360px;
    margin-left: auto;
}

.sidebar-header h6 {
    font-size: 0.9rem;
    color: #343a40;
    margin-bottom: 0.75rem;
}

.search-box input {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.85rem;
    background-color: #fff;
}

.menu-list {
    margin-top: 14px;
}

.menu-link {
    text-decoration: none;
    display: block;
    padding: 7px;
    border-bottom: 1px solid #dcdcdc;
    color: #212529;
}

    .menu-link:hover {
        color: #0d6efd;
        background-color: #f8f9fa;
    }

.menu-title {
    font-size: 0.84rem;
    font-weight: 500;
}

.menu-date {
    font-size: 0.72rem;
    color: #6c757d;
}

@media (max-width: 992px) {
    #sidebar {
        display: none;
    }
}
.download-btn {
    height: 45px;
    width: 155px;
    cursor: pointer;
    background: white;
    border: none;
    background: rgb(0, 128, 242);
    border-radius: 30px;
    overflow: hidden;
}

.button-content {
    transform: translateY(-45px);
    transition: all 250ms ease-in-out;
}

.svg-container,
.text-container {
    height: 45px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .text-container .text {
        font-size: 13px;
        color: #fff;
        font-weight: 600;
        opacity: 1;
        transition: opacity ease-in-out 250ms;
    }

.download-icon {
    height: 25px;
    width: 25px;
    fill: #fff;
    opacity: 0;
    transition: opacity ease-in-out 250ms;
}

/* hover state for the button */
.download-btn:hover .button-content {
    transform: translateY(0px);
}

.download-btn:hover .text {
    opacity: 0;
}

.download-btn:hover .download-icon {
    opacity: 1;
}

.download-btn:focus .download-icon {
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
    animation: heartbeat 1.5s ease-in-out infinite both;
}

@-webkit-keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

@keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}
