.team-nav {
    color: #FFD89B;
}

.team-main-section {
    width: 100%;
    display: flex;
    align-items: stretch;
    flex-grow: 1;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(213, 211, 212, 0.3) 0%, rgba(196, 196, 196, 0) 37.36%);
}

.right-section {
    /* background-color: #DAC9A6; */
    position: relative;
    height: 100%;
    width: 60vw;
    min-width: 800px;
    display: grid;
    grid-template-columns: 10% 80%;
    align-content: center;
    margin-right: 50px;
}

.left-section{
    width: 40vw;
}

.left-section .wrapper{
    position: relative;
    padding: 10px;
    margin-top: 50vh;
    color: #08192D;
    margin-left: 40%;
    margin-right: 10%;
    height:80px;
    width: 250px;
    display: flex;
    align-items: center;
    text-align: center;
    border: 3px solid rgb(55, 60, 56,0.8);
    transition: .5s;
}

.left-section h3{
    margin: auto auto;
    font-weight: 900;
    font-size: 1.5em;
    letter-spacing: 5px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);   
    height: 100%;
    width: 100%;
    position: absolute;
    top: 30%;
}

.left-section .rec{
    height: 100%;
    width: 100%;
    border: 3px solid #808d94;
    top: 13px;
    left: 15px;
    z-index: -1;
    position: absolute;
}

.left-section h3 span {
    transition: 0.5s;
    color: white;
    text-shadow: 0 0 10px #fff,
                 0 0 20px #fff,
                 0 0 40px #fff,
                 0 0 80px #fff;
}


.circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    margin-top: -10%;
    margin-left: -20%;
    background: rgba(237, 178, 178, 0.1);
    z-index: -1;

}

.flip-card-front img{
    position: relative;
    width: 130px;
    /* height: 130px; */
    border-radius: 50%;
    margin-top: 8%;
 


}

.flip-card-front h3 {
    text-align: center;
    color: white;
    font-weight: 550;
    font-family: sans-serif;
    font-size: 1.2em;
}

.flip-card-front .position {
    text-align: center;
    color: rgba(0, 0, 0, 0.64);
    font-weight: 500;
    font-family: sans-serif;
    font-size: 1em;
}

.flip-card-front h3 span{
    font-style: italic;
    color: #FFD89B;
    font-weight: 500;
    font-size: .7em;
}

.flip-card-front .pro-title {
    font-size: .8em;
    font-weight: 500;
    color: #22373de8;
}

.description {
    height: 100%;
    width: 100%;
    position: absolute;
    vertical-align: bottom;
    padding-top: 1rem;
    padding-left: 0rem;
    font-size: 0.85em;
    overflow: auto;
}

.description::-webkit-scrollbar {
    display: none;
  }

.description li {
    padding: 5px;
}

.description p {
    padding: 15px;
}
.flip-card {
    width: 328px;
    height: 328px;
    cursor: pointer;
    margin-top: 1px;
  }
  
  .flip-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    padding-bottom: 100%;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    background: linear-gradient(to bottom right, #9aa7aa,#808d94);
    color: white;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: center;
  }
  
  .flip-card-back {
    z-index: 2;
    background: linear-gradient(to bottom right, #9aa7aa,#808d94);
    color: white;
    transform: rotateY(180deg);
    display:flex;
    justify-content:center;
    align-items:center;
  }


.slider{
    height:85vh;
    width: 660px;
    height: 660px;
    position: relative;
    transition: .5s;
    margin: auto;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    animation: slide 2s ease-in-out;
}

.slide.active{
    display: grid;
    grid-template-columns: 330px 330px; 
}

@keyframes slide {
    from{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.indicator {
    height: 85vh;
    margin: 0 auto;
}

.indicator div {
    width: 7px;
    height: 40px;
    background:rgba(209, 217, 219, 0.6);
    margin: 10px 0;
}

.indicator div.active{
    background: rgb(255, 216, 155, 0.6);
}

.controllers {
    color: #dddddd7a;
    /* font-weight: bolder; */
    font-size: 6em;
    font-family: monospace;
    cursor: pointer;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controllers:hover {
    color: rgb(255, 216, 155, 0.6);
}

.controllers.next {
    position: absolute;
    top: 45%;
    right: 0;
}

.controllers.prev {
    position: absolute;
    top: 45%;
    left: 0;
}

@media (max-width:1200px) {
    .left-section .wrapper {
        margin-left: 15%;
    }
}

@media (max-width: 1080px) {
    .left-section{
        height: 100%;
        width: 100%;
    }

    .right-section {
        margin: 0 auto;
    }

    .left-section .wrapper {
        margin: 30px 15%;
    }
    
    .team-main-section{
        flex-direction: column;
        align-content: center;
        justify-items: center;
    }
}

@media (max-width: 800px) {
    .profile-container {
        width: 40vw;
    }

    .right-section {
        width: 100%;
        min-width: 0;
    }

    .slide.active{
        display: grid;
        grid-template-columns: 40.5vw 40.5vw; 
    }
}

@media (max-width: 550px) {
    .slide.active {
        grid-template-columns: 330px;
    }

    .profile-container {
        width: 328px;
    }

    .left-section {
        display: none;
    }

    .right-section {
        margin-left: 10%;
    }
    
    .slider {
        height: 1330px;
    }

    .team-main-section {
        overflow: hidden;
    }
    

    .controllers {
        display: none;
    }
}
