@font-face {
  font-family: "Graffiti_desiderium";
  src: url('fonts/Graffiti_desiderium-Regular.ttf');
}

/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    line-height: 1.6;
    text-align: center; /* ensures the image is always in the h-middle */
    /*background-color:#c1dfe9;*/
    background-image: url("images/rink_bg.png");
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat; background-size: cover;
  }

  .home {
    overflow: hidden; /* hide the cropped portion */
  }

  .coming-soon {
    margin-top: 130px;
    font-size: 30px;
  }

  .coming-soon img{
    margin-top: 20px;
  }

  #page-container {
    position: relative;
    min-height: 100vh;
  }
  
  #content-wrap {
    padding-bottom: 2.5rem;    /* Footer height */
  }

  .sticky {
    position: sticky;
    top: 0;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    z-index:10;
  }

  nav ul {
    list-style: none;
    display: flex;
  }

  .nav {
    overflow: hidden;
    background-color: #99D9D9;
    display: flex;
    justify-content: center;
    z-index: 1;
    width:100%;
    flex-grow: 1;
  }

  .nav--ul__one {
    margin: 0 auto;
  }

  .nav-container, .nav--ul__one,
  .nav--ul__two {
    display: flex;
    gap: 1.6rem;
    font-size: 1.2rem;
  }

  .transparent {
    background-color: rgba(248, 249, 250, 0);
  }
  
  /* Style the links inside the navigation bar */
  .nav a {
    float: left;
    display: block;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: Cambria;
    min-height:48px;
  }

  /* sign up*/
  .form-group {
    text-align: left;
  }

  .signup-warning {
    color: red;
    text-align: left;
    font-weight: 600;
    margin-bottom: 30px;
  }
  
  /* Add an active class to highlight the current page */
  .nav a.active {
    /*background-color: #001628;*/
    /*border: 1px solid #001628;*/
    color: #001628;
  }

  /* Change the color of links on hover */
  .nav a:hover {
    background-color: #001628;
    color: #fff;
  }

  .sub-menu {
    display: none;
  }

  .hamburger-menu {
    display: none; /* Hidden by default for larger screens */
    cursor: pointer;
    color: #fff;
  }

  .title {
    width: 900px;
  }

  .title img {
    height: 375px;
    padding-left: 70px;
  }

  .title-line {
    display:block;
  }

  .page-header.header-small {
    min-height: 300px;
    position: relative;
    height: auto;
  }

  .page-header-title {
    /*font-family: Graffiti_desiderium;*/
    font-family: "Candal", sans-serif;
    font-size: 50px;
    font-weight: 800;
    color: #fff;
    margin-top: 60px;
  }

  .page-header {
    will-change: transform;
    overflow: hidden;
    margin: 0;
    padding: 0;
    padding-bottom: 0px;
    border: 0;
    background-position: center center;
    background-size: cover;
  }
  
  .page-header {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    /*border-bottom: 1px solid #eee;*/
  }

  .page:not(.home) .wrapper .main .blog-post {
    flex: 1 0 auto;
  }

  .main {
    display: flex;
    flex-direction: column;
    /*flex: 1 0 auto;*/
    position: relative;
    background: #fff;
  }

  .main-raised {
    margin: -60px 30px 0;
    border-radius: 6px 6px 0 0;
    -webkit-box-shadow: 0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);
    box-shadow: 0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);
  }

  #srha-title {
    color: #fff;
    text-align: center;
    /*font-family: Graffiti_desiderium;*/
    font-family: "Saira Stencil One", sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    /*overflow: hidden;*/
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /*centers items on the line (the x-axis by default)*/
    align-items: center; /*centers items on the cross-axis (y by default)*/
    text-decoration: none;
    line-height: 80px;
    height: 420px;
    padding-top: 23%;
    flex-direction: column;
  }

  .cta {
    border: 2px solid #fff;
    background-color: rgba(153, 217, 217, 1);
    color: #fff;
    padding: 0px 35px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 15px;
    text-decoration: none;
  }

  .email {
    padding: 20px 50px 20px 50px;
    font-weight: 800;
  }

  .cta:hover {
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
  }

  .article {
    margin-top: 65px;
    margin-bottom: 40px;
    text-align: left;
  }

  .article-section {
    margin-top: 30px; 
  }

  .article-section-heading {
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 600;
  }

  .article-copy {
    font-family: Cambria;
    line-height: 30px;
    font-size: 22px;
    font-weight:100;
  }

  .article-copy img {
    margin-top: 20px;
    width: 100%;
  }

  video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index:-100;
  }

  /* Footer */
  footer {
    font-family: Cambria;
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem; 
  }

  .cards {
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    max-width: 1200px;
    margin-bottom: 5rem;
  }

  .card {
    color: white;
    height: 34rem;
    border-radius: 15px;
    background-color: /*#001628*/ #333;
  }

  .top-card {
    width: 100%;
    margin-bottom: 1rem;
    height: 30rem;
  }

  .has-signup {
    height: 36rem;
  }

  .event-name {
    font-weight:400;
    font-size: 18px;
    /*margin: 10px 10px;*/
    padding: 10 10;
  }

  .divider {
    position: relative;
    height: 150px;
    display: flex;
    flex-direction: row-reverse;
    margin-top: 43px;
  }

  .divider-heading {
    font-size: 48px;
    margin: 0 auto;
    margin-top: 20px;
    font-family: "Candal", sans-serif;
    font-size: 47px;
    font-weight: 800;
  }

  .stick1 {
    width: 300px;
    transform: rotate(128deg);
    position: absolute;
    left: 70px;
    top: -100px;
    display: flex;
  }

  .stick2 {
    width: 300px;
    transform: rotate(-52deg);
    position: absolute;
    top: -100px;
    right: 60px;
    display: flex;
  }

  .recurring {
    position: relative;
    display: inline-flex;
    margin-left: -40px;
  }

  .recurring .fa-calendar {
    font-size: 40px;
    top: -14px;
    position: absolute;
    left: -16px;
  }

  .recurring .fa-rotate {
    font-size: 20px;
    top: 2px;
    position: relative;
    left: -7px;
  }

  .event-wrapper {
    border: 1px solid #001628;
    min-height: 28rem;
    color: #001628;
    background-color: #e3e3e3;
  }

  .top-card .event-info {
    height:11rem;
    font-size: 20px;
  }

  .top-card .event-name {
    font-size: 29px;
    padding: 0;
  }

  .top-card .event-wrapper {
    min-height: 24rem;
  }

  .event-info {
    color: #001628;
    border-bottom: 1px solid #001628;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    text-align: left;
    background-color: white;
    min-height: 160px;
  }

  .event-info-left {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    padding:10px;
    font-family: "Arial narrow",Sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
  }

  .event-details {
    padding: 10px;
    text-align: left;
  }

  .event-summary {
    font-size: 19px;
    font-family: Montserrat,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  }

  .event-location-map {
    width: 50%;
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
  }

  .event-location-map iframe {
    height: 100%;
  }

  .event-location-name {
    padding-top: 10px;
  }

  .event-cta-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .event-cta {
    display:flex;
    border: 2px solid #fff;
    background-color: rgba(153, 217, 217, 1);
    font-family: "Saira Stencil One", sans-serif;
    color: #fff;
    padding: 19px 35px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 15px;
    text-decoration: none;
    margin: auto;
  }

  .event-cta:hover {
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
  }

  /* events */

  .blog-post {
    word-wrap: break-word;
    min-height: 540px;
  }

  .container {
    margin-top: 15px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  @media (max-width: 1199px) {
    .main-raised {
      margin: -60px 15px 0;
    }
    .title img {
      height: 250px;
    }
    #srha-title {
      padding-top: 26%;
    }
  }

  @media (max-width: 768px) {
    .container {
      margin-top: 0px;
      margin-bottom: 10px;
      margin-right: auto;
      margin-left: auto;
      padding-left: 0px;
      padding-right: 0px;
    }

    .cards {
      gap: 4px;
    }

    .top-card {
      width: 100%;
      margin-bottom: inherit;
      height: inherit;
      margin-bottom: 4px;
    }

    .event-wrapper {
      min-height: 20rem;
    }
  
    .top-card .event-wrapper {
      border: 1px solid #001628;
      min-height: 24rem;
      color: #001628;
      background-color: #e3e3e3;
    }
  
    .top-card .event-info {
      color: #001628;
      border-bottom: 1px solid #001628;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      width: 100%;
      text-align: left;
      background-color: white;
      font-size: 13px;
    }

    .event-info {
      font-size: 13px;
    }

    .event-name {
      font-weight:400;
      font-size: 14px;
      padding: 10 10;
      white-space: nowrap;
    }

    .divider {
      position: relative;
      height: 98px;
      display: flex;
      flex-direction: row-reverse;
      margin-top: 5px;
    }

    .divider-heading {
      font-size: 48px;
      margin: 0 auto;
      margin-top: 20px;
      font-family: "Candal", sans-serif;
      font-size: 30px;
      font-weight: 800;
    }

    .stick1 {
      width: 127px;
      transform: rotate(128deg);
      position: absolute;
      left: 30px;
      top: -36px;
      display: flex;
    }

    .stick2 {
      width: 127px;
      transform: rotate(-52deg);
      position: absolute;
      top: 0px;
      right: 30px;
      display: flex;
    }

    .recurring {
      position: relative;
      display: inline-flex;
      left: 70px;
      margin-left: 0;
    }

    .recurring .fa-calendar {
      font-size: 32px;
      top: -11px;
      position: absolute;
      left: -94px;
    }

    .recurring .fa-rotate {
      font-size: 12px;
      top: 4px;
      position: relative;
      left: -86px;
    }
  
    .top-card .event-name {
      font-weight:400;
      font-size: 14px;
      padding: 10 10;
      white-space: nowrap;
    }

    .event-summary {
      font-size: 17px;
    }

    .main-raised {
      margin-right: 0;
      margin-left: 0;
      border-radius: 0;
    }

    .archive .page-header.header-small, .blog .page-header.header-small, .category .page-header.header-small, .page .page-header.header-small, .single-post .page-header.header-small {
      min-height: 0;
    }
    .archive .page-header.header-small .container, .blog .page-header.header-small .container, .category .page-header.header-small .container, .page .page-header.header-small .container, .single-post .page-header.header-small .container {
      padding: 120px 15px 50px;
    }

    .title img {
      height: 175px;
      padding-left: 20px;
    }
    #srha-title {
      padding-top: 45%;
      height:575px;
    }
    .cta {
      margin-top: 30px;
    }

    .nav-container .logo {
      font-size: 1.2rem;
      z-index: 2;
    }

    .nav {
      flex-direction: column;
      gap: 2rem;
      justify-content: unset;
      padding-top: 100px;
    }

    .nav--ul__one,
    .nav--ul__two {
      flex-direction: column;
      gap: .6rem;
    }

    .hamburger-menu {
      font-size: 50px!;
      display: block;

      z-index: 2;
    }

    .nav {
      position: absolute;
      top: 0;
      right: -100%;
      bottom: 0;
      width: 100%;

      /*padding-top: 6rem;*/

      align-items: center;
      text-align: center;
      color: white;
      /*background-color: rgba(153, 217, 217, 1);*/

      transition: 0.15s ease-in-out;
    }

    .transparent {
      background-color: rgba(153, 217, 217, 1);
    }

    .nav.active {
      right: 0;
    }

    .nav a {
      font-size: 2.1rem;
    }

    .article-section-heading {
      font-size: 25px;
    }

    .article {
      margin-top: 35px;
    }

    .article-copy {
      font-size: 20px;
    }

    video {
      left: -500px;
    }

    /* Footer */
    footer {
      font-size: 12px; 
    }

    .event {
      grid-template-columns: 15em;/*1 column with width of 15em*/
      grid-row: 2em 2em 2em 2em;/*4 rows with height of 2em*/
    }

    .card {
      border-radius: 0px;
      min-height: inherit;
      height: inherit;
    }
  }

  @media (min-width: 600px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
  }

  @media (min-width: 768px) {
    .container {
      max-width: 750px;
    }
  }

  @media (min-width: 900px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
  }

  @media (min-width: 992px) {
    .container {
      max-width: 970px;
    }
  }

  @media (min-width: 1200px) {
    .container {
      max-width: 2000px;
    }
  }

  @media (min-width: 749px) {
    .container {
      max-width: 748px;
    }
  }

  .container {
    max-width: 100%;
  }

  @media (min-width: 768px) {
    .container {
      width: 750px;
    }
  }

  @media (min-width: 992px) {
    .container {
      width: 970px;
    }
  }

  @media (min-width: 1200px) {
    .container {
      width: 1170px;
    }
    .form-container {
      width: 700px;
    }
  }

  /* Responsive layout */
  @media (max-width: 768px) {
    header h1 {
      font-size: 2rem;
    }
    nav ul li a {
      font-size: 1rem;
    }
    .form-container {
      padding: 10px;
    }
    .form-group {
      margin-bottom: .5rem;
    }
    .event-cta {
      width:100%;
      display:block;
      font-size: 20px;
      text-align: center;
      margin-top: 15px;
      margin-bottom: 10px;
    }
    .page-header-title {
      font-size: 30px;
      margin-top: 65px;
    }
    .signup-page-header-title {
      font-size: 30px;
      margin-top: 25px;
    }
    .article {
      padding-left: 10px;
      padding-right: 10px;
    }
  }