/* General */
body {
    font-family: "Outfit", sans-serif;
}

/* Backgrounds */
.bg-primary {
    background-color: #0e3b3f;
}

.bg-secondary {
    background-color: #4c9374;
}

.bg-tertiary {
    background-color: #cc7130;
}

.bg-gradient-light {
    background: #dce9e7;
    background: linear-gradient(21deg,rgb(255, 255, 255) 0%, rgba(31, 113, 184, 1) 100%);
}

.bg-gradient {
    background: #ADD9D2;
    background: linear-gradient(21deg,rgba(173, 217, 210, 1) 0%, rgba(31, 113, 184, 1) 100%);
}

.bg-gradient-dark {
    background: rgba(14, 59, 63, 1);
    background: linear-gradient(21deg,rgba(14, 59, 63, 1) 0%, rgba(31, 113, 184, 1) 100%);
}

/* Texts */

.text-primary {
    color: #232323;
}

.text-secondary {
    color: #4c9374;
}

.text-heading-dark {
    color: #0e3b3f;
}

.text-white {
    color: white;
}

.text-gradient {
  background: -webkit-linear-gradient(21deg,rgba(14, 59, 63, 1) 0%, rgba(31, 113, 184, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-bold {
    font-weight: bold;
}

/* Margins */

.mb-5 {
    margin-bottom: 5rem;
}

/* Paddings */

.pb-5 {
    padding-bottom: 5rem;
}

/* Titles */

.section-title {
    font-size: 4rem;
    font-weight: 600;
    padding-top: 3rem;
    padding-bottom: 4rem;
    line-height: 5rem;
}

/* Parcours heading */

.parcours-header-content {
    z-index: 1;
    color: #ffffff;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #0e3b3f;
}

.parcours-header-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 3rem;
}

.parcours-container {
    display: flex;
    align-items: center;
    font-size: 20rem;
    font-weight: bold;
    height: 100%;
    z-index: 1;
}

.parcours-header-content-elevation {
    font-size: 10rem;
}

.parcours-header-content-svg path {
    stroke: #ffffff !important;
}

.parcours-title {
    font-size: 4rem;
    font-weight: 600;
}

.parcours-elevation {
    font-size: 2rem;
}

.parcours-wrapper {
    display: flex;
    flex-direction: column;
}

.parcours-content {
     flex: 0 0 50%;
     padding: 3rem;
     font-weight: 500;
}

.parcours-thumbnail {
    flex: 0 0 50%;
}

.parcours-thumbnail img {
    height: 30rem;
    width: 100%;
    object-fit: cover;
}



/* Header */

.header {
    display: flex;
    padding: 5rem 0;
    align-items: center;
    justify-content: center;
}

.header-image {
    max-width: 125rem;
    position: relative;
    margin-left: 5rem;
}

.header-title {
    font-family: "Cal Sans", sans-serif;
    font-weight: 900;
    font-size: 5rem;
    padding-top: 3rem;
    line-height: 3rem;
    color: #ffffff;
    position: absolute;
    margin-right: 5rem;
    z-index: 1;
}

.header-title-downsized {
    font-size: 3rem;
}

.site-logo {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
}

.header-date {
    color: #0e3b3f;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.header-location-icon {
    color: #0e3b3f;
    font-size: 2.5rem;
}

.header-location {
    display: flex;
    align-items: center;
    font-size: 2rem;
    gap: 1rem;
    margin-bottom: 3rem;
    font-weight: 500;
    color: #0e3b3f;
}

.header-subscription-note {
    margin-bottom: 0;
}

a.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Menus */
.nav-menu {
    gap: 7rem;
    font-weight: 600;
    font-size: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.menu-item a {
    color: #0e3b3f;
}

.menu-item a:hover {
    color: #4c9374;
    transition-duration: 0.3s ease-out;
}

.current-menu-item {
    color: #cc7130;
}

.menu-toggle {
    background-color: transparent;
    width: 100%;
    margin-bottom: 3rem;
    margin-top: 3rem;
    border: none;
    padding-left: 0rem;
}

button.menu-toggle:focus, button.menu-toggle:hover {
    background-color: transparent;
}

.main-navigation.toggled ul {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    font-size: 2.5rem;
}

.burger {
    display: block;
    width: 25px;
    height: 3px;
    background: #0e3b3f;;
    position: relative;
}

.burger::before,
.burger::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 3px;
    background: #0e3b3f;;
    left: 0;
}

.burger::before {
    top: -8px;
}

.burger::after {
    top: 8px;
}

/* Footer */

.footer {
    padding-top: 8rem;
    height: 45rem;
}

.footer a {
    color: #add9d2;
}

.footer a:hover {
    transition: 0.3s ease-out;
    color: white;
}

/* Cards */
.card {
    background-color: white;
    border-radius: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.card-heading {
   display:flex;
   gap: 1rem;
   align-items: center;
   justify-content: space-between;
   padding: 2rem;
}

.card-thumbnail {
   height: 180px;
   width: 100%;
   object-fit: cover;
}

.card-footer {
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
    margin-top: 1rem;
}

 .row {
    gap: 2.5rem;
 }

.section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 2rem;
}

.centered-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Milligram override */
.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
    background-color: #0e3b3f;
    color: #ffffff;
    margin-bottom: 0rem;
    border: none;
}

button:hover,
.button:hover,
input[type="submit"]:hover {
    background-color: #4c9374;
    color: white;
}

.button, .button:hover, .button:visited {
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0rem;
}

.button-subscribal {
    font-size: 1.4rem;
    margin-bottom: 5rem;
}

li {
    margin-bottom: 0;
}

label {
    color: #0e3b3f;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #cc7130;
    outline: none;
}

/* Transition douce */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 404 */
.error-404 {
    display: flex;
    flex-direction: column;
    margin-top: 8rem;
    margin-bottom: 8rem;
    gap: 2rem;
    text-align: center;
}

/* Footer */
ul#footer-menu {
    list-style-type: none;
    font-size: 2rem;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    width: 10rem;
}

/* Queries */

@media (min-width: 360px) {
  .header-title {
    font-size: 8rem;
    line-height: 5rem;
  }

  .header-image {
    width: 50%;
    margin-left: 6rem;
  }

  .header-title {
    margin-right: 6rem;
  }
}


@media (min-width: 600px) {
    .main-navigation.toggled ul {
        flex-direction: row;
        gap: 5rem;
    }

    .parcours-title {
        font-size: 8rem;
    }

    .parcours-elevation {
        font-size: 4rem;
    }

    .section-title {
        font-size: 6rem;
    }
}




@media (min-width: 640px) {
    .section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (min-width: 768px) {
    .header-title {
        font-size: 16rem;
        line-height: 9rem;
    }

    .header-image {
        margin-left: 14rem;
    }

    .header-title {
        margin-right: 14rem;
    }

    .parcours-wrapper {
        flex-direction: row;
    }
}


@media (min-width: 1024px) {
    .section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}