/*Brendan Hukill 3/29/2023 */

/* All layouts */
.header {
  z-index: 1;
  background-image: url(../imgs/header.jpg);
  background-size: cover;
}

.logo {
  color: #e5302d; /*set font color to soft red */
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff; /*set font outline color to white*/
  letter-spacing: 0.1px; /*added to match that of logo text on contact page*/
}

.logo a {
  text-decoration: none;
  color: #e5302d; /*set font color to soft red */
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff; /*set font outline color to white*/
}

.nav,
.boxes,
.descriptions,
.footer,
.footer form {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
}

.logo {
  margin-bottom: 0px;
}

h1, .action h2 {
  font-weight: bold;
}

.nav div {
  -webkit-flex: 1 1 200px;
  flex: 1 1 200px;
  margin: 0;
  border-radius: 5px;
  padding: 2px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
  opacity: 1;
}

.nav-hidden div {
  opacity: 0;
}

.action {
  background: #000;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.action h1 {
  margin-left: 20px;
  margin-right: 20px;
  color: #77c6bc;
  font-weight: 600;
}

.action h2 {
  color: #fff; /*set font color to soft red */
  margin: 0 20px 20px 20px;
  font-style: italic;
  font-weight: 600;
  font-size: 3rem;
}

.info {
  background-image: linear-gradient(
    to right,
    #fff,
    #87ceeb
  ); /*set background transition from white to sky blue*/
  padding-bottom: 0px;
}

.info h2 {
  color: rgb(0, 102, 153); /*set font color to dark blue */
  font-weight: normal;
  font-style: normal;
  padding-top: 10px;
  text-align: center;
}

.contactInfoSection h2 {
  color: #87ceeb; /* ensure same blue as the one in desktop flip effect */
  margin: 0 20px 20px 20px;
  font-weight: 600;
  font-size: 2rem;
  text-align: center;
}

.descriptions .more {
  margin-top: auto;
  text-align: center;
}

.footer {
  color: white;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 60px;
  padding-bottom: 20px;
}

.footer .links {
  -webkit-flex: 2 1 250px;
  flex: 2 1 250px;
  text-align: center;
}

.footer .signup {
  -webkit-flex: 2 1 250px;
  flex: 2 1 250px;
}

.footer .copyright {
  -webkit-flex: 1 1 500px;
  flex: 1 1 500px;
  text-align: center;
  text-decoration: none;
}

.footer .copyright a {
  text-decoration: none;
}

.signup label {
  width: 100%;
}

.signup input[type="email"] {
  border-radius: 4px 0 0 4px;
  border-color: #95b8cb;
  padding-left: 10px;
  -webkit-flex: 1;
  flex: 1;
}

.signup input[type="submit"] {
  border-radius: 0 4px 4px 0;
  padding: 0 10px;
}

.imageFrames {
  max-width: 100%;
  border: 5px solid rgb(0, 102, 153, 0.9); /*set border color to dark company blue, darker shade */
  border-radius: 5px;
}

.img,
.selfie {
  max-width: 100%;
}

#facebook {
  max-height: 3em;
}
#wordpress {
  max-height: 3.2em;
}
#email {
  max-height: 3.2em;
}
#arrowUp {
  max-height: 3em;
}

/* Small Mobile Layout */
@media (max-width: 314px) {
.boxes div {
  -webkit-flex: 1 1 250px;
  flex: 1 1 250px;
  margin: none;
  border-radius: none;
  padding: none;
  background: none;
  border: none;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
}

.descriptions div {
  -webkit-flex: 1 1 250px;
  flex: 1 1 250px;
  margin: none;
  border-radius: none;
  padding: none;
  background: none;
  border: none;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
}

.mobile-selfie {
  margin-top: 10px;
  margin-bottom: -20px;
  border: 8px solid #006699; /*set background color to dark company blue */
  border-radius: 5px;
}

.bio {
  padding: none;
  margin: none;
  border-radius: none;
  background: none;
  border: none;
  border-radius: none;
}
}

/* Larger than small mobile */
/* applies to all widths 315px and greater */
@media (min-width: 335px) and (max-width: 408px) { 
.action h1 {
    padding-left: 10%;
    padding-right: 10%;
}
}

@media (min-width: 315px) {
.boxes div {
  -webkit-flex: 1 1 250px;
  flex: 1 1 250px;
  margin: 10px;
  border-radius: 5px;
  padding: 10px 10px 0 10px;
  background: rgb(
    0,
    102,
    153,
    0.3
  ); /*set background color to dark company blue, lighter shade */
  border: 5px solid rgb(0, 102, 153, 0.9); /*set border color to dark company blue, darker shade */
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
}

.descriptions div {
  -webkit-flex: 1 1 250px;
  flex: 1 1 250px;
  margin: 10px;
  border-radius: 5px;
  padding: 10px 10px 0 10px;
  background: rgba(255, 255, 255, 0.5);
  border: 5px solid rgb(0, 102, 153, 0.9); /*set border color to dark company blue, darker shade */
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
}

.info {
  padding-bottom: 15px;
}

.bio {
  padding: 10px;
  margin: none;
  background: rgba(255, 255, 255, 0.5);
  border: 5px solid #006699; /*set background color to dark company blue */
  border-radius: 5px;
}

.mobile-selfie {
  border: 7px solid #006699; /*adjust border thickness */
}

.mobile-selfie {
  margin-top: 30px;
  margin-bottom: -10px;
  border-radius: 5px;
}
}

