﻿.page-container {
    display: flex;
    flex-direction: column;
    padding: 0 25px;
    gap: 20px;
}

.section-title {
    color: var(--text-color);
    text-align: center;
    font-weight: bold;
}

.main-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    overflow: hidden;
}

.founder-section .founder-container,
.expertise-section .expertise-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    text-align: center;
    justify-content: center;
}

.main-section div {
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    word-wrap: break-word;
    align-items: center;
    z-index: 2;
}

.main-section div h1 {
    text-align: center;
    font-weight: bold;
    font-size: calc(1.9rem + 3vw);
}

.main-section div p {
    text-align: center;
    font-size: 20px;
}

.main-section .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.main-section div .buttons-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    margin: 15px 0 0 0;
}

.founder-section .founder-card,
.expertise-section > div {
    flex: 1 1 220px;
}

.founder-section .founder-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid rgb(255, 255, 255);
}

.expertise-section .expertise-container > div {
    margin: 0 auto;
    padding: 5px 20px;
}

.expertise-section .expertise-container > div img {
    height: 48px;
    width: auto;
}

@media screen and (max-width: 450px) {
    .main-section div .buttons-container {
        flex-direction: column;
        width: 100%;
    }
    
    .main-section div .buttons-container .button {
        width: 100%;
    }
}