@font-face {
    font-family: "Primary";
    src: url("../fonts/GeneralSans-Regular.woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Primary";
    src: url("../fonts/GeneralSans-Medium.woff2");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Secondary";
    src: url("../fonts/Gambarino-Regular.woff2");
    font-weight: 400;
    font-display: swap;
}

:root,
*::before,
*::after {
    --aspect-ratio-landscape: 16/9;
    --aspect-ratio-portrait: 560/840;
    --color-primary: #1D3B38;
    --color-accent: #0A853D;
    --color-accent-2: #CEE866;
    --color-black: #1C1C1C;
    --color-background: #EDEDED;
    --color-grey: #777777;
    --color-grey-light: #D7D7D7;
    --color-red: #F82929;
}

img {
    object-position: top !important;
}

.font-secondary {

    font-weight: 400;
    font-family: "Secondary";

}

.font-bold {

    font-weight: 700;
    font-family: "Primary";
}

.color-grey {
    color: var(--color-grey);
}

.background-primary {
    background: var(--color-primary);
}

.list-style-type-none {
    list-style-type: none;
}

::-moz-selection {
    background: var(--color-primary);
    color: var(--color-white);
}

::selection {
    background: var(--color-primary);
    color: var(--color-white);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition: background-color 5000s ease-in-out 0s;
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: var(--color-iherit) !important;
}

.text-uppercase {
    text-transform: uppercase;
}

.logo-container * {
    transition: var(--transition);
}

p {
    line-height: 1.75;
}

*[style*="line-clamp"] {

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--line-clamp);
    line-clamp: var(--line-clamp);
    overflow: hidden;
}

.opacity-05 {
    opacity: 0.5;
}

.h1 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
    font-family: "Secondary";
    position: relative;
    z-index: 1;
}

.h1::before {

    content: "";
    position: absolute;
    left: -1rem;
    bottom: -.25rem;
    width: calc(100% + 2rem);
    height: 1rem;
    background: var(--color-accent-2);
    border-radius: 2rem;
    z-index: -1;

}

.background-inverted {
    background: var(--color-background);
}

.gradient-background {

    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;

}

.border-radius {
    border-radius: 0.625rem;
}

.display-block {
    display: block;
}

.text-underline-black {

    border-bottom: solid .0625rem rgba(0, 0, 0, .1);
    padding-bottom: 2rem;

}

.text-underline-white {

    border-bottom: solid .0625rem rgba(255, 255, 255, .5);
    padding-bottom: 2rem;

}

.hover-underline,
.top-bar nav ul li a,
.footer ul li a {
    font-weight: 700;
    display: inline-flex;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hover-underline::before,
.top-bar nav ul li a::before,
.footer ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0.0625rem;
    width: 100%;
    background: var(--color-black);
    transition: inherit;
    transform-origin: left;
    transform: scaleX(0);
}

.hover-underline.hover-underline--white::before,
.footer ul li a.hover-underline--white::before {
    background: var(--color-white);
}

.cta {

    line-height: 1;
    cursor: pointer;
    text-transform: uppercase;
    background: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
    color: var(--color-white);
    border-radius: 2rem;
    padding: .75rem 1.5rem;
    transition: var(--transition);
    outline: none;
    border: none;

}

.cta.cta--2 {
    background: var(--color-primary);
}

.cta::before {

    content: "";
    display: block;
    height: .5rem;
    width: .5rem;
    background: var(--color-accent-2);
    border-radius: 50%;

}

.top-bar {
    position: fixed;
    padding: 1.5rem 0;
}

.top-bar .menu__items {
    gap: 2rem;
}

.top-bar .langs .langs__trigger svg {

    height: 1.5rem;
    width: 1.5rem;

}

.top-bar .langs .langs__buttons {
    position: absolute;
    background-color: var(--color-primary);
    display: flex;
    top: .5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: .25rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;

}

.top-bar .langs .langs__buttons button {

    background: transparent;
    color: var(--color-white);
    border: none;
    outline: none;
    cursor: pointer;
    padding: .5rem .75rem;

}

.top-bar .langs .langs__buttons button[data-active] {

    opacity: .5;
    pointer-events: none;

}

.top-bar .langs .langs__buttons[data-active] {

    opacity: 1;
    pointer-events: all;

}

