body { 
  font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  background-color: #ebf4e6;
}
header { margin-top:10%; }

.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background: linear-gradient(to right, #345639, #6E98A3);}

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }



/* Team Member Picture */

.team-section {
  width: 100%;
  height: 100%;
  background-color: #ebf4e6;
}

.team-section img {
  width: 100%;
  object-fit: contain;
  top: 0;
  left: 0;
}

/* Cards */
.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 1.5rem 7rem;
  padding: 2rem 0;
}

.flip-card {
  background-color: transparent;
  width: 350px;
  height: 350px;
  border: 1px solid #f1f1f1;
  perspective: 1000px;
  font-size: 1.1rem;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateX(180deg) rotateZ(-180deg);
    cursor: pointer;
}

.flip-card-front,
.flip-card-back {
 
  background-color: #000;
  border-radius: 2rem;
  color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-card-back {
    transform: rotateX(180deg) rotateZ(-180deg);
 padding: 20px;
}

.card-front-top {
  width: 50%;
  margin: 0 auto;
  padding: 0;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0px 5px 10px 5px rgba(255, 255, 255, 0.7);
}

.card-front-top p {
  padding: 0.5rem 1rem 1rem;
  margin: 0;
}

.card-front-bottom {
  padding: 0 0 1rem 0;
}

/* Shadowed Text To Stand Out On Changing Background */
.whitesmoke-text-with-blackgreen-shadow {
  text-shadow: 1px 1px 2px black, 0 0 1em seagreen, 0 0 0.2em black;
  color: whitesmoke;
  font-size: 1.7rem; 
}


/*code for accordian formating for protocols */
*, *::before, *::after {
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.accordion {
  width: 100%; /* Changed from max-width to width */
  text-align: left;
  margin: 10% auto; 
}

article {
  border: 1px solid #345639;
  padding: 1em;
  margin: 1em auto;
}

input[type="radio"] {
  appearance: none;
  position: fixed;
  top: -100vh; left: -100vh;

  & ~ div {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  &:checked ~ div {
    max-height: 500px;
    overflow-y: auto; 
    padding: 10px;
  }
}

article > div {
  overflow-y: auto; 
  height: 100%; 
}

/*Experiments- Plasmid Design and Construction*/
.text-left {
  float: left;
  width: 50%;
}

.image-right {
  float: right;
  width: 50%;
}

.text-center {
  float: center;
  width: auto;
}

.pdc-container {
  background-color: #ebf4e6;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.pdc {
  width: 50%;
  height: 50%;
  text-align: center;
  padding: 2%;
  vertical-align: middle;
}

.pdc-1 {
  width: 75%;
  height: 50%;
  text-align: center;
  padding: 5%;
}

.pdc-2 {
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0 5%;
  vertical-align: middle;
}

.pdc-left {
  transform: rotateY(180deg);
}
.pdc-table-header {
  text-align: center;
} 

.pdc-figcaption {
    text-align: center;
}

.pdc  p {
  font-size: 18;
}

.attribution-container {
  background-color: #ebf4e6;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.attribution {
  width: 25%;
  height: 40%;
}
.attribution-left {
  transform: rotateY(180deg);
}
.table-header {
  text-align: center;
} 
.attribution-tables {
  width: 80%;
}
.attribution-tables table {
  border: 10px outset #094e1a;
  border-collapse: separate;
  width: 100%;
  text-align: center;
}

.attribution-tables th {
  border: 5px outset lightgrey;
  text-align: center;
  line-height: 2.5;
  font-stretch: wider;
  font-weight: bolder;
}
.attribution-tables td {
  border-bottom: 2px solid #094e1a;
  border-right: 2px solid #094e1a;
}
.attribution-tables td:first-child {
  font-weight: bold;
  font-stretch: wider;
}
.attribution-tables table tr:nth-child(even) {
  background-color: darkseagreen;
}
.attribution-tables table tr:nth-child(odd) {
  background-color: mediumseagreen;
}
.table-descritpion {
  margin: 0;
  padding: 5% 0;
}

.text-box-description {
  background-color: rgba(110, 152, 163, 0.8); 
  color: black; 
  padding: 40px; 
  border-radius: 10%; 
  max-width: 1000px; 
  margin: 20px auto; 
  font-size: 1.2rem;
}
