/*****************************- Money Mellons Website v3.0 ******************************

    style-v3.css

    written by Ashley Li in 2020
        -reachable by ashley.li106[at]gmail.com if you have any questions.

 *****************************************************************************************/

/********************************************* General ****/

* {
  font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
}

body {
  margin: 0;
}

main > section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

a {
  text-decoration: none;
}

img {
  display: block;
}

/********************************************** Colors ****/

.white {
  color: white;
}

.black {
  color: black;
}

.salmon {
  color: rgb(250, 138, 121);
}

.slate-bg {
  background-color: rgb(80, 80, 80);
}

.gray-bg {
  background-color: rgb(195, 195, 195);
}

.eggshell-bg {
  background-color: rgb(240, 240, 240);
}

.darken {
  background-color: black;
}

.darken img {
  opacity: 0.8;
}

.grayscale {
  -webkit-filter: grayscale(30%);
     -moz-filter: grayscale(30%);
       -o-filter: grayscale(30%);
          filter: grayscale(30%);
}

/****************************************** Font sizes ****/

html {
  font-size: calc(1em + 1.5vw);
}

h1 {
  font-size: 3.6em;
  letter-spacing: 0.2em;
}

h2 {
  font-size: 2em;
  letter-spacing: 0.1em;
}

h3 {
  font-size: 1.2em;
}

h4 {
  font-size: 1em;
  letter-spacing: 0.2em;
}

h5 {
  font-size: 0.55em;
}

p {
  font-size: 0.55em;
}

/**************************************** Font styling ****/

.pop-art {
  font-weight: 400;
  font-style: italic;
}

.shadow-white {
  text-shadow: 3px 3px white;
}

.shadow-salmon {
  text-shadow: 3px 3px rgb(250, 138, 121);
}

.shadow-salmon-thin {
  text-shadow: 2px 2px rgb(250, 138, 121);
}

.shadow-gray {
  text-shadow: 3px 3px rgb(80, 80, 80);
}

.box-shadow-salmon {
  box-shadow: 10px 10px rgba(250, 138, 121);
}

/********************************************* Buttons ****/

.underline-button {
  display: inline-block;
  margin: auto;
  font-size: 0.5em;
  padding-top: 1em;
  -webkit-transition: 500ms ease;
     -moz-transition: 500ms ease;
       -o-transition: 500ms ease;
          transition: 500ms ease;
}

.underline-button:after {
  content: "";
  display: block;
  margin: auto;
  width: 60%;
  padding-top: 0.2em;
  border-bottom: 2px solid rgba(250, 138, 121, 1);
  -webkit-transition: 500ms ease;
     -moz-transition: 500ms ease;
       -o-transition: 500ms ease;
          transition: 500ms ease;
}

.pop-art-button {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75em;
  letter-spacing: 0.1em;
  padding: 0 1.5vw;
  padding-top: 0.5vw;
  border: 0.2vw solid black;
  box-shadow: 0.5vw 0.5vw rgba(250, 138, 121);
  cursor: pointer;
  -webkit-transition: 400ms ease;
     -moz-transition: 400ms ease;
       -o-transition: 400ms ease;
          transition: 400ms ease;
}

#zoom-button {
  margin-top: 2em;
}

#recruitment-page #zoom-button {
  margin-top: 1.5em;
}

#contact-button {
  margin-top: 2.5em;
}

#highlights-button {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  margin-top: 2%;
}

/****************************************** Scrollbars ****/

.scroll::-webkit-scrollbar {
  width: 6px;
}
.scroll::-webkit-scrollbar-track {
  background: none;
}
.scroll::-webkit-scrollbar-thumb {
  background-color: rgba(250, 138, 121, 1);
  border-radius: 3px;
}

.overlay::-webkit-scrollbar {
  width: 5px;
}

.overlay::-webkit-scrollbar-thumb {
  background-color: rgb(220, 220, 220);
  border-radius: 1px;
}

/********************************************** Header ****/

header {
  position: absolute;
  display: flex;
  max-width: 90%;
  overflow: hidden;
  z-index: 1000;
}

header a {
  display: inline;
  margin: 1.5em 0.8em;
  z-index: 10;
  color: white;
  font-size: 0.55em;
  font-weight: 400;
  -webkit-transition: 400ms ease;
     -moz-transition: 400ms ease;
       -o-transition: 400ms ease;
          transition: 400ms ease;
}

.home-button {
  margin-left: 30px;
  width: 1.5em;
}

.home-button img {
  height: 100%;
  width: 100%;
}


/********************************************** Footer ****/

.footer {
  margin-top: -8px;
}

.footer ul li {
  display: inline;
}

.social-button {
  float: right;
  height: 35px;
  padding-bottom: 4px;
  padding-left: 4px;
  padding-right: 10px;
  opacity: 0.4;
  -webkit-transition: 400ms ease;
     -moz-transition: 400ms ease;
       -o-transition: 400ms ease;
          transition: 400ms ease;
}

/******************************* Photos banner (posts) ****/

