/**
 * Remove default list styles, margins and padding.
 */

 ol,
 ul {margin: 0;
padding: 0;
list-style:none;
}

/* ================================= 
  Base Layout Styles
==================================== */
* {
	box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial;
}

h2 {
  text-align: center;
}

img {
	max-width: 100%;
}

/* Style the navigation menu */
.navbar {
    width: 100%;
    background-color: rgba(201, 24, 24)!important;
    overflow: hidden;
    position: fixed;
  }
  
  /* Navigation links */
  .navbar a {
    float: left;
    color: white;
    text-decoration: none; 
    font-size: 18px;
    font-weight: bold;
    width: 20%; /* Four equal-width links. If you have two links, use 50%, and 33.33% for three links, etc.. */
    text-align: center; /* If you want the text to be centered */
    background-color: rgb(201, 24, 24);
  }
  
  /* Add a background color on mouse-over */
  .navbar a:hover {
    background-color: rgb(201, 24, 24);
    color: black;
  }
  
  /* Style the current/active link */
  .navbar a.active {
    background-color: rgb(201, 24, 24)!important;
    font-weight: 400;
    font-size: 40px;
    font-family: Brush Script MT, Brush Script Std, cursive;
  }

  a.active {
    background-color: rgb(201, 24, 24)!important;
    color: white;
  }

  .flex-container {
    display: flex;
    flex-direction: row;
  }

  .us {
    font-style: italic;
    text-align:center;
  }
  .main-footer {
    text-align: center;
    padding: .5em 0;
    background-color: rgb(201, 24, 24);
    color: rgb(252, 220, 220);
    font-weight: 400;
  }

  .header {
    text-align: center;
    padding: 32px;
    font-size: 1em;
    text-decoration: underline;
}
  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
}

#pic1 {
  background: url(images/BGBIO.jpg) top no-repeat;
  background-size: cover;
  opacity: 0.6;
}

#pic2 {
  background: url(images/BGBIO3.jpg) top no-repeat;
  background-size: cover;
  opacity: 0.6;
}

#pic3 {
  background: url(images/BGBIO4.jpg) top no-repeat;
  background-size: cover;
  opacity: 0.6;
}

#pic4 {
  background: url(images/starpic.jpg) top;
  background-size: contain;
  opacity: 0.6;
}

#pic5 {
  background-size: cover;
  background-color: black;
}

table, th, td {
  border: 1px solid black;
}

.show{
  text-align: center;
  
}
li {
width: justify;
}
.start {
  position: relative; 
  max-width: 1000px; /* Maximum width */
  margin: 0 auto; /* Center it */
}

.start .finish {
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: #f1f1f1; /* Grey text */
  width: 100%; /* Full width */
  padding: 20px; /* Some padding */
}
.contact {
  color: white;
}

.para {
  text-align: justify;
}

.break {
  column-count: 2;
  column-fill: balance; 
  column-width: 100%;
  column-gap: 10px;
  }

  /* The grid: Four equal columns that floats next to each other */
.column1 {
  float: left;
  width: 33%;
  padding: 10px;
  height: 50%;
}

/* Style the images inside the grid */
.column1 img {
  opacity: 0.8; 
  cursor: pointer; 
}

.column1 img:hover {
  opacity: 1;
}

/* Clear floats after the columns */
.row1:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container (positioning is needed to position the close button and the text) */
.container1 {
  position: relative;
  display: none;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 20px;
}

/* Closable button inside the image */
.closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: black; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}
@media (min-width: 850px) {
  .trans {
    -webkit-transition: width 2s, height 2s, -webkit-transform 2s; /* Safari */
    transition: width 2s, height 2s, transform 2s;
}

.trans:hover {
    width: 250px;
    height: 250px;
    -webkit-transform: rotate(360deg); /* Safari */
    transform: rotate(360deg);
}

}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 700px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }

  .navbar a{
    background-color: rgb(201, 24, 24)!important;
  }
}


@media (min-width:700px) {
.indent {
  text-indent: 14.5%;
  }
  .navbar .icon {
    display: none;
    background-color: rgb(201, 24, 24)!important;
  }
  .navbar {
    background-color: rgb(201, 24, 24)!important;
  }
}

@media screen and (max-width: 700px) {
  .hb {display: none;}
  .navbar a.icon {
    float: right;
    display: block;
    background-color: rgb(201, 24, 24)!important;
  }
}

@media screen and (max-width: 700px) {
  .navbar.responsive {position: relative;
    padding-top: 20px;}
  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgb(201, 24, 24)!important;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: center;
    background-color: rgb(201, 24, 24)!important;
    width: 100%;
  }
/* may need to delete if they don't work */
  .navbar a.active {
    background-color: rgb(201, 24, 24)!important;
    font-weight: 400;
    font-size: 30px;
    font-family: Brush Script MT, Brush Script Std, cursive;
  }

  a.active {
    background-color: rgb(201, 24, 24)!important;
    color: white;
  }




}