.top-bar nav ul li[data-active] a::before {

    transform: none;

}

body[data-scrolled] .top-bar {

    background: var(--color-white);

}

.hero-section {

    height: 85vh;
    margin-top: 10vh;
    margin-bottom: 5vh;
    overflow: hidden;
    position: relative;
    padding-top: 20vh;

}

.hero-section .hero-section__background {

    position: absolute;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    object-fit: contain;

}

.hero-section .hero-section__title {

    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    font-size: 12rem;
    position: relative;
    line-height: 1.2;

}

.hero-section .hero-section__title::before,
.hero-section .hero-section__title::after {
    content: "";
    position: absolute;
    left: calc((-100vw + var(--grid-container-max-width) - 1.875rem) / 2);
    top: 0;
    width: 100vw;
    height: .0625rem;
    background: var(--color-grey-light);
}

.hero-section .hero-section__title::after {

    top: auto;
    bottom: 0;

}

.hero-section .hero-section__title__decoration {

    position: absolute;
    left: 0;
    top: 0;
    font-size: .875rem;
    text-transform: uppercase;
    background: var(--color-accent-2);
    border-radius: 1rem;
    line-height: 1;
    padding: .5rem 1rem;

}

.hero-section .hero-section__title__decoration:nth-child(2) {

    left: 15%;
    top: 15%;
    transform: rotate(-10deg);

}

.hero-section .hero-section__title__decoration:nth-child(3) {

    left: 47%;
    top: 60%;
    transform: rotate(5deg);

}

.hero-section .hero-section__title__decoration:nth-child(4) {

    left: 83%;
    top: 20%;
    transform: rotate(-10deg);

}

.contact-form input,
.contact-form textarea {
    border: none;
    outline: none;
    border-bottom: solid 0.0625rem var(--color-black);
    padding-bottom: 1rem;
    resize: none;
    background: transparent;
}

.form.newsletter-form .checkbox-virtual .checkbox-virtual__checkbox {

    border-color: var(--color-white);

}

.socials svg{

    height: 3rem;
    width: 3rem;

}

.footer ul li a::before {
    background: var(--color-white);
}

.section {
    padding: 10vh 0;
}

.section:nth-child(2n + 1) {
    background: var(--color-background);
}

.section .h1 {
    font-size: 3rem;
    text-align: center;
}

.section--subscribe {

    background: var(--color-accent) !important;
    color:var(--color-white);
    padding: 15vh 0;

}

.form.newsletter-form input{

    background: transparent;
    width: 100%;
    border: none;
    outline: none;
    border-bottom: solid .0625rem var(--color-white);

}

.section--subscribe button.cta {

    padding: 1.5rem;
    width: 100%;

}

.section--about-me {

    background: var(--color-primary) !important;
    color: var(--color-white);

}

.section--about-me .link-scroll{

    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    width: 4rem;
    border: solid .0625rem var(--color-white);
    border-radius: 50%;
    transition: var(--transition);

}

.section--about-me .link-scroll svg {

    height: 1rem;
    width: 1rem;
    transition: var(--transition);

}

.section--about-me .link-scroll svg *{

    transition: var(--transition);

}

.section--about-me .about-me-image-container {

    height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
}

.section--about-me .about-me-image-container img{

    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
    z-index: 0;

}

.section--about-me .about-me-image-container .text {

    z-index: 1;

}

.section--about-me .passion svg,
.section--passions .passion svg{
    height: 4rem;
    width: 4rem;
    margin-left: -.5rem;
    margin-bottom: -.5rem;
}

.section--articles .article,
.section--passions .article{

    background: var(--color-background);
    padding: 2rem;
    transition: var(--transition);

}

.section--passions .article,
.section--articles-page .article {

    background: var(--color-white);

}

.section--articles .article svg,
.section--passions .article svg{

    height: 3rem;
    width: 3rem;
    margin-left: auto;
    margin-right: auto;

}

.footer {
    background: var(--color-primary);
    padding: 10vh 0 2rem 0;
    color: var(--color-white);
    position: relative;
    z-index: 99;
}

.page-decoration {

    position: absolute;
    pointer-events: none;
    max-width: calc(50vw - var(--grid-container-max-width) / 2);

}

