
/*!
Theme Name: Nexus Web
Theme URI: http://underscores.me/
Author: Waqas Younas & Rahman Zeb
Author URI: https://www.ropstam.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ropstam
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Nexus Web is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
 html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
    padding-bottom: 100px;
    min-height: 70vh;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */


legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */


h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p:last-child {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    cursor: pointer;
}

a:visited {
    color: #fff;
}

a.button:visited {
    color: #fff;
}

a:focus {
    outline: none;
}

a:hover,
a:active {
    outline: 0;
}

/* Forms
--------------------------------------------- */

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 0;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


/* Custom Coding Starts */


/* Archive Page */

.archive .post,
.archive .question,
.related-questions .question,
.search .question,
.search .page {
    background: #ffffff47;
    border-radius: 40px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid;
    backdrop-filter: blur(5px);
}
.type-page .entry-footer {
	display: none;
}
.archive .question:last-child {
    margin-bottom: unset;
}

.archive .question h2 a,
.search .page h2 a {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.archive .post .entry-title,
.archive .question .entry-title {
    font-size: 24px;
}

.archive .post .entry-title a,
.single-question .entry-title {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
}

.archive .entry-content {
    margin-top: .5rem;
}

.archive .entry-content p,
.single-question .entry-content {
    font-size: 18px;
}

/* Single Question Page */
.entry-meta .avatar {
    height: 40px;
    width: 40px;
    border-radius: 25px;
    margin-right: 10px;
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.entry-meta .byline .author {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: 20px;
}

.comment-form-comment label {
    display: none;
}

.single-question main .container {
    //background: #ffffff59;
    //padding: 20px;
    //border: 1px solid #fff;
    //border-radius: 25px;
    margin: 20px auto;
}

.single-question .question {
    border-bottom: 1px solid #e2ecfe;
    padding-bottom: 30px;
    margin-bottom: 30px;
    padding-left: 50px;
}

.single-question .question footer {
    display: ;
}

.comment {
    background: #00000080;
    margin-bottom: 1em;
    border-radius: 20px;
    padding: 20px;
    list-style: none;
}

.comment-content p {
    font-size: 18px !important;
}

/* Registration Form */
.registration-form-wrapper {
    margin-top: 65px;
}

.registration-form-wrapper .flex-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 648px;
    margin: auto;
    border-radius: 30px;
    padding: 25px 25px 25px 40px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 1;
}

.registration-form-wrapper .flex-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(74.21deg, #FFFFFF 1.75%, rgba(255, 255, 255, 0) 24.4%, rgba(255, 255, 255, 0) 79.53%, #FFFFFF 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.registration-form-wrapper h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

.registration-form-wrapper .form-field input,
.registration-form-wrapper .form-field input:autofill,
.registration-form-wrapper .form-field input:-webkit-autofill,
.registration-form-wrapper .form-field input:active {
    background: #00000080 !important;
    color: #fff;
    font-size: 18px;
    width: 100%;
    padding: 18px 21px;
    border-radius: 20px;
    margin: 10px 0;
}

.registration-form-wrapper .form-field label {
    display: block;
    font-size: 24px;
}

.registration-form-wrapper input[type="submit"] {
    width: 370px;
    display: block;
    margin: 64px auto 0 auto;
    padding: 18px 21px;
    border-radius: 20px;
}

form#registration-form {
    width: 100%;
}

/* preferences page */
.bubble {
    display: inline-block;
    margin: 10px;
    background-color: hsla(0, 0%, 0%, 0.5);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    box-shadow: 0px 6.51px 13.31px 0px #00000040;
    border-radius: 10px;
}

.bubble span {
    cursor: pointer;
    padding: 18px 21px;
    border-radius: 10px;
}

.bubble input[type="checkbox"] {
    display: none;
}

.bubble input[type="checkbox"]:checked+span {
    background-image: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    color: #ffffff;
}

.bubble:hover {
    background-image: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
}

.bubble span {
    display: inline-block;
    vertical-align: middle;
}

.preferences-wrapper .flex-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 648px;
    margin: auto;
    border: 1px solid #fff;
    background: #96969675;
    border-radius: 30px;
    padding: 25px 25px 25px 40px;
    backdrop-filter: blur(5px);
}

