@import url("https://fonts.googleapis.com/css?family=Raleway:900&display=swap");
.hamburg {
    position: absolute;
    padding: .6rem;
    background-color: #000000;
    border-radius: 10px;
    z-index: 80;
    box-shadow: 0 0 12px 1px #c9aa629e;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rghtcard {
    display: block;
    cursor: pointer;
    position: fixed;
    bottom: 17%;
    left: 10px;
    font-family: "Chakra Petch", sans-serif;
    z-index: 79;
}

.rghtcard ul {
    margin: 0;
    padding: 0;
}

.rghtcard ul li {
    position: absolute;
    text-decoration: none;
    list-style: none;
    transform: translate(0, 0) rotate(360deg);
    transition: all .5s ease;
    opacity: 0;
    width: 4em;
}

.rghtcard.open ul li:nth-child(1) {
    transform: translateY(-160px);
    transition-delay: .20s;
    opacity: 1;
}

.rghtcard.open ul li:nth-child(2) {
    transform: translate(0px, -85px);
    transition-delay: .16s;
    opacity: 1;
}

.rghtcard.open ul li:nth-child(3) {
    transform: translate(0px, -235px);
    transition-delay: .12s;
    opacity: 1;
}

.rghtcard.open ul li:nth-child(4) {
    transform: translate(0px, -310px);
    transition-delay: .08s;
    opacity: 1;
}

.rghtcard.open ul li:nth-child(5) {
    transform: translate(0px, -385px);
    transition-delay: .04s;
    opacity: 1;
}

.rghtcard ul li a img {
    width: 100%;
}

.rghtcard ul li a {
    display: flex;
    border: solid 2px #c9aa629e;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.rghtcard ul li a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #c9aa629e;
}

/* Hamburger bars */
.hamburger-line {
    width: 2.5rem;
    height: 0.15rem;
    background-color: #c9aa629e;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* X icon (initially hidden) */
.x-line {
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #c9aa629e;
    border-radius: 2px;
    transition: all 0.3s ease;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.x-line:nth-of-type(4) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.x-line:nth-of-type(5) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* When menu is open */
.hamburg.open .hamburger-line {
    opacity: 0;
}

.hamburg.open .x-line {
    opacity: 1;
}

.rghtcard ul li .tooltip {
    position: absolute;
    left: 70px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #c9aa629e;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.rghtcard ul li:hover .tooltip {
    opacity: 1;
    left: 80px;
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@media screen and (max-width:600px) {
    .rghtcard {
        bottom: 27%;
        left: 0.75em;
    }
}

#homePopup .modal-dialog .modal-content .modal-body .announcement-content img{
    width: inherit !important;
}