﻿:root {
    --bg: linear-gradient(135deg, #f0f4ff 0%, #e6eeff 100%);
    --bg-loading: #454954;
    --fg-t-loading: rgba(227, 228, 232, 0.5);
    --primary1-loading: #255ff4;
    --primary2-loading: #5583f6;
    --trans-dur-loading: 0.3s;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --color-white: rgb(255, 255, 255);
    --color-blue: #1a237e;
    --text-primary: --text-secondary: #2d3349;
    --color-dark: #110d1a;
    --color-primary: #b197fc;
    accent-color: var(--color-primary);
    --glass-border: rgba(156, 156, 156, 0.3);
    --color-green: #28a745;
    --color-red: #dc3545;
}

body {
    background: var(--bg);
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: rotateX(30deg) rotateZ(45deg);
    width: 100%;
    font-size: calc(16px + (20 - 16) * (100vw - 320px) / (1280 - 320));
    height: 100vh;
}

.loading,
.loading_dot {
    border-radius: 50%;
}

.loading_dot {
    animation-name: shadow;
    box-shadow: 0.1em 0.1em 0 0.1em black, 0.3em 0 0.3em rgba(0, 0, 0, 0.5);
    top: calc(50% - 0.75em);
    left: calc(50% - 0.75em);
    width: 1.5em;
    height: 1.5em;
}

.loading_dot,
.loading_dot:before,
.loading_dot:after {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    position: absolute;
}

.loading_dot:before,
.loading_dot:after {
    content: "";
    display: block;
    left: 0;
    width: inherit;
    transition: background-color var(--trans-dur-loading);
}

.loading_dot:before {
    animation-name: pushInOut1;
    background-color: var(--bg-loading);
    border-radius: inherit;
    box-shadow: 0.05em 0 0.1em rgba(255, 255, 255, 0.2) inset;
    height: inherit;
    z-index: 1;
}

.loading_dot:after {
    animation-name: pushInOut2;
    background-color: var(--primary1-loading);
    border-radius: 0.75em;
    box-shadow: 0.1em 0.3em 0.2em rgba(255, 255, 255, 0.4) inset,
        0 -0.4em 0.2em #2e3138 inset, 0 -1em 0.25em rgba(0, 0, 0, 0.3) inset;
    bottom: 0;
    clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
    height: 3em;
    transform: rotate(-45deg);
    transform-origin: 50% 2.25em;
}

.loading_dot:nth-child(1) {
    transform: rotate(0deg) translateX(5em) rotate(0deg);
    z-index: 5;
}

.loading_dot:nth-child(1),
.loading_dot:nth-child(1):before,
.loading_dot:nth-child(1):after {
    animation-delay: 0s;
}

.loading_dot:nth-child(2) {
    transform: rotate(-30deg) translateX(5em) rotate(30deg);
    z-index: 4;
}

.loading_dot:nth-child(2),
.loading_dot:nth-child(2):before,
.loading_dot:nth-child(2):after {
    animation-delay: -0.1666666667s;
}

.loading_dot:nth-child(3) {
    transform: rotate(-60deg) translateX(5em) rotate(60deg);
    z-index: 3;
}

.loading_dot:nth-child(3),
.loading_dot:nth-child(3):before,
.loading_dot:nth-child(3):after {
    animation-delay: -0.3333333333s;
}

.loading_dot:nth-child(4) {
    transform: rotate(-90deg) translateX(5em) rotate(90deg);
    z-index: 2;
}

.loading_dot:nth-child(4),
.loading_dot:nth-child(4):before,
.loading_dot:nth-child(4):after {
    animation-delay: -0.5s;
}

.loading_dot:nth-child(5) {
    transform: rotate(-120deg) translateX(5em) rotate(120deg);
    z-index: 1;
}

.loading_dot:nth-child(5),
.loading_dot:nth-child(5):before,
.loading_dot:nth-child(5):after {
    animation-delay: -0.6666666667s;
}

.loading_dot:nth-child(6) {
    transform: rotate(-150deg) translateX(5em) rotate(150deg);
    z-index: 1;
}

.loading_dot:nth-child(6),
.loading_dot:nth-child(6):before,
.loading_dot:nth-child(6):after {
    animation-delay: -0.8333333333s;
}

.loading_dot:nth-child(7) {
    transform: rotate(-180deg) translateX(5em) rotate(180deg);
    z-index: 2;
}

.loading_dot:nth-child(7),
.loading_dot:nth-child(7):before,
.loading_dot:nth-child(7):after {
    animation-delay: -1s;
}

.loading_dot:nth-child(8) {
    transform: rotate(-210deg) translateX(5em) rotate(210deg);
    z-index: 3;
}

.loading_dot:nth-child(8),
.loading_dot:nth-child(8):before,
.loading_dot:nth-child(8):after {
    animation-delay: -1.1666666667s;
}

.loading_dot:nth-child(9) {
    transform: rotate(-240deg) translateX(5em) rotate(240deg);
    z-index: 4;
}

.loading_dot:nth-child(9),
.loading_dot:nth-child(9):before,
.loading_dot:nth-child(9):after {
    animation-delay: -1.3333333333s;
}

.loading_dot:nth-child(10) {
    transform: rotate(-270deg) translateX(5em) rotate(270deg);
    z-index: 5;
}

.loading_dot:nth-child(10),
.loading_dot:nth-child(10):before,
.loading_dot:nth-child(10):after {
    animation-delay: -1.5s;
}

.loading_dot:nth-child(11) {
    transform: rotate(-300deg) translateX(5em) rotate(300deg);
    z-index: 6;
}

.loading_dot:nth-child(11),
.loading_dot:nth-child(11):before,
.loading_dot:nth-child(11):after {
    animation-delay: -1.6666666667s;
}

.loading_dot:nth-child(12) {
    transform: rotate(-330deg) translateX(5em) rotate(330deg);
    z-index: 6;
}

.loading_dot:nth-child(12),
.loading_dot:nth-child(12):before,
.loading_dot:nth-child(12):after {
    animation-delay: -1.8333333333s;
}

.loading_text {
    font-size: 0.75em;
    position: relative;
    text-shadow: 0 0 0.1em var(--fg-t-loading);
    transform: rotateZ(-45deg);
}

@keyframes shadow {
    from {
        animation-timing-function: ease-in;
        box-shadow: 0.1em 0.1em 0 0.1em black, 0.3em 0 0.3em rgba(0, 0, 0, 0.3);
    }

    25% {
        animation-timing-function: ease-out;
        box-shadow: 0.1em 0.1em 0 0.1em black, 0.8em 0 0.8em rgba(0, 0, 0, 0.5);
    }

    50%,
    to {
        box-shadow: 0.1em 0.1em 0 0.1em black, 0.3em 0 0.3em rgba(0, 0, 0, 0.3);
    }
}

@keyframes pushInOut1 {
    from {
        animation-timing-function: ease-in;
        background-color: var(--bg-loading);
        transform: translate(0, 0);
    }

    25% {
        animation-timing-function: ease-out;
        background-color: var(--primary2-loading);
        transform: translate(-71%, -71%);
    }

    50%,
    to {
        background-color: var(--bg-loading);
        transform: translate(0, 0);
    }
}

@keyframes pushInOut2 {
    from {
        animation-timing-function: ease-in;
        background-color: var(--bg-loading);
        clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
    }

    25% {
        animation-timing-function: ease-out;
        background-color: var(--primary1-loading);
        clip-path: polygon(0 25%, 100% 25%, 100% 100%, 0 100%);
    }

    50%,
    to {
        background-color: var(--bg-loading);
        clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
    }
}

.content-hidden {
    display: none !important;
}

.glass {
    position: sticky;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.date-time {
    text-align: center;
    color: #1a237e;
    text-align: center;
    font-weight: bold;
}

.header-color {
    background-color: #141312;
}

.a-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transition: all 1s;
    transform-origin: left;
}

.a-header:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transition: all 1s;
    transform-origin: right;
}

.a-footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000000;
    transform: scaleX(0);
    transition: all 1s;
    transform-origin: left;
}

ul li a:hover:before,
ul li a:hover:after {
    transform: scaleX(1);
}

.a-footer:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000000;
    transform: scaleX(0);
    transition: all 1s;
    transform-origin: right;
}

ul {
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    text-align: center;
}

ul li {
    list-style: none;
}

ul li a {
    text-decoration: none;
    color: #fff;
    padding: 1rem 2rem;
    position: relative;
}

.header-search-bar {
    display: flex;
    align-items: center;
    background-color: aliceblue;
    padding: 5px;
    width: 300px;
    height: 50px;
    border-radius: 50px;
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.2),
        -6px -6px 10px rgba(255, 255, 255, 0.7);
    margin: 10px;
    position: relative;
    transition: width 1.5s;
}

.search-active.header-search-bar {
    width: 50px;
}

.search-magnifier {
    width: 30px;
    cursor: pointer;
    position: absolute;
    left: 10px;

}

.search-mic-icon {
    width: 30px;
    position: absolute;
    right: 10px;
    transition: width 0.4s;
    transition-delay: 1s;
}

.search-input {
    background-color: transparent;
    border: none;
    margin: 10px 50px;
    width: 100%;
    outline: none;
    color: rgb(100, 100, 100);
    transition: width 1s;
    transition-delay: 0.5s;
}

