/*
 * Theme Name : Project Hillclimb
 * Description : Wordpress theme for the Project-Hillclimb association website
 * Author : Araneite
 * Author URI : https://skycel.me
 * Version : 0.1.0
 */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Overlock:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap");
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  /* === Root Em = 10px === */
  font-size: 62.5%;
}

/* === Couleurs === */
/* === Responsive sizes === */
/* === Fonts ===*/
/* --- Font family --- */
/* --- Font sizes --- */
:root {
  --font-size-xs: 1.15rem;
  --font-size-sm: 1.3rem;
  --font-size-base: 1.6rem;
  --font-size-lg: 2rem;
  --font-size-xl: 2.5rem;
  --font-size-2xl: 3.5rem;
  --font-size-3xl: 4.5rem;
  --font-size-4xl: 5rem;
  --font-size-5xl: 6rem;
}

/* --- Font weights --- */
/* === Margin sizes === */
@media screen and (max-width: 992px) {
  :root {
    --font-size-xs: 1rem;
    --font-size-sm: 1.15rem;
    --font-size-base: 1.3rem;
    --font-size-lg: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-2xl: 2.5rem;
    --font-size-3xl: 3rem;
    --font-size-4xl: 3.5rem;
    --font-size-5xl: 4rem;
    --font-size-6xl: 5rem;
  }
}
@media screen and (max-width: 576px) {
  :root {
    --font-size-xs: 1rem;
    --font-size-sm: 1.3rem;
    --font-size-base: 1.6rem;
    --font-size-lg: 1.9rem;
    --font-size-xl: 2.2rem;
    --font-size-2xl: 2.5rem;
    --font-size-3xl: 2.8rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 3.6rem;
    --font-size-6xl: 4rem;
  }
}
@media screen and (max-width: 360px) {
  :root {
    --font-size-xs: .8rem;
    --font-size-sm: 1rem;
    --font-size-base: 1.3rem;
    --font-size-lg: 1.6rem;
    --font-size-xl: 1.9rem;
    --font-size-2xl: 2.2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 2.8rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.5rem;
  }
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: #0a0a0a;
  color: #FFFFFF;
  position: relative;
  width: 100vw;
}

* {
  box-sizing: border-box;
  margin: 0;
}

figure {
  width: 100%;
}
figure img {
  width: 100%;
}

.icon {
  width: 2.4rem;
  height: 2.4rem;
  color: inherit;
}
.icon.icon-xl {
  width: 5rem;
  height: 5rem;
}
.icon.icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
  background: #e8606f;
  border-radius: 67% 33% 29% 71%/39% 46% 54% 61%;
}

a {
  color: inherit;
  text-decoration: none;
}

.embed {
  color: #e0263a;
}

.circle {
  border-radius: 50%;
}

.rounded {
  border-radius: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: none;
  font-size: var(--font-size-base);
  cursor: pointer;
}

.btn-primary {
  background: #e0263a;
  color: #FFFFFF;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: #1f2e4e;
}

.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
}

hgroup {
  width: 40%;
  margin: 0 auto 5rem;
}
hgroup h2 {
  font-weight: 900;
  font-size: var(--font-size-3xl);
  margin-bottom: 2rem;
  font-family: "Overlock", serif;
  text-align: center;
}
hgroup p {
  text-align: center;
  font-size: var(--font-size-base);
  font-family: "Lato", sans-serif;
}
hgroup .important {
  margin-top: 1rem;
  font-weight: 700;
}
hgroup.light p {
  color: #c2bfc5;
}

@keyframes blob-radius {
  0% {
    border-radius: 67% 33% 29% 71%/39% 46% 54% 61%;
  }
  25% {
    border-radius: 69% 31% 19% 81%/43% 37% 63% 57%;
  }
  50% {
    border-radius: 67% 33% 16% 84%/57% 37% 63% 43%;
  }
  75% {
    border-radius: 77% 23% 61% 39%/36% 61% 39% 64%;
  }
  100% {
    border-radius: 67% 33% 29% 71%/39% 46% 54% 61%;
  }
}
.topbar {
  padding: 0.8rem 5rem;
  background: #1f2e4e;
  color: #c2bfc5;
  font-size: var(--font-size-base);
  font-family: "Lato", sans-serif;
  display: flex;
  justify-content: space-between;
}
.topbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.topbar ul li {
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar ul .topbar-link {
  transition: all 0.2s ease-in-out;
}
.topbar ul .topbar-link:hover {
  color: #F4F1F1;
}
.topbar ul:last-child .topbar-item {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.topbar ul:last-child .topbar-btn {
  padding: 0.7rem;
  background: #F4F1F1;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.3s ease-in-out;
  color: #e0263a;
}
.topbar ul:last-child .topbar-btn:hover {
  background: #e0263a;
  color: #F4F1F1;
}
.topbar .icon:not(.topbar-btn .icon) {
  color: #e0263a;
}
.topbar .topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
@media screen and (max-width: 992px) {
  .topbar {
    padding: 0.8rem 3rem;
  }
}
@media screen and (max-width: 768px) {
  .topbar {
    display: none;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 7rem;
  position: relative;
}
.navbar .logo svg {
  height: 8rem;
  color: #FFFFFF;
}
.navbar .nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  list-style: none;
  font-size: var(--font-size-base);
  font-family: "Lato", sans-serif;
  color: #FFFFFF;
}
.navbar .nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.navbar .nav-item a {
  transition: all 0.2s ease-in-out;
}
.navbar .nav-item a:hover {
  color: #e0263a;
}
.navbar .burger-btn {
  width: 40px;
  height: 35px;
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: all 0.2s ease-in-out;
  transition-delay: 0.2s;
}
.navbar .burger-btn div {
  width: 90%;
  height: 3px;
  background: #F4F1F1;
  border-radius: 3px;
  transition: transform 0.2s ease-in-out;
}
.navbar .burger-btn div:nth-child(2) {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
  transition-delay: 0.1s;
}
.navbar #nav-open:checked ~ .burger-btn {
  justify-content: center;
  position: relative;
}
.navbar #nav-open:checked ~ .burger-btn div:first-child, .navbar #nav-open:checked ~ .burger-btn div:last-child {
  position: absolute;
}
.navbar #nav-open:checked ~ .burger-btn div:first-child {
  transform: rotate(45deg);
}
.navbar #nav-open:checked ~ .burger-btn div:last-child {
  transform: rotate(-45deg);
}
.navbar #nav-open:checked ~ .burger-btn div:nth-child(2) {
  transition-delay: 0s;
  visibility: hidden;
  opacity: 0;
}
@media screen and (max-width: 768px) {
  .navbar {
    padding: 0.5rem 4rem;
  }
  .navbar #nav-open:checked ~ .nav-menu {
    right: 0;
    z-index: 999;
  }
  .navbar .nav-menu {
    padding: 2rem;
    flex-direction: column;
    width: fit-content;
    position: absolute;
    top: 100%;
    right: -100%;
    background: #0a0a0a;
    transition: right 0.3s ease-in-out;
  }
  .navbar .nav-menu .nav-item a {
    text-wrap: nowrap;
    padding: 0.5rem 3rem;
  }
  .navbar .burger-btn {
    display: flex;
  }
}

