/* --------------------General style---------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: #ebedf1;
    color: #001219 !important;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: #005f73 !important;
}

a:hover {
    color: #0a9396 !important;
}

ul {
    list-style: none;
}

header {
    height: 80px;
}


/* -----Header-----*/

.navbar-brand,
.title {
    background: -webkit-linear-gradient(90deg, #005f73, #0a9396);
    font-size: 22px;
    font-weight: bolder;
    text-transform: uppercase;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.4s;
}

.navbar-brand:hover {
    text-shadow: 5px 5px 20px #0a9396, -5px -5px 20px #0a9396;
}

.nav-link:hover {
    font-weight: bolder;
    text-shadow: 1px 1px 10px #e9d8a6, -1px -1px 10px #e9d8a6;
}

.nav-link:hover::first-letter {
    font-size: larger;
    color: #0a9396;
}

.dropdown-menu li a {
    text-shadow: 1px 1px 0px #005f73;
}

.navbtn:hover {
    opacity: 0.7;
}


/*Main*/

.carousel-inner h1 {
    text-shadow: 1px 1px 5px #005f73;
}

.carousel-inner .carousel-caption {
    background: rgba(0, 95, 115, 0.5);
    border-radius: 10px;
}


/*Aside*/

.aside-icon {
    width: 80px;
    height: 80px;
}

.aside-icon a i {
    text-align: center;
    font-size: 60px;
    line-height: 80px;
}


/*cards*/

.btntranslate {
    position: relative;
}

.btntranslate::before {
    position: absolute;
    content: "";
    border: 15px groove transparent transparent lightblue transparent;
    top: 0px;
    left: 0px;
    display: none;
}

.btntranslate::after {
    position: absolute;
    content: "";
    height: 50px;
    width: 100px;
    background-color: rgb(215, 240, 248);
    top: 40px;
    left: 70px;
    border-radius: 0px 15px 15px;
    display: none;
}

.btntranslate:active::before,
.btn:hover::before {
    display: block;
}

.btntranslate:hover::after {
    content: "Copy to Clipboard";
    color: #001219;
    display: block;
}

.btntranslate:active::after {
    content: "copied";
    color: #001219;
    display: block;
    height: 25px;
}


/*fixed image*/

.fixed-img {
    background-attachment: fixed;
    background-size: cover;
    height: 300px;
}

.fixed-image1 {
    background-image: url(../images/startup.jpg);
}

.fixed-image2 {
    background-image: url(../images/startup1.jpg);
}

.card-img-top {
    height: 380px;
}


/*thank you*/

.wrapper {
    margin: 10vh;
}

.thankcard {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 450px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .thankcard {
        min-height: 350px;
    }
}

@media (max-width: 420px) {
    .thankcard {
        min-height: 300px;
    }
}

.card.card-has-bg {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center center;
}

.card.card-has-bg:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.card.card-has-bg:hover {
    transform: scale(0.9);
    box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
    background-size: 130%;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card.card-has-bg:hover .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: #234f6d;
    background: linear-gradient(0deg, rgba(0, 95, 115, 0.5) 0%, #0a9396 100%);
}

.card .card-footer {
    background: none;
    border-top: none;
}

.card .card-footer .media img {
    border: solid 3px rgba(255, 255, 255, 0.3);
}

.card .card-meta {
    color: #26b8bd;
}

.card .card-body {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card-hover:hover {
    cursor: pointer;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card-hover:hover .card-body {
    margin-top: 30px;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card-hover .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: #234f6d;
    background: linear-gradient(0deg, rgba(35, 79, 109, 0.3785889356) 0%, #455f71 100%);
}


/*artical*/


/* News */

.postcard {
    height: 400px;
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #f4f4f9;
    /* Updated Text Color */
    background-color: #001219;
    /* Updated Dark Background */
}

.postcard.dark {
    background-color: #001219;
    /* Updated Dark Background */
}

.postcard.light {
    background-color: #f4f4f9;
    /* Updated Light Background */
    color: #001219;
    /* Updated Text Color */
}

.postcard .t-dark {
    color: #001219;
    /* Updated Dark Text Color */
}

.postcard a {
    color: inherit;
}

.postcard h1,
.postcard .h1 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.postcard .small {
    font-size: 80%;
}

.postcard .postcard__title {
    font-size: 1.75rem;
    color: #0a9396;
    /* Updated Title Color */
}

.postcard .postcard__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.postcard .postcard__img_link {
    display: contents;
}

.postcard .postcard__bar {
    width: 50px;
    height: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #005f73;
    /* Updated Bar Color */
    transition: width 0.2s ease;
}

.postcard .postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #0a9396;
    /* Updated Text Background */
    color: #f4f4f9;
    /* Updated Text Color */
}

.postcard .postcard__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
}

.postcard .postcard__tagbox {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;
    justify-content: center;
}

.postcard .postcard__tagbox .tag__item {
    display: inline-block;
    background: #e9d8a6;
    /* Updated Tag Background */
    color: #001219;
    /* Updated Tag Text Color */
    border-radius: 3px;
    padding: 2.5px 10px;
    margin: 0 5px 5px 0;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
    transition: background-color 0.5s;
}

.postcard .postcard__tagbox .tag__item:hover {
    background: #005f73;
    /* Updated Hover Background */
    color: #f4f4f9;
    /* Updated Hover Text Color */
}

.postcard:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(-70deg, #005f73, transparent 50%);
    opacity: 0.7;
    /* Updated Gradient */
    border-radius: 10px;
}

.postcard:hover .postcard__bar {
    width: 100px;
}

@media screen and (min-width: 769px) {
    .postcard {
        flex-wrap: inherit;
    }
    .postcard .postcard__title {
        font-size: 2rem;
    }
    .postcard .postcard__tagbox {
        justify-content: start;
    }
    .postcard .postcard__img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
    }
    .postcard .postcard__text {
        padding: 3rem;
        width: 100%;
    }
    .postcard:hover .postcard__img {
        transform: scale(1.1);
    }
    .postcard:nth-child(2n+1) {
        flex-direction: row;
    }
    .postcard:nth-child(2n+0) {
        flex-direction: row-reverse;
    }
}

@media screen and (min-width: 1024px) {
    .postcard__text {
        padding: 2rem 3.5rem;
    }
}


/* COLORS */

.postcard .postcard__tagbox .green.play:hover {
    background: #0a9396;
    color: #001219;
}

.green .postcard__title:hover {
    color: #0a9396;
}

.green .postcard__bar {
    background-color: #0a9396;
}

.postcard .postcard__tagbox .blue.play:hover {
    background: #005f73;
}

.blue .postcard__title:hover {
    color: #005f73;
}

.blue .postcard__bar {
    background-color: #005f73;
}

.postcard .postcard__tagbox .red.play:hover {
    background: #075c71;
}

.red .postcard__title:hover {
    color: #075c71;
}

.red .postcard__bar {
    background-color: #075c71;
}

.postcard .postcard__tagbox .yellow.play:hover {
    background: #e9d8a6;
    color: #001219;
}

.yellow .postcard__title:hover {
    color: #e9d8a6;
}

.yellow .postcard__bar {
    background-color: #e9d8a6;
}


/*card overlay*/

.cardover {
    position: relative;
    min-height: 450px;
}

.cardover .btn {
    position: absolute;
    z-index: 10;
    bottom: 55px;
    right: 13px;
}

.cardover::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: #0a9396;
    opacity: 0.3;
    transition: 1s;
}

.cardover:hover::after {
    width: 100%;
    height: 100%;
}

.cardover::before {
    position: absolute;
    content: "";
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    background-color: #cecece;
    opacity: 0.3;
    transition: 1s;
}

.cardover:hover::before {
    width: 100%;
    height: 100%;
}

.logoicon {
    height: 80px;
    width: 80px;
    box-shadow: -3px -3px 20px 10px rgb(201, 198, 241);
    border-radius: 50%;
    transition: 1s;
}

.logoicon:hover {
    background-color: #005f73;
    opacity: 0.7;
    /* scale: 80%; */
}