body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #000000 !important; }
.bg-hero { background-color: white; 
  background-image: src = "https://static.igem.wiki/teams/5035/water-texture-panorama-or-ripples.jpg";
    font-family: new-science, sans-serif;
    font-style: normal;
    font-weight: 100;
    font-family: new-science, sans-serif;
    font-weight: 500;
    font-style: normal;
    background-image: url("https://static.igem.wiki/teams/5035/waterheadertest.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%, 500% 500%;
    background-repeat: no-repeat, no-repeat;

}



/* 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 }

/* footer */
footer a { color:#fbf9ee; font-weight: bold; text-decoration: none; }
footer a:hover { color: #fbf9ee; text-decoration: underline; }

.col1{
  padding: 50px;
  text-align: center;
}

.col1:hover {
  
  background-color: #18a1a1;
  color: white;
}

@font-face {
  font-family: Montserrat;
  src: url(Fonts/Montserrat-Regular.ttf);
}

.BodyText{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.P1 {
    text-align: left; 
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px;
    width: 700px;
  }
 
  .P2 {
    text-align: center;
    background-color: #ffffff;
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px
  }

  .P3 {
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    font-size: 50px;
    height: 300px;
  }
 
  .P4 {
    text-align: right;
    background-color: #ffffff;
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px
  }

  .P5 {
    text-align: left;
    background-color: #ffffff; 
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px
  }
 
  .P6 {
    text-align: center;
    background-color: #ffffff;
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px
  }
  .P7 {
    text-align: left;
    background-color: #ffffff;
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px
  }
  .P8 {
    text-align: right;
    background-color: #ffffff; 
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px
  }
 
  .P9 {
    text-align: left;
    background-color: #ffffff;
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px
  }

  .P10 {
    text-align: right;
    background-color: #ffffff; 
    margin: 0 0 10px 10px;
    border: 1px solid #ffffff;
    padding: 30px;
    font-size: 50px
  }

/* Adjust the image to fit properly */
.header-image {
  max-width: 100%; /* Ensure the image does not overflow the column */
  height: auto; /* Maintain aspect ratio */
}

/* Optional: Adjust the padding/margins if necessary */
.col-lg-4 {
  padding-left: 6px;
  padding-right: 20px;
}

/*homepage columns*/
.column {
  background-color: #f2f2f2;
  padding: 20px;
  border: 1px solid #ccc;
}


/*button tests*/
.button {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer; 
    display: flex; 
    justify-content: right; 
}

.button1 {
  
  background-color: white; 
  color: black; 
  border: 2px solid #9f98ff;
  margin:0 auto;
  display:block;
  font-size: 30px;
  display: flex; 
  justify-content: right; 
}

.button1:hover {
  
  background-color: #18a1a1;
  color: white;
}

.button2 {
  
  background-color: white; 
  color: black; 
  border: 2px solid #008CBA;
  margin:0 auto;
  display:block;
  font-size: 30px;
  display: flex; 
  justify-content: left; 
}

.button2:hover {
  
  background-color: #008CBA;
  color: white;
}

/*Image Style*/
.imghome{
  width: 500px;
  height: 500px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Wrapper to control the centering of the box */
.content-wrapper {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically */
  height: 100vh;           /* Full viewport height to center vertically */
  background-color: #f0f0f0; /* Optional background */
}

/*HEADERS*/

.bg-home{
  background-image: linear-gradient(to bottom right, teal, skyblue);
}

.bg-contribution {
  background-image: linear-gradient(to bottom right, lightgreen, skyblue);
}

.bg-Engineering{
  background-image: linear-gradient(to bottom right, rgb(136, 163, 136), rgb(88, 148, 28));
}

.bg-description{
 background-image: linear-gradient(to bottom right, rgb(75, 87, 194), rgb(123, 86, 192));
}

.bg-human-practices{
  background-image: linear-gradient(to bottom right, rgb(255, 153, 0), rgb(255, 230, 0));
}

.bg-team{
  background-image: linear-gradient(to bottom right, rgb(124, 202, 79), rgb(170, 255, 33));
}

.bg-attribution{
  background-image: linear-gradient(to bottom right, rgb(175, 185, 82), rgb(255, 122, 33));
}

/* Backround Image Text Grandients*/
.bg-text-home-1{
  background-image: linear-gradient( teal, skyblue);
  padding: 250px;
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 0px;
  border-color: #008CBA;
}
.bg-text-home-2{
  background-image: linear-gradient( skyblue, rgb(255, 33, 81));
  padding: 250px;
  margin-right: 0px;
  margin-left: 0px;
  border-color: #008CBA;
}

.bg-text-home-3{
  background-image: linear-gradient( rgb(255, 33, 81), rgb(255, 233, 33));
  margin-right: 0px;
  margin-left: 0px;
  border-color: #008CBA;
  height: 300px;
}

.bg-text-home-4{
  background-image: linear-gradient( rgb(255, 233, 33), rgb(170, 255, 33));
  padding: 250px;
  margin-right: 0px;
  margin-left: 0px;
}
.bg-text-home-5{
  background-image: linear-gradient( rgb(170, 255, 33), rgb(255 159 159));
  padding: 250px;
  margin-right: 0px;
  margin-left: 0px;
}
.bg-text-home-6{
  background-image: linear-gradient( rgb(255 159 159), rgb(255 33 153));
  padding: 250px;
  margin-right: 0px;
  margin-left: 0px;
}
.bg-text-home-7{
  background-image: linear-gradient(rgb(255 33 153), rgb(255 210 53));
  padding: 250px;
  margin-right: 0px;
  margin-left: 0px;
}
.bg-text-home-8{
  background-image: linear-gradient( rgb(255 210 53), rgb(255 255 255));
  padding: 250px;
  margin-right: 0px;
  margin-left: 0px;
}


.bg-text-navbar{
  background-image: linear-gradient( teal, skyblue);
}
.body{
  margin: 0px;
}

.team-page-image-padding{
  margin-bottom: 10px;
}

.clearfix {
  overflow: auto;
}


/* Flexbox container for aligning text and image side by side */
.content-item {
  display: flex;
  align-items: center;  /* Vertically centers the text and image */
  justify-content: space-between;  /* Ensures space between text and image */
  margin-bottom: 20px;  /* Adds spacing between sections */
  padding: 30px;
  font-size: 50px;
  color: #000;  /* Text color */
  border: 1px solid #ffffff;  /* Optional border */
  overflow: auto; /* Clear floats */
}

/* Text content styling */
.text-content {
  flex: 1;  /* Makes the text block take up more space compared to the image */
}

/* Responsive image styling */
.imghome {
  flex: 1;  /* Image takes up less space than text */
  max-width: 200px;  /* Adjust based on how large you want the image */
  height: auto;  /* Keep the image's aspect ratio */
  margin-left: 20px;  /* Adds some space between the text and the image */
}

/* Background gradient styles for the sections
.bg-text-home-1 { background-image: linear-gradient(teal, skyblue); }
.bg-text-home-2 { background-image: linear-gradient(skyblue, rgb(255, 33, 81)); }
.bg-text-home-3 { background-image: linear-gradient(rgb(255, 33, 81), rgb(255, 233, 33)); }
.bg-text-home-4 { background-image: linear-gradient(rgb(255, 233, 33), rgb(170, 255, 33)); }
.bg-text-home-5 { background-image: linear-gradient(rgb(170, 255, 33), rgb(255, 159, 159)); }

Continue for other text blocks */

.float-left {
  float: left;
  margin-right: 20px;
}

.float-right {
  float: right;
  margin-left: 20px;
  width: 20%;
}

/*Buttons for Homepage*/

.button-row {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
}

.button-container {
  text-align: center;
}

.image-button {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.image-button:hover {
  transform: scale(1.1); /* Optional zoom effect on hover */
}

.button-container p {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}
.centerimage{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/*HP Experts Images*/
.imgExpert {
  float: left;
  margin-right: 40px;
}