#name {
    padding-left: 2%;
    padding-top: 5%;
    scroll-padding-top: 15%;
    width: 100%;
    scale: 75%;
    height: auto;
}

.header {
    display: inline;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    color: black;
    border-radius: 5px;
    margin-top: 20px;
}

header {
    margin-bottom: 40px;
}

.title-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 10px;
}

h1 {
    font-size: 24px;
    margin: 0;
    color: #333;
}

.name-container {
    text-align: left;
    margin-bottom: 20px;
}

#name {
    scale: 70%;
}

nav {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    padding-left: 15%;
    gap: 40px;
}

nav a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    position: relative;
}

nav a:hover {
    color: #E85959;
}

nav a.active {
    color: #E85959;
}

nav a:hover::after, nav a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #E85959;
    bottom: -5px;
    left: 0;
}

.dots-container {
    padding-top: 5%;
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1.5px solid #E85959;
    margin: 0 20px; 
    flex-shrink: 0; 
}

.dot.filled {
    background-color: #E85959;
}

.top-dots {
    
    animation: moveRight 15s linear infinite;
}

.bottom-dots {
    animation: moveLeft 15s linear infinite;
}

@keyframes moveRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes moveLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}