.search-active .search-input {
    width: 0;
}

.search-active .search-mic-icon {
    width: 0;
}

.breaking-news {
    background-color: #f44336;
    color: var(--color-white);
    padding: 10px 0;
    margin-bottom: 20px;
}

.breaking-news-content {
    display: flex;
    align-items: center;
}

.breaking-news-label {
    background-color: #d32f2f;
    padding: 5px 15px;
    border-radius: 10px;
    font-weight: bold;
    margin-left: 15px;
    white-space: nowrap;
}

.breaking-news-text {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-text {
    display: inline-block;
    padding-right: 100%;
    animation: scroll-right 10s linear infinite;
    font-weight: bold;
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content {
    display: flex;
    margin: 30px 0;
    flex-wrap: wrap;
}

.featured-news {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.featured-news h2 {
    color: var(--color-blue);
    border-bottom: 3px solid #3949ab;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 22px;
}

.featured-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.featured-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.featured-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}

.featured-title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.featured-title p {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.featured-title a:hover {
    color: #3949ab;
}

.featured-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
}

.details-img {
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.most-viewed {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.most-viewed h2 {
    color: var(--color-blue);
    border-bottom: 3px solid #3949ab;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 22px;
}

.most-viewed-list {
    list-style: none;
}

.most-viewed-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.most-viewed-list li:last-child {
    border-bottom: none;
}

.viewed-number {
    background-color: var(--color-blue);
    color: var(--color-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-weight: bold;
    font-size: 14px;
}

.viewed-title {
    flex-grow: 1;
}

.viewed-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.viewed-title a:hover {
    color: var(--color-blue);
}

.carousel-item,
.h2-slider,
.p-slider {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff5722;
    padding: 0.3rem 0.7rem;
    border-radius: 0.3rem;
    font-size: 0.9rem;
}

.section {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.section h1,
h2 {
    color: var(--color-blue);
    border-bottom: 3px solid #3949ab;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 22px;
}

.section .span-number {
    float: left;
}

.section .span-text {
    float: left;
    font-size: 22px;
    color: var(--color-blue);
}

.section .logo-login {
    text-align: center;
    font-size: 30px;
}

.section-card {
    --color: #aa96da;
    padding: 50px;
    position: relative;
    z-index: 1;
}

.section-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color);
    z-index: -1;
    clip-path: circle(40px at 70px 70px);
    transition: clip-path 1s ease;
}

.section-card:hover::before {
    clip-path: circle(100%);
}

.section-card span {
    position: absolute;
    left: 0;
    top: 0;
    height: 80px;
    width: 80px;
    font-weight: bold;
    transform: translate(30px, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(0, 0%, 0%);
    transition: transform 1s ease;
}

.section-card:hover span {
    transform: translate(0, 30px);
}

.section-card h2 {
    font-size: 26px;
    color: hsl(0, 0%, 100%);
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
    margin-top: 30px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-card p {
    color: hsl(0, 0%, 85%);
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-card a {
    display: inline-block;
    text-transform: capitalize;
    color: hsl(0, 0%, 100%);
    margin-top: 20px;
    font-weight: 500;
}

.section-card a,
.section-card h2,
.section-card p {
    transition: color 1s ease;
}

.section-card a,
.section-card h2,
.section-card p {
    color: hsl(0, 0%, 0%);
}

.comment-section {
    background-color: rgb(245, 245, 245);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.comment-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.comment-list,
.nested-comments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    background-color: rgb(245, 245, 245);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.comment.reply-comment {
    margin-left: 40px;
    margin-top: 20px;
    background-color: #fdfdfd;
    border: 1px solid #eee;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #ddd;
}

.comment-info {
    display: flex;
    flex-direction: column;
}

.comment-author {
    font-weight: bold;
    color: #555;
    font-size: 16px;
}

.comment-date {
    color: #888;
    font-size: 13px;
    margin-top: 3px;
}

.comment-body {
    color: #444;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 15px;
    text-align: right;
    direction: rtl;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-body p {
    margin: 0;
}

.comment-actions {
    margin-top: auto;
    text-align: right;
}

.reply-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.reply-button:hover {
    background-color: #0056b3;
}

.nested-comments {
    margin-top: 20px;
    padding-left: 0;
    border-left: 3px solid #e0e0e0;
}

.welcome-login {
    text-align: center;
    margin-top: 10px;
}

.forgot-login {
    text-align: center;
}

.hide {
    width: 100%;
    background-color: var(--color-white);
    border: 0px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.item {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #888;
    margin: 10px;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-x: hidden;
}

.wrapper .container {
    margin: 0 auto;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.wrapper .container .scene {
    position: absolute;
    width: 100vw;
    height: 100vh;
    vertical-align: middle;
}

.wrapper .container .one,
.wrapper .container .two,
.wrapper .container .three,
.wrapper .container .circle,
.wrapper .container .p404 {
    width: 60%;
    height: 60%;
    top: 20% !important;
    left: 20% !important;
    min-width: 400px;
    min-height: 400px;
}

.wrapper .container .one .content,
.wrapper .container .two .content,
.wrapper .container .three .content,
.wrapper .container .circle .content,
.wrapper .container .p404 .content {
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: content 0.8s cubic-bezier(1, 0.06, 0.25, 1) backwards;
}

@keyframes content {
    0% {
        width: 0;
    }
}

.wrapper .container .one .content .piece,
.wrapper .container .two .content .piece,
.wrapper .container .three .content .piece,
.wrapper .container .circle .content .piece,
.wrapper .container .p404 .content .piece {
    width: 200px;
    height: 80px;
    display: flex;
    position: absolute;
    border-radius: 80px;
    z-index: 1;
    animation: pieceLeft 8s cubic-bezier(1, 0.06, 0.25, 1) infinite both;
}

@keyframes pieceLeft {
    50% {
        left: 80%;
        width: 10%;
    }
}

@keyframes pieceRight {
    50% {
        right: 80%;
        width: 10%;
    }
}

@media screen and (max-width: 799px) {

    .wrapper .container .one,
    .wrapper .container .two,
    .wrapper .container .three,
    .wrapper .container .circle,
    .wrapper .container .p404 {
        width: 90%;
        height: 90%;
        top: 5% !important;
        left: 5% !important;
        min-width: 280px;
        min-height: 280px;
    }
}

@media screen and (max-height: 660px) {

    .wrapper .container .one,
    .wrapper .container .two,
    .wrapper .container .three,
    .wrapper .container .circle,
    .wrapper .container .p404 {
        min-width: 280px;
        min-height: 280px;
        width: 60%;
        height: 60%;
        top: 20% !important;
        left: 20% !important;
    }
}

.wrapper .container .text {
    width: 60%;
    height: 40%;
    min-width: 400px;
    min-height: 500px;
    position: absolute;
    margin: 40px 0;
    animation: text 0.6s 1.8s ease backwards;
}

@keyframes text {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
}

@media screen and (max-width: 799px) {
    .wrapper .container .text {
        min-height: 400px;
        height: 80%;
    }
}

.wrapper .container .text article {
    width: 400px;
    position: absolute;
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (max-width: 799px) {
    .wrapper .container .text article {
        width: 100%;
    }
}

.wrapper .container .text article p {
    color: var(--color-white);
    font-size: 18px;
    letter-spacing: 0.6px;
    margin-bottom: 40px;
    text-shadow: 6px 6px 10px #32243e;
}

.wrapper .container .text article button {
    height: 40px;
    padding: 0 30px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 15px 20px rgba(54, 24, 79, 0.5);
    z-index: 3;
    color: #695681;
    background-color: var(--color-white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 0px;
}

.wrapper .container .text article button:hover {
    box-shadow: 0px 10px 10px -10px rgba(54, 24, 79, 0.5);
    transform: translateY(5px);
    background: #fb8a8a;
    color: var(--color-white);
}

.wrapper .container .p404 {
    font-size: 200px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-white);
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
    animation: anime404 0.6s cubic-bezier(0.3, 0.8, 1, 1.05) both;
    animation-delay: 1.2s;
}

@media screen and (max-width: 799px) {
    .wrapper .container .p404 {
        font-size: 100px;
    }
}

@keyframes anime404 {
    0% {
        opacity: 0;
        transform: scale(10) skew(20deg, 20deg);
    }
}

.wrapper .container .p404:nth-of-type(2) {
    color: #36184f;
    z-index: 1;
    animation-delay: 1s;
    filter: blur(10px);
    opacity: 0.8;
}

.wrapper .container .circle {
    position: absolute;
}

.wrapper .container .circle:before {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;
    background-color: rgba(54, 24, 79, 0.2);
    border-radius: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 5px 20px 40px rgba(54, 24, 79, 0.25),
        inset 5px 0px 5px rgba(50, 36, 62, 0.3),
        inset 5px 5px 20px rgba(50, 36, 62, 0.25),
        2px 2px 5px rgba(255, 255, 255, 0.2);
    animation: circle 0.8s cubic-bezier(1, 0.06, 0.25, 1) backwards;
}

@keyframes circle {
    0% {
        width: 0;
        height: 0;
    }
}

@media screen and (max-width: 799px) {
    .wrapper .container .circle:before {
        width: 400px;
        height: 400px;
    }
}

.wrapper .container .one .content:before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background-color: rgba(54, 24, 79, 0.3);
    border-radius: 100%;
    box-shadow: inset 5px 20px 40px rgba(54, 24, 79, 0.25),
        inset 5px 0px 5px rgba(50, 36, 62, 0.3),
        inset 5px 5px 20px rgba(50, 36, 62, 0.25),
        2px 2px 5px rgba(255, 255, 255, 0.2);
    animation: circle 0.8s 0.4s cubic-bezier(1, 0.06, 0.25, 1) backwards;
}

@media screen and (max-width: 799px) {
    .wrapper .container .one .content:before {
        width: 300px;
        height: 300px;
    }
}

.wrapper .container .one .content .piece {
    background: linear-gradient(90deg, #8077ea 13.7%, #eb73ff 94.65%);
}

.wrapper .container .one .content .piece:nth-child(1) {
    right: 15%;
    top: 18%;
    height: 30px;
    width: 120px;
    animation-delay: 0.5s;
    animation-name: pieceRight;
}

.wrapper .container .one .content .piece:nth-child(2) {
    left: 15%;
    top: 45%;
    width: 150px;
    height: 50px;
    animation-delay: 1s;
    animation-name: pieceLeft;
}

.wrapper .container .one .content .piece:nth-child(3) {
    left: 10%;
    top: 75%;
    height: 20px;
    width: 70px;
    animation-delay: 1.5s;
    animation-name: pieceLeft;
}

.wrapper .container .two .content .piece {
    background: linear-gradient(90deg, #ffedc0 0%, #ff9d87 100%);
}

.wrapper .container .two .content .piece:nth-child(1) {
    left: 0%;
    top: 25%;
    height: 40px;
    width: 120px;
    animation-delay: 2s;
    animation-name: pieceLeft;
}

.wrapper .container .two .content .piece:nth-child(2) {
    right: 15%;
    top: 35%;
    width: 180px;
    height: 50px;
    animation-delay: 2.5s;
    animation-name: pieceRight;
}

.wrapper .container .two .content .piece:nth-child(3) {
    right: 10%;
    top: 80%;
    height: 20px;
    width: 160px;
    animation-delay: 3s;
    animation-name: pieceRight;
}

.wrapper .container .three .content .piece {
    background: #fb8a8a;
}

.wrapper .container .three .content .piece:nth-child(1) {
    left: 25%;
    top: 35%;
    height: 20px;
    width: 80px;
    animation-name: pieceLeft;
    animation-delay: 3.5s;
}

.wrapper .container .three .content .piece:nth-child(2) {
    right: 10%;
    top: 55%;
    width: 140px;
    height: 40px;
    animation-name: pieceRight;
    animation-delay: 4s;
}

.wrapper .container .three .content .piece:nth-child(3) {
    left: 40%;
    top: 68%;
    height: 20px;
    width: 80px;
    animation-name: pieceLeft;
    animation-delay: 4.5s;
}

.rainbow-text {
    background: linear-gradient(90deg, #8400ff, #6200ff, #b631f3, #3458fa, #5252f7, #4b0082, #9400d3);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowFlow 6s ease infinite;
}

@keyframes rainbowFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glass-animated-border {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    border: 2px solid transparent;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    animation: borderColorShift 4s ease infinite;
}

.glass-animated-border-keywords>a {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    border: 2px solid transparent;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    animation: borderColorShift 4s ease infinite;
    color: var(--color-dark);
}

@keyframes borderColorShift {
    0% {
        border-color: #6366f1;
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }

    25% {
        border-color: #8b5cf6;
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }

    50% {
        border-color: #a855f7;
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    }

    75% {
        border-color: #ec4899;
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
    }

    100% {
        border-color: #6366f1;
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
}

.glass-animated-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background-size: 200% 200%;
    border-radius: 20px;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keywords a {
    padding: 5px;
}

.form-input {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    width: 100%;
    margin: 10px 0px 10px 0px;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.animation-button {
    position: relative;
    overflow: hidden;
    padding: 0.85rem 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 8px;
    background-color: transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: inset 0 0 0 1px var(--color-primary);
    transform: translateZ(0);
    cursor: pointer;
}

.animation-button::after {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 120%;
    width: 120%;
    border-radius: 20%;
    background-color: var(--color-primary);
    scale: 0 0;
    translate: 0 140%;
    transition: scale 0.6s cubic-bezier(0.215, 0.61, 0.355, 1),
        translate 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.animation-button-label {
    align-items: center;
    gap: 1rem;
    z-index: 2;
    font-size: 1.2rem;
    letter-spacing: 0.025em;
    transition: color 0.32s ease-in-out;
}

.animation-button:hover span {
    color: var(--color-dark);
}

.animation-button:hover:after {
    scale: 1.5 1.5;
    translate: 0 0;
    border-radius: 50%;
}

.about p {
    margin: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-card {
    margin-bottom: 1rem;
    border-radius: .25rem;
    padding: 1rem;
}

.contact-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-icon {
    margin-left: 0.5rem;
    color: #6c757d;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
}

.notification {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    max-width: 90%;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    z-index: 1000;
}

.success {
    background: var(--color-green);
}

.error {
    background: var(--color-red);
}

.slide-enter-active,
.slide-leave-active {
    transition: transform .35s ease, opacity .35s ease;
}

.slide-enter {
    transform: translateX(-50%) translateY(-120%);
    opacity: 0;
}

.slide-enter-to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.slide-leave {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.slide-leave-to {
    transform: translateX(-50%) translateY(-120%);
    opacity: 0;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-bottom-10 {
    margin-bottom: 20px;
}

.margin-left-10,
.bi {
    margin-left: 5px;
}

.validation-message {
    font-size: 0.8em;
    margin-top: 5px;
    padding: 5px;
    border-radius: 10px;
    text-align: right;
}

.valid {
    color: var(--color-green);
    border: 1px solid lightgreen;
    background-color: #e8f5e9;
}

.invalid {
    color: var(--color-red);
    border: 1px solid lightcoral;
    background-color: #ffebee;
}

p {
    margin: 0px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

button {
    border: 0px;
}

table {
    border-collapse: collapse;
}

th,
td {
    text-align: center;
    vertical-align: middle;
    padding: 8px;
    border: 1px solid rgb(231, 231, 231);
}

tr {
    height: 50px;
}

td>img,
.news-img-dashboard {
    width: 150px;
}

.highlight-word {
    border-bottom: 3px solid green;
    padding-bottom: 3px;
}