*{
    scroll-behavior: smooth;
}

body{
    background: whitesmoke;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.horizontal-line{
    color: black;
    width: 100%;
    border-top: 1px solid black;
}

a{
    color: black;
    text-decoration: none;
}

.header{
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    justify-content: space-between;
    position: sticky;
    top: 0;
    display: flex;
}

.header .nav-container{
    padding: 2rem;
}

.header .nav-container a{
    padding: 1rem;
    font-size: 20px;
    transition: all .4s ease-in-out;
}

.header .nav-container a:hover{
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    font-size: 20.5px;
}

.header .nav-container a.active{
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25); 
    border-radius: 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2); 
}

.bio-container{
    background-color: #d3d3d37a;
    padding: 2.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bio-container .holding{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.bio-container .holding .simple-bio{
    text-align: left;
    padding: 2rem;
    order: 2;
}

#profile{
    width: 60vh;
    height: 60vh;
    border-radius: 16rem;
    border: 3px solid black;
    margin-left: 3rem;
    order: 1;
}

.typing-container {
  font-family: sans-serif;
  font-size: 1.5rem;
}

#about{
    padding: 1rem;
    border-radius: 10px;
    transition: all .4s ease-in-out;
    border-radius: 1rem;
    border: 2px solid black;
    font-size: 20.5px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

#about:hover{
    background-color:rgba(180, 174, 174, 0.364);
}

#dynamic-text {
color: rgb(48, 141, 141);
font-weight: bold;
}

.cursor {
  display: inline-block;
  background-color: #333;
  margin-left: 2px;
  width: 3px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% { background-color: #333; }
  49% { background-color: #333; }
  50% { background-color: transparent; }
  99% { background-color: transparent; }
  100% { background-color: #333; }
}

/*Bubbles*/
.bubble-container{
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble{
    position: absolute;
    bottom: -150px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0.2) 70%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: inset 0 20px 30px rgba(255, 255, 255, 0.3), 0 4px 15px rgba(0, 0 ,0 , 0.1);
    animation: floatUp linear infinite;
}

.bubble:nth-child(1) { left: 10%; width: 80px; height: 80px; animation-duration: 12s; animation-delay: 0s; }
.bubble:nth-child(2) { left: 25%; width: 40px; height: 40px; animation-duration: 8s; animation-delay: 2s; }
.bubble:nth-child(3) { left: 40%; width: 120px; height: 120px; animation-duration: 16s; animation-delay: 1s; }
.bubble:nth-child(4) { left: 55%; width: 60px; height: 60px; animation-duration: 10s; animation-delay: 4s; }
.bubble:nth-child(5) { left: 70%; width: 90px; height: 90px; animation-duration: 14s; animation-delay: 2.5s; }
.bubble:nth-child(6) { left: 85%; width: 50px; height: 50px; animation-duration: 9s; animation-delay: 5s; }
.bubble:nth-child(7) { left: 30%; width: 70px; height: 70px; animation-duration: 11s; animation-delay: 7s; }
.bubble:nth-child(8) { left: 65%; width: 110px; height: 110px; animation-duration: 15s; animation-delay: 0.5s; }

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1; 
    }
    90% {
        opacity: 1;
            }
    100% {
        transform: translateY(-110vh) translateX(50px) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

.about-container{
    padding: 2rem;
    background-color: #efe2cc6e;
    border: 2px solid black;
    border-radius: 10px;
    box-shadow: 2px 2px 4px 5px rgba(180, 174, 174, 0.364);
    margin: 3rem;
}

/*Accordion*/
.accordion-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 50rem;
    height: auto;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.accordion-container .accordion{
    cursor: pointer;
    color: black;
    padding: .5rem;
    width: 100%;
    border:none;
    font-size: 1.25rem;
    text-align: left;
    outline: .05rem solid black;
    background-color: white;
    transition: background-color .3s ease;
}

.accordion-container .accordion:hover, .accordion-container .accordion:focus{
    background-color: #f2f2f2;
}

.accordion-container .panel{
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    outline: .05rem solid black;
    background-color: white;
    transition: max-height 0.4s ease, padding .3s ease;
}
.accordion-container .panel.open{
    padding: 1rem;
}

/*Contact Page*/
.information-container{
    border: 2px solid black;
    justify-content: center;
}