body {
    font-family: 'Arial', sans-serif;
    
}

.hero {
    min-height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

blockquote {
    background: #f9f9f9;
    padding: 1rem;
    border-left: 5px solid #ff758c;
}

.main-quote{
    color: grey;
}
#dynamic-text {
    font-size: 2rem;
    color: gold;
    display: inline;
}

/* Typewriter effect */
.typewriter {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}
.text-container{
    padding-bottom: 30px;
    white-space: nowrap;
}

/* about me */
 
.about-me{
    background-color: white; 
    color: black; 
    /* border-top-right-radius:25px;
    border-top-left-radius: 25px;
    border-bottom-right-radius: 0px; */
}


body {
    transition: background-color 0.5s, color 0.5s;
}

hr{
    color:white;
}
.dark-mode {
    background-color: #121212;
   color: #ffffff;
    .blockquote{
        background-color: transparent;
        border-left: 5px solid skyblue;
    }
    .about-me{
        background-color: black;
        color: white;
    }
    
    

}

.my-float {
    margin-top: 22px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.my-float:hover {
    transform: scale(1.3);
}

.toggle-dark {
    display: none;
}

.toggle-light {
    display: none;
}

/* Show the correct image based on mode */
body.dark-mode .toggle-dark {
    display: block;
}

body:not(.dark-mode) .toggle-light {
    display: block;
}







.floating-icon {
    position: fixed;
    right: 10px;
    bottom: 20px;
    z-index: 1000;
    cursor: pointer;
    animation: float 2s infinite;
    text-align: center;
}

.floating-icon img {
    width: 80px;
    height: 80px;
    
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Chat window styles */
.chat-window {
    position: fixed;
    right: 0;
    bottom: 100px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    max-height: 520px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: none;
    z-index: 999;
    flex-direction: column;
    justify-content: flex-start;
}

.chat-header {
    display: flex;
    align-items: center;
    background-color: skyblue;
    padding: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.header-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.header-name {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #f0f0f0;
    margin-right: auto;
}

.name {
    font-weight: bold;
    font-family: 'Playfair Display SC', serif;
    font-size: 18px;
    color: black;
    margin: 0;
}

.status {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: white;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: green;
    margin-right: 5px;
}

.close-button {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-iframe {
    width: 100%;
    height: calc(100% - 60px);
    border: none;
}

a {
    pointer-events: auto; /* Ensure links are clickable */
}