.page-decoration--1 {

    left: 0;
    bottom: -15vh;

}

.page-decoration--2 {

    right: 0;
    top: 0;

}

.hero-section__full {

    height: 100vh;

}

.hero-section__full .quotes-decoration,
.hero-section__full .quotes-decoration svg{

    height: 4rem;
    width: 6rem;

}

.section--mission {

    background: var(--color-primary) !important;
    color: var(--color-white);

}

.section--mission circle {

    fill: transparent;

}

.section--mentoring circle {

    fill: var(--color-accent-2);

}

.z-index-999 {

    position: relative;
    z-index: 999;

}

.swiper-navigation {

    display: flex;
    height: 4rem;
    gap: 1rem;
}

.swiper-button-prev,
.swiper-button-next {

    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    transition: var(--transition);
    transform: none;
    margin: 0;

}

.swiper-button-prev::after,
.swiper-button-next::after {

    content: "";

}

.swiper-button-prev,
.swiper-button-next,
.swiper-button-prev svg,
.swiper-button-next svg {

    height: 4rem;
    width: 4rem;

}

.swiper-slide {

    transition: var(--transition);
    opacity: 0;
    pointer-events: none;

}

.swiper-slide.swiper-slide-visible {

    opacity: 1;
    pointer-events: all;

}

body.page-secondary .top-bar + .section {

    padding-top: 20vh;

}

.section--contact form{

    background: var(--color-white);
    padding: 3rem;
    border-radius: .625rem;

}

.section--article-body .form--guest {
    padding: 2rem;
    border-radius: .625rem;
    background: var(--color-background);
}

.hero-section____full--2 {

    height: 80vh;

}

.section--article-body {

    padding-top: 0;

}

.section--article-body .share-cnt {

    position: sticky;
    top: 0;
    background: var(--color-white);
    padding: .5rem 0;
    transition: var(--transition);

}

body[data-scroll-y-dir-thresholed="up"] .section--article-body .share-cnt {

    top: var(--top-bar-height);

}

.article-related {

    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem;
    padding-left: 4rem;
    color: var(--color-white);
    border-radius: 2rem;
    transition: var(--transition);

}

.article-related .article-image {

    max-width: 6.25rem;
    aspect-ratio: var(--aspect-ratio-portrait);

}

.article-related .article-image img {

    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 4rem;

}

.article-related .article-related__category {

    position: absolute;
    font-size: .875rem;
    text-transform: uppercase;
    z-index: 9;
    left: 1rem;
    top: 50%;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transform: translateY(-50%) rotate(-90deg);

}

.related-articles {

    position: sticky;
    top: var(--top-bar-height);

}

.podcast {

    cursor: pointer;
    transition: var(--transition);

}

.podcast[data-active] {

    opacity: .5;
    pointer-events: none;

}

.podcast iframe {

    height: auto !important;
    width: 100% !important;
    aspect-ratio: 16/9;
    border-radius: .625rem;

}

.podcast .podcast__tags,
.podcast .podcast__date {

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    line-height: 1;
    border-radius: 2rem;

}

.podcast .podcast__tags {

    background: var(--color-accent-2);

}

.podcast .podcast__date {

    background: var(--color-white);

}

.podcast img{

    width: 100%;
    aspect-ratio: var(--aspect-ratio-landscape);
    object-fit: cover;

}

.prizes-container {

    position: relative;

}

.prize .prize-year-number {

    display: inline-flex;
    background: var(--color-primary);
    color: var(--color-accent-2);
    padding: .25rem 1rem;
    line-height: 1;
    border-radius: .5rem;
    margin-right: 1rem;

}

.prize .prize-year-decoration {

    height: 2rem;
    width: 2rem;
    border: solid .0625rem var(--color-primary);
    background: var(--color-background);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(2rem);
    border-radius: 50%;

}

.prize .prize-year-decoration::before {

    content: "";
    position: absolute;
    height: 1rem;
    width: 1rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-accent-2);
    border-radius: 50%;

}

.prize .prize-year-decoration::after {

    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(100%, -50%);
    height: .0625rem;
    width: 10rem;
    z-index: 0;
    background: var(--color-primary);

}

.prize .image-container {

    z-index: 99;
    position: relative;
    border-radius: .625rem;

}

