* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    color: var(--transparent-white-medium);
    background-color: var(--grey);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    overflow-x: hidden;
}

button {
    font-family: 'Poppins', sans-serif;
}

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

.link {
    color: var(--white);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.link:hover {
    color: var(--transparent-white-medium);
}

.containerWide {
    padding-left: 5rem;
    padding-right: 5rem;
    width: 100%;
}

.containerNarrow {
    padding-left: 12.5rem;
    padding-right: 12.5rem;
    width: 100%;
}

.youtube-video {
    aspect-ratio: 16 / 9;
    width: 100%;
}   

.saturationOff {
    filter: saturate(0%);
}

/*--------------------------Open menu--------------------------*/

.openMenu {
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--Black, #000);
    position: fixed;
    width: 100%;
    height: 100vh;
}

.openMenuSocials {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 5rem;
}

.openMenuTopBar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
}

.openMenuContainer {
    display: flex;
    padding: 1.5rem 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    flex: 1 0 0;
    align-self: stretch;
}

.openMenuContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    flex: 1 0 0;
    align-self: stretch;
}

.openMenuTopBar svg {
    cursor: pointer;
}

.body-scroll-lock {
    touch-action: none;
    overflow: hidden;
  }

/*--------------------------header--------------------------*/

header {
    position: relative;
    height: 100vh;
}

.logo {
    width: 11.125rem;
    height: 2.4375rem;
    flex-shrink: 0;
}

.hamburger {
    display: none;
    width: 1.5rem;
    height: auto;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    cursor: pointer;
}

.topBar {
    position: fixed;
    z-index: 99;
    display: flex;
    padding: 2.625rem 5rem;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    background: linear-gradient(180deg, #0A0A0A 0%, rgba(10, 10, 10, 0.70) 44.8%, rgba(24, 24, 24, 0.00) 100%);
}

.headContent {
    display: flex;
    height: 100vh;
    padding-bottom: 5rem;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    flex-shrink: 0;
    align-self: stretch;
    position: relative;
}

model-viewer {
    width: 100%;
    height: 100%;
    position: absolute; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.claim {
    display: flex;
    padding: 0.6875rem 0rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
    z-index: 2;
}

.claimSmaller {
    max-width: 15.5rem;
}

.showreel {
    z-index: 2;
    max-width: 13.75rem;
    height: 7.71875rem;
    
}

.headContent a {
    z-index: 2;
    filter: saturate(0%);
    cursor: default;
}

.headContent a:hover {
    filter: saturate(100%);
    cursor: crosshair;
}

.menu {
    display: flex;
    width: 67.675rem;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.menu-item {
    display: flex;
    height: 3.75rem;
    padding-left: 1.5rem;
    padding-right: 1.1rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.menu-item:hover {
    background-color: var(--transparent-white-low);
    color: var(--white);
}

.socials {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.social-item {
    display: flex;
    height: 3.75rem;
    padding: 1.125rem 0.375rem;
    align-items: flex-start;
    gap: 0.625rem;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.social-item:hover {
    background-color: var(--transparent-white-low);
}

.social-item path {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--transparent-white-medium);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.social-item:hover path {
    fill: var(--white);
}


/*--------------------------work--------------------------*/

main {
    display: flex;
    padding-top: 12.5rem;
    padding-bottom: 12.5rem;
    flex-direction: column;
    align-items: center;
    gap: 12.5rem;
}

.projectRow {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.projectLeft {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

.projectRight {
    display: flex;
    padding-top: 320px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

.projectThumb {
    max-width: 46.25rem;
    width: 100%;
    filter: saturate(0%);
    transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

.projectThumb:hover {
    filter: saturate(100%);

}

.projectHeading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem;
    align-self: stretch;
}

.projectHeading h2 {
    color: var(--white);
}

.category {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    align-self: stretch;
}

/*--------------------------otherProjects--------------------------*/

.other h1 {
    text-align: right;
}

.other {
    display: flex;
    padding-top: 12.5rem;
    padding-bottom: 12.5rem;
    justify-content: center;
    align-items: center;
    gap: 7.5rem;
    align-self: stretch;
}

.projectLogos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.projectLogos img{
    max-width: 10rem;
    max-height: 10rem;
}

.otherRow {
    display: flex;
    align-items: flex-start;
    gap: 6rem;
}

.otherMobile {
    display: flex;
    padding-top: 5rem;
    padding-bottom: 5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3.75rem;
    align-self: stretch;
    text-align: center;
    display: none;
}

/*--------------------------footer--------------------------*/

.footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    position: relative;
}

.sphere {
    position: absolute;
    right: 0rem;
    bottom: 8.5625rem;
    max-width: 18.0625rem;
    max-height: 29.3125rem;
    z-index: -2;
}

.logoBig {
    position: absolute;
    bottom: 0rem;
    max-width: 100%;
    z-index: -1;
}

.mail {
    display: flex;
    padding-top: 16.25rem;
    padding-bottom: 16.25rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    align-self: stretch;   
}

.mail a {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.mail a:hover {
    color: var(--white);
}

.name {
    display: flex;
    padding-top: 5.6875rem;
    padding-bottom: 5.6875rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    align-self: stretch;
}

.nameRow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.copy {
    display: flex;
    padding-top: 5rem;
    padding-bottom: 5rem;
    align-items: center;
    gap: 5rem;
    align-self: stretch;
}

.unreal {
    flex: 1 0 0;

}

.unreal a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.unreal:hover{
    color: var(--white);
}

.unreal path{
    fill: var(--transparent-white-medium);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.unreal:hover path {
    fill: var(--white);
}

.links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2.5rem;
}

.links a {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.links a:hover{
    color: var(--white);
}

/* ------------------- video ------------------- */

.videoWrapper {
    position: relative;
    height: auto;
    width: 100%;
}

.video iframe {
    overflow: hidden;
    border-radius: 2.5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}