/* CONTAINER */
section .tabs{
    width: 80%;
    margin: 2rem auto 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-bottom: 3rem;
}
.tabs li{
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    position: relative;
}
.tabs li::after{
    content: '';
    position: absolute;
    bottom: -20%;
    left: -3%;
    width: 0%;
    height: 5px;
    background: #e91e63;
    border-radius: 30px;
    transition: width .8s ease;
}
.tabs li.active::after{
    width: 104%;
}
.content{
    position: relative;
}
.container{
    top: 0;
    left: 0;
    display: none;
}
.container.active{
    display: block;
    animation: fade 1s ease;
}
@keyframes fade{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
table, th, td{
    border-collapse: collapse;
    padding: 1rem;
    text-align: center;
}
th{
    color: #260026;
}
table{
    width: 100%;
    z-index: 1;
}
thead th{
    position: sticky;
    top: 0;
    background-color: #fff4;
}
tbody tr:nth-child(even){
    background-color: #0000000b;
}
tbody tr:hover{
    background-color: #fff6;
}
main.table{
    background-color: #fff5;
    backdrop-filter: blur(7px);
    box-shadow: 0 .4rem .8rem #0005;
    border-radius: .8rem;
    overflow: hidden;
}
.table_header{
    width: 100%;
    height: 10%;
    background-color: #fff4;
    padding: .8rem 1rem;
    color: #260026
}
.table_body{
    width: 95%;
    max-height: calc(89% - 1.6rem);
    background-color: #fffb;
    margin: .8rem auto;
    border-radius: .6rem;
    overflow: auto;
}
.table_body::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
}
.table_body::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background-color: #0004;
    visibility: hidden;
}
.table_body:hover::-webkit-scrollbar-thumb{
    visibility: visible;
}
.highlight{
    color: #f2f2f2;
    display: inline-block;
    background: #260026;
    -webkit-border-raidus: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    line-height: 30px;
    padding: 0 14px;
}
.indexh1{
    color: #fff;
}
#h1ID{
    font-size: 16px;
    color: red;
}
#h1WordEntry{
    color: #e91e63;
}
.fa{
    font-size: 18px;
}
.fa-edit{
    color: #260026;
    cursor: pointer;
}
.fa-trash{
    color: #ff0000;
    cursor: pointer;
}
#dictTable tr[data-href]:hover{
    cursor: pointer;
}

/* TRANSLATOR */
.translator_property {
    border: 1px solid #c7c7c783;
    background: #fff;
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
}
.translator_property button{
    width: 100%;
    padding: 14px;
    outline: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    border-radius: 12px;
    background: #e91e63;
}
.translator_property .nuv_item {
    display: flex;
    width: 100%;
    height: 50px;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0 20px;
}
.translator_property .nuv_item li select {
    outline: none;
    border-style: none;
    padding: 10px 0;
    font-size: 17px;
    font-weight: 500;
    color: #606060;
    cursor: pointer;
    transition: all .3s ease-out;
}
.translator_property .nuv_item li select:hover {
    color: #111;
}
.bx-transfer {
    font-size: 22px;
    color: #606060;
    cursor: pointer;
    transition: all .3s ease-out;
}
.bx-transfer:hover {
    color: #111;
}

.write_box {
    display: flex;
}
.Property_from, .Property_trans {
    width: 100%;
    position: relative;
}
.Property_from {
    border-top: 1px solid #c7c7c7;
    border-right: 1px solid #c7c7c7;
}
.Property_trans {
    border-top: 1px solid #c7c7c7;
    border-left: 1px solid #c7c7c7;
}
.write_box textarea {
    width: 100%;
    height: 250px;
    border-style: none;
    outline: none;
    resize: none;
    padding: 10px 20px;
    font-size: 18px;
    color: #260026;
    position: relative;
}
.write_box textarea::placeholder {
    color: #260026;
}
.write_box textarea:nth-child(1) {
    border-bottom: 1px solid #c7c7c7;
}
.write_box .icons {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
}
.write_box .icons .bx {
    width: 35px;
    height: 35px;
    background: #ddd;
    text-align: center;
    line-height: 35px;
    font-size: 18px;
    color: #000;
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s ease-out;
}
.write_box .icons .bx-volume-full {
    margin-right: 10%;
}
.write_box .icons .bx:hover {
    background: #260026;
    color: #fff;
}
.write_box .icons .code_length {
    color: #260026;
}

