@font-face {
    font-family: Formata;
    src: url(./fonts/BL.woff);
}

@font-face {
    font-family: InterUI;
    src: url(./fonts/Inter-UI-Black.ttf);
    font-weight: 700;
}

@font-face {
    font-family: InterUI;
    src: url(./fonts/Inter-UI-Bold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: InterUI;
    src: url(./fonts/Inter-UI-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: InterUI;
    src: url(./fonts/Inter-UI-Regular.ttf);
    font-weight: 400;
}


@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-15XXThin.woff) format('woff');
    font-weight: 100;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-16XXThinItalic.woff) format('woff');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-25XThin.woff) format('woff');
    font-weight: 200;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-26XThinItalic.woff) format('woff');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-35Thin.woff) format('woff');
    font-weight: 300;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-36ThinItalic.woff) format('woff');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-45Light.woff) format('woff');
    font-weight: 400;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-46LightItalic.woff) format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-55Roman.woff) format('woff');
    font-weight: 500;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-56Italic.woff) format('woff');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-65Medium.woff) format('woff');
    font-weight: 600;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-66MediumItalics.woff) format('woff');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-75Bold.woff) format('woff');
    font-weight: 700;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-76BoldItalic.woff) format('woff');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-95Black.woff) format('woff');
    font-weight: 800;
}

@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url(./fonts/HaasGrotDisp-96BlackItalic.woff) format('woff');
    font-weight: 800;
    font-style: italic;
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: "Neue Haas Grotesk", "Helvetica Neue", "Helvetica", Arial, sans-serif;
    box-sizing: border-box;
    background-color: rgb(0, 0, 0);
    color: #fff;
    font-size: 16px;
    width: calc(100vw - (100vw - 100%));
    overflow-x: hidden;
}

img,
video {
    border-radius: 2px;
    overflow: hidden;
}

h1,
h2 {
    font-size: 10px;
}

div {
    transition: 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

.fade {
    transition: opacity 0.3s ease-in;
}

.fadeOut {
    opacity: 0;
}

.fadeIn {
    opacity: 1;
}

h1 {
    font-weight: 500;
    letter-spacing: -1px;
    margin-block-start: 0;
    margin-block-end: 0;
}

h2 {
    letter-spacing: -1px;
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 40px;
    font-weight: 400;
}

.header-contact {
    padding: 20px;
}

.header-contact-item-call {
    fill: #fff;
}

.header-contact-item-call svg {
    width: 40px;
    height: 40px;
}

.header {
    width: 100vw;
    height: 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    position: fixed;
    z-index: 3;
}

.header-logo {
    padding: 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.header-logo-text {
    font-weight: 400;
    font-size: 6rem;
    white-space: nowrap;
}

.header-menu {
    display: flex;
    flex-direction: row;
    padding: 50px;
    align-items: center;
    display: none;
}

.header-menu>div {
    padding: 0 25px;
}

.header-menu-item {
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0px;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 150px;
    max-width: 1200px;
    margin: 0 auto;
}

.work,
.services,
.contact,
.personal,
.about {
    width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 200px;
}

.about {
    min-height: calc(50vh);
}

.service-group-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 800px;
}

.work-item {
    width: 300px;
    min-height: 600px;
    display: flex;
    flex-direction: row;
    margin: 0 0 150px 0;
}

.work-item-image {
    min-height: 600px;
    min-width: 800px;
}

.work-item-image-bg {
    height: 600px;
    width: 800px;
    object-fit: cover;
    position: absolute;
    z-index: 0;
}

.work-item-image-logo {
    max-width: 320px;
    max-height: 320px;
    z-index: 1;
}

.service-list {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}

.service-group {
    min-width: 200px;
    min-height: 200px;
}

.service-group-title {
    font-size: 13px;
    font-weight: 800;
    color: #e3e3e3;
    text-transform: uppercase;
}

.work-item-image-logo-wrapper {
    z-index: 1;
    position: absolute;
    min-width: 800px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    background-blend-mode: multiply;
    opacity: 1;
}

.work-item-image-logo-wrapper:hover {
    opacity: 0;
}

.work-item-text-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 240px;
    margin-left: 40px;
    position: relative;
}

