@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_slnt,wght.ttf') format('opentype');
}

body {
    font-family: 'Inter', Fallback, sans-serif;
}

/* Overrding the default tailwind styles */
h2 {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    margin-top: 1.5rem !important;
}

p {
    font-size: 1rem;
    font-weight: 300;
    color: #404A54;
}

ol {
    font-size: 1rem;
    font-weight: 300;
    color: #404A54;
}

ul {
    font-size: 1rem;
    font-weight: 300;
    color: #404A54;
}

.navbar {
    background-color: #ffffff60;
    backdrop-filter: blur(10px);
    padding-top: 1%;
    padding-right: 14%;
    padding-bottom: 1%;
    padding-left: 14%;
    position: sticky;
    top: 0;
    z-index: 40;
}

/* Navigation Button Styles */
.nav-button {
    padding: 8px 16px;
    margin-left: 8px;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-button:hover {
    color: #333;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.nav-button:focus {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.nav-button.active {
    color: #333;
    font-weight: 500;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.nav-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
}

.nav-buttons-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Enhanced navbar layout for roadmap, release notes home, and individual changelog pages */
body.roadmap-page .navbar,
body.homepage .navbar,
body.changelog-page .navbar {
    padding: 16px 0;
    width: 100vw;
}

body.roadmap-page .navbar-content,
body.homepage .navbar-content,
body.changelog-page .navbar-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

@media (max-width: 1200px) {
    body.roadmap-page .navbar-content,
    body.homepage .navbar-content,
    body.changelog-page .navbar-content {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    body.roadmap-page .navbar-content,
    body.homepage .navbar-content,
    body.changelog-page .navbar-content {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    body.roadmap-page .navbar-content,
    body.homepage .navbar-content,
    body.changelog-page .navbar-content {
        padding: 0 12px;
    }
}

.changelog-component {
    margin-left: 1%;
    padding: 25px 0px;
    display: flex;
    flex-direction: row;
}

.changelog-content {
    padding-left: 2.5rem;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 7px;
    border-left: 1px solid #eeeeee;
}
.changelog-info-tab {
    margin-top: 1.5rem;
}

.left-pane {
    padding-bottom: 10px;
    padding-right: 40px;
}
.product-filter {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 4%
}


.changelog-content img {
    height: auto;
}

.product-filter {
    padding: 10px;
}

.checkmark {
    display: none;
}
.product-filter:active {
    .checkmark {
        display: block;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-footer {
    width: 150px;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

/* Styling for all Videos in the engage page */
.videoContWidth, .videoThumbWidth {
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 0;
}

.videoContWidth .videoContHeight,
.videoThumbWidth .videoThumbHeight {
    width: 100%;
    display: inline-block;
}

.videoContWidth .videoContHeight .video,
.videoContWidth .videoContHeight .videoThumb,
.videoThumbWidth .videoThumbHeight .video,
.videoThumbWidth .videoThumbHeight .videoThumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile styles */
@media only screen and (max-width: 600px) {

    .nav-item {
        padding: 10px;
        display: flex;
        justify-content: end;
    }

}

#subscribe-button:hover{
    color:white;
    border-color: #ea580c;
    #mailIcon {
        filter: invert(1);
    }
    #mailIcon path{
        stroke:white;
        stroke-width: 2;
    }
    #mailIcon polyline{
        stroke:white;
        stroke-width: 2;
    }
}

#shareIcon, #likeIcon{
    max-width: 100%;
}


button {
    background-color: none;
}

@keyframes slideInDown {
    0% {
        transform: translateY(-100%);
        visibility: visible;
    }
    100% {
        transform: translateY(0);
    }
}
.slideInDown {
    animation-name: slideInDown;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        visibility: visible;
    }
    100% {
        transform: translateX(0);
    }
}
.slideInRight {
    animation-name: slideInRight;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

.changelog-content_body a {
    color:#FF5A00;
}
.changelog-content_body p {
    margin-bottom: 10px;
}
.changelog-content_body ul {
    list-style: circle;
    color: #616161;
    box-sizing: border-box;
    list-style-position: inside;
    padding-left: 0;
}
.changelog-content_body ol {
    list-style: decimal;
    color: #616161;
    box-sizing: border-box;
    list-style-position: inside;
}

.changelog-page .changelog-component{
    margin-right:17.5%;
}
input:focus{
    border-color: #FF5A00;
}

.sm-flex-row {
    flex-direction: row;
    /* justify-content: center; */
}

.large-list-box {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {

    .changelog-page .changelog-component {
        margin-right: 0%;
    }
    .left-pane {
        display: none !important;
        width: 100%;
    }
    .flex-wrap {
        flex-direction: column-reverse;
        /* align-items: center; */
    }

    .home-changelog .changelog-info-top {
        margin-top: 12%;
    }

    .changelog-info-top {
        margin-top:5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        margin-bottom: .25rem;
    }

    .home-changelog > .changelog-info-top:first-of-type{
        margin-top:5%;
    }

    .changelog-info-top p {
        font-size: 1rem;
        font-weight: 300;
        color: #404A54;
    }
    .list-box {
        max-width: 20%;
    }
    .filters-button {
        width: fit-content;
        background-color: rgb(251, 251, 251);
        color: rgb(125,125,125);
        display: block;
        border-radius: 4px;
        padding: 8px 16px;
        cursor: pointer;
        text-align: center;
        width: 100%;
    }

    .navbar{
        padding-left: 4%;
        padding-right: 4%;
    }

    #filtersDropdown {
        position: absolute;
        z-index: 999;
        top: 110px;
        left: 0;
        /* width: 100%; */
        max-height: 300px;
        overflow-y: auto;
        background-color: #fff;
        /* border: 1px solid #ccc; */
        border-radius: 4px;
        margin-left: 8%;
        padding-top: 1%;
        padding-left: 1%
    }
    .large-list-box{
        display:none;
    }

    .changelog-component{
        padding:0;
    }
    .content-footer{
        padding-bottom: 15px;
    }
    .custom-border{
        width: 90%;
        border-bottom: 1px solid #7D7D7D;
    }
    .mobile-filters-button{
        margin-top:1% !important ;
    }
}


@media (max-width: 640px) {

    .changelog-page .changelog-component{
        margin-right: 0% ;
    }


    .mobile-filters-button{
        width:fit-content;
    }

    .mobile-filters-button{
        margin-top:1% ;
    }

    .navbar{
        padding-left: 2% ;
        padding-right: 2% ;
    }

    .changelog-component{
        flex-wrap: wrap;
        padding:0;
    }
    .custom-border{
        width: 80%;
        border-bottom: 1px solid #7D7D7D;
    }

    .home-changelog .changelog-info-top{
        margin-top:12%;
    }


    .home-changelog > .changelog-info-top:first-of-type , .changelog-info-top{
        margin-top:5%;
    }

    .content-footer{
        padding-bottom: 15px;
    }
    .changelog-content{
        width: 100%;
        padding-right: 2.5rem;
    }
    .list-box{
        margin-left: 3rem;
    }

    .left-pane{
        display: none;
        width: 100%;
    }

    .flex-wrap {
        flex-direction: column-reverse;
        /* align-items: center; */
    }

    .changelog-info-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        margin-bottom: 0.25rem;
    }

    .changelog-info-top p {
        font-size: 1rem;
        font-weight: 300;
        color: #404A54;
    }


    .list-box {
        max-width: 20%;
    }

    .filters-button {

        background-color: rgb(251, 251, 251);
        color: rgb(125,125,125);
        display: block;
        border-radius: 4px;
        padding: 8px 16px;
        cursor: pointer;
        text-align: center;
        width: fit-content;
    }

    #filtersDropdown {

        position: absolute;
        z-index: 999;
        top: 110px;
        left: 0;
        /* width: 100%; */
        max-height: 300px;
        overflow-y: auto;
        background-color: #fff;
        /* border: 1px solid #ccc; */
        border-radius: 4px;
        margin-left: 8%;
        padding-top: 1%;
        padding-left: 1%
    }

    .large-list-box{
        display:none;
    }

}

