* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #333;
}

main {
    padding: 20px;
    min-height: calc(100vh - 140px);
}

.dashboard-content {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.typing-container {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: normal;
    overflow: hidden;
    border-right: 2px solid white;
}

.typing-container h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.dashboard-video {
    opacity: 25%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fade-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 50px 20px;
    max-width: 900px;
    margin: 50px auto;
}

.profile-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 30px;
    /* background: #111; */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.profile-container.show .profile-item {
    opacity: 1;
    transform: translateY(0);
}

.profile-container.show .profile-item[data-index="0"] {
    transition-delay: 0.1s;
}
.profile-container.show .profile-item[data-index="1"] {
    transition-delay: 0.3s;
}
.profile-container.show .profile-item[data-index="2"] {
    transition-delay: 0.5s;
}
.profile-container.show .profile-item[data-index="3"] {
    transition-delay: 0.7s;
}
.profile-container.show .profile-item[data-index="4"] {
    transition-delay: 0.9s;
}

.profile-img {
    flex: 0 0 200px;
    width: 300px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.profile-info {
    flex: 1;
    color: white;
    text-align: left;
}

.profile-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.profile-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.profile-container.show {
    opacity: 1;
    transform: translateY(0);
}

.moving-text-container {
    width: 100%;
    overflow: hidden;
    background: black;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
    
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.moving-text {
    display: flex;
    gap: 40px;  
    animation: moveText 50s linear infinite;
    width: max-content;
}

.moving-text span {
    font-size: 60px;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
}

@keyframes moveText {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-90%);
    }
}

.documentation-container {
    text-align: center;
    padding: 50px 20px;
    background: #222;
    color: white;
    font-family: Arial, sans-serif;
}

.documentation-container h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.doc-video {
    flex: 1;
}

.doc-video video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.doc-text {
    flex: 1;
    text-align: left;
}

.doc-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #f1c40f;
}

.doc-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
}

.doc-item.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 1024px) {
    .typing-container h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .profile-container {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .profile-img, .profile-info {
        max-width: 100%;
        flex: unset;
    }

    .profile-info {
        text-align: center;
    }

    .doc-item {
        flex-direction: column;
        text-align: center;
    }

    .doc-text {
        text-align: center;
    }

    .doc-item.reverse {
        flex-direction: column;
    }

    .moving-text span {
        font-size: 40px;
    }

    .typing-container h1 {
        font-size: 1.5rem;
    }

    .documentation-container h2 {
        font-size: 32px;
    }

    .doc-text h3 {
        font-size: 24px;
    }

    .doc-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .profile-item {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-img {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
    
    .profile-info {
        text-align: center;
    }

    .typing-container {
        top: 45%;
    }

    .typing-container h1 {
        font-size: 1.2rem;
        padding: 0 10px;
        line-height: 1.4;
    }

    .moving-text span {
        font-size: 32px;
    }

    .documentation-container h2 {
        font-size: 28px;
    }

    .doc-text h3 {
        font-size: 22px;
    }

    .doc-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .typing-container h1 {
        font-size: 1rem;
    }

    .moving-text span {
        font-size: 24px;
        gap: 20px;
    }

    .documentation-container {
        padding: 30px 10px;
    }

    .documentation-container h2 {
        font-size: 24px;
    }

    .doc-text h3 {
        font-size: 20px;
    }

    .doc-text p {
        font-size: 14px;
    }

    main {
        padding: 10px;
    }
}