.translator{
    max-width: 100%;
    width: 100%;
    padding: 30px;
    background: #E3DEE3;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.01);
}
.wrapper{
    border-radius: 12px;
    border: 1px solid #260026;
}
.wrapper .horizontal{
    display: flex;
}
.wrapper .text-input{
    width: 50%;
    display: block;
    border-bottom: 1px solid #260026;
}
.text-input .to-text{
    border-radius: 0px;
    border-left: 1px solid #260026;
}
.text-input textarea{
    color: #260026;
    height: 250px;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    background: none;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 12px;
}
.text-input textarea::placeholder{
    color: #260026;
}
.text-input p{
    text-align: right;
    color: #260026;
    border-right: 1px solid #260026;
    padding: 10px 15px;
}
.controls, li, .icons, .icons i{
    color: #260026;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.controls{
    list-style: none;
    padding: 12px 0px;
}
.controls .row .icons{
    width: 38%;
}
.controls .row .icons i{
    width: 50px;
    color: #260026;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
    justify-content: center;
}
.controls .row.from .icons{
    padding-right: 15px;
    border-right: 1px solid #260026;
}
.controls .row.to .icons{
    padding-left: 15px;
    border-left: 1px solid #260026;
}
.controls .row select{
    color: #260026;
    border: none;
    outline: none;
    font-size: 18px;
    background: none;
    padding-left: 5px;
    cursor: pointer;
}
.text-input textarea::-webkit-scrollbar{
    width: 4px;
}
.controls .row select::-webkit-scrollbar{
    width: 8px;
}
.text-input textarea::-webkit-scrollbar-track,
.controls .row select::-webkit-scrollbar-track{
    background: #fff;
}
.text-input textarea::-webkit-scrollbar-thumb{
    background: #fff;
    border-radius: 12px;
}
.controls .row select::-webkit-scrollbar-thumb{
    background: #999;
    border-radius: 12px;
    border-right: 2px solid #ffffff;
}
.controls .exchange{
    color: #260026;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease;
}
.controls i:active{
    transform: scale(0.9);
}
select.no-dropdown-icon{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
}
.to-top{
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
    width: 50px;
    height: 50px;
    background-color: #260026;
    color: #fff;
    cursor: pointer;
    outline: none;
    border: 3px solid #fff;
    border-radius: 50%;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-property: background-color, color;
    z-index: 99998;
}
.to-top:hover, .to-top:focus{
    background-color: #e91e63;
    color: #fff;
}
  
/* Animations */
.btnEntrance{
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: btnEntrance;
}
/* zoomIn */
/* @keyframes btnEntrance { 
from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
}
to {
    opacity: 1;
}    
} */

/* fadeInUp */
@keyframes btnEntrance {
from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
}
to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
}

.btnExit {
    animation-duration: 0.25s;
    animation-fill-mode: both;  
    animation-name: btnExit;
}
/* zoomOut */
/* @keyframes btnExit {
from {
    opacity: 1;
}
to {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
}
} */

/* fadeOutDown */
@keyframes btnExit {
from {
    opacity: 1;
}
to {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
}
}

