@import url('../fonts/mikrobe/stylesheet.css');

@font-face {
    font-family: 'New Nord';
    src: url('../fonts/new-nord/fonnts.com-New_Nord.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

:root {
    --mwm-neutral-color: #1B1810;
    --mwm-primary-color: #EACD68;
    --mwm-primary-color-hover: #D1AB4C;
    --mwm-font-primary: 'Mikrobe', sans-serif;
    --mwm-font-secondary: 'New Nord', sans-serif;
}

body {
    color: var(--mwm-neutral-color);
    font-family: var(--mwm-font-secondary);
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    font-family: var(--mwm-font-primary);
    font-weight: 400;
    line-height: .9;
}

/* MAIN BANNER */
.mwm-main-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 3rem 1rem;
}

.mwm-main-banner__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* CARD */
.mwm-card {
    max-width: 28rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--mwm-primary-color);
}

.mwm-card__header {
    background-color: var(--mwm-primary-color-hover);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1.25rem;
}

.mwm-card__header .mwm-card__header-title,
.mwm-subtitle {
    font-family: var(--mwm-font-secondary);
    line-height: 1;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}

.mwm-card__body {
    padding: 5rem 2.5rem;
}

.mwm-card__footer {
    background-color: var(--mwm-primary-color-hover);
    text-align: center;
    padding: 1.25rem 0.75rem;
}

/* COLS */
.mwm-l-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.mwm-l-cols__col {
    padding: 2.5rem .5rem;
}

/* BORDERS */
.mwm-border-r {
    border-right: .125rem solid var(--mwm-primary-color-hover);
}

.mwm-border-b {
    border-bottom: .125rem solid var(--mwm-primary-color-hover);
}

/* UTILITIES */
.mwm-text-center {
    text-align: center;
}

.mwm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* BUTTON */
.mwm-btn {
    display: inline-flex;
    padding: 0.75rem 1.25rem;
    gap: 0.625rem;
    border-radius: 25rem;
    background: var(--mwm-primary-color);
    border: none;
    font-family: var(--mwm-font-secondary);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        box-shadow .2s ease,
        background .2s ease,
        color .2s ease,
        font-size .2s ease;
}

.mwm-btn:hover {
    box-shadow: 0 0 0 2px var(--mwm-neutral-color) inset;
}

.mwm-btn span {
    display: inline-block;
}

.mwm-btn:hover span {
    animation: mwm-btn-animation .3s ease forwards;
}


@keyframes mwm-btn-animation {
    from {
        transform: scaleX(1.2);
    }
    to {
        transform: scaleX(1);
    }
}

.mwm-btn--dark {
    background: var(--mwm-neutral-color);
    color: var(--mwm-primary-color);
}

.mwm-btn--dark:hover {
    color: var(--mwm-neutral-color);
    background: var(--mwm-primary-color-hover);
}

.mwm-btn--ws {
    padding: 0.5rem 1.25rem;
}

.mwm-btn--ws:hover {
    box-shadow: none;
    background-color: var(--mwm-neutral-color);
    color: var(--mwm-primary-color);
}

.mwm-btn--secondary {
    background-color: var(--mwm-primary-color-hover);
}

/* L MAIN */
.mwm-l-main > *:not(:last-child) {
    margin-bottom: 2.5rem;
}

.mwm-main-title {
    margin-bottom: 2rem;
}

/* L INFO */
.mwm-l-info {
    margin-bottom: 2rem;
}

.mwm-l-info > *:not(:last-child) {
    margin-bottom: 1.25rem;
}

.mwm-info-title {
    font-family: var(--Fonts-Font-name-Secondary-font, "New Nord");
    font-size: var(--Fonts-Font-size-H300, 1.25rem);
    font-style: normal;
    font-weight: 600;
    line-height: 130%; /* 1.625rem */
    letter-spacing: var(--Fonts-Letter-spacing-H300, 0);
}

/* LOGO SLOGAN */
.mwm-logo {
    margin-bottom: 2rem;
}

/* FOOTER */
.mwm-footer {
    background-color: var(--mwm-neutral-color);
    padding: 2.5rem 0;
    color: var(--mwm-primary-color);
}

.mwm-l-footer {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 5rem;
    gap: 2rem;
}

.mwm-footer__slogan-wrapper {
    max-width: 28rem;
    margin-left: auto;
}

.mwm-footer__slogan {
    color: var(--Colors-Primary-P100, #EACD68);
    text-align: right;

    /* D100 */
    font-family: var(--mwm-font-primary);
    font-size: 4.375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 90%; /* 3.9375rem */
    letter-spacing: var(--Fonts-Letter-spacing-D100, 0);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .mwm-footer__slogan {
        font-size: 3rem;
    }
}

.mwm-footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mwm-footer-links nav ul {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.mwm-footer-links nav:first-child {
    color: var(--mwm-primary-color-hover);
}

@media (max-width: 768px) {
    .mwm-footer-links,
    .mwm-footer-links nav,
    .mwm-footer-links nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .mwm-footer-links nav:first-child {
        order: 1;
        margin-top: 2rem;
    }

    .mwm-footer-links nav:last-child {
        align-self: flex-end;
    }
}

.mwm-footer-links nav ul li a {
    text-decoration: none;
    font-family: var(--mwm-font-secondary);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
}

/* SOCIALS */
.mwm-socials {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    list-style: none;
}

/* PAGE */
.mwm-page {
    padding: 5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.mwm-page h1,
.mwm-page h2,
.mwm-page h3,
.mwm-page h4,
.mwm-page h5,
.mwm-page p,
.mwm-page ul,
.mwm-page ol,
.mwm-page li,
.mwm-page blockquote,
.mwm-page code,
.mwm-page pre,
.mwm-page table,
.mwm-page th,
.mwm-page td {
    margin: 1rem 0;
    line-height: 1.8;
}

.mwm-page h1 {
    font-size: 4rem;
}

/* PAGE 404 */
.mwm-page-404 {
    padding: 10rem 0;
}

.mwm-page-404 h1 {
    font-size: 10rem;
}

.mwm-page-404 p {
    margin: 3rem 0;
    font-size: 1.5rem;
}