@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
body {
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}
.team {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 220px;
}
.team-container {
    display: flex;
    flex-direction: column;
    padding: 0 12vh;
}

@media (min-width: 2048px) {
    .team-container {
        display: flex;
        flex-direction: column;
        width: 70%;
    }
}

.team-header {
    display: flex;
    align-items: center;
    width: 85%;
    margin: 0;
}
.team-title {
    font-size: 71px;
    font-weight: 400;
    margin-bottom: 1rem;
    margin-top: 0;
    background: linear-gradient(0deg, #031987 0%, #2c4cee 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.team-content {
    display: flex;
    justify-content: flex-end;
    width: 89%;
    margin: 0;
    padding-bottom: 80px;
    gap: 20px;
}
.team-text {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 1rem;
    max-width: 300px;
}
.banner {
    width: 100%;
    margin-bottom: 6.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image {
    max-width: 89%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .team {
        padding-top: 140px;
    }
    .team-header {
        display: flex;
        padding: 0 20px;
    }
    .team-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0 20px;
        padding-bottom: 44px;
    }
    .team-container {
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    .team-title {
        font-size: 44px;
        font-weight: 400;
        margin-bottom: 1rem;
        margin-top: 0;
        background: linear-gradient(0deg, #031987 0%, #2c4cee 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .team-text {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    .banner-image {
        max-width: 100%;
        height: 150px;
        object-fit: cover;
    }
}

.team-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
}
.team-person h1 {
    font-size: 71px;
    font-weight: 400;
    margin-bottom: 1rem;
    background: linear-gradient(0deg, #031987 0%, #2c4cee 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.team-text-image {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 1rem;
    max-width: 600px;
    text-align: center;
    color: #0e0e38;
    padding-bottom: 80px;
}
.team-cards {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    width: 100%;
    margin: 0;
    padding-bottom: 80px;
}

@media (min-width: 2048px) {
    .team-cards {
        display: grid;
        gap: 1px;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        justify-items: center;
        margin: 0;
        width: 60%;
        padding-bottom: 80px;
    }
}

.team-cards h3 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #41cc06;
    margin-top: 23px;
}
.team-cards p {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #000000;
    margin-top: 0;
}
.team-cards img {
    margin-top: 30px;
}

.contact-container {
    padding: 70px 0px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-header {
    position: relative;
}

.contact-header h1 {
    background: linear-gradient(0deg, #031987 0%, #2c4cee 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 8rem;
    margin-bottom: 20px;
    margin-top: 0;
    text-wrap: wrap;
    font-weight: 500;
}
.contact-header p {
    position: absolute;
    left: 66%;
    top: 40%;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #0e0e38;
    text-transform: uppercase;
}
.contact-button {
    display: inline-block;
    padding: 14px 50px;
    background-color: #41cc06;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
}

.contact-text {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #1e1e1e;
    text-align: center;
    text-wrap: pretty;
    max-width: 600px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
    }
    .team-text {
        max-width: 100%;
        margin-right: 0;
    }
    .team-cards {
        grid-template-columns: 1fr;
    }

    .team-person h1 {
        font-size: 44px;
        font-weight: 400;
        margin-bottom: 1rem;
        margin-top: 0;
    }
    .team-text-image {
        font-size: 16px;
        font-weight: 400;
        margin: 0;
        max-width: 100%;
        text-align: center;
        color: #0e0e38;
        padding: 0 20px;
        padding-bottom: 24px;
    }
    .contact-container {
        padding: 70px 10px;
        padding-bottom: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .contact-header h1 {
        font-size: 64px;
    }
    .contact-header p {
        position: absolute;
        left: 60%;
        top: -25%;
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 25px;
        color: #0e0e38;
        text-transform: uppercase;
    }
    .contact-text {
        max-width: 90%;
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 54px;
        color: #1e1e1e;
        text-align: center;
        text-wrap: pretty;
        text-align: left;
    }
}