/* SIDEBAR */
.side-nav{
    position: fixed;
    left: 0;
    top: 0;
    width: 100px;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
    background: linear-gradient(#00bcd4, #e91e63, #3f51b5, #00bcd4);
    background-size: 100% 500%;
    background-position: 0 40%;
}
.side-nav:hover{
    animation: backcolor 20s linear infinite reverse;
}
@keyframes backcolor{
    0%{
        background-position: 0 0%;
    }
    100%{
        background-position: 0 400%;
    }
}
.side-nav .logo{
    width: 60px;
    cursor: pointer;
}
.side-nav a{
    position: relative;
    background: #fff;
    color: #fff;
    text-decoration: none;
    transform: rotate(-90deg) translateX(50%);
    width: max-content;
    padding: 10px 30px;
    transition: 0.5s;
}
.side-nav a:hover{
    background: var(--clr);
    color: var(--clr);
    letter-spacing: 0.1em;
    box-shadow: 0 0 35px var(--clr);
}
.side-nav a::before{
    content: '';
    position: absolute;
    inset: 2px;
    background: #260026;
}
.side-nav a span{
    position: relative;
    z-index: 1;
}
.side-nav a i{
    position: absolute;
    inset: 0;
    display: block;
}
.side-nav a i::before{
    content: '';
    position: absolute;
    top: 0;
    left: 80%;
    width: 10px;
    height: 4px;
    background: #260026;
    transform: translateX(-50%) skewX(325deg);
    transition: 0.5s;
}
.side-nav a:hover i::before{
    width: 20px;
    left: 20%;
}
.side-nav a i::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 10px;
    height: 4px;
    background: #260026;
    transform: translateX(-50%) skewX(325deg);
    transition: 0.5s;
}
.side-nav a:hover i::after{
    width: 20px;
    left: 80%;
}
.side-nav a{
    cursor: pointer;
}

/*=============== FEATURED-BOOKS ===============*/
:root {
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: #fff;
    --title-color: #fff;
    --text-color: #fff;
    --body-color: #fff;
    --featured-color: #e91e63;
  
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Poppins", sans-serif;
    --h2-font-size: 1.25rem;
    --small-font-size: .813rem;
  }
  
  /*========== Responsive typography ==========*/
  @media screen and (min-width: 1120px) {
    :root {
      --h2-font-size: 1.5rem;
      --small-font-size: .875rem;
    }
  }
  
  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  
  /*=============== CARD ===============*/
  .featured {
    display: grid;
    place-items: center;
    margin-inline: 1.5rem;
    padding-top: 1rem;
  }
  
  .card__featured {
    display: grid;
    row-gap: 3.5rem;
  }
  
  .card__article {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
  }
  
  .card__img {
    width: 348px;
    border-radius: 1.5rem;
  }
  
  .card__data {
    width: 280px;
    background-color: var(--featured-color);
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    border-radius: 1rem;
    position: absolute;
    bottom: -9rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    opacity: 0;
    transition: opacity 1s 1s;
  }

  .card__data {
    color: var(--text-color);
  }
  
  .card__description {
    display: block;
    margin-bottom: .25rem;
  }
  
  .card__title {
    font-size: var(--h2-font-size);
    font-weight: 500;
    color: var(--title-color);
    margin-bottom: .75rem;
  }
  
  .card__button {
    text-decoration: none;
    font-size: var(--small-font-size);
    font-weight: 500;
    color: var(--first-color);
  }
  
  .card__button:hover {
    text-decoration: underline;
    cursor: pointer;
  }
  
  /* Naming animations in hover */
  .card__article:hover .card__data {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity .3s;
  }
  
  .card__article:hover {
    animation: remove-overflow 2s forwards;
  }
  
  .card__article:not(:hover) {
    animation: show-overflow 2s forwards;
  }
  
  .card__article:not(:hover) .card__data {
    animation: remove-data 1s forwards;
  }
  
  /* Card animation */
  @keyframes show-data {
    50% {
      transform: translateY(-10rem);
    }
    100% {
      transform: translateY(-7rem);
    }
  }
  
  @keyframes remove-overflow {
    to {
      overflow: initial;
    }
  }
  
  @keyframes remove-data {
    0% {
      transform: translateY(-7rem);
    }
    50% {
      transform: translateY(-10rem);
    }
    100% {
      transform: translateY(.5rem);
    }
  }
  
  @keyframes show-overflow {
    0% {
      overflow: initial;
      pointer-events: none;
    }
    50% {
      overflow: hidden;
    }
  }
  
  /*=============== BREAKPOINTS ===============*/
  /* For small devices */
  @media screen and (max-width: 340px) {
    .featured {
      margin-inline: 1rem;
    }
  
    .card__data {
      width: 250px;
      padding: 1rem;
    }
  }
  
  /* For medium devices */
  @media screen and (min-width: 768px) {
    .card__featured {
      grid-template-columns: repeat(2, 1fr);
      column-gap: 1.5rem;
    }
  }
  
  /* For large devices */
  @media screen and (min-width: 1120px) {
    .card__featured {
      grid-template-columns: repeat(3, 1fr);
    }
    .card__img {
      height: 450px;
    }
    .card__data {
      padding-inline: 2.5rem;
    }
    .card__description{
        font-size: var(--small-font-size);
    }
  }

