/*
Michael Guynn
styles.css
09/19/2022
*/


/* CSS Reset */
body, header, nav, main, footer, img, h1, article, section, aside, figure, figcaption {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
  scroll-padding-top: 4rem;
}

body {
    background: linear-gradient(45deg, rgba(2,0,36,0.7987570028011204) 0%, rgba(236,14,151,0.31416316526610644) 64%, rgba(236,14,151,0.47102591036414565) 100%), url('../images/graffiti-min.webp') no-repeat top center;
  }

  /* Style rule for images */
  img {
      height: auto;
      max-width: 100%;
      display: block;
  }

  #ghost {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    }

  /* Style rules for skip navigation link */
  .skip {
      position: absolute;
      left: -999px;
  }
  
  .skip:focus {
      color: #fff;
      background-color: #2a1f14;
      text-decoration: none;
      padding: 0.5%;
      top: auto;
      left: auto;
      right: 1px;
      z-index: 1;
  }

        
  /* Style rules to show mobile class and hide tab-desk class*/
  .mobile, .mobile-tablet{
    display: block;
  }

  .mobile-nav {
    position: relative;
  }

  .tab-desk, .desktop, #nav-links {
    display: none;
  }

  .mobile h1, .mobile h3 {
    font-family: 'Emblema One', cursive;
    padding: 2%;
    text-align: center;
  }

  .mobile h3 {
    font-family: 'Lora', serif;
  }


/* Style rules for header content */
  .stickyHeader {
    position: fixed;
    width: 100%;
  }

  header {
    position: relative;
    top: 0;
    background: rgb(147,147,147); 
  }

  header h1 {
    padding-left: 20px;
  }
 
  header .col-md-3 {
    background: #fff;
    color: #ec0e97;
    padding-left: 20px;
    border-right: 10px solid #ec0e97;
    z-index: 1;
  }

  .card-body h3 a {
    color: #ec0e97;
    font-family: 'Rubik Dirt', cursive;
    padding: 2%;
    text-align: center;
    text-decoration: none;
    text-shadow: 0px 0px 0px #fff;
  }

  .card-body h3 a:hover {
    color: #05cffd;
  }

  #chadLogo {
    position: absolute;
    top: -15px;
    right: 5px;
    width: 25%;
    z-index: 999;
  }

  .text-zone> {
    opacity: 1;
  }

  .bigFont {
    color: #fff;
    font-family: 'Rubik Dirt', cursive;
    font-weight: 400;
    font-size: 5rem;
    line-height: 4.5rem;
    position: relative;

  }

  span:before {
    color: #373684;
    font-size: 1.8rem;
    position: absolute;
    margin-top: -5rem;
    left: -1.5rem;
  }

  @keyframes rubberBand {
    from {
      transform: scale3d(1, 1, 1);
    }

    30% {
      transform: scale3d(1.25, 0.75, 1);
    }

    40% {
      transform: scale3d(0.75, 1.25, 1);
    }

    50% {
      transform: scale3d(1.15, 0.85, 1);
    }

    65% {
      transform: scale3d(0.95, 1.05, 1);
    }

    75% {
      transform: scale3d(1.05, 0.95, 1);
    }

    to {
      transform: scale3d(1, 1, 1);
    }
  }


  span:hover {
      color: #05cffd;
      display: inline-block;
      animation: rubberBand; /* referring directly to the animation's @keyframe declaration */
      animation-duration: 2s; /* don't forget to set a duration! */
    }

/* Style rules for navigation area */
  .mobile-nav a {
      color: #fff;
      text-align: center;
      font-size: 2em;
      text-decoration: none;
      padding: 3%;
      display: block;
  }

  .mobile-nav:hover {
      cursor: pointer;
  }
  
  .mobile-nav a.nav-icon {
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      color: #fff;
      padding: 2%;
      z-index: 999;
  }
  
  .nav-icon div { 
    font-size: 1.5em;
    color: #ec0e97;
    float: right;
    position: absolute;
    top: 0px;
    right: 10px;
  }

/* Style rules for main content */
main {
    overflow: auto;
    font-family: 'Flamenco', cursive;
    padding-top: 30px;
    clear: left;
}
 
main p {
  font-size: 1.5em;
}

main ul {
  list-style-type: square;
}

.grid {
  display: grid;
  column-gap: 50px;
  grid-template-columns: auto auto;
}

section {
  margin: 20px;
  padding: 20px;
}

main.home {
  height: 80vh;
  width: 100%;+
}

/* Style rules for class and id selectors */
.link {
  color: #4d3319;
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
}

.round {
  border-radius: 6px;
}

#info ul {
  margin-left: 10%
}

.map {
    width: 95%;
    height: 50%;
    border: 5px solid #373684;
    border-radius: 12px;
}


.tel-link {
  background-color: #373684;
  width: 7em;
  padding: 1%;
  margin: 0 auto;
}

.tel-link a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.email-link {
  background-color: #373684;
  width: 7em;
  padding: 1%;
  margin: 0 auto;
  border-radius: 5px;
}

.email-link a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.action {
    font-size: 1.75em;
    color: #373684; 
    font-weight: bold;
}

/* Style rules for image container */
.imageContain {
  display: grid;
  grid-gap: 70px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-auto-rows: 75px;
}

.horizontal {
  grid-column: span 2;
}

.vertical {
  grid-row: span 2;
}

.big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Style rules for form elements */
fieldset, input, textarea {
  margin-bottom: 1%;
}

fieldset {
  border: 2px solid #ec0e97;
  border-radius: 20px;
}

fieldset legend {
  color: #ec0e97;
  font-weight: bold;
  font-size: 1.25em;
}

label {
  display: block;
  padding-top: 1%;
}

form label {
  color: #373684;
  font-weight: bold;
  text-transform: uppercase;
}

form input {
  width: 100%;
  padding: 2% 10%;
  margin: 5px auto;
  border-collapse: collapse;
  border: 2px solid #ec0e97;
}

.mainBtns {
  width: 185px;
  margin: 0 auto;
  display: block;
  background-color: #fff;
  color: #ec0e97;
  font-family: 'Rubik Dirt', cursive;
  font-size: 1.25em;
  padding: 2%;
  border: 2px inset #ec0e97;
  border-radius: 10px;
  text-decoration: none;
  text-shadow: 0px 0px 0px #fff;
  text-align: center;
}


.mainBtns:hover {
  color: #05cffd;
  border: 2px inset #05cffd;
}

/* Gradient for column box */
   .pink_grad {
      background: #ec0e97;
      background: linear-gradient(90deg, rgb(236 14 151) 0%, rgba(236,14,151,1) 35%, rgba(0,212,255,1) 100%);
      color: #fff;
      max-width: 100%;
      text-shadow: 2px 2px 4px #000;
      box-shadow: 6px 6px 10px #000;
      font-size: 1.25em;
      border-radius: 80px;
   }

  .col-content:nth-child(1) h3 {
    font-size: 1.5em;   
   }


/* Style rules for footer content */
footer {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  background-color: #939393;
  text-align: center;
  font-size: 0.65em;
  clear: left;  
}
 
footer a {
  color: #4645a8;
  text-decoration: none;
}

.social a i  {
  display: inline-block;
  color: #fff;
  font-size: 2.5em;
  padding: 1%;
}

.whiteBox {
    background: #fff;
    width: 6em;
    padding: 0.25em;
    margin: 0 auto;
    border-radius: 1.25em;
}

.container {
  position: relative;
  max-width: 100%;
}

.overlay {
    background-color: rgba(255,255,255,0.5);
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:9999;
    color:white;
}

/* Media Query for Mobile Viewport */
@media screen and (min-width: 0) and (max-width: 767px), print {
  .bigFont {
    font-size: 4rem;
  }

  #heman {
    max-width: 75%;
  }

  #under {
    position: absolute;
    top: -306px;
    right: 70px;
    max-width: 44%;
    transform: rotate(-20deg);
  }

  #ghost {
    max-width: 30%;
    position: absolute;
    right: 18px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(1);
  }

  #bats {
    max-width: 48%;
    position: absolute;
    top: 21px;
    right: 24px;
    z-index: 999;
  }

  #flint {
    max-width: 34%;
    position: absolute;
    bottom: 70px;
    right: 49px;
  }

  #boxers {
    max-width:95%;
  }

  .right iframe {
    height: 200px;
  }
}



/* Media Query for Tablet Viewpor */
@media screen and (min-width: 768px), print {
  /* Tablet Viewport: Show tab-desk class, hide mobile class */
  .tab-desk {
    display: block;
  }

  .mobile {
    display: none;
  }

  #chadLogo {
    display: none;
  }

  figure {
    position: absolute;
    top: 10px;
    left: 20px;
  }

  figure img {
    z-index: 2;
  }

    figcaption {
      width: 175px;
      position: relative;
      bottom: 20px;
      right: -85px;
      padding: 5px 4%;
      border: 3px solid #000;
      border-radius: 20px;
      z-index: 1;
  }
  
  /* Tablet Viewport: Style rules for nav area */
  nav ul {
      list-style-type: none;
      text-align: right;
  }
  
  nav li {
      display: inline-block;
      font-family: 'Rubik Dirt', cursive;
      font-size: 1.25em;
      border-top: none;
  }
  
  nav li a {
    display: inline;
    color: #fff;
    font-size: 0.75em;
    text-align: center;
    padding: 0.5em 0.75em;
    text-decoration: none;
  }

  nav li a:hover {
    color: #fff;
  }
}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1000px), print {
  /* Desktop Viewport: Style rules for header area */
  #chadLogo {
    display: inline-block;
    position: absolute;
    top: -28px;
    left: -93px;
    width: 10%;
    z-index: 999;
  }

  /* Desktop Viewport: Style rules for nav area */
  nav li {
    font-size: 1.5em;
  }

  nav li a {
    padding: 0em 0.5em;
  }

  nav li a:hover {
    color: #ec0e97;
  }

  /* Desktop Viewport: Style rules for main content */
  main {
    border-style: none;
    margin-bottom: 1em 0;
    overflow: auto;
  }

  #info ul {
    margin-left: 5%;
  }

  form {
    width: auto;
  }

  .grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 20px;
  }

  /* Style rules for table */
  table {
    width: 100%;
    border 1px solid #2a1f14;
    border-collapse: collapse;
    margin: 0 auto;
  }

  caption {
    color: #ec0e97;
    font-size: 1.5em;
    font-weight: bold;
    padding: 1%;
  }

  th,
  td {
    padding: 3% 5px;
  }

  th {
    background-color: #fff;
    color: #ec0e97;
    font-size: 1.15em;
    border: 1px solid #ec0e97;
    text-shadow: 0px 0px 0px #fff;
  }

 td {
    border: 1px solid #373684;
 }
  tr:nth-child(odd) { 
    background-color: #373684;
    color: #fff;
  }

  /* Desktop Viewport: Style rules for form elements */
  form {
    width: auto;
  }

  form #submit {
    grid-column: 1/span 2;
  }

  /* Desktop Viewport: Style rule for footer */
  footer {
    clear: left;
  }

}

/* Media Query for Large Desktop Viewports */
@media screen and (min-width: 1921px), print {
 
  main { 
    background-color: #f6eee4;
  }

}
