@media screen {
	
	#reviews{
		display:flex;
		gap:30px;
		justify-content:center;
		flex-wrap:wrap;
	}
	
	#reviews .review{
		flex:0 0 300px;
		min-width:200px;
		max-width:350px;
		
	}
	
	#reviews .review .header{
		border-radius:30px 0 0 0;
		background-color:#555;		
		padding:5%;
		color:white;
		display:flex;
		justify-content:space-between;
		align-items:center;
	}
	
	#reviews .review img.quote{
		filter:invert(1);
	}

	#reviews .review .body{
		border-radius: 0 0 30px 0;
		background-color:#fff;		
		padding:5%;
	}
	
	#reviews .review p.author,
	#reviews .review p.location	{
		margin:0;
	}


	/* south africa map */
	#south-africa{
		position:relative;
	}
	
	img#durban, 
	img#cape{
		height:40px;
		position:absolute;
	}
	
	img#durban{
		right:calc(12% - 20px);
		top:calc(52% - 20px);
	}
	
	img#cape{
		left: calc(15% - 20px);
    bottom: calc(17% - 20px);
	}

	
	
	/* meet the team */	
	#team{
		display: flex;
    flex-wrap:wrap;
    justify-content:center;
		gap:20px;
	}
			
	#team	a.member {
		position:relative;
    flex:1 1 130px;
    min-width:130px;
    max-width:400px;
	}	

	#team a.member:hover{
		transform:scale(1.1);
	}	

	#team img, 
	#team .text{
		flex:0 0 50%;
	}	
			
	#team	.text{
		padding:5%;
		color:white;
		position:absolute;
		bottom:0;
	}
	/* END meet the team */	

	
	
	
	/* team full */
	#team-full{
		
	}


	
	#team-full .member{
		display:grid;
		grid-template-columns:1fr 2fr;
		align-items:center;
		gap:15px;
		margin-bottom:30px;
		background-color:#333;

	}

  #team-full .member .video video {
    width: 100%;
    height: auto; 
    display: block;
  }

  #team-full .member .video{
    position:relative;
  }

  

  #team-full .member .video button{
    position:absolute;
    right:10px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    z-index:2;

    background:transparent;
    border:none;
    color:#ffcd00;
    font-size:40px;
    font-weight:300;
    cursor:pointer;

  }




	
	#team-full .member .image{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
		height: 500px;
		width: 400px;
    position:relative;
	}

  #team-full .member .play{
    position:absolute;
    top:10px;
    right:10px;
    cursor:pointer;
  }

  #team-full .member .play img{
    width:40px;
    height:40px;
    filter:invert(1);
  }
	
	#team-full .member .text{
		color:white;
		padding:5%;
	}
	
	/* END team full */

  
  .popup {
    display: none;
    position: fixed;
    z-index:1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }
  
  .popup-content {
    text-align: center;
    position: relative;
  }
  
  .close {
    position: absolute;
    top: 33px;
    right: 3px;
    font-size: 30px;
    cursor: pointer;
    background-color:#555;
    width:30px;
    height:30px;
    text-align:center;
    color:white;
  }



}


@media only screen 
and (max-width : 1240px) {
	#team a.member:hover{
		transform:none;
	}	
}



@media only screen 
and (max-width : 1024px) {
	#team-full .member .image{
		width:auto;
		max-width: 100%;
	}	
}




@media only screen 
and (max-width : 850px) {

  #team{
    gap:10px;
	}

  #team	a.member {
    min-width:200px;
	}	


	#team-full .member{
	}
	


}


@media only screen 
and (max-width : 500px) {

  #team	a.member {
    min-width:130px;
	}	

  


	#team-full .member{
		display:block;
		background-color:#444;
		padding:3%;
	}
	
	#team-full .member .image{
		height: 350px;
    background-position: center top;
	}	

}