.post-container {
  display: grid;
  height: 200px;
  padding-top: 2%;
  grid-template-columns: repeat(6, 1fr);
}

.post-container img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/***************************************** Main banner ****/

.banner {
  position: relative;
  overflow: hidden;
}

.banner-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.banner .text-box {
  position: absolute;
  top: 90px;
  left: 40px;
  height: 100%;
  max-width: 100%;
  z-index: 2;
}

.banner h2 {
  display: inline;
}

.banner-bg {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: fill;
  opacity: 0.7;
}

.title {
  position: absolute;
  display: flex;
  bottom: 8%;
  right: 0;
  height: 4.5em;
  width: 16em;
  justify-content: center;
}

.title .subtitle h2 {
  font-weight: 100;
  font-size: 2.4em;
  letter-spacing: 0.15em;
}

.subtitle {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

/*************************************** Split layouts ****/

.split-info {
  position: relative;
  width: 60%;
  height: 100%;
}

.split-info h2 {
  margin-top: 0;
  margin-bottom: 8%;
}

.content-centered {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 10%;
}

.content-bottom {
  position: absolute;
  /* height: 80%; */
  width: 90%;
  bottom: 8%;
}

/******************************************* Home page ****/

.main-title {
  position: absolute;
  top: 2%;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 3;
  text-align: center;
}

.main-subtitle {
  position: absolute;
  bottom: 8%;
  right: 0;
  height: 5em;
  width: 20em;
  overflow: hidden;
}

.main-subtitle .subtitle {
  padding-right: 8%;
}

.subtitle h3 {
  font-weight: 100;
  letter-spacing: 0.25em;
}

.team-bio {
  position: relative;
}

.bio-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-height: 400px;
  text-align: center;
  border: 3px solid rgb(120, 120, 120);
  padding: 44px 64px;
}

.split-img {
  display: inline-block;
  width: 40%;
  height: 100%;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-vid iframe {
  display: block;
  margin: 0 auto;
  height: 70vh;
  min-height: 350px;
  width: 60vw;
  padding-top: 12vh;
}

.testimonial-container {
  box-sizing: border-box;
  position: relative;
  display: grid;
  height: 100%;
  width: 100%;
  padding: 4% 10%;
  grid-row-gap: 5%;
  grid-template-rows: 4fr 3fr;
}

.testimonial {
  position: relative;
}

.testimonial .banner-bg {
  top: 10%;
  height: 80%;
  width: 65%;
}

.left .banner-bg {
  left: 5%;
}

.right .banner-bg {
  right: 5%;
}

.quote-marks {
  position: absolute;
  width: 10%;
}

.right .quote-marks {
  right: 0;
}

.profile-pic {
  position: absolute;
  bottom: 0;
  object-fit: cover;
  width: 18%;
  box-shadow: 10px 10px rgba(250, 138, 121, 0.8);
}

.left .profile-pic {
  left: 65%;
}

.right .profile-pic {
  right: 65%;
}

.quote {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 48%;
}

.left .quote {
  left: 12%;
}

.right .quote {
  right: 12%;
}

.author {
  float: right;
  padding-top: 1em;
}


/****************************************** About page ****/

.about {
  position: relative;
}

.about-content {
  position: absolute;
  height: 70%;
  width: 90%;
  bottom: 10%;
  padding: 0 5%;
}

.about-content img {
  display: inline-block;
  float: right;
  object-fit: cover;
  height: 100%;
  max-width: 45%;
}

.about-content .text-box {
  position: absolute;
  display: inline-block;
  float: left;
  width: 40%;
  bottom: 0;
  padding-left: 2%;
}

.about-content h1 {
  font-size: 2.6em;
  letter-spacing: 0.1em;
  margin-bottom: 2vw;
}

.about-bio {
  font-size: 0.85em;
}

.first-character {
  float: left;
  font-size: 2em;
  line-height: 0.8em;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
}

.history {
  position: relative;
  height: auto;
}

.history h2 {
  display: inline-block;
  padding-left: 40px;
  letter-spacing: 0.1em;
  margin: 50px 0;
  height: 100px;
}

.history h2:after {
  content: "";
  display: block;
  width: 60%;
  padding-top: 12px;
  border-bottom: 2px solid black;
}

.timeline {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-bottom: 70px;
}

.vert-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 98%;
  width: 50%;
  border-right: 3px solid black;
}

.ho-lines-left {
  position: absolute;
  top: 50px;
  left: 0;
  width: 20%;
  margin-left: 30%;
}

.ho-lines-right {
  position: absolute;
  top: 395px;
  right: 0;
  width: 20%;
  margin-right: 30%;
}

.ho-line {
  height: 689px;
  border-top: 3px dashed rgb(80, 80, 80);
}

.date {
  position: relative;
  margin: 0 auto;
  margin-bottom: 240px;
  width: 100px;
  height: 100px;
  line-height: 100px;
  border: 3px solid black;
  border-radius: 50%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  text-align: center;
  background-color: rgb(200, 200, 200);
  z-index: 2;
}

#range, #circa {
  font-size: 28px;
}

.events-left {
  position: absolute;
  top: 215px;
  left: 10%;
  width: 25%;
  z-index: 2;
}

.events-right {
  position: absolute;
  top: 563px;
  left: 0;
  padding-left: 65%;
  width: 25%;
}

.event {
  float: left;
  width: 100%;
}

.description {
  position: relative;
  height: 692px;
}

.description h4 {
  color: white;
  padding: 20px 10px;
  text-align: center;
  background-color: black;
  box-shadow: 10px 10px rgba(250, 138, 121);
  margin-top: 0;
  margin-bottom: 1em;
}

.description p {
  overflow-y: auto;
  max-height: 350px;
}

.with-pic p {
  max-height: 170px;
}

.description img {
  max-height: 180px;
  width: 75%;
  margin: 0 auto;
  object-fit: cover;
}

/***************************************** Roster page ****/

.roster-container {
  display: flex;
  height: 100%;
  justify-content: flex-end;
}

.grid {
  padding-top: 50px;
  display: grid;
  width: 80%;
  margin: 40px 10%;
  grid-template-columns: repeat(auto-fill, 300px);
  grid-gap: 30px 30px;
  justify-items: center;
  justify-content: space-evenly;
  z-index: 2;
}

.player {
  position: relative;
  width: 100%;
  height: 300px;
}

.player img {
  position: absolute;
  top: 0;
  left: 0;
  height: 300px;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 10px;
  right: 10px;
  height: 48px;
  width: 220px;
  -webkit-transition: 400ms ease;
     -moz-transition: 400ms ease;
       -o-transition: 400ms ease;
          transition: 400ms ease;
}

.player .banner-bg {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: fill;
  opacity: 0.7;
}

.player .subtitle {
  width: 100%;
}

.player .subtitle h3 {
  font-size: 36px;
  letter-spacing: 4px;
  font-weight: 100;
  text-align: center;
}

.coach .subtitle h3 {
  font-size: 28px;
}

.overlay {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: auto;
  -webkit-transition: 400ms ease;
     -moz-transition: 400ms ease;
       -o-transition: 400ms ease;
          transition: 400ms ease;
}

.overlay .bio {
  position: absolute;
  margin: 0 7%;
}

.name {
  font-size: 26px;
  letter-spacing: 4px;
}

.name:after {
  content: "";
  display: block;
  width: 60px;
  padding-top: 2%;
  border-bottom: 1px solid white;
}

.basic-info td {
  font-size: 15px;
  vertical-align: top;
}

.basic-info td:first-child {
  padding-right: 25px;
  color: rgb(220, 220, 220);
  font-weight: bold;
}

.bio h5 {
  font-size: 15px;
  border-left: 3px solid rgba(250, 138, 121, 1);
  padding-left: 20px;
}


.bio p {
  margin-top: -15px;
  font-size: 15px;
}

/*************************************** Calendar page ****/

.recruitment {
  position: relative;
  background-color: rgb(120, 125, 128);
}

.recruitment p {
  width: 70%;
}

.recruitment-calendar {
  position: relative;
  display: inline-block;
  margin-top: 10%;
  height: 95%;
  width: 55%;
  float: right;
}

.content-bottom img {
  position: relative;
  object-fit: contain;
  height: 80%;
  width: 100%;
  padding-bottom: 15%;
}

.notes {
  font-size: 0.8em;
  margin-top: 1em;
}

#color-key {
  padding-left: 15px;
  border-left: 1.2em solid rgba(250, 138, 121, 1);
}

#recruitment-page .content-bottom {
  bottom: 3%;
}

#recruitment-page h2 {
  margin-top: 10%;
  margin-bottom: 5%;
}

.calendar {
  height: 80%;
  width: 60%;
  margin: auto;
}

.calendar iframe {
  height: 100%;
  width: 100%;
  margin-top: 10%;
}

/**************************************** Contact page ****/

.contact-form {
  float: right;
}

#contact-page {
  top: 10%;
  height: 85%;
  width: 50%;
  min-width: 400px;
}

#contact-page .content-centered {
  padding-left: 30%;
}

.contact-form form > * {
  display: block;
  margin: 2% 0;
}

.contact-form input[type=text],
.contact-form textarea {
  border-radius: 3px;
  padding: 6px;
  border: 1px solid white;
  margin-bottom: 1.2em;
  font-size: 0.5em;
}

.contact-form textarea {
  resize: none;
}

.contact-img {
  display: inline-block;
  position: relative;
  float: right;
  top: 25%;
  margin-right: -10%;
  object-fit: cover;
  height: 60%;
  width: 45%;
}

/***************************************** Transitions ****/

.home-button:hover {
  transform: scale(1.3);
}

.social-button:hover {
  opacity: 1;
}

.underline-button:hover {
  transform: scale(1.1);
}

.underline-button:hover:after {
  width: 100%;
}

.pop-art-button:hover {
  color: white;
  background-color: black;
}

header a:hover {
  color: rgba(250, 138, 121, 1);
}

.player:hover .overlay {
  opacity: 1;
}

.player:hover .caption {
  opacity: 0;
}
