@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,400i,500,700,700i');
body{
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;
    background: url(../Background_Image/teambackground3.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
html{
    overflow-y: scroll;
}
.team{
    padding: 50px 0;
    height: 100vh;
    box-sizing: border-box;
}
.container{
    width: 80%;
    margin: 50px auto;    
}
.row{
    position: relative;
    width: 100%;
    box-sizing: border-box;
}
.row h1{
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
    font-weight: 700;
    font-size: 48px;
    text-transform: uppercase;
}
.row p{
    margin: 20px 0 0;
    color: #fff;
    padding-left: 20px;
    border-left: 5px solid #f00;
}
.mgt50{
   margin-top: 50px; 
}
.row .column{
    margin: 0 10px;
    position: relative;
    width: calc(25% - 20px);
    min-height: 150px;
    /*background: #fff;*/
    float: left;
    box-sizing: border-box;
    overflow: hidden;
}
.row .column:before{
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(95, 42, 17,.75);
    z-index: 1;
    transition: .2s ease;
    mix-blend-mode: soft-light;
}
.row .column:hover:before{
    bottom: 0;
}
.row .column .imgBox{
    position: relative;
}
.row .column .imgBox img{
    width: 100%;
    transition: 2s ease;

}

.row .column:hover .imgBox img{
    transform: scale(1.25);
}
.row .column .details{
    position: absolute;
    bottom: -85px;
    left: 0;
    padding: 10px;
    box-sizing: border-box;
    background: rgba(0,0,0,.75);
    width: 100%;
    transition: .5s ease;
    z-index: 2;
}
.row .column:hover .details{
    bottom: 0;
}
.row .column .details h3{
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    text-transform: uppercase;
}
.row .column .details h3 span{
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #f00;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    top: -6px;
    
}
.row .column .details ul{
    margin: 0;
    padding: 0;
    display: flex;
    float: right;
}
.row .column .details ul li{
    list-style: none;
}
.row .column .details ul li a{
    padding: 0 10px;
    color: #fff;
}
.row .column .details ul li a .fab{
    transition: .5s ease;
}
.row .column .details ul li a:hover .fab{
    transform: rotateY(360deg);
    color: #f00;
}
nav{
    position: fixed;
    /*background: rgba(0,0,0,.75);*/
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 20px 100px;
    box-sizing: border-box;
    transition: .3s;
    z-index: 1;
    
}

nav.black{
    background: rgba(0,0,0,.75);
    height: 60px;
    padding: 10px 100px;
}

.wrapper nav .logo{
    display: block;
    padding: 0px 0px;
    height: 80px;
    float: left;
    font-size: 24px;
    transition: .3s;
    z-index: 1;
    margin-top: -3vh;
    margin-left: -9vh;
}

nav.black .logo{
    color: #fff;
    border-radius: 5px;
}

nav ul{
    list-style: none;
    float: right;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li{
    list-style: none;
}

nav ul li a{
    line-height: 8px;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s;
}

nav.black ul li a{
    background: none;
    color: #fff;
}

nav ul li a:focus{
    outline: none;
}

nav ul li a.active{
    background: rgba(17, 70, 95,1);
    color: #fff;
    border-radius: 5px;
}
nav ul li a.active:hover{
    background: rgba(95, 42, 17,1);
    color: white;
}
.right-togglebar{
    display: none;
}
.wrapper .logo{
    display: none;
}
@media (max-width: 800px){
    .wrapper nav{
        display: none;
    }
    .wrapper .logo{
        display: flex;
         margin-left: auto;
         margin-right: auto;
         justify-content: center;
         min-width: 50vh;
    }
    .container{
        width: 90%;
        margin: 20px auto;
    }
    .row .column{
        width: calc(50% - 20px);
        margin-bottom: 20px;
    }
    .right-togglebar {
        display: block;
        position: fixed;
        bottom: 1em;
        right: 1em;
    }
    .floating-btn .fa-bars{
        margin: auto;
        display: inline-block;
        line-height: 3.5;
        width: 3.5em;
        height: 3.5em;
        border-radius: 50%;
        background-color: rgba(17, 70, 95,1);
        box-shadow: 0 2px 5px 0 hsla(0, 0%, 0%, .26);  
        color: hsl(0, 0%, 100%);
        text-align: center;
        outline: 0;
    }

    .right-togglebar.active .floating-btn {
        box-shadow: inset 0 0 3px hsla(0, 0%, 0%, .3);
    }

    .right-togglebar .floating-btn:active {
        box-shadow: 0 4px 8px 0 hsla(0, 0%, 0%, .4);
    }

    .right-togglebar .floating-btn .fas {
        font-size: 1.0em;
        transition: transform .2s ease;  
    }

    .right-togglebar.active .floating-btn .fas{
        transform: rotate(-90deg);
        transition: transform .2s ease; 
    }

    .right-togglebar::after {
        display: block;
        content: "";
        width: 3.5em;
        height: 3.5em;
        border-radius: 50%;
        position: absolute;
        top: 0;
        right: 0;
        z-index: -2;
        background-color:rgba(17, 70, 95,.85) ;
        transition: all .3s ease;
    }

    .right-togglebar.active::after {
        transform: scale3d(5.5, 5.5, 1);
        transition-timing-function: cubic-bezier(.68, 1.55, .265, 1);
    }

    .right-togglebar .items-wrapper {
        padding: 0;
        margin: 0;
    }

    .right-togglebar .menu-item {
        position: absolute;
        top: .2em;
        right: .2em;
        z-index: -1;
        display: block;
        text-decoration: none;
        color: hsl(0, 0%, 100%);
        font-size: 1em;
        width: 3em;
        height: 3em;
        border-radius: 50%;
        text-align: center;
        line-height: 3;
        background-color: hsla(0,0%,0%,.1);
        transition: transform .3s ease, background .2s ease;
    }

    .right-togglebar .menu-item:hover {
        background-color: rgba(255, 255, 255, .85);
        color: #000000;
    }

    .right-togglebar.active .menu-item {
        transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .right-togglebar.active .menu-item:nth-child(1) {
        transform: translate3d(1em,-7em,0);
    }

    .right-togglebar.active .menu-item:nth-child(2) {
        transform: translate3d(-3.5em,-6.3em,0);
    }

    .right-togglebar.active .menu-item:nth-child(3) {
        transform: translate3d(-6.5em,-3.2em,0);
    }

    .right-togglebar.active .menu-item:nth-child(4) {
        transform: translate3d(-7em,1em,0);
    }
}
@media (max-width: 600px){
    .wrapper nav{
        display: none;
    }
    .wrapper .logo{
        display: flex;
         margin-left: auto;
         margin-right: auto;
         justify-content: center;
         min-width: 50vh;
    }
    .team{
        padding: 10px 0;
    }
    .container{
        width: 95%;
        margin: 20px auto;
    }
    .row .column{
        width: calc(90% - 30px);
        margin-bottom: 20px;
    }
    .right-togglebar {
        display: block;
        position: fixed;
        bottom: 1em;
        right: 1em;
    }
    .floating-btn .fa-bars{
        margin: auto;
        display: inline-block;
        line-height: 3.5;
        width: 3.5em;
        height: 3.5em;
        border-radius: 50%;
        background-color: rgba(17, 70, 95,1);
        box-shadow: 0 2px 5px 0 hsla(0, 0%, 0%, .26);  
        color: hsl(0, 0%, 100%);
        text-align: center;
        outline: 0;
    }

    .right-togglebar.active .floating-btn {
        box-shadow: inset 0 0 3px hsla(0, 0%, 0%, .3);
    }

    .right-togglebar .floating-btn:active {
        box-shadow: 0 4px 8px 0 hsla(0, 0%, 0%, .4);
    }

    .right-togglebar .floating-btn .fas {
        font-size: 1.0em;
        transition: transform .2s ease;  
    }

    .right-togglebar.active .floating-btn .fas{
        transform: rotate(-90deg);
        transition: transform .2s ease; 
    }

    .right-togglebar::after {
        display: block;
        content: "";
        width: 3.5em;
        height: 3.5em;
        border-radius: 50%;
        position: absolute;
        top: 0;
        right: 0;
        z-index: -2;
        background-color:rgba(17, 70, 95,.85) ;
        transition: all .3s ease;
    }

    .right-togglebar.active::after {
        transform: scale3d(5.5, 5.5, 1);
        transition-timing-function: cubic-bezier(.68, 1.55, .265, 1);
    }

    .right-togglebar .items-wrapper {
        padding: 0;
        margin: 0;
    }

    .right-togglebar .menu-item {
        position: absolute;
        top: .2em;
        right: .2em;
        z-index: -1;
        display: block;
        text-decoration: none;
        color: hsl(0, 0%, 100%);
        font-size: 1em;
        width: 3em;
        height: 3em;
        border-radius: 50%;
        text-align: center;
        line-height: 3;
        background-color: hsla(0,0%,0%,.1);
        transition: transform .3s ease, background .2s ease;
    }

    .right-togglebar .menu-item:hover {
        background-color: rgba(255, 255, 255, .85);
        color: #000000;
    }

    .right-togglebar.active .menu-item {
        transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .right-togglebar.active .menu-item:nth-child(1) {
        transform: translate3d(1em,-7em,0);
    }

    .right-togglebar.active .menu-item:nth-child(2) {
        transform: translate3d(-3.5em,-6.3em,0);
    }

    .right-togglebar.active .menu-item:nth-child(3) {
        transform: translate3d(-6.5em,-3.2em,0);
    }

    .right-togglebar.active .menu-item:nth-child(4) {
        transform: translate3d(-7em,1em,0);
    }
}