:root {
  --text: #ffffff;
  --sub-text: hsl(147, 43%, 92%);

  --bg-main: linear-gradient(
    0deg,
    #37527D 0%,
    #324264 75%,
    #7BE5A9 100%
  );
  --bg-nav: #101C35;
  --font-main: 'Farro';
  --font-content: 'Poppins';
  --running: #d97777;
  --climbing: #d39c62;
  --cycling: #F6EB61;
  --hiking: #78e097;
  --paddling: #68c6d9;
  --swimming: #ac91ea;
  --gayzelles-red: #ed4139;

  --gayzelles-gradient: linear-gradient(
    180deg,
    hsl(217deg 39% 35%) 0%,
    hsl(217deg 38% 34%) 6%,
    hsl(218deg 37% 34%) 14%,
    hsl(218deg 37% 33%) 25%,
    hsl(219deg 36% 32%) 38%,
    hsl(220deg 35% 31%) 53%,
    hsl(220deg 34% 30%) 66%,
    hsl(221deg 33% 29%) 75%,
    hsl(210deg 39% 35%) 82%,
    hsl(199deg 43% 41%) 87%,
    hsl(189deg 48% 46%) 91%,
    hsl(178deg 53% 52%) 94%,
    hsl(167deg 57% 58%) 97%,
    hsl(157deg 63% 63%) 99%,
    hsl(146deg 67% 69%) 100%
  );
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: var(--gayzelles-gradient);
  /* background: url('assets/website-logo-bar.svg') left bottom no-repeat, var(--gayzelles-gradient); */
  /* background-image: url('assets/website-logo-bar.svg'); */
  /* background-size: 10% 80%, 100%; */
  color: var(--text);
  font-family:
    var(--font-main),
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

div.branding-bar {
  background-image: url('assets/website-logo-bar.svg');
  background-repeat: no-repeat;
  position: fixed;
  background-position-y: bottom;
  left: 0;
  top: 80px;
  display: block;
  height: calc(100% - 100px);
  width: 140px;
  opacity: .1;
  background-size: contain;
}

header.navigation {
  background-color: var(--bg-nav);
  color: var(--text);
  height: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding-left: 20px;
  width: calc(100% - 20px);
}
div.logo-container {
  background-color: var(--sub-text);
  height: 100%;
  width: 60px;
  margin-left: -30px;
  transform: skew(0.02turn, 360deg);
  padding-left: 20px;
  display: flex;
  align-items: center;
}
a.header-brand {
  font-size: 40px;
  color: var(--text);
  text-decoration: none;
}

img.logo { 
  width: 50px;
  height: 50px;
  transform: skew(0.98turn, 360deg);
}

nav {
  padding-left: 10px;
  font-family: var(--font-content);
  height: 100%;
}
nav ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: flex;
  height: 100%;
}
nav li{
	float: none; 
  height: 100%;
  transform: skew(0.02turn, 360deg);
  margin-right: -2px;
}
nav a {
  font-style: italic;
  color: var(--bg-nav);
  text-decoration: none;
  height: 100%;
  line-height: 100px;
  padding: 0 4px;
  position: relative;
  overflow: hidden;
}
nav li a {
  display: block; 
  width: 100%; 
  padding: 0 10px;
  position: relative; 
  z-index: 2;
  text-decoration: none;
  color: var(--bg-nav);
  box-sizing: border-box;  
  -moz-box-sizing: border-box;  
  -webkit-box-sizing: border-box;
}
nav li a:hover {
  color: var(--text);
}
nav li a:after { 
  content: "";
  width: 100%; 
  left: 0; 
  top: 0; 
  height: 100%;  
  position: absolute; 
  transition: all 0.3s ease 0s; 
  -webkit-transition: all 0.3s ease 0s; 
  z-index: -1;
}

nav li a:hover:after{ height: 0px; }
nav li:first-child  a:after { background: var(--running);  }
nav li:nth-child(2) a:after { background: var(--climbing); }
nav li:nth-child(3) a:after { background: var(--cycling);  }
nav li:nth-child(4) a:after { background: var(--hiking);   }
nav li:nth-child(5) a:after { background: var(--paddling); }
nav li:nth-child(6) a:after { background: var(--swimming); }

h1, h2, h3 {
  text-align: center;
}
.hero {
  margin: 100px auto;
  width: 80%;
}
.hero h1 {
  color: var(--gayzelles-red);
  margin: 100px 0;
  text-align: center;
  font-size: 60px;
  text-shadow: var(--text) 2px 2px, rgba(0, 0, 0, 0.4) 0px 4px 10px;
}

.hero .cta {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  padding-top: 20px;
}

.hero .cta a {
  padding: 30px;
  background: none;
  border: var(--sub-text) 1px solid;
  corner-shape: squircle;
  border-radius: 30px;
  font-family: var(--font-content);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition: 200ms;
  text-decoration: none;
}
.cta a:hover {
  background: var(--sub-text);
  border-radius: 90px;
  color: var(--bg-nav);
}

h2, h3 {
  color: var(--sub-text);
  font-weight: normal;
  letter-spacing: 1px;
}

.committee-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px;
}
.committee-box li {
  color: var(--sub-text);
  list-style: square;
}

.constitution {
  text-align: center;
}
.constitution a {
  color: var(--sub-text);
}

.sport-box {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-content);
}

.sport-box span.sport-name {
  color: var(--text);
  text-shadow: var(0, 0, 0, 0.4) 0px 4px 10px;
  font-size: 35px;
  font-style: italic;
  padding-left: 20px;
}

span.sport-name.running { text-shadow: var(--running) 1px 2px; }
span.sport-name.climbing { text-shadow: var(--climbing) 1px 2px; }
span.sport-name.cycling { text-shadow: var(--cycling) 1px 2px; }
span.sport-name.hiking { text-shadow: var(--hiking) 1px 2px; }
span.sport-name.paddling { text-shadow: var(--paddling) 1px 2px; }
span.sport-name.swimming { text-shadow: var(--swimming) 1px 2px; }

.sport-box div {
  background-color: rgba(255, 255, 255, 10%);
  padding: 20px;
  margin-top: -15px;
  margin-bottom: 30px;
}
.sport-box .highlight {
  padding: 2px 10px;
  background-color: var(--bg-nav);
  transform: skew(0.99turn, 360deg);
  display: inline-block;
  opacity: 80%;
}

@media screen and (max-width: 768px) {
    /* Styles for screens up to 768px width */
  header.navigation {
    width: 100%;
  }
  header.navigation nav {
    display: none;
    /* float: left;
    position: fixed;
    bottom: 0;
    left: -15px;
    height: 20px;
    z-index: 1;
    width: 100%; */
  }
  /* header.navigation nav ul {
      justify-content: center;
  }
  header.navigation nav ul li {
    width: 17%;
  } */

  .hero h1 { font-size: 40px; margin: 50px 0; }
  .hero h2 { font-size: 15px; }
  .hero h3 { font-size: 12px; }

  .hero .cta,
  .committee-box {
    flex-direction: column;
  }
  .hero .cta a {
    padding: 10px;
    text-align: center;
    font-size: 15px;
  }
}