/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Roboto&display=swap');
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto&Poppins:wght@400;800&display=swap');


/*adapted from https://codepen.io/ccidesign/pen/Yydjxr*/

body {
  background-color: #7cccfc; /*#456789;*/
/*   background-image: linear-gradient(#456789, #123456); */
  min-height: 100vh; /*816x1110*/
  scroll-behavior: smooth;
}

a{
  color: #ff0037;
}

#card-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
}

.reviewer-card .back {
  color: #fff !important;
}

.flip-container, .hover {
  transition: all 1s ease; 
}

.flip-container.hover .flipper,
.flip-container.flip .flipper {
  transform: rotateY(180deg);
}

.flip-container.hover .back {
  backface-visibility: visible;
  z-index: 10000;
  transform: rotateY(180deg);
}

.flip-container .back {
  padding: 50px;
  background-color: #efefef;
  color: #000;
}

.flip-container.hover .front {
  backface-visibility: hidden;
  display: none;
}

.flip-container{
  width: 408px;
  height: 555px;
  margin: 30px;/*MATCH W PADDING OF BACK VIEW*/
  display: inline-block;
}

.back, .front {
  width: 408px;
  height: 555px;
}

.flipper {
  transition: 1s;
  transform-style: preserve-3d;
  position: relative;
  margin-bottom: 20px;
}

.front img {
  object-fit: cover;
  width: 408px;
  height: 555px;
  z-index: 4; 
}

.frame {
  object-fit: contain;
  width: 408px;
  height: 555px;
  position: absolute;
  top:0;
  left: 0;
}

.front,
.back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
/*  border: 1px solid #424242;
*/  /*box-shadow: 0 0 10px #000;*/
  box-shadow: 0 8px 8px 0 rgba(0,0,0,.2);
  border-radius: 7px;
}

.single-front {
  width: 408px;
  height: 555px;
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid #424242;
  box-shadow: 0 8px 8px 0 rgba(0,0,0,.2);
  margin: 10px;
}

.back {
  background-size: 448px 595px;
  background-repeat: no-repeat;
  background-position: center;
}

.single-front  img {
  object-fit: cover;
  width: 408px;
  height: 555px;
  z-index: 4; 
}

#single-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-between;
}

.single-back {
  border: 1px solid #424242;
  box-shadow: 0 8px 8px 0 rgba(0,0,0,.2);
  background-color: #efefef;
  color: #000;
  width: 408px;
  height: 555px;
  display: block;
  margin: 10px;
  position: relative;
}

.single-back .back-title, .single-back .back-top {
  margin: 30px 30px 0 30px;
}

.back-title {
  padding-top: 30px;
  margin-bottom: 0;
}

.single-back .uni, .single-back .statement {
  margin: 0 30px 10px 30px;
}


.front {
  z-index: 2; 
  transform: rotateY(0deg);
  background-color: #fff;
  background-size: 448px 595px;
  background-repeat: no-repeat;
  background-position: center;
}

.back {
  transform: rotateY(180deg);
  background-color: #efefef;
  color: #000;
  /*padding: 30px;*/
}



.title {
  text-align: center;
  margin-top: 30px;
  font-weight: 600;
  font-size: 22px;
}

/*.wrapper-01 {
  background-image:url(../imgs/allstar_cards-01.png)
}

.wrapper-02 {
  background-image:url(../imgs/allstar_cards-02.png)
}

.wrapper-03 {
  background-image:url(../imgs/allstar_cards-03.png)
}

.wrapper-04 {
  background-image:url(../imgs/allstar_cards-04.png)
}
*/

/*NAVBAR*/

.navbar {
  background-color: #fff;
}

.menu-img {
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  width: 100px;
  height: 100px;
  border: 5px solid #fff;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    font-weight: 800;
}

/*BACKSIDE*/

.back-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6em;
  font-weight: 800;
  text-transform: uppercase;
}

.grad {
  text-align: center;
  font-size: 1.5em;
}

.uni, .deg {
  font-size: .8em;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1em;
  font-weight: 500;
}


.deg {
  margin-bottom: 15px;
}


.year {
    font-family: 'Roboto', sans-serif;
    line-height: .9em;
}


.back-body {
  font-family: 'Roboto', sans-serif;
}

.back-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

/*.star {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: url(../imgs/star.jpg);
  background-repeat: no-repeat;
  background-size: contain;
}*/



.statement {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
}

.review {
  font-weight: 800;
  margin: 15px 0 0 0;
}

.reviewer {
  text-align: right;
}


.site {
  text-align: center;
  position: absolute;
  bottom: 60px;
  left:0;
  width: 100%;
}

.footer {
  position: absolute;
  bottom: 25px;
  left: 30px;
  width: 50%;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .8em;
  text-align: left;
}

.navbar-toggler-icon {
  background-image: url(../imgs/star.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 50%;
}

.reviewer-card .front{
   -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.reviewer-card .review, .reviewer-card .reviewer, .reviewer-card .site, .reviewer-card .year {
  display: none;
}

/*INSTA VIEW*/
.save {
  position: fixed;
  top: 10px;
  left: 200px;
  width: 200px;
  height: 60px;
  z-index: 10;
  background-color: #efefef;
}
#foo {
  background-color: #7cccfc;
  min-height: 200vh;
  margin:0;
  padding:0;
}

#navigation {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 240px;
  z-index: 100;
}

#navigation button {
  height: 60px;
  width: 70px;
  display: inline-block;
  margin-right: 10px;
  font-size: 2em;
  font-weight: 700;
  background-color: #efefef;
}

#insta-view #card-holder {
  padding: 0;
  margin:0;
  display: flex; // make us of Flexbox
  align-items: center; // does vertically center the desired content
  justify-content: center; // horizontally centers single line items
  text-align: center; // optional, but helps horizontally center text that breaks into multiple lines
}


#insta-view .card-thing {
  width: 1243px;
  height: 1243px;
  background-color: #7cccfc;
  position: absolute;
  top:0;
  left:0;
  background-size: contain;
  background-repeat: no-repeat;
  font-family: 'Poppins', sans-serif;
}

.frame, .work {
  position: absolute;
  top: 70px;
  left: 210px;
}

.frame {
  width: 816px;
  height: 1110px;
}

#insta-view .front {
  position: relative;
  top: auto;
  margin: 40px auto !important;
}

#insta-view #card-holder {
  display: block;
}

#insta-view .back {
  transform: none;
}

#back-content {
  width: 816px;
  height: 1110px;
  position: absolute;
  top: 80px;
  left: 210px;
  overflow: hidden;
}

#back-content .deg, #back-content .year {
  font-size: 2em;
  padding-left: 80px;
  padding-right: 80px;
}

#back-content .grad {
  margin: 50px 80px;
}

#back-content .star {
  width: 140px;
  height: 140px;
  margin: 60px 70px;
}

#back-content .back-top {
  margin-bottom: 100px;
}

#back-content .back-title {
  font-size: 3.5em;
  padding-left: 80px;
  padding-right: 80px;
  margin-top: 150px;
}

#back-content .uni {
  font-size: 2em;
  margin-bottom: 5px;
  padding-left: 80px;
  padding-right: 80px;
}

#back-content .statement {
  font-size: 2.2em;
  padding-left: 80px;
  padding-right: 80px;
  margin-top: 40px;
}

#back-content .review {
  font-size: 2.2em;
  font-weight: 800;
  padding-left: 80px;
  padding-right: 80px;
  margin-top: 40px;
  line-height: 1.1;
}

#back-content .reviewer {
  margin-top: 20px;
}

#back-content .site {
  font-size: 2em;
  bottom: 120px;
}

#back-content .footer {
  font-size: 2em;
  bottom: 50px;
  left: 80px;
}

.hide {
  display: none;
}

.sorter {
  width: 50px;
  margin: 5px;
  background-color: #fff;
  border: 1px solid;
  transition: all .2s;
}

.sorter:hover {
  background-color: #ff0037;
}

.sorter.active {
  background-color: #ff0037;
}

iframe{
  margin: 40px auto;
  display: block;
}

@media (max-width: 576px) { 
  .flip-container, .front, .back, .single-front, .single-back {
    width: 340px;
    height: 480px;
    margin: 30px 0;
   background-size: 368px 500px;
  }
  .flip-container.hover .back {    
    margin: 30px 0;/*MATCH W PADDING OF REGULAR VIEW*/
  }

  .menu-img {
    display: none;
  }

  .navbar-brand {
    font-size: 1.5em;
  }

  .front img {
    object-fit: cover;
    width: 340px;
    height: 475px;
  }

  .frame {
    object-fit: contain;
    width: 340px;
    height: 480px;
  }

  .back-title {
    padding-top: 0;
  }

  .review, .statement {
    font-size: .8em;
  }

    
 }

