
body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

header h1 {
    font-size: 3em;
    font-weight: 600;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #aaaaaa;
}

.container {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

.input-section, .result-section {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 45%;
    min-width: 500px;
}

.video-container {
    border: 2px dashed #444;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

#video {
    display: block;
    width: 100%;
    height: auto;
}

.upload-container p {
    margin: 0 0 10px 0;
}

input[type="file"] {
    margin-bottom: 20px;
}

#analyze-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

#analyze-button:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.result-section h2 {
    margin-top: 0;
}

#result-card {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out;
}

#result-card.hidden {
    display: none;
}

#result-image {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    margin-bottom: 15px;
}

#result-athlete-type {
    font-size: 2em;
    color: #00E676;
    margin: 0;
}

#result-description {
    font-size: 1.1em;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .input-section, .result-section {
        width: 80%;
    }
}
