/* -------------- Universal Styles ------------------ */

* {
    margin: 0px;
    padding: 0px;
    font-size: 16px;
    color: #cf8787;
    font-family: 'DM Sans';
}

html {
    scroll-behavior: smooth;
}

body {
    background-image:#f2e4e7;
}

h1 {
    font-size: 4rem;
    padding: 2rem 0;
}

h2 {
    font-size: 2rem;
    padding: 1.25rem 0;
}

h3 {
    font-size: 1.5rem;
    padding: 0.5rem 0;
}

h4 {
    font-size: 1.25rem;
    padding: 0.6rem 0;
    color: #be9b7b;
}


/* -------------- Nav Styles ------------------ */

nav {
    display: flex;
    align-items: center;
}

nav ul {
    padding: 1rem;
}

nav li {
    display: inline;
    padding: 0.5rem 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
}

nav a {
    text-decoration: none;
}

.nav-links a:hover {
    border-bottom: 0.25rem solid #E19FAE;
    padding-bottom: 0.5rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    height: 4rem;
    width: auto;
    margin-left: 1rem;
}

.social-links {
    margin-right: 1rem;
    padding-bottom: 1rem;
}

.social-links img {
    height: 2rem;
   width: auto;
}

.social-links li {
    padding: 1rem;
}


.reveal{
    position: relative;
    transform: translateY(4rem);
    opacity: 0;
    transition: 0.5s all ease;
}
.reveal.active{
    transform: translateY(0);
    opacity: 1;
}


/* -------------- Header Section Styles ------------------ */

.about-me, .about-container img {
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
 
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.profile-pic {
    width: 20%;
    height: auto;
    border-radius: 20%;
}


.about-me {
    flex-basis: 60%;
    padding: 4rem;
}

.about-me div, .about-me span {
    font-size: 4rem;
    padding: 2rem 0;
    font-weight: bold;
}

/* #sprinkles {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */


.wave {
    animation-name: wave-animation; 
    animation-duration: 2.5s;        
    animation-iteration-count: infinite; 
    transform-origin: 70% 70%; /* Pivot around the bottom-left palm */
    display: inline-block;
  }

  @keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
   10% { transform: rotate(14.0deg) }  
   20% { transform: rotate(-8.0deg) }
   30% { transform: rotate(14.0deg) }
   40% { transform: rotate(-4.0deg) }
   50% { transform: rotate(10.0deg) }
   60% { transform: rotate( 0.0deg) }  /* Reset for the last half to pause */
  100% { transform: rotate( 0.0deg) }
}

@media only screen and (max-width: 965px) {
    nav {
        flex-direction: column;
    }

    .nav-links {
        display: flex;
        align-items: center;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
    }

    .about-container {
        margin-top: 0;
    }
    .profile-pic{
        display:none;
    }

}


/* -------------- Experience Section Styles ------------------ */


.experience-section {
    margin-top: 7rem;
}

/* .experience-section h2 {
    text-align: center;
} */

.experience-container {
    display:flex;
    margin-top: 3rem;
    flex-direction: column;
    align-items: center;
    background-color :white;
    height: 50%;
}

.toggle {
    display: flex;
    align-items: stretch;
    margin-top: 1.5rem;
}

.toggle a {
    font-family: 'DM Sans';
}

.experience {
    max-width: 500px;
}

.experience ul {
    padding-top: 1rem;
    padding-left: 1rem;
}

.experience-role {
    font-size: 2rem;
    font-weight: bold;
}

.experience-place {
    font-size: 1rem;
}

.experience p {
    padding-top: 0.5rem;
}

.experience li {
    font-family: 'DM Sans';
    padding-top: 0.5rem;
    color: #be9b7b;
    font-size: 1rem;
}

.toggle-inactive {
    padding: 1rem;
    cursor: pointer;
}

.toggle-active {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 0.25rem solid #E19FAE;
}

.toggle-inactive:hover {
    background-color: #fde4f250;
}

.text-typing { 
    background: #f5f5f5; 
    border-radius: 50px; 
    width: 20%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.text-typing h2 { 
    margin: 0px; 
    padding: 1rem;
    white-space: nowrap; 
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0); 
    
} 

.text-typing.animate h2 {
    animation:  typing 3s steps(25, end) forwards;
}

.text-typing.animate:after {
    animation: blink 1s forwards infinite;
    content: '';
    height: 40px;
  }

@keyframes typing { 
    0% { 
        width: 0% 
    } 

    100% { 
        width: 60% 
    } 
} 

@keyframes blink { 

    0%, 
    100% { border-right: 2px solid transparent; 
    } 


    50% { 
        border-right: 2px solid #222; 
    } 

} 


@media only screen and (max-width: 965px) {
    .text-typing { 
        width: 50%;
    } 
    
}

/* -------------- Skill Section ------------------ */

.skills-section {
    margin-top: 5rem;
}

.skill-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.skill-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
}

.skill-container img {
    width: 100px;
    height: auto;
}

.skill-container p {
    margin-top: 0.5rem;
    color: #be9b7b;
    font-weight: bold;
}


.text-typing-2 { 
    background: #f5f5f5; 
    border-radius: 50px; 
    width: 20%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.text-typing-2 h2 { 
    margin: 0px; 
    padding: 1rem;
    white-space: nowrap; 
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0); 
    
} 

.text-typing-2.animate h2 {
    animation:  skills-typing 3s steps(25, end) forwards;
}

.text-typing-2.animate:after {
    animation: skills-blink 1s forwards infinite;
    content: '';
    height: 40px;
  }

  

@keyframes skills-typing { 
    0% { 
        width: 0% 
    } 

    100% { 
        width: 30% 
    } 
} 

@keyframes skills-blink { 

    0%, 
    100% { border-right: 2px solid transparent; 
    } 


    50% { 
        border-right: 2px solid #222; 
    } 

} 

@media only screen and (max-width: 965px) {
    .text-typing-2 { 
        width: 50%;
    } 
    .skill-container {
        flex-wrap: wrap;
    }
}

/* -------------- Footer ------------------ */
.footer {
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;

}
.footer-div img {
    height: 1rem;
    width: auto;
    margin: 0.5rem;
}

.footer-div {
    display: flex;
    align-items: center;
}