@media (max-width: 600px){

    .navbar-text{
        margin-right: 5px;
    }

    .mobile-filters-button{
        margin-top:1% ;
        margin-left:3%;
        width:fit-content;
    }

    .changelog-content{
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .changelog-info-top{
        padding-left: 1rem ;
    }
}

@media (min-width: 769px) {
    #filterButton,
    #filtersDropdown {
        display: none;
    }
    .large-list-box{
        display:flex;
        flex-direction: column;
    }
}

#prevIcon{
    transform: scaleX(-1);
}

@media (max-width: 417px){
    #filtersDropdown{
        top: 110px;
        margin-left:6.5%;
    }
}



.changelog-info-top{
    padding-left: 2.5rem;
}

.loader {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #FF5A00;
    width: 0%;
    transition: width 0.2s ease-in-out;
}

.post-actions-container {
    position: relative;
    display: inline-block;
}

.emoji-container {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateX(0) translateY(-50%);
    display: flex;
    flex-direction: row;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 25px;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 1.5px;
    gap: 0.2rem;
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s, width 0.5s;
}

.emoji-container .emoji-item {
    border: none;
}

.post-actions-container:hover .emoji-container,
.emoji-container:hover {
    opacity: 1;
    visibility: visible;
    width: auto;
    transform: translateX(3%) translateY(-50%);
}

