@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap");

:root {
    --light: #ffffff;
    --dark: #000;
    --color-white-100: hsl(206, 5%, 100%);
    --color-white-200: hsl(206, 5%, 90%);
    --color-white-300: hsl(206, 5%, 80%);
    --color-white-400: hsl(206, 5%, 65%);
    --color-white-500: hsl(206, 5%, 50%);
    --color-black-100: hsl(213, 20%, 10%);
    --color-black-200: hsl(213, 23%, 8%);
    --color-black-300: hsl(214, 21%, 6%);
    --color-black-400: hsl(210, 21%, 6%);
    --color-black-500: hsl(216, 22%, 4%);
    --color-black-600: hsl(220, 18%, 3%);
    --color-black-700: hsl(220, 27%, 2%);
    --color-black-800: hsl(180, 20%, 1%);
    --color-blue-100: hsl(214, 95%, 93%);
    --color-blue-200: hsl(213, 97%, 87%);
    --color-blue-300: hsl(212, 96%, 78%);
    --color-blue-400: hsl(213, 94%, 68%);
    --color-blue-500: hsl(217, 91%, 60%);
    --color-blue-600: hsl(221, 83%, 53%);
    --color-blue-700: hsl(224, 76%, 48%);
    --color-blue-800: hsl(226, 71%, 40%);
    --color-blue-900: hsl(224, 64%, 33%);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 16px 32px -16px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .1);
    --base__color-2__rgb: 32, 32, 32;
    --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    font-size: 100%;
    box-sizing: inherit;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: "Rubik", sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.5;
    height: -webkit-fill-available;
    min-width: 320px;
}

main {
    overflow: hidden;
}

a,
button {
    cursor: pointer;
    border: none;
    outline: none;
    user-select: none;
    background: none;
    box-shadow: none;
    text-decoration: none;
}