.preferences-wrapper {
    margin-top: 65px;
}

.preferences-wrapper input[type="submit"] {
    width: 370px;
    display: block;
    margin: 64px auto 0 auto;
    padding: 18px 21px;
    border-radius: 20px;
}

.error-message {
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 200;
    color: #ff0c0c !important;
    background: #ffcece;
    display: block;
    max-width: max-content;
    padding: 5px 20px;
    margin-left: auto !important;
    margin-right: auto;
}

.pref-title {
    margin-bottom: 40px;
}

.pref-desc {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

.trans-box {
    background: #ffffff30;
    max-width: 648px;
    margin: auto;
    margin-top: 65px;
    padding: 100px 42px 100px 42px;
    border-radius: 50px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.trans-box .icon {
    text-align: center;
}

.trans-box .icon .dashicons {
    width: 95px;
    height: 95px;
    font-size: 95px;
}

.trans-box h3 {
    font-size: 42px;
    text-align: center;
    margin-top: 15px;
}

.trans-box .thanks-message,
.trans-box p {
    font-size: 24px;
    margin-top: 15px;
}

.trans-box .cta-btn a {
    width: 370px;
    display: block;
    margin: 140px auto 0 auto;
    padding: 18px 21px;
    text-align: center;
    border-radius: 20px;
}

.button {
    text-decoration: none;
}

.flex-wrap {
    display: flex;
    gap: 30px;
    padding-top: 40px;
}

.flex-wrap .lhs {
    flex: 25%;
}

.flex-wrap .rhs {
    flex: 75%;
}

.btns-wrap {
    background: rgba(255, 255, 255, 0.25);
    padding: 40px;
    box-shadow: 0px 6.51px 13.31px 0px #00000040;
    border: 1px solid;
    border-image-source: linear-gradient(107.21deg, #FFFFFF 1.75%, rgba(255, 255, 255, 0) 24.4%, rgba(255, 255, 255, 0) 79.53%, #FFFFFF 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 436px;
    border-radius: 45px;
    backdrop-filter: blur(5px);
    border: 1px solid #ffffffa6;
}

.btns-wrap a {
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 18px;
    text-decoration: none;
    color: #fff;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #181599;
}

.btns-wrap a:last-child {
    margin-bottom: unset;
}

.btns-wrap a:hover {
    background: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    border: unset;
}

.user-profile-page .user-profile-bio,
.user-profile-page .user-questions,
.user-profile-settings,
.user-saved-chats {
    background: rgba(255, 255, 255, 0.25);
    padding: 32px;
    border-radius: 55px;
    backdrop-filter: blur(5px);
    border: 1px solid #ffffffa6;
}

.user-profile-header {
    display: flex;
    gap: 44px;
    position: relative;
}

.user-profile-header + hr {
    margin-top: 48px;
    margin-bottom: 30px;
    background: #fff;
}

.user-profile-header .button {
    position: absolute;
    right: 0;
}

.user-avatar {
    width: 100%;
    height: 100%;
    max-width: 198px;
    max-height: 198px;
    padding: 11px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid;
    border-image-source: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    border-radius: 25px;
    flex: 20%;
}

.user-avatar img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.header-user-info {
    flex: 80%;
    text-align: right;
}

.user-profile-description {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid #181599;
}

.user-profile-description p {
    margin-bottom: unset;
    margin-top: 15px;
}

.user-profile-name {
    font-size: 24px;
    margin-bottom: 12px;
}

.user-profile-email {
    font-size: 18px;
}

.user-questions {
    margin-top: 30px;
}

/* Pop-up styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.85);
    padding-top: 60px;
}

.popup-content {
    background-color: #ffffff35;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 30px;
    width: 80%;
    max-width: 800px;
    position: relative;
    backdrop-filter: blur(2px);
}

.popup-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.popup-content label,
#askQuestionPopup label {
    font-size: 18px;
}

#askQuestionForm p {
    margin-bottom: 10px;
}

.popup-content input,
.popup-content textarea,
.popup-content select {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 16px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.popup-content input:focus {
    color: rgba(255, 255, 255, 0.5);
}

.popup-content input[type="submit"] {
    width: auto;
    background: #fff;
    border: unset;
    padding: 14px 30px;
    margin-top: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    color: #000
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ffffff8c;
    text-decoration: none;
    cursor: pointer;
}
.popup input, 
.popup select, 
.popup textarea {
    border-radius: 20px;
    border: 1px solid transparent !important;
    border-image: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    background: linear-gradient(#151314, #141314) padding-box, linear-gradient(60deg, #181599, #971FAA) border-box;
    position: relative;
    overflow: hidden;
}
option {
    color: #000;
} 
.user-question {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 30px;
    border: 1px solid #181599;
}

.user-question:last-child {
    margin-bottom: unset;
}

.user-question h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.user-question h4 a {
    text-decoration: none;
    color: #fff;
}

.user-question p {
    margin-bottom: 0;
    font-size: 16px;
}

.user-questions .flex-wrap {
    padding-top: unset;
    margin-bottom: 24px;
    justify-content: space-between;
    align-items: center;
}

.question-wrap {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgb(116 112 112 / 52%) 0%, rgb(98 98 98 / 70%) 23%, rgb(69 69 69 / 50%) 79%, rgb(77 77 77 / 43%) 100%);
    border-radius: 55px;
    padding: 30px;
    border: 1px solid;
    border-image-source: linear-gradient(107.21deg, #FFFFFF 1.75%, rgba(255, 255, 255, 0) 24.4%, rgba(255, 255, 255, 0) 79.53%, #FFFFFF 100%);
}

.question footer,
.question-footer {
    display: flex;
    gap: 40px;
    font-size: 14px;
    margin-top: 16px;
}

.question footer .total-views span,
.question-footer .total-views span {
    background: #fff;
    color: #000;
    padding: 4px 18px;
    border-radius: 7px;
}

.question .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.question .meta .lhs,
.question .meta .lhs .author {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    left: -25px;
}

.question .meta .author img {
    border-radius: 20px;
    width: 39px;
    height: 39px;
}

.question .meta .author a {
    text-decoration: none;
    color: #fff;
}

.comment-metadata a {
    text-decoration: none;
    color: #fff;
}

.comment-metadata {
    text-align: right;
    margin-bottom: 18px;
}

.comment-metadata time span {
    margin-right: 10px;
}

.comment-content>p {
    font-size: 16px;
    color: #f7f8fa;
    padding: 7px 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#reply-title,
.related-questions-title {
    margin-bottom: 8px;
}

.comment-form-comment {
    margin-top: 20px;
}

.user-profile-settings .form-group-1,
.user-profile-settings .form-group-2 {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid #181599;
}

.user-profile-settings .form-group-1 {
    margin-bottom: 30px;
}

.user-profile-settings h1,
.user-saved-chats h1 {
    font-size: 28px;
    margin-bottom: 17px;
}

.user-profile-settings .form-group-1 p {
    margin-bottom: unset;
}

.user-profile-settings .form-group-1 input,
.user-profile-settings .form-group-2 input,
.user-profile-settings textarea {
    background: rgba(0, 0, 0, 0.5);
    border: unset;
    padding: 15px;
    width: 100%;
    border-radius: 20px;
}

.form-group-2 h3 {
    margin-bottom: 30px;
}

.form-submit {
    text-align: right;
    padding-top: 42px;
}

.user-profile-settings input:focus,
.user-profile-settings input,
.user-profile-settings textarea:focus,
.user-profile-settings textarea {
    color: #fff;
    font-size: 18px;
    font-family: 'DM Sans', sans-serif;
}

.two-col-group {
    display: flex;
    justify-content: space-between;
    gap: 76px;
    padding: 40px 0;
}

.two-col-group .form-field {
    flex: 1;
}

.form-group-2 .form-field {
    margin-bottom: 24px;
}

.user-profile-settings label {
    display: block;
    margin-bottom: 10px;
}

form#loginform {
    width: 100%;
}

.forgotpassword {
    text-align: right;
    margin-top: 20px;
}

.forgotpassword a {
    color: #fff;
}

.footer-bottom,
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-logo,
.footer-newsletter {
    flex: 1;
}

.footer-newsletter label {
    display: block;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
}

.footer-newsletter input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    border: 1px solid #FFFFFF;
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

.footer-newsletter ::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.footer-social a {
    margin-right: 1rem;
}

.footer-social a:last-child {
    margin-right: 0;
}

hr {
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
}

.footer-newsletter .input-wrapper {
    position: relative;
}

.footer-newsletter .input-wrapper button {
    position: absolute;
    right: 10px;
    top: 16px;
    background: transparent;
    border: unset;
    cursor: pointer;
}

.footer-newsletter input,
.footer-newsletter input:focus {
    color: #fff;
    font-size: 20px;
}

.archive .page-title {
    font-size: 28px;
    margin-bottom: 60px;
    margin-top: 14px;
}

.entry-meta {
    margin-left: -50px;
}

.archive .question,
.related-questions .question,
.search .question {
    padding-left: 90px;
}

.author-and-time {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.posted-time {
    margin-left: 10px;
}

.author.vcard a {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

.header-user-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    font-size: 14px
}

.header-user-info .photo {
    height: 44px;
    width: 44px;
    border-radius: 25px;
    background: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    padding: 2px;
}

.user-photo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logout-button {
    display: flex;
    gap: 12px;
}

.header-user-info a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.btn-with-icon {
    font-size: 18px !important;
}

a.btn-with-icon img {
    vertical-align: bottom;
    margin-right: 18px;
    width: 22.5px;
    height: 22.5px;
}

.btns-wrap a.current {
    background: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    border: 1px solid #181599;
}

button#save-chat {
    background: transparent;
    border: unset;
    color: #fff;
    cursor: pointer;
}

#save-chat img {
    vertical-align: bottom;
    margin-right: 4px;
}

.comment-form .form-submit {
    padding-top: 0;
    background: #fff;
    background: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    padding: 7px 12px;
    margin-top: -7px;
    border-radius: 0 0 20px 20px;
}

.comment-form #comment {
    border-radius: 20px 20px 0 0;
    padding: 20px;
    font-size: 18px;
    resize: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.comment-form .submit {
    cursor: pointer;
    background: #000;
    color: #fff;
    padding: 8px 12px 6px 12px;
    border: unset;
    border-radius: 10px;
}

.users-comments-title {
    margin-bottom: 24px;
}

.comment-form-comment {
    border-right: 2px solid #891da8;
    border-left: 2px solid #181599;
    border-top: 2px solid #4f1aa1;
    border-bottom: unset;
    border-radius: 20px 20px 0 0;
}

.related-questions-title+p {
    margin-bottom: 30px;
}

.avatar-settings {
    display: flex;
}

.user-profile-settings .user-avatar {
    margin-right: 80px;
    border: 1px solid #181599;
}

.comment-author .photo {
    width: 45px;
    width: 45px;
    border-radius: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

.comment-author .url {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

#respond {
    margin-top: 70px;
}

.thumbs-up-button,
.thumbs-down-button {
    background: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    background: #666F8D;
    border: unset;
    width: 32px;
    height: 32px;
    border-radius: 15px;
    padding-top: 3px;
    color: #fff;
    cursor: pointer;
}

.thumbs-up-button:hover,
.thumbs-down-button:hover,
.thumbs-up-button.active,
.thumbs-down-button.active {
    background: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
}

.thumbs-up-button {
    margin-right: 10px;
}

.thumbs-up-button span {
    font-size: 16px;
}

.sign-up-msg a {
    color: #fff;
}

.update-success,
.update-message,
.update-error {
    text-align: center;
    padding: 10px 0;
    background: #3e84ec;
    max-width: 800px;
    margin: auto;
    margin-top: 10px;
}

#passwordresetform label {
    font-size: 18px;
}

.registration-form-wrapper form {
    width: 100%;
}

.entry-title a {
    text-decoration: none;
}

.related-questions .entry-title a {
    color: #fff;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 50px 0;
}

.archive .page-title {
    margin-bottom: unset;
}
.archive .page-header .page-title {
    margin-top: unset;
}

.page-template #page {
    position: relative;
}

.page-template .home-banner-video {
    z-index: -1;
}

.home .home-banner-video {
    z-index: 0;
}

.author .page-header {
    display: block;
}

.author .page-header h1 {
    margin-bottom: 25px;
}

.author .page-header .archive-description {
    line-height: 1.6;
    font-size: 18px;
}

.author .question .entry-title {
    line-height: unset;
}

.social-login-btns a:first-child {
    margin-right: 40px;
}

span.line {
    background: #d9d9d9;
    width: 100%;
    display: inline-block;
    height: 1px;
    flex: 1;
}

.social-login-title {
    flex: 1;
    text-align: center;
}

.social-login-title-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
}

#user_avatar {
    display: none;
}

.file-label {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    border-radius: 8px;
    width: 175px;
    height: 35px;
    text-align: center;
    line-height: 1.5;
    font-size: 14px;
}

.file-label img {
    margin-right: 7px;
    vertical-align: middle;
}
.avatar-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}
.avatar-sub-title {
    font-size: 18px;
    margin-bottom: 24px;
}
.upload-btns-wrap {
    display: flex;
}
button.delete-avatar {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 12px;
    width: 53px;
    height: 35px;
    margin-left: 7px;
    cursor: pointer;
}
.page-template-template-forgot-password .flex-wrap {
    min-height: 700px;
}
.social-login-btns a {
    text-decoration: none;
}
.footer-developer a {
    color: #fff;
}
.questions-by-user {
    margin-bottom: 14px;
    color: #BDBDBD;
    font-size: 20px;
}
.user-questions h3 {
    font-size: 28px;
}
.user-profile-description h3 {
    font-size: 24px;
}
.user-profile-description p {
    font-size: 18px;
}
.user-profile-header .stats-num {
    background: #fff;
    display: inline-block;
    width: 79px;
    text-align: center;
    border-radius: 20px;
    padding: 10px;
    margin-right: 16px;
}
.user-profile-header .questions-by-user span {
    font-size: 24px;
    background-image: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}
.user-profile-header .questions-by-user {
    margin-top: 30px;
    font-size: 14px;
    color: #fff;
}
.comment-author > span {
    margin-right: 10px;
}
.reply {
    display: none;
}
.comment-list {
    margin-left: unset;
}
.comment-navigation .pagination,
.pagination {
    list-style: none;
    margin-left: unset;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.comment-navigation .page-numbers,
.pagination .page-numbers {
    border: 1px solid #f1f1f1;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    border-radius: 8px;
}
.comment-navigation .current,
.pagination .current {
    background: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
}
.total-answers a {
    text-decoration: none;
    color: #fff;
}
/* error messages styling */
.update-success, .update-error, .error-message {
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Success Message */
.update-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Error Message */
.update-error,
.error-message {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}
/* Close Button */
.message-close-btn {
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    cursor: pointer;
}

.message-close-btn:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}
.page-template-template-user-settings .home-banner-video, 
.page-template-template-saved-chats .home-banner-video,
.page-template-template-user-profile .home-banner-video {
    max-height: 70%;
    top: 30%;
}
.mobile-menu {
    display: none;
}
@media (max-width: 767px) {
    .desktop-menu {
        display: none;
    }
    .mobile-menu {
        display: inline-flex;
    }
    .mobile-menu nav ul {
        list-style: none;
        margin-left: 0;
        padding-bottom: 0;
        margin-bottom: 0
    }
    .mobile-menu {
        position: relative;
    }
    .mobile-menu nav {
        display: none;
        position: absolute;
        top: 50px;
        z-index: 1;
        width: max-content;
        background: #fff6;
        backdrop-filter: blur(5px);
    }
    .mobile-menu.open nav {
        display: block;
    }
    .mobile-menu nav li {
        padding: 14px 14px;
        border-bottom: 1px solid #fff;
    }
    .mobile-menu nav li:last-child {
        border-bottom: unset;
    }

    .single-question .question {
        padding-left: unset;
    }

    .archive .question,
    .related-questions .question,
    .search .question {
        padding-left: 1rem;
    }

    .entry-meta {
        margin-left: unset;
    }

    .author a {
        font-size: 16px;
    }
    .author.vcard a {
        font-size: 15px;
    }
    .question-time {
        margin-bottom: 8px;
    }

    .question footer,
    .question-footer {
        gap: 30px;
    }

    .question footer,
    .question-footer {
        flex-wrap: wrap;
    }

    .question .meta .lhs,
    .question .meta .lhs .author {
        left: 0;
    }

    .question-wrap {
        padding: 20px 10px;
        border-radius: 30px;
    }

    .comment-metadata {
        font-size: 14px;
    }

    .comment-content p {
        font-size: 16px !important;
    }

    .comment-author .url {
        font-size: 14px;
    }

    .question .entry-content ul {
        margin-left: 1.5rem;
    }

    .question .entry-content li {
        margin-left: 3px;
    }

    .flex-wrap {
        flex-direction: column;
    }

    .btns-wrap {
        width: 100%;
        max-width: 100%;
    }

    .user-profile-name {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .user-profile-email {
        font-size: 16px;
    }

    .user-profile-header {
        gap: 14px;
        margin-top: 50px;
        position: static;
    }

    .user-avatar {
        padding: 2px;
        border-radius: 45px !important;
    }

    .user-avatar img {
        border-radius: 45px !important;
    }

    .user-profile-header .user-avatar {
		border-radius: 20px !important;;
	}
	.user-profile-header .user-avatar img {
		border-radius: 20px !important;
	}

    .user-profile-bio {
        position: relative;
        border-radius: 30px !important;
        padding: 16px !important
    }

    .user-profile-header .button {
        top: 16px;
        right: 30px;
    }

    .user-profile-description {
        margin-top: 30px;
        padding: 15px;
    }

    .user-profile-page .user-profile-bio,
    .user-profile-page .user-questions,
    .user-profile-settings,
    .user-saved-chats {
        padding: 16px;
        border-radius: 30px;
    }

    .user-question {
        padding: 20px;
    }

    .user-profile-settings .form-group-1,
    .user-profile-settings .form-group-2 {
        padding: 20px;
    }

    .user-profile-settings .user-avatar {
        margin-right: unset;
    }

    .avatar-settings {
        flex-direction: column;
        gap: 25px;
    }

    .avatar-settings input[type="file"] {
        font-size: 14px;
    }

    .two-col-group {
        flex-direction: column;
        gap: 25px;
    }

    .user-profile-settings textarea {
        height: 500px;
    }

    .registration-form-wrapper input[type="submit"] {
        width: 100%;
    }

    .registration-form-wrapper .form-field label {
        font-size: 18px;
    }

    .preferences-wrapper input[type="submit"] {
        width: 100%;
    }

    .preferences-wrapper .flex-wrap {
        padding: 12px 12px 40px 12px;
    }

    .trans-box .cta-btn a {
        width: 100%;
    }
    
    .bubble {
        margin: 7px 2px;
    }

    .bubble span {
        padding: 12px 15px;
    }

    .page-header {
        flex-direction: column;
    }

    .archive .page-title {
        margin-bottom: 20px;
    }

    .page-header .button {
        max-width: unset;
    }

    input.search-field {
        width: 100% !important;
    }
    .search .page-header .page-title {
        font-size: 36px;
    }
    .footer-logo,
    .footer-newsletter {
        width: 100%;
    }
    .pref-title {
        margin-bottom: 10px;
        font-size: 30px;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
    }
    .categories-wrapper {
        grid-template-columns: 1fr 1fr !important;
    }

    .flex-wrap {
        flex-direction: column;
    }

    .btns-wrap {
        width: 100%;
        max-width: 100%;
    }

    .user-profile-name {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .user-profile-email {
        font-size: 16px;
    }

    .user-profile-header {
        gap: 14px;
    }

    .user-avatar {
        padding: 2px;
        border-radius: 45px !important;
    }

    .user-avatar img {
        border-radius: 45px !important;
    }

    .user-profile-bio {
        border-radius: 30px !important;
        padding: 16px !important
    }

    .user-profile-description {
        margin-top: 30px;
        padding: 15px;
    }

    .user-profile-page .user-profile-bio,
    .user-profile-page .user-questions,
    .user-profile-settings,
    .user-saved-chats {
        border-radius: 30px;
    }

    .user-question {
        padding: 20px;
    }

    .user-profile-settings .form-group-1,
    .user-profile-settings .form-group-2 {
        padding: 30px;
    }

    .user-profile-settings .user-avatar {
        margin-right: unset;
    }

    .avatar-settings {
        gap: 25px;
    }

    .avatar-settings input[type="file"] {
        font-size: 14px;
    }

    .user-profile-settings textarea {
        height: 250px;
    }

    .two-col-group {
        gap: 30px;
    }
}
@media (min-width: 1024px) {
    section.categories-section,
	.category .astronaut-bg {
        background: url(https://nexus-web.ropstam.dev/wp-content/uploads/2024/07/astro-2.png) no-repeat;
        background-position: 100% -1%;
        background-size: 280px;
    }
    .page-template-template-signin main .container,
    .page-template-forgot-password main .container,
    .page-template-template-registration main .container,
    .page-template-template-preferences main .container {
        background: url(https://nexus-web.ropstam.dev/wp-content/uploads/2024/07/astro-2.png) no-repeat;
        background-position: 100% 100%;
        background-size: 280px;
    }
    .user-settings-page,
	.saved-chats-page,
	.user-profile-page {
		background: url(https://nexus-web.ropstam.dev/wp-content/uploads/2024/07/astro-2.png) no-repeat;
        background-position: 100% 50%;
        background-size: 280px;
	}
}
.password-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
}
.gradient-border {
    border-radius: 20px;
    border: 1px solid transparent !important;
    border-image: linear-gradient(84.96deg, #181599 8.01%, #971FAA 94.24%);
    background: linear-gradient(#151314, #141314) padding-box, linear-gradient(60deg, #181599, #971FAA) border-box;
    position: relative;
    overflow: hidden;
}
.cat-questions {
    color: #666f8d;
    font-size: 20px;
}
@media (max-width: 600px) {
    .password-fields {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1025px) and (max-width: 1200px) {
    .password-fields {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 429px) {
    .author-and-time .byline {
        max-width: 142px;
    }
}
@media (min-width: 430px) and (max-width: 767px) {
    .author-and-time .byline {
        max-width: 192px;
    }
}
.page-template-template-preferences main,
.page-template-template-thankyou main,
.page-template-template-signin main,
.page-template-template-forgot-password main {
    min-height: 100vh;
}