* {box-sizing: border-box;}

body {
  margin: 0;
  font-family: "Century Gothic";
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

a {
  text-decoration: none;
  color: black;
}


/* ----- PINK BUTTON ------- */

.clickable {
  background-color: #951541;
  color: #f1f1f1;
  border: none;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  font-size: 20px;
  height: 60px;
  font-family: "Century Gothic";
  cursor: pointer;
}

.clickable:hover {
  background-color: #b3b3b3;
  color: black;
  box-shadow: 1px 1px 2px black, 0 0 5px black;
}

/* ----- DARK BUTTON ------- */

.button {
  background-color: #333;
  color: white;
  border-radius: 10px;
  text-align: center;
  padding: 20px 30px;
  font-size: 20px;
  margin: 10px;
  cursor: pointer;
}

.button:hover {
  box-shadow: 1px 1px 2px black, 0 0 5px darkblue;
}

/* ----- GO TO TOP BUTTON ------- */

#topButton {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
}

/* ----- SIDE NAV BAR ------- */

.sideNav {
  height: 100%;
  width: 0px;
  position: fixed;
  z-index: 1;
  top: 110px;
  left: 0;
  background-color: rgb(139, 0, 65);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 20px;
}

.sideNav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 15px;
  color: #ffffff;
  display: block;
  transition: 0.3s;
}

.sideNav a:hover {
  color: #d8d8d8;
}

.sideNav .closeButton {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sideNav {padding-top: 8px;}
  .sideNav a {font-size: 18px;}
}


/* ------ NAVIGATION BAR ------ */

.topNav {
  background-color: #fef8ff;
  overflow: hidden;
  padding: 30px 40px;
  position: fixed;
  width: 100%;
  top: 0px;
  z-index: 100;
  box-shadow: 1px 1px 2px rgb(161, 116, 137), 0 0 3px rgb(252, 191, 232);
}

.scroll-active {
  background-color: #ffffff;
  box-shadow: 1px 1px 2px rgb(139, 0, 65), 0 0 10px black;
}

.topNav a {
  float: left;
  text-align: center;
  font-size: 15px;
  padding: 15px 16px;
  transition: padding 0.5s;
}

.topNav .center {
  float: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.topNav .right {
  float: right;
}

.topNav .ref {
  cursor: pointer;
}

.topNav .ref:hover {
  color: #a6a6a6;
}

.topNav .sideButton {
  background-color: #951541;
  color: white;
  border-radius: 10px;
  text-align: center;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
}

/* ------- FRONT BAR ---------- */

.imageBar {
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 140px;
  padding-top: 75px;
  height: 450px;
  width: 100%;
}

.frontBar {
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 30px 0px;
  height: 300px;
}

.frontBar h1 {
  font-size: 65px;
  margin: 50px 0px 10px 0px;
}

.frontBar .centered-header {
  transform: translate(0, 50%);
}

.frontBar h2 {
  font-size: 35px;
  margin: 0px;
}

.frontBar button {
  margin: 0px 10px;
}

/* -------- GENERIC DIVISION ------------*/

.pageDiv {
  margin: 3% 5%;
  width: 90%;
  padding: 20px 40px 40px 40px;
  background-color: #eeeeee;
}

.pageDiv h1 {
  text-align: center;
  font-size: 45px;
}

.pageDiv .text {
  text-align: justify;
  font-size: 17px;
  text-indent: 50px;
  line-height: 1.8;
  margin: 20px 40px;
}

/* --------- FLEX CONTAINER ---------- */

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


/* ------------ GROUP DIVISION ---------- */

.memberPhoto {
  width: 200px;
  border-radius: 50%;
  border-style: solid;
  border-width: 5px;
  border-color: #333;
  margin-bottom: 15px;
}

#membersDiv div {
  margin: 50px;
  text-align: center;
  flex-basis: 400px;
}

#membersDiv p {
  font-size: 20px;
}

/*************** Animations *************/

/*slide up*/
.slide-pageDiv-up {
  animation: slideUp ease 2s;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translate(0, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0px); 
  }
}

/*slide down the top nav*/
.slide-topNav-down {
  animation: slideDown ease 1s;
}

@keyframes slideDown {
  0% {
    top: -150px;
  }
  100% {
    top: 0px;
  }
}

/*fade in*/
.fade-in {
  animation: fadeIn ease 2s;
  -webkit-animation: fadeIn ease 2s;
  -moz-animation: fadeIn ease 2s;
  -o-animation: fadeIn ease 2s;
  -ms-animation: fadeIn ease 2s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}
/* 
@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
} */