.work-item-title {
    font-weight: 600;
}

.work-item-list-item {
    padding-left: 2.5px;
}

.work-item-list-item::marker {
    font-size: 12px;
    line-height: 9px;
}

.section-header {
    font-size: 5rem;
    margin-bottom: 40px;
}

.about {
    align-items: center;
    justify-content: center;
}

.work-item-desc-link {
    font-weight: 600;
}

.ipad-wrapper {
    display: grid;
    grid-template-columns: 47fr 1368fr 47fr;
    grid-template-rows: 47fr 1026fr 47fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    box-sizing: border-box;
}

.ipad-bg {
    grid-area: 1 / 1 / 4 / 4;
    aspect-ratio: 731 / 562;
    z-index: 1;
}

.ipad-screen {
    grid-area: 2 / 2 / 3 / 3;
    aspect-ratio: 683 / 512;
    overflow: hidden;
    z-index: 0;
}

.ipad-wrapper img {
    width: 100%;
}

.ipad-bg {
    pointer-events: none;
}

.ipad-screen:hover {
    /* s */
}

.work-item-arrow {
    font-size: 4em;
    font-family: Inter;
    align-self: flex-end;
    bottom: 0;
}

.work-item-text-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 240px;
    margin-left: 40px;
    position: relative;
    align-items: flex-start;
}

.work-item-text-wrapper a {
    align-self: flex-end;
}

.video {
    width: 100%;
}

.work-item-image-img {
    width: 100%;
}

.work-item-video {
    min-height: 0;
}

.section-header-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 4em;
    margin-bottom: 2em;
}

.section-header-type {
    font-size: 8rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-transform: uppercase;
    font-family: "Formata";
    word-break: break-word;
    text-align: center;
    padding: 1em 0;
}

.section-header-type::spelling-error {
    display: none;
}

[contenteditable] {
    outline: 0px solid transparent;
}

.section-header-logo img {
    max-width: 4em;
}

.locked {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 2;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.locked-wrapper {
    min-width: 300px;
    padding: 1em;
}

.locked-input {
    background-color: #000;
    color: #fff;
    outline: 0;
    border: 1px solid #3e3e3e;
    padding: 0 0.75rem;
    font-size: 16px;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    height: 3rem;
    box-sizing: border-box;

}

.locked-form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.locked-input:autofill {
    background: #131313;
}

.locked-button {
    width: auto;
    margin-left: 1rem;
    padding: 0 2rem;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    background-color: #000;
    color: #fff;
    border: 1px solid #3e3e3e;
    border-radius: 8px;
    height: 3rem;
}




@media only screen and (max-width: 1300px) {
    .main {
        max-width: auto;

    }

    .work-item {
        display: flex;
        flex-direction: column;
        margin: 0 50px 50px 0;
        width: 100%;
        min-height: auto;
    }



    .section-header-logo img {
        max-width: 80%;
    }

    .work,
    .services,
    .contact,
    .personal,
    .about {
        width: calc(100vw - 80px);
        margin-bottom: 200px;
    }

    .work-item-image {

        min-height: auto;
        min-width: auto;
        position: relative;

    }

    .work-item-image-bg {
        height: auto;
        width: 100%;
        position: relative;
    }

    .work-item-image-logo-wrapper {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        min-width: auto;
        min-height: auto;
    }

    .work-item-text-wrapper {
        margin: 40px 0 40px 0;
    }

    .work-item-image-logo {
        max-width: 50%;
    }

    .header-menu {
        display: none;
    }

    .header-logo-text {
        font-size: 3rem;
    }

    .section-header {
        font-size: 3rem;
    }

    .header-logo {
        padding: 20px;
    }

    .header {
        height: 100px;
    }

    .header-contact-item-call {
        display: block;
    }


    .about {
        min-height: calc(100vh - 200px);
        margin-bottom: 0;
    }

}