a {
    color: var(--color-black-400);
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.section {
    margin: 0 auto;
    padding: 6rem 0 8rem;
}

.container {
    max-width: 75rem;
    height: auto;
    margin: 0 auto;
    /* padding: 0 1.25rem; */
}

.centered {
    text-align: center;
    vertical-align: middle;
    margin-bottom: 1rem;
}

.headingXl {
    font-family: inherit;
    font-size: clamp(2.648rem, 6vw, 4.241rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.heading-lg {
    font-family: inherit;
    font-size: clamp(2.179rem, 5vw, 3.176rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.heading-md {
    font-family: inherit;
    font-size: clamp(1.794rem, 4vw, 2.379rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
}

.heading-sm {
    font-family: inherit;
    font-size: clamp(1.476rem, 3vw, 1.782rem);
    font-weight: 600;
    line-height: 1.5;
}

.heading-xs {
    font-family: inherit;
    font-size: clamp(1.215rem, 2vw, 1.335rem);
    font-weight: 500;
    line-height: 1.5;
}

.paragraph {
    font-family: inherit;
    font-size: clamp(1rem, 2vw, 1.125rem);
    text-wrap: balance;
}

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    user-select: none;
    outline: none;
    border: none;
    border-radius: 0.75rem;
    text-transform: unset;
}



.btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
}

.btnDarken.menuBlock {
    padding: 0.75rem 2rem;
    background-color: var(--color-black-200);
    border-bottom: none;
    line-height: 0;
    height: 2.7rem;
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btnDarkenArrow {
    fill: #ffffff;
    height: 1rem;
    margin-left: 1rem;
}


.btnDarken.menuBlock:hover {
    border-bottom: 2px solid var(--color-blue-600);
}

.btn-neutral {
    padding: 0.75rem 2rem;
    color: var(--color-black-500);
    background-color: var(--color-white-100);
    box-shadow: var(--shadow-medium);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: auto;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.header.onScroll {
    background: var(--light);
    border-bottom: 1px solid var(--color-blue-800);
    box-shadow: var(--shadow-medium);
    background-color: rgba(var(--light), .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.offScroll {
    border-bottom: 1px solid var(--color-blue-800);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    background-color: rgba(#ffffff, .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 1.25rem;
    width: 100%;
    height: 4.25rem;
    margin: 0 auto;
}

.brand {
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -1px;
    margin-bottom: 0;
}

.navbar.container {
    margin-bottom: 0;
    padding: 0 1.25rem;
}



.navbar.container a:hover {
    border-bottom: 2px solid var(--color-black-800);
}



.menuLink.menuLinkMobile {
    padding: 0.5rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.menuLink.menuLinkMobile:hover {
    border-bottom: none !important;
    background-color: rgba(35, 39, 47, .05);
    border-radius: 3rem;
}

.menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--light);
    box-shadow: var(--shadow-medium);
}

.menu.isActive {
    top: 68px;
    width: 100%;
    height: 100vh;
    border-top: 1px solid var(--color-blue-800);

}

.menu.isActive .menuInner {
    padding: 1rem;
    gap: 0.2rem;
    border-bottom: 0.75px solid #000000;
}

.menuItem{}


.menu.isInActive {
    transition: opacity 0.4s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.menuInner {
    display: flex;
    overflow-x: auto;
    justify-content: space-around;
    row-gap: 1.25rem;
    -ms-overflow-style: none;
    scrollbar-width: none;

}

.menuInner::-webkit-scrollbar {
    display: none;
}

.menuLink {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
    margin-bottom: 0;
}

.menuBlock {
    display: inline-block;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
    user-select: none;
    white-space: nowrap;
    text-align: center;
    margin-left: auto;
    padding: 0.65rem 1.5rem;
    border-radius: 0.75rem;
    text-transform: capitalize;
    color: var(--light);
    background-color: var(--color-blue-600);
    box-shadow: var(--shadow-medium);
    margin-bottom: 0;
}

@media only screen and (min-width: 48rem) {
    .menu {
        position: relative;
        top: 0;
        width: auto;
        height: auto;
        padding: 0rem;
        margin-left: auto;
        background: none;
        box-shadow: none;
        transition: none;
    }

    .menu.isInActive {
        transition: opacity 0.4s ease-in-out;
        opacity: 1;
        visibility: visible;
    }

    .menuInner {
        display: flex;
        flex-direction: row;
        column-gap: 2rem;
        margin: 0 auto;
    }

    .menuLink {
        text-transform: capitalize;
    }

    .menuBlock {
        margin-left: 2rem;
    }
}

.burger {
    position: relative;
    display: block;
    cursor: pointer;
    user-select: none;
    order: -1;
    z-index: 10;
    width: 1.6rem;
    height: 1.15rem;
    border: none;
    outline: none;
    background: none;
    visibility: visible;
    transform: rotate(0deg);
    transition: 0.35s ease;
}

@media only screen and (min-width: 48rem) {
    .burger {
        display: none;
        visibility: hidden;
    }
}

.burgerLine {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    border: none;
    outline: none;
    opacity: 1;
    border-radius: 1rem;
    transform: rotate(0deg);
    background-color: var(--color-black-800);
    transition: 0.25s ease-in-out;
}

.burgerLine:nth-child(1) {
    top: 0px;
}

.burgerLine:nth-child(2) {
    top: 0.5rem;
    width: 70%;
}

.burgerLine:nth-child(3) {
    top: 1rem;
}

.burger.isActive .burgerLine:nth-child(1) {
    top: 0.5rem;
    transform: rotate(135deg);
}

.burger.isActive .burgerLine:nth-child(2) {
    opacity: 0;
    visibility: hidden;
}

.burger.isActive .burgerLine:nth-child(3) {
    top: 0.5rem;
    transform: rotate(-135deg);
}

.bannerColumn {
    position: relative;
    display: grid;
    align-items: center;
    row-gap: 3rem;
    padding: 0 1rem;
}

@media only screen and (min-width: 48rem) {
    .bannerColumn {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
    }
}

@media only screen and (min-width: 64rem) {
    .bannerColumn {
        grid-template-columns: 1fr max-content;
        column-gap: 4rem;
        margin-top: 3rem;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.bannerImage {
    /* animation: rotate 60s linear infinite; */
    display: block;
    max-width: 18rem;
    height: 18rem;
    margin-top: 2rem;
    object-fit: cover;
    justify-self: center;
    /* filter: brightness(0) invert(1); */
}

@media only screen and (min-width: 48rem) {
    .bannerImage {
        order: 1;
        max-width: 20rem;
        height: 20rem;
    }
}

@media only screen and (min-width: 64rem) {
    .bannerImage {
        max-width: 25rem;
        height: 25rem;
        margin-right: 1rem;
    }
}

.bannerInner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1.75rem;
}

/* Footer */
.footer {
    position: relative;
    background-color: #fff;
    color: #333;
    padding: 2.5rem 0;
    overflow: hidden;
}

/* Background text */
.footer::before {
    content: "AFront";
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    color: rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.footerContainer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    flex-wrap: wrap;
    z-index: 1;
    /* Ensures content is above the background text */
}

.footerBrand {
    flex: 1;
    margin-bottom: 2rem;
}

.footerLogo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-black-400);
    text-decoration: none;
}

.footerDescription {
    margin-top: 0.625rem;
    font-size: 0.875rem;
    color: #8b8b8b;
}

.footerLinks {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.linkColumn {
    flex: 1;
    min-width: 12rem;
    margin-bottom: 2rem;
}

.footerTitle {
    font-size: 1rem;
    margin-bottom: 0.625rem;
    color: #777777;
}

.linkList {
    list-style: none;
    padding: 0;
}

.link {
    color: #909090;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.link:hover {
    color: #3a3a3a;
}

.footerBottom {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: #777;
}

.footerCopy {
    margin-bottom: 0.625rem;
}

.socialLinks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.socialLink {
    color: #909090;
    text-decoration: none;
    margin: 0 0.625rem;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.socialLink:hover {
    color: #3a3a3a;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footerContainer {
        flex-direction: column;
        align-items: center;
    }

    .footerLinks {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .linkColumn {
        margin-bottom: 1.5rem;
    }

    .footerCopy {
        font-size: 0.75rem;
    }

    .socialLinks {
        margin-top: 1rem;
    }

    .socialLink {
        font-size: 1rem;
        margin: 0 0.5rem;
    }

    .footer::before {
        content: "AFront";
        font-size: 5rem;
        top: 82%;
    }
}
