/* ======== ======== ======== ======== ======== ======== ======== ======== */
/*                                                                         */
/*                     ADJUST THE STYLINGS ACCORDINGLY                     */
/*                                                                         */
/* ======== ======== ======== ======== ======== ======== ======== ======== */

/* ========== Google Fonts Import ========== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

/* ========== Color scheme set ========== */
@media (prefers-color-scheme: dark),
(prefers-color-scheme: light) {

    :root,
    body,
    main,
    * {
        color-scheme: only light;
    }
}

/* ========== Root Variables ========== */
:root {
    --black: #0c0c0c;
    --white: #f0f8ff;
    --orrange: #ff6a00;
    --blue: #146eb4;
    --royal-blue: #4169e1;
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5em;
    font-family: 'Merriweather', serif;
    -webkit-tap-highlight-color: transparent;
}

/* ========== Scrollbar Styling ========== */
::-webkit-scrollbar {
    display: none;
    width: 0;
}

/* ========== Body Styles ========== */
body {
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* ========== Main Container Styles ========== */
main {
    background-color: var(--white);
    width: 300px !important;
    height: auto;
    max-height: 96vh;
    border-radius: 10px;
    position: relative;
}

/* ========== Gradient Animation with Spinning Effect ========== */
main::after,
main::before {
    content: '';
    position: absolute;
    height: calc(100% + 5px);
    width: calc(100% + 5px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    z-index: -1;
}

main.active-gradient::after,
main.active-gradient::before {
    animation: 3s spin linear infinite;
    background-image: conic-gradient(from var(--angle), var(--orrange), var(--white), var(--blue), var(--white), var(--orrange));
}

main.active-gradient::before {
    filter: blur(10px);
    opacity: 0.5;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

/* ========== Cover & Profile Image Styles ========== */
.cover-pic {
    width: 100%;
    height: 150px;
    border-radius: 10px 10px 0 0;
    background-color: var(--black);
}

.cover-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: -75px auto 20px auto;
    border: 3px solid var(--white);
    box-shadow: 0px 0px 8px 0px #00000040;
    position: relative;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ========== Name & Title Styles ========== */
.name {
    font-size: 1.4em;
    font-weight: bold;
    width: 90%;
    height: 1.2em;
    margin: 10px auto;
    color: var(--royal-blue);
}

.title {
    font-size: 1.1em;
    font-weight: 600;
    width: 90%;
    height: 1.28em;
    margin: 10px auto;
    color: var(--black);
}

/* ========== Blinking Cursor Animation ========== */
.title::after {
    content: "|";
    animation: blink 1s infinite;
    visibility: visible;
}

@keyframes blink {

    0%,
    50% {
        opacity: 0;
    }

    51%,
    100% {
        opacity: 1;
    }
}

/* ========== Separator Line Styles ========== */
.separator {
    width: 60%;
    height: 1px;
    margin: auto;
    background: linear-gradient(273deg, var(--white), var(--blue), var(--white));
}

/* ========== Bio Section Styles ========== */
.bio {
    font-size: 0.9em;
    width: 90%;
    height: 5em;
    margin: 10px auto;
}

/* ========== Social Icons Section Styles ========== */
.social {
    width: 64%;
    height: 1.8em;
    margin: 10px auto;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Get Started Styles ========== */
.btn {
    font-size: 1.2em;
    width: 75%;
    height: 2.5em;
    margin: 15px auto 20px auto;
    border-radius: 10px 0;
    background-color: var(--black);
}

.btn a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px;
    font-weight: bold;
    color: var(--orrange);
    text-decoration: none;
}

/* ========== Icon Styles ========== */
.icon {
    color: var(--white);
    line-height: 0;
    width: 1.75em;
    height: 1.75em;
    text-align: center;
    align-content: center;
    border-radius: 5px;
    padding: 5px;
}

.icon:hover {
    filter: brightness(0.9);
}

.icon::before {
    vertical-align: middle;
}

/* ========== Hidden Icon Styles ========== */
.icon-hidden {
    visibility: hidden;
    opacity: 0;
}

/* ========== Icon Image Styles ========== */
.icon img {
    max-width: 100%;
    max-height: 100%;
}

/* ========== Skeleton Animation Styles ========== */
.skeleton {
    background-color: #e0e0e0;
    background-image: linear-gradient(90deg, #e0e0e0 0%, #cecece 50%, #e0e0e0 100%);
    background-size: 200% 100%;
    animation: shimmer 1s infinite;
}

/* ========== Shimmering Animation for Skeletons ========== */
.skeleton.title::after {
    content: "";
    visibility: hidden;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ========== Icon Specific Backgrounds ========== */
.icon-telephone {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.icon-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.icon-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.icon-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0e4ab0 100%);
}

.icon-youtube {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

/* ========== MEDIA QUERY :: RESPONSIVE DESIGN ========== */

@media (max-height: 555px) {
    main {
        margin: 10px auto;
        overflow: auto;
    }
}

/* ======== ======== ======== ======== ======== ======== ======== ======== */