@import url("../global/fonts.css");
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

:root {
    --color-red: #fc242c;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray: #e3e3e3;
    --color-gray-gradient: linear-gradient(
        180deg,
        rgba(212, 212, 212, 0.0123457) 0%,
        #cecece 99.99%,
        rgba(213, 213, 213, 0) 100%
    );
    --color-fade-background: linear-gradient(
        180deg,
        rgba(255, 254, 254, 0.0123457) 0%,
        #ffffff 99.99%,
        rgba(255, 255, 255, 0) 100%
    );
}

*::after,
*::before,
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: Obviously Light, sans-serif;
}

body {
    overflow-y: overlay;
    background-color: var(--color-white);
    margin: 0;
    padding: 0;
}

.career-layout {
    cursor: url("../../assets/img/careers-cursor.svg") 29 29, auto;
}

a,
a:hover,
a:visited,
a:active {
    color: inherit;
    text-decoration: none;
}

.career-layout a,
.career-layout a:hover,
.career-layout a:visited .career-layout a:active {
    cursor: url("../../assets/img/careers-cursor-hover.svg") 29 29, auto;
}

input {
    font-family: inherit;
    border-radius: 0;
    border: none;
}

input:focus-visible {
    outline: none;
}

ul {
    list-style: none;
}

.richtext ul {
    list-style-type: disc;
}

.richtext ul,
.richtext ol {
    padding-inline-start: 17px;
}

.career-layout button {
    cursor: url("../../assets/img/careers-cursor.svg") 29 29, auto;
}

button {
    background-color: unset;
    border: unset;
    color: var(--color-black);
    cursor: pointer;
}

button:disabled {
    cursor: auto;
}

b,
strong {
    -webkit-font-smoothing: antialiased;
}

address {
    font-style: normal;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 66px;
}

.app-header .header-container.white-header {
    background-color: transparent;
}

.app-header .header-container.white-header.scroll-up {
    animation: scrollUp 0.2s;
}

.header-container.white-header .header-logo,
.header-container.white-header.scroll-up .header-logo {
    content: url("/assets/img/nat-white.svg");
}

.header-container.white-header .header-search,
.header-container.white-header.scroll-up .header-search {
    content: url("/assets/img/search-white.svg");
}

.header-container.white-header .header-menu,
.header-container.white-header.scroll-up .header-menu {
    content: url("/assets/img/white-menu.svg");
}

.header-container.white-header .inner-navigation .nav-item.nav-item {
    color: var(--color-white);
}

.header-container.transparent-header {
    background-color: transparent;
}

body.no-animations * {
    transition-timing-function: step-end !important;
    transition-duration: 0s !important;
    animation-timing-function: step-end !important;
    animation-iteration-count: 1 !important;
    animation-duration: 0s !important;
}

/* Careers Image Section */

.careers-image-section {
    width: 100%;
}

.careers-image-section img {
    width: 100%;
    height: calc(0.81875 * 100vw);
    object-fit: cover;
    object-position: top;
    margin-bottom: 20px;
}

.careers-image-section .text-container {
    padding-inline: 24px;
}

.careers-image-section .quote {
    font-family: Arizona Light Italic;
    font-size: 18px;
    line-height: 26.1px;
    margin-bottom: 10px;
}

.careers-image-section .quote-origin {
    font-family: Obviously Light;
    font-size: 12px;
    line-height: 26.58px;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.careers-image-section.internship,
.careers-image-section.excellence {
    margin-bottom: 140px;
}

.careers-image-section.careers {
    margin-bottom: 117px;
}

.careers-button {
    display: flex;
    align-items: center;
    height: 30px;
    padding-inline: 20px;
    border-radius: 100vw;
    border: 1px solid var(--color-red);
    color: var(--color-red);
    font-size: 12px;
    line-height: 15px;
    font-family: Obviously Wide Medium;
}

.careers-button:visited {
    color: var(--color-red);
}

.careers-button:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    cursor: url("../../assets/img/careers-cursor-black.svg") 29 29, auto;
}

.rich-text ul ,
.rich-text ol  {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-block: 10px;
}

@media (min-width: 500px) {
    .careers-image-section img {
        height: calc(0.6 * 100vw);
    }
}

@media (min-width: 768px) {
    .careers-image-section.careers {
        margin-bottom: 348px;
    }

    .careers-image-section.excellence {
        margin-bottom: 267px;
    }

    .careers-image-section.internship {
        margin-bottom: 272px;
    }

    .careers-image-section img {
        height: calc(0.61328125 * 100vw);
        margin-bottom: 40px;
    }

    .careers-image-section .quote {
        font-size: 30px;
        line-height: 43.5px;
    }

    .careers-image-section .quote-origin {
        font-size: 16px;
        line-height: 35.44px;
    }
}

@media (min-width: 1194px) {
    .richtext ul,
    .richtext ol {
        padding-inline-start: 22px;
    }

    .careers-image-section {
        width: fit-content;
        height: 100vh;
        display: flex;
        justify-content: space-between;
        gap: 62px;
    }

    .careers-image-section {
        margin-bottom: unset;
        padding-inline-end: 60px;
    }

    .careers-image-section .text-container {
        padding-inline: unset;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-grow: 1;
        max-width: 750px;
    }

    .careers-image-section img {
        width: 519px;
        height: 100%;
        margin-bottom: unset;
    }

    .careers-image-section .quote {
        margin-bottom: 15px;
    }

    .careers-image-section .quote-origin {
        line-height: 25.04px;
    }
}

@media (min-width: 1500px) {
    .careers-image-section {
        width: 100%;
        gap: 194px;
    }

    .careers-image-section {
        margin-bottom: unset;
        padding-inline-end: 191px;
    }

    .careers-image-section img {
        max-width: 780px;
        flex-grow: 1;
    }

    .careers-image-section .quote {
        font-size: 36px;
        line-height: 52.2px;
        margin-bottom: 20px;
    }

    .careers-image-section .quote-origin {
        font-size: 20px;
        line-height: 44.3px;
    }

    .careers-button {
        height: 61px;
        padding-inline: 50px;
        font-size: 22px;
        line-height: 27px;
    }
}

@media (min-width: 1920px) {
    .careers-image-section {
        max-width: 1920px;
        margin-inline: auto;
    }
}
