html {
    height: 100%;
    width: 100%;
}

body {
    min-height: 100vh;
    width: 100%;
    background-color: black;
    overflow: visible;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}
.text-center {
    text-align: center;
}
p::selection {
    background: #0095A8;
}
p::-moz-selection {
    background: #0095A8;
}
@keyframes appear-from-top {
    0% {
      transform: translateY(-5%);
      opacity: 0;      
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
}

@keyframes gradient-from-top {
    0% {
        background-image: -webkit-gradient(linear,left top,right top,from(#333399),to(#333399));
        background-image: linear-gradient(to top,#333399,#333399 0%);
    }
    25% {
        background-image: -webkit-gradient(linear,left top,right top,from(#0095A8),to(#333399));
        background-image: linear-gradient(to top,#0095A8,#333399 25%);
    }
    50% {
        background-image: -webkit-gradient(linear,left top,right top,from(#0095A8),to(#333399));
        background-image: linear-gradient(to top,#0095A8,#333399 50%);
    }
	    75% {
        background-image: -webkit-gradient(linear,left top,right top,from(#0095A8),to(#333399));
        background-image: linear-gradient(to top,#0095A8,#333399 75%);
    }
    100% {
        background-image: -webkit-gradient(linear,left top,right top,from(#0095A8),to(#333399));
        background-image: linear-gradient(to top,#0095A8,#333399 90%);
    }
}

.animated-content {
    animation: 0.1s ease-in 0.2s 1 appear-from-top;
    animation-fill-mode: both;
}
	
.top-bar {
    background: #333399;
    background-image: -webkit-gradient(linear,left top,right top,from(#0095A8),to(#333399));
    background-image: linear-gradient(to top,#0095A8,#333399 90%);
    display: block;
    position: absolute;
    top: 0;
    z-index: -500; 
    transition: background-image 0.4s ease;
    width: 100%;        
    height: 20%;
    max-height: 300px;
    box-shadow: 0px -10px 14px 1px rgba(0, 0, 0, .2) inset;
    border-radius: 0 0 50% 50%/0 0 100% 100%;
    transform: scaleX(1.3);
}

.card {
    min-width: 80%;
    min-height: 40%;
    padding: 3%;
    color: Black;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Changed to flex-start */
    text-align: left; /* Changed to left */
    padding-top: 10vh !important;
    padding-left: 5%; /* Added left padding */
}
.card-text {
    width: 60%; /* Increased width to accommodate photo and text */
    display: flex;
    flex-direction: row; /* Changed to row */
    align-items: center; /* Center items vertically */
    gap: 20px; /* Space between photo and name */
}

.greeting {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 150px;
    font-weight: 800;
    background-image: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-animation 15s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.name-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left-align the names */
}
.card-text > p { 
    color: #29384e;
}
.card-text > p > strong {    
    color: #0095A8;    
}
.card-text > p > em {
    color: rgba(33, 33, 33, 0.5);
    font-style: normal;
}
.action {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1;
}
.button-linkedin { 
    color: white;
    background-color: #1a76c6;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.button-linkedin:hover {
    background-color: #105694;
}
svg { 
    width: 30px;
    height: 30px;
    fill: white;    
}

.photo-container {
    border-radius: 50%;
    padding: 5px;
    background-image: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    box-shadow: 0px 8px 14px 1px rgba(0, 0, 0, .2);
}

.card-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

@media all and (min-width: 1024px) { 
    .card {
        flex-direction: column;
    }
    .card-text {
        width: 40%;
    }
    .card-photo {
        width: 200px;
        height: 200px;
    }
    .greeting {
        font-size: 96px;                
    }
    .card-text > p {
        font-size: 24px;     
    }
    .button {
        font-size: 20px;
    }    
}
 
@media all and (min-width: 768px) and (max-width: 1024px) { 
    .card-text {
        width: 40%;
    }
    .greeting {
        font-size: 48px;                
    }
    .card-text > p {
        font-size: 24px; 
    }
    .button {
        font-size: 20px;
    }    
}
 
@media all and (min-width: 480px) and (max-width: 768px) { 
    .top-bar {
        background: #333399;
        background-image: -webkit-gradient(linear,left top,right top,from(#0095A8),to(#333399));
        background-image: linear-gradient(to top,#0095A8,#333399);
        position: absolute;
        animation: 0.2s ease-out 0,2s 1 gradient-from-top;
        animation-fill-mode: both;
    }
    .card-text {
        width: 90%;
    }
    .greeting {
        font-size: 32px;                
    }
    .card-text > p {
        font-size: 18px;
    }
    .button {
        font-size: 16px;
    }
}
 
@media all and (max-width: 480px) { 
    .top-bar {
        background: #333399;
        background-image: -webkit-gradient(linear,left top,right top,from(#0095A8),to(#333399));
        background-image: linear-gradient(to top,#0095A8,#333399 90%);
        position: absolute;
        animation: 0.2s ease-out 0.2s 1 gradient-from-top;
        animation-fill-mode: both;
    }
    .card-text {
        width: 90%;
    }
    .greeting {
        font-size: 32px;                
    }
    .card-text > p {
        font-size: 18px;
    }
    .button {
        font-size: 16px;
    }
}

@keyframes typing {
  from { width: 0 }
  to { width: 14ch } /* Use ch unit for character width */
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #bb86fc; }
}