.icon {
    cursor: pointer;
    font-size: 24px;
}

.right-emoji {
    align-items: center;
}

@media (max-width: 425px) {
    .right-emoji {
        flex-direction: row-reverse;
    }

    .post-actions-container:hover .emoji-container,
    .emoji-container:hover {
        opacity: 1;
        visibility: visible;
        width: auto;
        right: -0.2rem;
        transform: translateX(-13%) translateY(-183%);
    }
    .notification {
        top: -26%;
    }
}

.emoji-item {
    display: flex;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 0px 6px 0px 8px;
    font-size: small;
    cursor: pointer;
    gap: 0.2rem;
    user-select: none;
}

.emoji-list {
    flex-wrap: wrap;
    gap: 4px;
}

.emoji-bar {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 1rem 0 1rem 0 ;
    justify-content: space-between;
    margin-right: 0.5rem;
}

.emoji:hover {
    cursor: pointer;
}

.active {
   background-color: #e5e5e5;
}

.post-actions-container {
    display: flex;
    justify-content: end;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.icon-wrapper img {
    display: block;
}

.icon-wrapper .dark-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(1.05);
}

.icon-wrapper:hover .dark-icon {
    opacity: 1;
    transform: scale(1);
}


.notification {
    display: none;
    position: absolute;
    height: 2rem;
    left: 50%;
    z-index: 10;
    transform: translateX(-50%);
    background-color: white;
    padding: 6px 6px;
    align-items: center;
}

.notification-icon {
    display: flex;
    color: green;
    font-size: 20px;
}

.notification-text {
    font-size: 14px;
}

.notification.show {
    display: flex;
}

@keyframes zoom {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* Styling for the image popup */
#imagePopup.hidden {
    display: none;
}

#imagePopup .popup-content {
    animation: zoom 0.2s;
}

.home-changelog {
    width: 70%;
}

.mobile-filters-button{
    display: none;
}

.changelog-info-tab {
    width: 30%;
}

.post-content-container {
    justify-content: center;
}

@media (max-width: 768px) {
    .home-changelog {
        width: 100%;
    }
    .mobile-filters-button{
        display: flex;
    }
}


