﻿#hero {
    background: url(/images/about/bg_p.jpg);
    padding-top: 200px;
    padding-bottom: 100px;
}

#hero .wrap {
    display: flex;
    flex-direction: row;
    column-gap: 100px;
}

#hero .heading {
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    padding-top: 50px;
    flex: 1;
    flex-shrink: 0;
}

#hero .right {
    flex: 2;
}

#hero .heading span {
    color: var(--color-brand);
}

#hero p {
    font-size: 1.5rem;
    line-height: 150%;
    margin-bottom: 100px;
    font-weight: 300;
}

#hero p b {
    color: var(--color-brand);
    white-space: nowrap;
}

#history {
    padding: 80px 0;
    background-color: #1e1d1b;
}

#history h2 {
    font-size: 2.5rem;
    line-height: 120%
}

#history .press {
    flex: 1;
}

#history .press img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 50px;
}

#history .bmx-container {
    display: flex;
    flex-direction: row;
    column-gap: 100px;
}

#history .history-list {
    border-right: 2px solid #7d4c0c;
    padding-right: 50px;
    flex: 1;
}

#history .history-list p {
    text-align: right;
    position: relative;
}

#history .history-list p:after {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-brand);
    right: -61px;
    top: 10px;
}

#history .history-list p b {
    color: var(--color-brand);
    font-size: 3rem;
}

#history .history-list > div {
    margin-top: 50px;
    display: flex;
    justify-content: flex-end;
}

#history .history-list .ballers {
    min-width: 200px;
    display: flex;
    justify-content: center;
    column-gap: 10px;
    padding-bottom: 30px;
}

#history .history-list .ball {
    display: inline-block;
    background-color: var(--color-brand);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

#solution {
    position: relative;
    height: 900px;
    width: 100%;
    background-color: #211f1e;
    background: url(/images/about/bg_p.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#solution .center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: var(--color-brand-op50);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 0 100px 5px rgba(255 82 25 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 160%;
}

#solution .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #3f3b3a66;
}

/* Satellite circular layout */
#solution .satelite {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

#solution .satelite div {
    position: absolute;
    width: 200px;
    text-align: center;
    transform: translate(-50%, -50%);
    color: #fff;
    background: #252222;
    padding: 20px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: bold;
    font-size: 1.5rem;
}

#solution .satelite div:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Circular placement */
#solution .satelite div:nth-child(1) {
    --angle: 90deg;
}

#solution .satelite div:nth-child(2) {
    --angle: 180deg;
}

#solution .satelite div:nth-child(3) {
    --angle: 225deg;
}

#solution .satelite div:nth-child(4) {
    
    --angle: 0deg;
}

#solution .satelite div:nth-child(5) {
    --angle: 45deg;
}

#solution .satelite div:nth-child(6) {
    --angle: 135deg;
}

#solution .satelite div:nth-child(7) {
    --angle: 315deg;
}

#solution .satelite div:nth-child(8) {
    --angle: 270deg;
    
}

#solution .satelite div {
    --radius: 300px;
    top: calc(50% - var(--radius) * sin(var(--angle)));
    left: calc(50% + var(--radius) * cos(var(--angle)));
}

/* For browsers without sin/cos support (fallback using transform rotation) */
@supports not (top: calc(50% - var(--radius) * sin(var(--angle)))) {
    #solution .satelite {
        animation: orbit 20s linear infinite;
    }

    #solution .satelite div {
        top: 50%;
        left: 50%;
        transform-origin: 0 -200px;
    }

    #solution .satelite div:nth-child(1) {
        transform: rotate(0deg) translateY(-200px);
    }

    #solution .satelite div:nth-child(2) {
        transform: rotate(45deg) translateY(-200px);
    }

    #solution .satelite div:nth-child(3) {
        transform: rotate(90deg) translateY(-200px);
    }

    #solution .satelite div:nth-child(4) {
        transform: rotate(135deg) translateY(-200px);
    }

    #solution .satelite div:nth-child(5) {
        transform: rotate(180deg) translateY(-200px);
    }

    #solution .satelite div:nth-child(6) {
        transform: rotate(225deg) translateY(-200px);
    }

    #solution .satelite div:nth-child(7) {
        transform: rotate(270deg) translateY(-200px);
    }

    #solution .satelite div:nth-child(8) {
        transform: rotate(315deg) translateY(-200px);
    }
}

#ecosystem {
    padding: 100px 0;
}

#ecosystem .bmx-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

#ecosystem h2 {
    font-size: 2.8rem;
    line-height: 140%;
    text-align: right;
}

#ecosystem h2 span {
    color: var(--color-brand);
    font-weight: 400;
}

#ecosystem img {
    max-width: 600px;
}

#feedback {
    background: url(/images/about/bg_p2.jpg);
    padding: 100px 50px;
}

#feedback h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 80px;
}

#feedback .card-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 40px;
}

#feedback .card-list .card {
    text-align: center;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease;
    color: black;
}

#feedback .card-list .card img {
    max-width: 50px;
}

#feedback .card-list .card.center {
    transform: scale(1.1)
}

#feedback .card-list .card .n {
    font-weight: bold;
    font-size: 1.1rem;
}

#feedback .card-list .card .p {
    color: var(--color-text-fade);
    font-size: 0.9rem;
}

#feedback .card-list .card .c {
    line-height: 160%;
}

#feedback .card-list .card .c:before {
    content: open-quote;
    font-size: 2rem;
}

#feedback .card-list .card .c:after {
    content: close-quote;
    font-size: 2rem;
    line-height: 0;
}