/* 2020 team carousel */

.slider1 div p{color:#1c1c1c;position:absolute;bottom:-65px; font-family:font; font-size:22px;}
.slider1{

     -webkit-animation:animation ease 1s;animation-delay:.8s;animation-fill-mode:backwards;
 

    margin:60px auto 0 auto;
    height:360px;
    width:240px;
    padding:40px;
    top:100px;

       perspective:1000px;
       transition:ease-in-out .2s;
             /*-webkit-transform:rotateX(45deg);
             -webkit-transform-style:preserve-3d;
                 position:absolute;*/
}
/*.slider:active{ -webkit-transform:rotateZ(10deg);}*/


.slide1 img { text-align:center;width:100%; height:100%; -webkit-user-drag:none;user-drag:none;-moz-user-drag:none; border-radius:2px; }


.slide1{

    

      -webkit-user-select:none;
user-select:none;
  -moz-user-select:none;
    position:absolute;
        height:280px;
    width:240px;

box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.3);
background:#fcfcfc;
             -webkit-transform-style:preserve-3d;
              transform-style:preserve-3d;
  -moz-transform-style:preserve-3d;
             text-align:center;
             /*overflow:hidden;*/
             border:12px white solid;
             box-sizing:border-box;
             border-bottom:55px white solid;
             border-radius:5px;


    
}
.transition1 {
     -webkit-transition: cubic-bezier(0,1.95,.49,.73) .4s ;
   -moz-transition: cubic-bezier(0,1.95,.49,.73) .4s ;
      transition: cubic-bezier(0,1.95,.49,.73) .4s ;
}

/* Medals */
  
.flex-container {
  display: flex;
  justify-content: center;
}

.flex-container > div {
  margin: 10px;
  padding: 20px;
  font-size: 30px;
  
}


.medals-cnt{
  background-color: #1f7a82;
  
  margin-left: 10%;
  margin-right: 10%;
  
}


.medals-row{
  display: flex;
  color: white;
  justify-content: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: 20px;
  padding-top: 1rem;
}

.medals-row > p{

  padding-bottom: 0px;
  margin-bottom: 0px;

}

.medals-cnt-ph{
  background-color: #1f7a82;
  
  margin-left: 10%;
  margin-right: 10%;
}


.flex-container-ph{
  display: flex;
  justify-content: center;
}

.flex-container-tb {
  display: flex;
  justify-content: center;
  
}

.flex-container-tb > div {
  margin: 10px;
  padding: 20px;
  font-size: 30px;
  
}


.medals-cnt-tb{
  background-color: #1f7a82;
  
  margin-left: 10%;
  margin-right: 10%;
}

@media only screen and (max-width: 898px) {
  .medals-cnt{
    display: none;
}
}


@media only screen and (min-width: 898px) {
  .medals-cnt-tb{
    display: none;
  }
}

@media only screen and (max-width: 572px){
  .medals-cnt-tb{
    display: none;

  }
}

@media only screen and (min-width: 572px){
  .medals-cnt-ph{
    display: none;

    
  }
  .flex-container-ph{
    flex-direction: row;
  }
}

@media only screen and (max-width: 420px){
  .medals-cnt-ph{
    width: 90% !important;
    
    overflow: hidden;
  }

  .flip-card-front{
    width: 100% !important;
    display: flex;
    justify-content: center;
  }

}





/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 300px;
  height: 200px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: rgb(74, 72, 72);
  color: white;
  transform: rotateY(180deg);
  font-size: 15px;
  padding-top: 3rem;
  cursor: pointer;
}