/* DROPDOWN MENU */
.dropdown_menu{
    z-index: 9999;
    display: none;
    position: absolute;
    right: 2rem;
    top: 120px;
    height: 0;
    width: 300px;
    background: rgba(19, 0, 19, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open{
    height: 360px;
}
.dropdown_menu li{
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.dropdown_menu li a{
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
}
.dropdown_menu button{
    background: #e91e63;
    width: 100%;
    color: #fff;
    border: 0;
    outline: 0;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    transition: scale 0.2 ease;
}
.dropdown_menu button:hover{
    scale: 1.05;
    color: #fff;
}
.dropdown_menu button:active{
    scale: 0.95;
}

/*=============== BODY DESIGN ===============*/
.brand-bar{
    height: 100px;
    width: 100%;
}
.bodoLogo{
    height: 100px;
    width: 30%;
    text-align: center;
    display: flex;
    align-items: center;
    color: white;
    float: left;
}
.bodoLogoTxT{
    height: 100px;
    width: 70%;
    text-align: center;
    font-size: smaller;
    display: flex;
    align-items: center;
    justify-content: right;
    color: white;
    float: left;
}
.bodoLogo .bodoSkyLogo{
    height: 65%;
    margin-right: auto;
    display: block;
}
.bodoLogo .bodoDictAronaiLogo{
    height: 100%;
    width: auto;
    margin-left: auto;
    display: block;
}
.input-group{
    margin: auto;
    position: relative;
    width: 300px;
    height: 42px;
    border: 4px solid #260026;
    padding: 0px 10px;
    border-radius: 50px;
}
.form-outline{
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
.search{
    background: none;
    border: none;
    height: 100%;
    width: 85%;
    padding: 0px 5px;
    border-radius: 50px;
    font-size: 15px;
    color: #260026;
    font-weight: 500;
}
::placeholder{
    color: #fff;
}
.search:focus{
    outline: none;
}
.material-icons{
    font-size: 25;
    color: #fff;
    vertical-align: middle;
}
.material-icons:hover{
    cursor: pointer;
}
.mid-content{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: -100px;
}
.post{
    width: 50%;
    margin-left: 2.5px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.post-img{
    height: 380px;
    width: 100%;
    border-radius: 12px;
    transition: .3s linear;
}
.post-content{
    background-color: #ffffffdd;
    margin: 0 20px;
    padding: 30px;
    border-radius: 12px;
    transform: translateY(-100px);
    transition: .3s linear;
}
.post-content h3{
    text-align: justify;
    font-size: 16px;
    margin-bottom: 0px;
}
.date{
    font-size: 15px;
    color: #260026;
    width: 100%;
    text-align: right;
    box-sizing: border-box;
}
@media (min-width: 1130px){
    .post:hover .post-img{
        transform: translateY(20px);
        cursor: pointer;
    }
    .post:hover .post-content{
        transform: translateY(-120px);
        cursor: pointer;
    }
}

/* FOOTER */
footer{
    margin-top: 20px;
    position: relative;
    width: 100%;
    background: #e91e63;
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;
}
footer .social_icons,.footer_menu{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}
footer .social_icons li,.footer_menu li{
    list-style: none;
}
footer .social_icons li a{
    font-size: 2em;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}
footer .social_icons li a:hover{
    transform: translateY(-10px);
}
footer .footer_menu li a{
    font-size: 1.2em;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
    opacity: 0.75;
    cursor: pointer;
}
footer .footer_menu li a:hover{
    opacity: 1;
}
footer p{
    color: #fff;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* RESPONSIVE DESIGN */
@media(max-width: 1130px){
    /* CUSTOM SCROLL BAR */
    ::-webkit-scrollbar{
        width: 5px;
    }
    .header{
        padding-left: 5%;
        padding-right: 5%;
    }
    .to-top{
        font-size: 22px;
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    .side-nav{
        display: none;
    }
    .dropdown_menu{
        display: block;
    }
    html{
        font-size: 70%;
    }
    .brand-bar{
        height: 100px;
        width: 100%;
    }
    .bodoLogo{
        height: 100px;
        width: 30%;
        text-align: center;
        display: flex;
        align-items: center;
        color: white;
        float: left;
    }
    .bodoLogo .bodoSkyLogo{
        height: 50%;
    }
    .bodoLogoTxT{
        height: 100px;
        width: 70%;
    }

    /* PROFILE SUBMENU */
    .sub-menu-wrap{
        right: 2%;
    }
    .user-info h4{
        font-size: 14px;
    }
    .user-info h5{
        font-size: 12px;
    }

    /* CONTAINER */
    td:not(:first-of-type){
        min-width: 12.1rem
    }
    #h1ID{
    font-size: 14px;
    }
    html{
        font-size: 70%;
    }
    section{
        width: 100%;
    }
    .fa{
    font-size: 13.5px;
    }

    /* MID CONTENT */
    .input-group{
        width: 200px;
        height: 25px;
        border: 2px solid #260026;
    }
    .search{
        width: 80%;
        font-size: 13px;
    }
    .material-icons{
        font-size: 16px;
    }
    .mid-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .post{
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .post{
        width: 100%;
    }
}

@media(max-width: 576px){
    /* TRANSLATOR */
    .write_box {
        display: block;
    }
    .write_box textarea {
        height: 200px;
    }
    .write_box .icons {
        padding: 10px 20px;
    }
    .write_box textarea:nth-child(1) {
        border-bottom: none;
    }

    .translator{
        padding: 20px;
    }
    .wrapper .horizontal{
        flex-direction: column;
    }
    .wrapper .text-input{
        width: 100%;
    }
    .text-input p{
        border: none;
    }
    .text-input .to-text{
        border-left: 0px;
        border-top: 1px solid #ccc;
    }
    .text-input textarea{
        height: 200px;
    }
    .controls .row .icons{
        font-size: 14px;
    }
    .controls .row.from .icons{
        padding-right: 0px;
    }
    .controls .row.to .icons{
        padding-left: 0px;
    }
    .translator_property button{
        padding: 13px;
        font-size: 16px;
    }
    .controls .row select{
        font-size: 16px;
    }
    .controls .exchange{
        font-size: 14px;
    }
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }
    .to-top{
        font-size: 18px;
        width: 32px;
        height: 32px;
        bottom: 6px;
        right: 6px;
    }
    .mid-content{
        margin-bottom: -50px;
    }
    .post-content{
        padding: 20px;
        transform: translateY(-60px);
    }
    .post-img{
        height: 200px;
    }
    .post-content h3{
        font-size: 13px;
        margin-bottom: 10px;
    }
    .date{
        font-size: 12px;
        color: #260026;
    }
    footer{
        padding: 2px 5px;
    }
}