.bigText {
    color: #30363D;
}

.header{
    height: 80vh;
    width: 100%;
    background-image: url("../img/PageHeaders/Founders.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 -50px;
    text-align: center;
}

.header#aboutUs{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1vw;
}

#aboutUs h1, #aboutUs h2, #aboutUs h3 {
    width: 90%;
}

.textSpacer{
    height: auto;
    text-align: center;
}

.textSpacer h3{
    width: 80%;
}

.textSpacer p{
    font-weight: 400;
}

#whatIsRRive{
    width: 80%;
    height: 60vh;
    margin-top: 10%;
    margin-bottom: 10%;
}

#whatIsRRive img {
    width: 50%;
}

#whatIsRRive p{
    width: 60%;
}

.verticalLine {
    background-color: #317794;
    width: 0.5%;
    height: 80%;
    margin: 0 2.5%;
}

.core {
    margin-top: 10vh;
    margin-bottom: 10vh;
}

#ctaBox {
    margin-bottom: 10vh;
}

#founders{
    width: 100%;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

.foundersGroup{
    width: 60%;
    margin-top: 2.5%;
    justify-content: space-between;
}

#founderBox {
    transition: 0.5s;
    gap: 1vh;
}

#founderBox:hover {
    transform: scale(1.2);
}

.founder p{
    margin-top: 0;
    margin-bottom: 5%;
}

#founderPicture {
    width: 15rem;
    height: 15rem;
}

.founder a > img{
    width: 2vw;
}

a.team-anchor {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
    scroll-behavior: smooth;
}

#team{
    margin-top: 5vh;
    margin-bottom: 10vh;
    width: 100%;
    background-image: url("../img/AboutUs/aboutUs_Waves.svg");
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

#team p{
    color: white;
    text-align: center;
}

#team #three{
    margin-top: 2.5%;
    width: 90%;
    justify-content: space-evenly;
}

#three p{
    font-weight: 600;
}

#three .white {
    margin-left: 5%;
}

#three .horizontal-box {
    width: 25%;
}

#team p{
    text-align: center;
}

#team .text {
    width: 90%;
    margin-top: 2.5%;
}


#three .bigText{
    font-size: 6rem;
}

.three{
    align-items: flex-start;
}

#partners{
    width: 100%;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

#partners .bigText{
    color: #30363D;
}

#logos{
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
}

.logo{
    background-color: white;
    width: 25vw;
    height: 20vh;
    border-color: #317794;
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    margin: 4vh 5vh;
    transition: 0.5s;
}

.logo.vertical-box{
    gap: 1vh;
}

.logo:hover {
    border-width: 5px;
}
.logo-image{
    width: 90%;
    height: 80%;
    transition: 0.5s;
}

.logo-image:hover{
    width: 100%;
    height: 90%;
}

.logo img{
    width: 40%;
}

.logo p{
    margin: 0;
    height: 20%;
    color: gray;
    text-align: center;
}

.not-visible{
    display: none;
}

#toggle-partners{
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.supporters{
    margin: 5% 0;
    position: relative;
    width: 100%;
    height: 30vh;
    background-image: linear-gradient(to right, #359980, #2f60a2);
}

.swiper {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

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

.swiper-slide p{
    display: flex;
    align-items: center;
    justify-content: center;
    border-style: solid;
    border-color: white;
    border-width: 2px;
    border-radius: 20px;
    text-align: center;
    color: white;
    width: 40%;
    height: 20%;
}

.custom-shape-divider-top-1665308859 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    margin-top: -2px;
}

.custom-shape-divider-top-1665308859 svg {
    position: relative;
    display: block;
    width: calc(171% + 1.3px);
    height: 59px;
}

.custom-shape-divider-top-1665308859 .shape-fill {
    fill: #FFFFFF;
}

#map{
    width: 80%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10%;
}

#map div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mediumSpacer{
    width: 80%;
    height: fit-content;
    border-radius: 10px;
    background-image: linear-gradient(to left, #359980, #2f60a2);
}

.mediumSpacer .mediumText{
    font-size: 4rem;
    color: white;
}

.mediumSpacer h4 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media screen and (min-width: 3840px) {
    #whatIsRRive img{
        width: 25%;
    }

    .founder img{
        width: 10vw;
    }

    .founder a > img{
        width: 2vw;
    }

    #partners > img{
        width: 3vw;
    }

    .logo img{
        width: 50%;
    }

    .custom-shape-divider-top-1665308859{
        margin-top: -3px;
    }
}

@media only screen and (min-width: 420px) and (max-width: 1400px) {
    .header{
        background-position: 50% 50%;
    }

    .foundersGroup{
        width: 80%;
    }
}

@media only screen and (min-width: 200px) and (max-width: 1250px) {
    .horizontal-box#sub3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #three .mediumText {
        margin-left: 0;
        text-align: center;
    }

    .logo {
        height: 25vh;
    }
}

@media only screen and (min-width: 200px) and (max-width: 1000px) {
    #whatIsRRive{
        flex-direction: column;
        height: auto;
    }
}

@media only screen and (min-width: 200px) and (max-width: 600px) {
    #team #three{
        flex-direction: column;
        align-items: center;
        width: 80%;
    }
    
    #team .smallText{
        text-align: center;
    }

    .logo {
        height: 30vh;
        width: 30vh;
    }

    .logo.vertical-box{
        margin: 2vh 2.5vh;
    }
}

@media only screen and (min-width: 300px) and (max-width: 420px) {
    .header{
        background-position: 50% 50%;
    }

    .founder a > img {
        width: 7vw;
    }

    #header-spacer{
        display: none;
    }

    .textSpacer .mediumText{
        text-align: center;
    }

    .textSpacer .smallText{
        text-align: center;
        font-weight: 400;
    }

    #whatIsRRive img{
        width: 80%;
    }

    #whatIsRRive .verticalLine{
        display: none;
    }

    #whatIsRRive p{
        width: 100%;
        text-align: center;
    }

    .core{
        height: 100%;
    }

    #founders{
        margin-top: 5vh;
    }

    .foundersGroup{
        flex-direction: column;
    }

    .founder{
        margin-bottom: 5vh;
    }

    .founder p{
        margin-top: 0;
        margin-bottom: 5%;
        text-align: center;
    }

    #partners{
        margin-top: 5vh;
    }

    #logos{
        flex-direction: column;
        flex-wrap: nowrap;
        height: auto;
    }

    .logo{
        width: 80vw;
        height: 20vh;
        margin-bottom: 5%;
    }

    .logo img{
        width: 40%;
    }

    #map{
        height: auto;
    }

    #embedded-map{
        height: 30vh;
    }

    .mediumSpacer .mediumText{
        color: white;
    }
}

@media (orientation: portrait) { 
    h2 {
        font-size: 5rem;
        text-align: center;
    }

    .header h2 {
        font-size: 4rem;
    }

    h3 {
        font-size: 4rem;
        text-align: center;
        width: 90%;
    }

    h4 {
        font-size: 3rem;
        text-align: center;
    }

    #navbar h4 {
        font-size: 2rem;
    }

    p {
        text-align: center;
        font-size: 2.5rem;
    }

    p.small {
        text-align: center;
        font-size: 1.5rem;
    }

    #whatIsRRive {
        flex-direction: column;
        height: auto;
    }

    #whatIsRRive p {
        width: 90%;
    }

    #partners{
        margin-top: 5vh;
    }

    #logos{
        flex-direction: column;
        flex-wrap: nowrap;
        height: auto;
    }

    .logo{
        width: 50vw;
        height: 20vh;
        margin-bottom: 5%;
    }

    .logo img{
        width: 40%;
    }
}
