:root {
    --primary: #003773 !important;
    --secondary: #f26548 !important;
    --tertiary: #ededed;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham ScreenSmart/GothamSSm-Medium.otf') format('opentype');
}

body {
    background-color: #FFFFFF;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: lighter;
    color: var(--primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.event-header {
    margin: 2rem 0;
}

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

.header-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 2px solid var(--primary);
    color: var(--secondary);
    font-weight: bolder;
    font-size: 1rem;
    padding-left: 5rem;
    padding-bottom: 1rem;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 1.4rem;
    font-weight: normal;
}

.footer {
    margin-top: 5rem;
    height: auto;
    background-color: var(--primary);
    padding: 1rem 5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 5rem;
}

.socials {
    display: flex;
    gap: 1rem;
    color: white;
    font-size: 2.5rem;
}

.font-weight-bold {
    font-weight: bold !important;
}


@media only screen and (max-width: 767px) {
    .footer {
        border-top-right-radius: 0 !important;
    }
}

.team {
    margin-top: 6rem;
}

.team-title h2 {
    font-size: 3rem;
    color: var(--secondary);
    font-weight: 800;
    width: 19vw;
}

.team-title span {
    display: flex;
    width: 90px;
    height: 30px;
    background-color: var(--secondary);
    margin-bottom: 1rem;
}

.team-alt {
    font-size: 1rem !important;
    color: var(--secondary);
    font-weight: 500;
}

.team {
    margin-top: 2rem;
}

.team-content {
    background-color: var(--primary);
    margin-top: 5rem;
    padding: 2rem 1rem;
}

.team-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.team-box {
    position: relative;
}

.team-box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    color: white;
    padding: 1rem;
    width: 100%;
    border-radius: 0 0 10px 10px;
    font-size: 10px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-item {
    display: flex;
    gap: 2rem;
}

.team-image {
    border-radius: 30px;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
    cursor: pointer;
}

.team-image:hover {
    filter: grayscale(0%);
    transition: filter 0.5s ease;
}

.team-title-text {
    transform: rotate(270deg);
    transform-origin: center;
    white-space: nowrap;
    width: 150px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: absolute;
    z-index: 10;
    top: 0;
    left: -80px;
}

.team-title-name {
    font-size: 30px;
    font-weight: bolder;
}

.team-mobile {
    display: none;

}

.team-carousel {
    background-color: var(--secondary);
    padding: 3rem 3rem;
    margin-top: 3rem;
}

@media only screen and (max-width: 580px) {
    .team {
        display: none;
    }

    .team-mobile {
        display: block;
    }

    .team-image {
        filter: none;
    }

    .team-desc {
        position: absolute;
        bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        background-color: var(--primary);
        width: 100%;
        height: 5rem;
        color: white;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px ;
    }
}

@media only screen and (min-width: 580px) and (max-width: 1024px) {
    .team {
        display: none;
    }

    .team-mobile {
        display: block;
    }

    .team-desc {
        position: absolute;
        bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        background-color: var(--primary);
        width: 100%;
        height: 5rem;
        color: white;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px ;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1280px) {
    .team-image {
        width: 100px;
    }
}

