body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: url('https://images.unsplash.com/photo-1607083206173-fb31a852c3e3?auto=format&fit=crop&w=1470&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    overflow-x: hidden;
    touch-action: pan-y;
}

h1 {
    text-align: center;
    font-size: 3em;
    margin-top: 30px;
}

.container {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 1rem;
}

.characters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
}

.character {
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 12px;
}

.character img {
    height: 300px;
    max-width: 200px;
    object-fit: contain;
    transition: 0.3s ease-in-out;
}

.character:hover {
    outline: 3px solid #00f0ff;
    transform: scale(1.05);
}

.character p {
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    line-height: 30px;
}

.stats {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 6px 50px 50px;
    max-width: 1400px;
}

.about-content {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
}

.stat-bars {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.bar {
    margin-bottom: 15px;
    flex-direction: row;
    display: flex;
}

.bar-label {
    margin-bottom: 5px;
    width: 240px;
    text-align: right;
    padding-right: 20px;
}

.bar-bg {
    width: 100%;
    background: #222;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    background: #00f0ff;
    height: 16px;
    width: 0;
    transition: width 1s;
}

.stat-value {
    float: right;
    font-size: 1.0em;
    padding-right: 8px;
}

.diagram {
    max-width: 400px;
    max-height: 350px;
}

.description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.6em;
    background: rgba(0, 0, 0, 0.5);
    padding-top: 20px;
    border-radius: 10px;
}

.about-us {
    position: relative;
    text-align: center;
    align-items: center;
    padding: 30px 20px;
    height: auto;
    background-color: var(--color-bg-dark);
}

.about-us h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-bg-light);
    text-align: center;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.base-text {
    display: flex;
    position: relative;
    text-align: center;
    width: 1440px;
}

.base-text p {
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    text-align: left;
    font-weight: normal;
    line-height: 30px;
    word-spacing: 2px;
    width: 1280px;
    margin-left: 80px;
    margin-right: 80px;
}

.about-us .main-text {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    text-align: justify;
    margin-bottom: 20px;
    padding: 0 200px;
    line-height: 1.5em;
    text-indent: 40px;
    color: var(--color-bg-light);
}

.team {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.team-member {
    max-width: 250px;
    text-align: center;
}

.team-member img {
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-member h4 {
    margin: 30px 0 5px;
    font-size: 1.2em;
    color: var(--color-bg-light);
}

.about-us h3 {
    color: var(--color-bg-light);
}

.team-member p {
    font-size: 1.0em;
    color: var(--color-bg-light);
    font-family: "Roboto", sans-serif;
}


.show-on-portrait {
    display: none;
}


@media (max-width: 1440px) {
    .base-text {
        display: flex;
        position: relative;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 960px) {
    .base-text p {
        font-size: 18px;
        font-family: "Roboto", sans-serif;
        text-align: left;
        font-weight: normal;
        line-height: 30px;
        word-spacing: 2px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 960px) and (orientation: portrait) {
    .about-content {
        display: none;
    }

    .show-on-portrait {
        display: flex;
        font-size: 20px;
        color: #bcbcbc;
    }
}

@media (max-width: 960px) and (orientation: landscape) {
    .bar-label {
        margin-bottom: 5px;
        width: 300px;
        text-align: right;
        padding-right: 20px;
        font-size: 14px;
    }

    .diagram {
        padding: 20px;
    }
}


