* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5deb3;
}

nav {
    background: #8B0000;
    height: 80px;
    width: 100%;
}

.checkbtn {
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

label.logo {
    color: white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a {
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

a.active,
a:hover {
    background: #AB0000;
    transition: .5s;
}

@media (max-width: 952px) {
    label.logo {
        font-size: 30px;
        padding-left: 50px;
    }

    nav ul li a {
        font-size: 16px;
    }

    @media (max-width: 858px) {
        .checkbtn {
            display: block;
        }

        ul {
            position: fixed;
            width: 100%;
            height: 100vh;
            background: #2c3e50;
            top: 80px;
            left: -100%;
            text-align: center;
            transition: all .5s;
        }

        nav ul li {
            display: block;
            margin: 50px 0;
            line-height: 30px;
        }

        nav ul li a {
            font-size: 20px;
        }

        a:hover,
        a.active {
            background: none;
            color: #AB0000;
        }

        #check:checked~ul {
            left: 0;
        }
    }
}

.teamPage {
    margin-top: 3.2rem;
}

.teamPage h1 {
    text-align: center;
    font-size: 2rem;
}

.teamMembers {
    margin-top: 5rem;
    margin-bottom: 5rem;
    margin-left: 15rem;
    margin-right: 15rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* border: 2px solid #000; */
    align-items: center;
    gap: 0;
}

.teamMembers img {
    height: 20rem;
    width: 17rem;
    justify-self: center;
    border-radius: 20px;
    box-shadow: 0rem 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.memberInfo {
    background-color: burlywood;
    width: 100%;
    /* border: 2px solid #000; */
    justify-self: left;
    border-radius: 20px;
    box-shadow: 0rem 0.5rem 1rem rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.memberInfo ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1rem;
    /* border: 2px solid #000; */
}

.memberInfo ul li {
    display: inline;
    margin-right: 2%;
}

.memberInfo ul li a {
    font-size: 2rem;
    line-height: 0;
}

.memberInfo ul li a i{
    color: #8B0000;
}

.memberInfo p {
    font-size: 1.25rem;
    text-align: left;
}

.teamPage h2 {
    font-size: 2rem;
    text-align: center;
}

.reviewMembers {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.reviewInfo {
    margin-left: 5rem;
    margin-right: 5rem;
}

.reviewInfo img {
    height: 15rem;
    width: 13rem;
    border-radius: 20px;
    box-shadow: 0rem 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.reviewTxt {
    margin-top: 10%;
    background-color: burlywood;
    width: 100%;
    height: auto;
    /* border: 2px solid #000; */
    justify-self: center;
    border-radius: 20px;
    box-shadow: 0rem 0.5rem 1rem rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.reviewTxt p {
    font-size: 1.25rem;
    text-align: center;
}