/* add at the top of .main a background image located in asset('img/about_us/Bacground.png') */
.main {
    background-image: url('/img/about_us/Background.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    padding: 120px 0 0 0;
    background-position-x: center;
}

.founder {
    margin: 7rem auto;
}

.stats-main {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.stats-card {
    border: 1px solid lightgray;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.stats-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-card img {
    width: 100px;
    height: 100px;
}

.stats-header, .stats-enterprise {
    text-align: center;
    color: #7052fb;
    margin-bottom: 4rem;
}

.stats-enterprise {
    font-weight: 300;
    margin-top: 4rem;
    margin-bottom: 0;
}

.stats-company {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-title {
    font-weight: 300;
    color: #7052fb;
    font-size: 4rem;
}

.stats-text {
    color: #7052fb;
    font-size: 1.2rem;
    font-weight: 300;
}

.frame {
    background-color: white;
    width: 75%;
    height: 100%;
    position: relative;
    margin: 0 auto;
    border-radius: 15px;
    padding: 1rem 2rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.frame .frame__img {
    position: absolute;
    top: -200px;
    left: -100px;
}

.frame h2 {
    margin-left: 12rem;
    font-weight: 300;
    color: #6e44f1;
    overflow: hidden;
    font-size: x-large;
}

.frame p {
    color: grey;
    overflow: hidden;
    font-weight: 300;
    font-size: x-large;
    margin-top: 1rem;
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline ul {
    list-style: none;
    padding: 50px 0;
}

/* create a line */
.timeline ul li{
    position: relative;
    width: 2px;
    margin: 0 auto;
    background: lightgray;
}

/* add padding top 70px to all li igoring the first one */
.timeline ul li:not(:first-child) {
    padding-top: 100px;
}

.timeline ul li .box {
    position: relative;
    bottom: -17px;
    width: 450px;
    height: 162px;
    background-color: #7052fb;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid white;
}   

.timeline ul li .year {
    color: white;
    font-weight: 300;
    font-size: large;
}

.timeline ul li .text {
    color: white;
    font-weight: 300;
    font-size: large;
}

.timeline ul li:nth-child(odd) .box {
    left: 40px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 1rem 1rem 1rem 4rem;
}

.timeline ul li:nth-child(5) .box {
    left: 0px;
    top: 0;
    width: 490px;
    height: 200px;
    padding: 1rem 1rem 1rem 6rem;
}

.timeline ul li:nth-child(7) .box {
    left: 0px;
    top: 0;
    width: 490px;
    height: 200px;
    padding: 1rem 1rem 1rem 6rem;
}

.timeline ul li:nth-child(8) .box {
    top: 0;
    width: 490px;
    height: 200px;
    left: -489px; ;
    padding: 1rem 5rem 1rem 2rem;
}

.timeline ul li:nth-child(even) .box {
    left: -487px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 1rem 5rem 1rem 2rem;
}

.timeline ul li img {
    z-index: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 195px;
    height: 195px;
}

.values {
    margin: 7rem 0;
}

.values__header {
    text-align: center;
    color: #7052fb;
    margin-bottom: 5rem;
    margin-top: 5.5rem;
}

.values__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    gap: 50px;
    width: 80%;
    margin: 0 auto;
}

.values__container_card{
    display: flex;
    justify-content: start;
    width: 100%;
}

.values__container_card__img{
    display: inline-block;
    border-right: 1px solid lightgray;
}

.values__container_card_title{
    font-weight: 400;
    color: black;
}

.values__container_card_title, .values__container_card_text {
    margin: 0;
    font-size: x-large;
    font-weight: 300;
    margin-left: 10px;
}

@media (width <= 425px){
    .main-img {
        margin: 10rem auto;
    }
}

@media (width <= 768px) {
    .frame {
        width: 100%;
    } 
    .frame h2 {
        margin-left: 0;
        margin-top: 4rem;
    }

    .timeline {
        justify-content: start;
    }

    .timeline ul li .box {
        width: max-content;
    }

    .timeline ul li img {
        width: 120px;
        height: 120px;
    }

    .timeline ul li {
        margin-left: 40px;
    }

    .timeline ul li:nth-child(even) .box {
        left: 0px;
        top: -10px;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        padding: 1rem 1rem 1rem 4rem;
        width: calc(100vw - 140px);
        height: auto;
    }

    .timeline ul li:nth-child(odd) .box {
        left: 0px;
        top: -10px;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        padding: 1rem 1rem 1rem 4rem;
        width: calc(100vw - 140px);
        height: auto;
    }

    .timeline ul li:nth-child(5) .box {
        left: 0px;
        top: -20px;
        padding: 1rem 1rem 1rem 4rem;
        width: calc(100vw - 140px);
        height: auto;
    }

    .timeline ul li:nth-child(7) .box {
        left: 0px;
        top: -20px;
        padding: 1rem 1rem 1rem 4rem;
        width: calc(100vw - 140px);
        height: auto;
    }

    .timeline ul li:nth-child(8) .box {
        top: -20px;
        left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        padding: 1rem 1rem 1rem 4rem;
        width: calc(100vw - 140px);
        height: auto;
    }
}

@media (width <= 1024px){
    .frame {
        width: 100%;
    }

    .values__container {
        width: 100%;
    }
}