/* All Mobile Layout */
@media (max-width: 500px) {
.logo {
  font-size: 3rem;
  text-align: center;
}

/*home page animation*/
.action h1 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 3rem;
}

.action h2 {
  margin-top: 10px;
  font-size: 2rem;
}

.flip {
  display: none;
}
/*end home page animation*/

.info h2 {
  font-size: 3rem;
  padding: 0px;
}

.mobile-selfie {
  width: 14em;
  height: 15em;
}

.selfie {
  display: none;
}
}

@media (max-width: 596px) {
.footer {
  padding-right: 20px;
}
}


@media (max-width: 1200px) {
.action h1 {
    color: #87ceeb; /* ensure same blue as the one in desktop flip effect */
}
}

/* Larger than Mobile */
/* applies to all widths 550px and greater */
@media (min-width: 501px) and (max-width: 671px) { 
.action h1 {
    padding-left: 10%;
    padding-right: 10%;
}
}

@media (min-width: 501px) {
.logo {
  font-size: 2em;
}

/*home page animation*/
.flip {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
/*end home page animation*/

.mobile-selfie {
  display: none;
}

.selfie {
  width: 29em;
  height: 30em;
  border: 6px solid #006699; /*set background color to dark company blue */
  border-radius: 5px;
}

.bio {
  padding: 20px 30px 20px 30px;
  margin: 0 30px 30px 30px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
  border: 5px solid #006699; /*set background color to dark company blue */
  border-radius: 5px;
}
}

/* Larger than phablet */
/* applies to all widths 550px and greater */
@media (min-width: 550px) and (max-width: 775px) {
/*home page animation*/
.flip {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
/*end home page animation*/
}

/* Larger than tablet */
/* applies to all widths 776px and greater */
@media (min-width: 776px) {
/*home page animation*/
.noFlip {
  display: none;
}

.flip {
  display: inherit;
}

span {
  display: inline-block;
  margin-left: -7px;
  color: #87ceeb;
  transform-origin: 50% 70%;
}

span:nth-child(2n) {
  color: #95b8cb;
}

span:nth-child(1) {
  margin-left: 0px;
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 2s forwards;
}

span:nth-child(2) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 0.2s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 2.2s forwards;
}

span:nth-child(3) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 0.4s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 2.4s forwards;
}

span:nth-child(4) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 0.6s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 2.6s forwards;
}

span:nth-child(5) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 0.8s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 2.8s forwards;
}

span:nth-child(6) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 1s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 3s forwards;
}

span:nth-child(7) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 1.2s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 3.2s forwards;
}

span:nth-child(8) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 1.4s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 3.4s forwards;
}

span:nth-child(9) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 1.6s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 3.6s forwards;
}

span:nth-child(10) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 1.8s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 3.8s forwards;
}

span:nth-child(11) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 2s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 4s forwards;
}

span:nth-child(12) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 2.2s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 4.2s forwards;
}

span:nth-child(13) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 2.4s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 4.4s forwards;
}

span:nth-child(14) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 2.6s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 4.6s forwards;
}

span:nth-child(15) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 2.8s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 4.8s forwards;
}

span:nth-child(16) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 3s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 5s forwards;
}

span:nth-child(17) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 3.2s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 5.2s forwards;
}

span:nth-child(18) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 3.4s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 5.4s forwards;
}

span:nth-child(19) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 3.6s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 5.6s forwards;
}

span:nth-child(20) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 3.8s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 5.8s forwards;
}

span:nth-child(21) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 4s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 6s forwards;
}

span:nth-child(22) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 4.2s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 6.2s forwards;
}

span:nth-child(23) {
  animation: flipUp 1s cubic-bezier(0.68, -0.55, 0.26, 1.55) 4.4s both,
    flipDown 0.5s cubic-bezier(0.45, 0.03, 0.51, 0.95) 6.4s forwards;
}

@keyframes flipUp {
  from {
    transform: rotateX(90deg);
  }
  to {
    tranform: rotateX(0deg);
  }
}

/* Card zoom effect */
.cards {
  z-index: 0;
  transition: transform 1s;
}

.cards:hover {
  z-index: 0;
  transform: scale(1.1);
}
/*end home page animation*/
}

@media (min-width: 807px) and (min-width: 887px) {
  /* --------Problem with footer padding---------- */
}

/* Larger than tablet */
@media (min-width: 888px) {
.footer {
  padding-right: 100px;
}
}

@media (min-width: 1200px) {
.action h2 {
    padding-top: 12px;
}

.contactInfoSection h2 {
  padding-top: 20px;
  padding-bottom: 20px;
}
}