.card {
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.card:nth-child(even) .icon-bg {
  animation-direction: reverse;
}
.card.reverse {
  flex-direction: column-reverse;
}
.card-row {
  flex-direction: row;
}
.card-row.reverse {
  flex-direction: row-reverse;
}
.card-light {
  background: #f2f2f2;
  color: #000000;
}
.card-dark {
  background: #1f2e4e;
  color: #FFFFFF;
}
.card-invisible {
  padding: 0;
  color: #c2bfc5;
}
.card .card-header {
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  font-family: "Overlock", serif;
  font-size: var(--font-size-xl);
}
.card .card-header .img {
  position: relative;
  margin-bottom: 2rem;
}
.card .card-body {
  text-align: center;
  font-size: var(--font-size-base);
  font-family: "Lato", sans-serif;
}
.card .card-body h3 {
  margin-bottom: 2rem;
  font-family: "Overlock", serif;
  font-size: var(--font-size-xl);
}
.card .card-body p {
  line-height: 1.7;
}
.card .card-body li {
  margin-bottom: 1rem;
}
.card .icon-xl {
  color: #1f2e4e;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card .icon-bg {
  width: 7rem;
  height: 7rem;
  animation: blob-radius 5s ease-in-out alternate infinite;
}

footer {
  display: flex;
  flex-direction: column;
  padding: 5rem 10%;
  font-size: var(--font-size-base);
  font-family: "Lato", sans-serif;
  background: #10182a;
}
footer .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 0;
}
footer .footer-container ul {
  list-style: "";
  padding: 0;
  color: #c2bfc5;
}
footer .footer-container ul li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
footer .footer-container ul li a {
  transition: all 0.3s ease;
  transform-origin: left center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}
footer .footer-container ul li a:hover {
  letter-spacing: 1px;
  transform: scale(1.05);
  color: #e0263a;
}
footer .footer-container .column-group {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  width: 50%;
}
footer .footer-container .column-group .column:first-child {
  width: 50%;
}
footer .footer-container .column:last-child {
  width: 25%;
}
footer .footer-container h4 {
  font-weight: 900;
  font-family: "Overlock", serif;
  font-size: var(--font-size-xl);
  margin-bottom: 2rem;
}
footer .footer-container .waiting {
  color: #c2bfc5;
  margin-top: 2rem;
}
footer .footer-container .social-link {
  padding: 1rem;
  border-radius: 50%;
  color: #c2bfc5;
  background: #2e4472;
  transition: all 0.3s ease;
}
footer .footer-container .social-link:hover {
  transform: scale(1);
  color: #c2bfc5;
  background: #b91a2b;
}
footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(194, 191, 197, 0.2);
  color: #c2bfc5;
}
footer .footer-bottom a {
  color: #FFFFFF;
  text-decoration: underline;
}
@media screen and (max-width: 992px) {
  footer .footer-container {
    flex-direction: column;
    gap: 3rem;
  }
  footer .footer-container .column-group, footer .footer-container .column {
    width: 75%;
    justify-content: space-between;
    margin: auto;
  }
  footer .footer-container .column-group .column:last-child {
    width: 50%;
    text-align: right;
  }
  footer .footer-container .column-group .column:last-child li {
    justify-content: flex-end;
  }
}
@media screen and (max-width: 768px) {
  footer .footer-container .column-group {
    flex-direction: column;
    gap: 3rem;
  }
  footer .footer-container .column-group .column:last-child {
    text-align: center;
  }
  footer .footer-container .column-group .column:last-child li {
    justify-content: center;
  }
  footer .footer-container .column {
    width: 75% !important;
  }
  footer .footer-container .container-links {
    justify-content: center;
  }
}

/*# sourceMappingURL=style.css.map */
