@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Roboto&display=swap');

* {
    margin: 0;
    padding: 0;
}

nav {
    background: #4484CD;
}

.navbar-brand {
    margin-left: 10px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

#logo {
    height: 50px;
    width: 100px;
}

#logo-holder {
    padding: 0px;
    margin-bottom: 10px;
    margin-left: 20px;
}

#navbarNavAltMarkup {
    flex-direction: row-reverse;
}

#toggler-icon {
    color: #4484CD;
}

#navbar-button {
    background: white;
}

.navbar-nav > a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #d9d9d9;
    margin-left: 15px;
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
    font-size: 15px;
    height: 40px;
    font-family: 'Roboto', sans-serif;
}

.navbar-nav > a:hover {
    color: #4484CD !important;
    background: #d9d9d9;
    border-radius: 15px;
    cursor: pointer;
}

.navbar-nav > a:hover {
    cursor: pointer;
}

.navbar-nav > a:hover {
    cursor: pointer;
}

.nav-link {
    color: #d9d9d9 !important
}

.nav-link:hover {
    color: white !important;
}

img {
    height: 100%;
    width: 100%;
    border-radius: 20px;
}

body {
    padding-top: 900px;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #d9d9d9;
}

.meet-the-team {
    margin: 50px;
    font-size: 40px;
    font-family: "Lato", sans-serif;
    color: #4484CD;
    text-align: center;
    word-spacing: 5px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    justify-content: space-evenly;
    height: 1500px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 270px;
    height: 220px;
    position: relative;
    perspective: 700px;
    border-radius: 5px;
    margin-bottom: 60px;
}

.cards {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.front-card, .back-card {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    background: #4484CD;
    color: #d9d9d9;
}

.front-card {
    cursor: pointer;
}

.back-card {
    border: 2px solid #4484CD;
}

.back-card > h1 {
    font-size: 15px;
    text-align: center;
    margin: 10px 0px 5px 0px;
    text-decoration: underline;
    font-family: 'Lato', sans-serif;
}

.back-card > h2 {
    font-size: 12px;
    text-align: center;
    margin: 10px;
    font-family: 'Lato', sans-serif;
}

.back-card > p {
    font-size: 10px;
    padding: 0 20px;
    margin: 0;
    text-align: center;
    height: 100px;
    font-family: 'Roboto', sans-serif;
}

.back-card > .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.back-card > .contact-info > a > i {
    font-size: 30px;
    margin: 0 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: black;
    background: 50%;
}

.cards .back-card {
    transform: rotateY(180deg);
}

.cards.flip {
    transform: rotateY(180deg);
}


.back-card > .contact-info > a > i:hover {
    color: #d9d9d9;
    cursor: pointer;
}

#footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #4484CD;
    color: #d9d9d9;
    height: 60px;
    width: 100%;
    font-family: 'Roboto', sans-serif;;
}

#copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    font-size: 12px;
}

@media screen and (min-width: 600px) {

    body {
        padding-top: 1100px;
    }

    .container {
        height: 300px;
        width: 330px;
    }

    .back-card > h1 {
        font-size: 25px;
        text-align: center;
        margin: 30px 0px 10px 0px;
    }
    
    .back-card > h2 {
        font-size: 20px;
        text-align: center;
        margin: 20px;
    }

    #footer {
        margin-top: 300px;
    }
}

@media screen and (min-width: 825px) {

    body {
        padding-top: 800px;
    }

    #footer {
        margin-top: 100px;
    }

    .back-card > h1 {
        font-size: 24px;
        text-align: center;
        margin: 25px 0px 10px 0px;
    }
    
    .back-card > h2 {
        font-size: 16px;
        text-align: center;
        margin: 10px;
    }

    .back-card > p {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .back-card > .contact-info > a > i {
        font-size: 40px;
    }

    #copyright {
        font-size: 16px;
    }

}

@media screen and (min-width: 1238px) {

    body {
        padding-top: 350px;
    }

    #footer {
        margin-top: 0px;
    }

}