:root {
    --third: #4800ff;
    --card: #17175d;
    --fourth: #48b0ff;
    --shadow: #48b0ff26;
    --shadow-hover: #48c2ff59;
}

body {
    background-color: var(--card) !important;
}

.text-custom1 {
    color: var(--third);
}

.text-custom2 {
    color: var(--card);
}

html {
    scroll-behavior: smooth;
}

.custom-width {
    width: 48px;
    height: 48px;
}
.custom-width2 {
    width: 100px;
    height: 100px;
}

.custom-link {
    position: relative;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 18px;
}

.custom-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--third);
    transition: width 0.3s ease;
}

.custom-link:hover {
    color: var(--third);
}

.custom-link:hover::after {
    width: 100%;
}

.custom-bg-color {
    background-color: var(--card);
}

.custom-bg-color2 {
    background-color: var(--third);
}

.intro {
    border-right: 2px solid white;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    display: inline-block;
    font-size: 1.4rem;
    animation: typing 3s steps(14, end) forwards, blink 0.7s infinite, hideCursor 0.1s 3s forwards;
}

.w-custom3 {
    padding: 1rem !important;
}

.gradient-main {
    background: linear-gradient(135deg, var(--third), var(--card));
}

.custom-img {
    width: 340px;
    max-width: 100%;
    box-shadow: 0 0 30px #48b0ff59;
}

.accordion-body {
  background-color: #1f1f6f;
  color: white;
}

.accordion-item {
  border-radius: 15px !important;
  overflow: hidden;
  border: none;
}

.accordion-content {
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.45s ease;
    padding: 0 1.4rem;
}


.entry {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--fourth);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.9rem;
    line-height: 1.7;
}

.contact-section {
    padding-bottom: 5rem;
    padding-top: 5rem;
    max-width: 700px !important;
}

.contact-card {
    text-align: center;
    background-color: #ffffff0d;
    border-left: 4px solid var(--fourth);
    padding: 1.5rem;
    border-radius: 12px;
}

.contact-card a {
    text-decoration: none;
    color: var(--fourth);
    transition: 250ms;
}

.contact-card a:hover {
    color: white;
}

.site-footer {
    border-top: 2px solid #ffffff14;
    font-size: 18px;
}

.bg-gray {
    background-color: #ffffff0d;
}

/* id */

#skills {
    padding: 10rem 0;
}

#card {
    border-radius: 20px !important;
    background-color: var(--third);
    box-shadow: 0 0 12px var(--shadow);
    transition: 250ms;
    color: white;
    height: 400px;
}

#card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px var(--shadow-hover);
}

#skill-title {
    text-shadow: 0 0 50px white;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 12ch;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes hideCursor {
    to {
        border-right-color: transparent;
    }
}
