/********** Template CSS **********/
:root {
    --primary: #af813c;
    --secondary: #b49565;
    --light: #f4f7fe;
    --dark: #3e3414;
}

/* Backgrounds */
.bg-nav {
    background-color: rgba(146, 132, 112, 0.9);
}

.bg-2 {
    background-color: rgba(248, 241, 235, 0.9);
}

/* Colors */
.color-light {
    color: var(--light);
}

.color-dark {
    color: var(--dark);
}

/*** Back to top ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--primary);
    border: 1px solid var(--light);
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}

/* Search */
.search-box {
    width: fit-content;
    height: fit-content;
    position: relative;
    color: var(--secondary);
    border-radius: 10px;
    border: 3px solid var(--secondary);
}

.fa-search {
    color: var(--secondary) !important;
}

.input-search {
    height: 40px;
    width: 100px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 18px;
    color: var(--secondary);
    border: none;
    border-radius: 10px;
}

.input-search:focus,
.input-search:active {
    border: none;
    outline: none;
    border-radius: 10px;
}

.input-search::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-size: 18px;
    font-weight: 100;
}

.btn-search {
    width: 50px;
    height: 50px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    align-items: center;
    right: 0px;
    color: var(--secondary);
    background-color: transparent;
    pointer-events: painted;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: 0.5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.btn-animation {
    border: none;
    outline: none;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.btn-animation::before {
    position: absolute;
    content: "";
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    left: -2px;
    top: -2px;
    background: linear-gradient(
        124deg,
        #ff2400,
        #e81d1d,
        #e8b71d,
        #e3e81d,
        #1de840,
        #1ddde8,
        #2b1de8,
        #dd00f3,
        #dd00f3
    );
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    animation: move 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

.btn-animation:hover {
    color: var(--light);
}

.btn-animation:hover::before {
    opacity: 1;
}

.btn-animation::after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: 0.5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
    font-size: 1em;
    text-align: center;
}

.navbar .dropdown-menu,
.navbar .dropdown-menu a {
    white-space: inherit;
    min-width: 10px;
    max-width: 100%;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 6px;
        padding: 10px 35px;
        background-color: rgba(146, 132, 112, 1);
    }

    .navbar .navbar-nav .nav-link {
        margin: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item {
        padding-left: 10px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: 4px outset var(--dark);
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Hero Header ***/
.hero {
    margin-top: -75px;
    display: grid;
    position: relative;
    grid-template-columns: 100vw;
    grid-template-rows: 100vh;
    place-items: center;
    overflow: hidden;
    animation: clip-hero-anim 1.25s cubic-bezier(0.29, 0.8, 0.8, 0.98);
    will-change: clip-path;
}
.hero__bg,
.hero__cnt {
    align-self: center;
    grid-column: 1/2;
    grid-row: 1/2;
}
.hero__bg {
    display: grid;
    position: relative;
    z-index: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    animation: fade-in 0.75s linear;
    will-change: opacity;
}
.hero__bg::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 5;
    top: -10%;
    right: -10%;
    bottom: -10%;
    left: -10%;
    background: rgba(41, 4, 47, 0.4);
    background-blend-mode: screen;
}
.hero__bg picture {
    display: flex;
    height: 100vh;
    width: 100vw;
    animation: scaling-hero-anim 4s 0.25s cubic-bezier(0, 0.71, 0.4, 0.97)
        forwards;
    will-change: transform;
}
.hero__bg img {
    display: block;
    object-fit: cover;
    object-position: 77% 50%;
    height: auto;
    width: 100%;
}
.hero__cnt {
    display: grid;
    position: relative;
    place-items: center;
    z-index: 10;
    color: #fff;
    font-size: 2.5vw;
    text-transform: uppercase;
    opacity: 0;
    animation: fade-in 0.75s 1.5s linear forwards;
}

.hero__cnt .flag {
    margin-left: 2.5vw;
    height: 2vw;
}

.hero__cnt .building {
    height: 12vw;
}

.hero__cnt h1 {
    margin-bottom: 0;
    color: #fff;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes scaling-hero-anim {
    from {
        transform: scale(1.25);
    }
    to {
        transform: scale(1.1);
    }
}
@keyframes clip-hero-anim {
    from {
        clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, 0.5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}

/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #ffffff;
    transition: 0.5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: 0.5s;
}

.service-item:hover .service-icon {
    background: #ffffff;
}

.service-item h5,
.service-item p {
    transition: 0.5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #ffffff;
}

.service-item a {
    color: var(--dark);
}

.service-item a:hover {
    color: var(--light);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: 0.5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

/*** Footer ***/
.footer {
    background-color: var(--secondary);
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(256, 256, 256, 0.1);
    border-radius: 40px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    transition: 0.3s;
}

.footer .btn.btn-link:hover {
    color: #ffffff;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, 0.5);
}

.footer .copyright a:hover {
    color: #ffffff;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* News */
.news {
    border-radius: 16px;
    max-width: 360px;
    height: 360px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(39, 24, 11, 0.85);
}
.news:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(39, 24, 11, 0.92);
}

.news .content {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    width: 100%;
    height: 100%;
    transform: translateY(0%);
    transition: 1s;
    transition-delay: 0.1s;
}

/* Pagination */
.pagi {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
}
.pagi-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.8rem;
    font-size: 1.4rem;
    cursor: pointer;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.4rem;
}

.pagi-item.active {
    color: #ffffff;
    background: var(--primary);
    font-weight: 600;
}

.pagi-item:hover {
    background: var(--secondary);
    color: var(--light);
}

/* Organizations */
.org {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 20px 0 80px;
}

.org .card {
    width: 500px;
    margin: 10px;
    background-color: white;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
}
.org .card:hover .card__caption {
    top: 50%;
    transform: translateY(-50%);
}
.org .card:hover .card__image {
    transform: translateY(-10px);
}
.org .card:hover .card__thumb::after {
    top: 0;
}
.org .card:hover .card__snippet {
    margin: 20px 0;
}
.org .card__thumb {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .org .card__thumb {
        max-height: 500px;
    }
}
.org .card__thumb::after {
    position: absolute;
    top: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: 0.3s;
}
@media (min-width: 1024px) {
    .org .card__thumb::after {
        top: calc(100% - 140px);
    }
}
.org .card__image {
    width: 100%;
    transition: 0.5s ease-in-out;
}
.org .card__caption {
    position: absolute;
    top: 50%;
    z-index: 1;
    padding: 0 20px;
    color: white;
    transform: translateY(-50%);
    text-align: center;
    transition: 0.3s;
}
@media (min-width: 1024px) {
    .org .card__caption {
        top: calc(100% - 110px);
        transform: unset;
    }
}
.org .card__title {
    display: -webkit-box;
    max-height: 85px;
    overflow: hidden;
    font-size: 23px;
    line-height: 28px;
    text-shadow: 0px 1px 5px var(--dark);
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.org .card__snippet {
    display: -webkit-box;
    max-height: 150px;
    margin: 20px 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 20px;
    text-overflow: ellipsis;
    transition: 0.5s ease-in-out;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}
@media (min-width: 1024px) {
    .org .card__snippet {
        margin: 80px 0;
    }
}
.org .card__button {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    border: 1px solid white;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}
.org .card__button:hover {
    color: black;
    background-color: white;
}

/* Journals tab */
.journal-tabs .tabs {
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    background: white;
    padding: 50px;
    padding-bottom: 80px;
    width: 100%;
    height: 100%;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    border-radius: 5px;
    min-width: 240px;
}
.journal-tabs .tabs input[name="tab-control"] {
    display: none;
}
.journal-tabs .tabs .content section h2,
.journal-tabs .tabs ul li label {
    font-weight: bold;
    font-size: 18px;
    color: var(--secondary);
}
.journal-tabs .tabs ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
.journal-tabs .tabs ul li {
    box-sizing: border-box;
    flex: 1;
    width: 25%;
    padding: 0 10px;
    text-align: center;
}
.journal-tabs .tabs ul li label {
    transition: all 0.3s ease-in-out;
    color: var(--secondary);
    padding: 5px auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.journal-tabs .tabs ul li label br {
    display: none;
}
.journal-tabs .tabs ul li label svg {
    color: var(--secondary);
    height: 1.2em;
    vertical-align: bottom;
    margin-right: 0.2em;
    transition: all 0.2s ease-in-out;
}
.journal-tabs .tabs ul li label:hover,
.journal-tabs .tabs ul li label:focus,
.journal-tabs .tabs ul li label:active {
    outline: 0;
    color: var(--secondary);
}
.journal-tabs .tabs ul li label:hover svg,
.journal-tabs .tabs ul li label:focus svg,
.journal-tabs .tabs ul li label:active svg {
    color: var(--secondary);
}
.journal-tabs .tabs .slider {
    position: relative;
    width: 25%;
    transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
.journal-tabs .tabs .slider .indicator {
    position: relative;
    width: 50px;
    max-width: 100%;
    margin: 0 auto;
    height: 4px;
    background: var(--secondary);
    border-radius: 1px;
}
.journal-tabs .tabs .content {
    margin-top: 30px;
}
.journal-tabs .tabs .content section {
    display: none;
    -webkit-animation-name: content;
    animation-name: content;
    -webkit-animation-direction: normal;
    animation-direction: normal;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    line-height: 1.4;
}
.journal-tabs .tabs .content section h2 {
    color: var(--secondary);
    display: none;
}
.journal-tabs .tabs .content section h2::after {
    content: "";
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    color: var(--secondary);
    margin-top: 5px;
    left: 1px;
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(1):checked
    ~ ul
    > li:nth-child(1)
    > label {
    cursor: default;
    color: var(--secondary);
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(1):checked
    ~ ul
    > li:nth-child(1)
    > label
    svg {
    fill: var(--secondary);
}
@media (max-width: 600px) {
    .journal-tabs
        .tabs
        input[name="tab-control"]:nth-of-type(1):checked
        ~ ul
        > li:nth-child(1)
        > label {
        background: var(--light);
    }
}
.journal-tabs .tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
    transform: translateX(0%);
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(1):checked
    ~ .content
    > section:nth-child(1) {
    display: block;
    color: var(--secondary);
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(2):checked
    ~ ul
    > li:nth-child(2)
    > label {
    cursor: default;
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(2):checked
    ~ ul
    > li:nth-child(2)
    > label
    svg {
    fill: var(--secondary);
}
@media (max-width: 600px) {
    .journal-tabs
        .tabs
        input[name="tab-control"]:nth-of-type(2):checked
        ~ ul
        > li:nth-child(2)
        > label {
        background: var(--light);
    }
}
.journal-tabs .tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
    transform: translateX(100%);
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(2):checked
    ~ .content
    > section:nth-child(2) {
    display: block;
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(3):checked
    ~ ul
    > li:nth-child(3)
    > label {
    cursor: default;
    color: var(--secondary);
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(3):checked
    ~ ul
    > li:nth-child(3)
    > label
    svg {
    fill: var(--secondary);
}
@media (max-width: 600px) {
    .journal-tabs
        .tabs
        input[name="tab-control"]:nth-of-type(3):checked
        ~ ul
        > li:nth-child(3)
        > label {
        background: var(--light);
    }
}
.journal-tabs .tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
    transform: translateX(200%);
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(3):checked
    ~ .content
    > section:nth-child(3) {
    display: block;
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(4):checked
    ~ ul
    > li:nth-child(4)
    > label {
    cursor: default;
    color: var(--secondary);
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(4):checked
    ~ ul
    > li:nth-child(4)
    > label
    svg {
    fill: var(--secondary);
}
@media (max-width: 600px) {
    .journal-tabs
        .tabs
        input[name="tab-control"]:nth-of-type(4):checked
        ~ ul
        > li:nth-child(4)
        > label {
        background: var(--light);
    }
}
.journal-tabs .tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
    transform: translateX(300%);
}
.journal-tabs
    .tabs
    input[name="tab-control"]:nth-of-type(4):checked
    ~ .content
    > section:nth-child(4) {
    display: block;
}
@-webkit-keyframes content {
    from {
        opacity: 0;
        transform: translateY(5%);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}
@keyframes content {
    from {
        opacity: 0;
        transform: translateY(5%);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}
@media (max-width: 1000px) {
    .journal-tabs .tabs ul li label {
        white-space: initial;
    }
    .journal-tabs .tabs ul li label br {
        display: initial;
    }
    .journal-tabs .tabs ul li label svg {
        height: 1.5em;
    }
}
@media (max-width: 600px) {
    .journal-tabs .tabs ul li label {
        padding: 5px;
        border-radius: 5px;
    }
    .journal-tabs .tabs ul li label span {
        display: none;
    }
    .journal-tabs .tabs .slider {
        display: none;
    }
    .journal-tabs .tabs .content {
        margin-top: 20px;
    }
    .journal-tabs .tabs .content section h2 {
        display: block;
    }
}

/* Articles */
.articles .card {
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08), 0 0 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s transform cubic-bezier(0.155, 1.105, 0.295, 1.12),
        0.3s box-shadow,
        0.3s -webkit-transform cubic-bezier(0.155, 1.105, 0.295, 1.12);
    padding: 14px 80px 18px 36px;
    cursor: pointer;
}

.articles .card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.articles .card h3 {
    font-weight: 600;
}

.articles .card img {
    position: absolute;
    top: 20px;
    right: 15px;
    max-height: 120px;
}

.articles .card-1 {
    background-image: url(/images/icons/theming-card.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 80px;
}

.articles .card-2 {
    background-image: url(/images/icons/components-card.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 80px;
}

@media (max-width: 990px) {
    .articles .card {
        margin: 20px;
    }
}

/* Journals */
.journals .box {
    position: relative;
    width: 270px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    transition: 0.5s;
}

.journals .box::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 50px;
    width: 50%;
    height: 100%;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    transform: skewX(15deg);
    transition: 0.5s;
}

.journals .box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50;
    width: 50%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    transform: skewX(15deg);
    transition: 0.5s;
    filter: blur(30px);
}

.journals .box:hover:before,
.journals .box:hover:after {
    transform: skewX(0deg);
    left: 20px;
    width: calc(100% - 90px);
}

.journals .box:nth-child(1):before,
.journals .box:nth-child(1):after {
    background: linear-gradient(315deg, #ffbc00, #ff0058);
}

.journals .box:nth-child(2):before,
.journals .box:nth-child(2):after {
    background: linear-gradient(315deg, #03a9f4, #ff0058);
}

.journals .box:nth-child(3):before,
.journals .box:nth-child(3):after {
    background: linear-gradient(315deg, #4dff03, #00d0ff);
}

.journals .box:nth-child(4):before,
.journals .box:nth-child(4):after {
    background: linear-gradient(315deg, #03ffea, #ff00aa);
}

.journals .box span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.journals .box span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.1s;
    animation: animate 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.journals .box:hover span::before {
    top: -50px;
    left: 50px;
    width: 100px;
    height: 100px;
    opacity: 1;
}

.journals .box span::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.5s;
    animation: animate 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation-delay: -1s;
}

.journals .box:hover span:after {
    bottom: -50px;
    right: 50px;
    width: 100px;
    height: 100px;
    opacity: 1;
}

.journals .box .content {
    position: relative;
    left: 0;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
    transform: 0.5s;
    color: #fff;
}

.journals .box:hover .content {
    left: -25px;
    padding: 60px 40px;
}

.journals .box .content h2 {
    font-size: 2em;
    color: #000;
    margin-bottom: 10px;
}

.journals .box .content p {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.4em;
}

@keyframes animate {
    0%,
    100% {
        transform: translateY(10px);
    }

    50% {
        transform: translate(-10px);
    }
}

/* Details */
.details .image {
    position: relative;
    float: inline-end;
    margin-left: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    min-width: 10vw;
    max-width: 40vw;
    box-shadow: 5px 5px 10px 5px #888888;
}
.details .content {
    text-align: justify;
    text-indent: 30px;
}

/* Ylmy temalar */
.ylmy-temalar .content {
    margin-bottom: 1em;
    padding: 1em;
    box-shadow: 0 5px 10px rgba(201, 132, 29, 0.85);
}
.ylmy-temalar input,
.ylmy-temalar select {
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    text-align: center;
    outline: none;
    border-bottom: 0.2em solid var(--dark);
    background: rgba(160, 96, 24, 0.2);
    border-radius: 0.2em 0.2em 0 0;
    padding: 0.4em;
    color: var(--dark);
}
.ylmy-temalar option {
    font-size: 0.8em;
}

/* Sargyt */
.sargyt input,
.sargyt textarea,
.sargyt select {
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    border-bottom: 0.2em solid var(--dark);
    background: rgba(160, 96, 24, 0.2);
    border-radius: 0.2em 0.2em 0 0;
    padding: 0.4em;
    margin-bottom: 0.4em;
    color: var(--dark);
}
.sargyt label {
    color: var(--dark);
    padding-top: 0.5em;
    padding-right: 0.4em;
    font-weight: 700;
    width: 11em;
}
.sargyt button {
    margin-top: 1em;
    padding: 0.4em;
    width: 10em;
    font-size: 18px;
    font-weight: 700;
    border-radius: 1em;
    border: solid 1px var(--secondary);
    background-color: var(--light);
    color: var(--secondary);
}
.sargyt button:hover {
    border: solid 1px var(--light);
    background-color: var(--secondary);
    color: var(--light);
}