.prize.prize--2 .prize-year-decoration {

    transform: translateX(-2rem);

}

.prize.prize--2  .prize-year-decoration::after {

    right: auto;
    left: 0;
    transform: translate(-100%, -50%);

}

.section--mentoring  .article-related .article-image {

    max-width: unset;
    border-radius: 10rem;

}

.section--mentoring  .article-related .article-image img {

    border-radius: 10rem;

}

.section--mentoring  .article-related  {

    justify-content: flex-start;

}

.footer ul {

    list-style-type: none;

}

@media (min-width: 1023px) {

    .hover-zoom-in-mini {
        transition: var(--transition);
    }

    .hover-zoom-in-mini:hover {
        transform: scale(1.05);
    }

    .article-related:hover {

        transform: scale(1.025);

    }

    .prizes-container::before {

        content: "";
        position: absolute;
        left: 50%;
        top: 3rem;
        transform: translateX(-50%);
        height: calc(100% - 3rem);
        width: .0625rem;
        background: var(--color-primary);
    
    }

    .section--articles .article:hover {

        background: var(--color-primary);
        color: var(--color-white);

    }

    .hover-underline:hover::before,
    .top-bar nav ul li a:hover::before,
    .footer ul li a:hover::before {
        transform: none;
    }

    .top-bar .langs .langs__trigger:hover {
        transform: scale(1.1);
    }

    .cta:hover {

        gap: 1rem;

    }

    .socials a:hover,
    .socials div:hover {

        transform: scale(1.1);

    }

    .section--about-me .link-scroll:hover {

        background: var(--color-white);

    }

    .section--about-me .link-scroll:hover svg * {

        fill: var(--color-black) !important;
        stroke: var(--color-black) !important;

    }

}

@media (max-width: 1023px) {

    .article-related {

        padding-left: 2rem;
        padding-top: 4rem;
         
    }

    .section--mentoring .article-related .article-image {

        width: 80%;
        margin-left: 10%;

    }

    .article-related .article-related__category {

        left: 0;
        width: 100%;
        top: 1.5rem;
        transform: none;

    }

    .section .h1 {
        font-size: 2rem !important;
    }

    .section--article-body .socials svg {

        height: 2rem;
        width: 2rem;
    
    }

    .prize-year-decoration {

        margin: auto;
        transform: none !important;

    }

    .prize .prize-year-number {

        margin: 0;
        margin-bottom: 1rem;

    }

    .prize .prize-year-decoration::after,
    .prize.prize--2 .prize-year-decoration::after {

        width: .0625rem;
        height: 4rem;
        right: auto;
        left: 50%;
        bottom: 0;
        top: auto;
        transform: translateY(100%) !important;

    }

    body.page-secondary .top-bar + .section {

        padding-top: 15vh;

    }

    .small-z-index-999 {

        z-index: 999;

    }

    .menu {

        padding-top: calc(var(--top-bar-height) + 5vh);

    }

    .menu__item {

        text-align: center;

    }

    .menu--intro-from-top-right::before {

        background: var(--color-white);

    }

    .hero-section {
        padding-top: 10vh;
        height: auto;
        margin-top: var(--top-bar-height);
        margin-bottom: 0;

    }

    .hero-section .hero-section__background {

        position: static;
        left: auto;
        top: auto;
        transform: none;
        margin-top: 2rem;

    }

    .hero-section .hero-section__title {

        font-size: 2rem;
        display: block;

    }

    .hero-section .hero-section__title__decoration {

        display: none;

    }

    .section--subscribe {

        padding: 7.5vh 0;

    }

    .section--about-me .passion svg,
    .section--passions .passion svg {

        height: 3rem;
        width: 3rem;
        margin-left: 0;
        margin-bottom: -1rem;

    }

    .section--about-me .about-me-image-container {

        height: auto;
        padding: 5vh 0;

    }

    .section--about-me .about-me-image-container img {

        opacity: .5;
        pointer-events: none;

    }

    .hero-section__full {

        height: auto;
        padding: 15vh 0;

    }

    .hero-section__full .quotes-decoration, .hero-section__full .quotes-decoration svg {

        height: 2rem;
        width: 3rem;

    }

}

@media all and (min-width: 1023px) and (max-width: 1440px) {
    html {
        font-size: 75%;
    }
}