.chuck-image {
  position:absolute;
  right:0px;
  z-index:-1;
  width: 768px;
  height: 768px;
  margin-top: -50px;
}

.chuck-borderwhitetext {
  color:#000000;
 text-shadow: -1px 1px 0px #f1f1f1,
				  1px 1px 0 #f1f1f1,
				 1px -1px 0 #f1f1f1,
				-1px -1px 0 #f1f1f1;
}
/* 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: 355px;
  border: 1px solid #f1f1f1;
  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);
}
/* Do an horizontal flip when you click 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%;
  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: #00215C;
  color: white;
  transform: rotateY(180deg);
}

.scene {
    background-color: transparent;
    width: 300px;
    height: 300px;
    border: 1px solid #f1f1f1;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
  .card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
  }
  .card__face {
    position: absolute;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
  }
  .card__face--front {
    background-color: #bbb;
    color: black;
  }
  
  .card__face--back {
    background-color: #00215C;
    color: white;
    transform: rotateY(180deg);
  }
  .card.is-flipped {
    transform: rotateY(180deg);
  }
  .projectcard
  {
	   /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s; 
  }
  /* On mouse-over, add a deeper shadow */
.projectcard:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */
.projectcardcontent {
  padding: 2px 16px;
}
/* MODAL */
/* The Modal (background) */
.modal-button {
    border: hidden;
}
.modal {
    display: none; /* Hidden by default */
    z-index: 99999; /* Sit on top */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    justify-content: center;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    /*width: 80%;*/ /* Could be more or less, depending on screen size */
    width: 800px;
    height: 800px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -400px;
    margin-top: -400px;
}

/* The Close Button */
.close {
    float: right;
    font-size: 40px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }