.animation {
    height: calc(100vh - 70px - 70px);
    width: calc(100vw - 15px - 15px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    position: relative;
}
.page-template-animation-demo .ast-container {
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    flex-direction: row !important;
}
.animation #heroVideo,
.animation .poster-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    -webkit-mask-image: url(https://tonymartindev.wpenginepowered.com/wp-content/uploads/2025/04/Shape_Mask_new_7.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: url(https://tonymartindev.wpenginepowered.com/wp-content/uploads/2025/04/Shape_Mask_new_7.svg);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    transition: all 5s ease;
    opacity: 0;
}
body.show-logo .animation #heroVideo,
body.show-logo .animation .poster-img img {
    opacity: 1;
}
.animation .header-logo img {
    height: 65%;
}
.animation .header-text img {
    height: 27.5%;
}
.translate-logo .animation .video-block {
    max-height: 100%;
}
.site-header .logo a img {
    height: 40px;
}
.site-header .title,
.site-header .logo,
.site-header .menu-icon {
    width: 33.3333%;
    opacity: 0;
    transition: all 1s ease;
}
.animation .video-block {
    width: 100%;
    max-height: 400px;
    height: 100%;
    position: relative;
    transition: all 1s ease;
}
.animation .header-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-height: 400px;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    transition: all 1.5s ease;
    opacity: 0;
    left: 0;
}
.translate-logo .animation .header-logo {
    /*transform: translateY(0);
    top: -55px;*/
    opacity: 1;
    /*height: 100px;*/
}
.translate-logo .animation .header-logo img {
/*    height: 50px;
    filter: brightness(0%);*/
    transition: all 1.5s ease;
}
.animation .header-text {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    max-height: 400px;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: end;
    transition: all 1.5s ease;
    opacity: 0;
    z-index: 2;
}
.translate-logo .animation .header-text {
    top: calc(100% - 420px);
    transform: translateY(0);
    opacity: 1;
}
/*.animation .header-logo h1 {
    opacity: 0;
    font-size: 18px !important;
    letter-spacing: 3px;
    position: absolute;
    width: 100%;
    bottom: -25px;
    text-align: center;
    left: 0;
    transition: all 0.5s ease;
    font-weight: 600;
    line-height: 1.4em;
    -webkit-text-fill-color: white;
    white-space: nowrap;
    font-family: "Clonoid W01 Regular", sans-serif !important;
}*/
/*.show-text .animation .header-logo h1 {
    opacity: 1;
    display: none;
}*/
.show-text .animation .header-text,
.show-text .animation .header-logo {
    opacity: 0;
}
.translate-logo .animation #heroVideo {
    -webkit-mask-image: none;
    mask-image: none;
}
.translate-logo .animation .video-block {
}
/*.translate-logo .animation .header-logo img {
    height: 100%;
}*/

.menu-open .site-header .humberger span {
    background: #fff;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
}
.site-header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.site-header .menu-icon {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.site-header .header-wrapper {
    width: 75vw;
    margin-left: auto;
    margin-right: auto;
}
.site-header .humberger {
    width: 25px;
    height: 25px;
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    box-shadow: none;
    z-index: 99999;
    transition: all 0.5s ease;
    align-items: center;
    align-content: center;
    row-gap: 8px;
}
.site-header .humberger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transform: scaleX(1);
    transition: all 0.3s ease;
}
.site-header .title {
    transform: translateY(-10px);
}
.site-header h1 {
    font-size: 18px !important;
    line-height: 1;
    letter-spacing: 3px;
    text-align: center;
    font-weight: 600;
    -webkit-text-fill-color: #000;
    white-space: nowrap;
    font-family: "Clonoid W01 Regular", sans-serif !important;
    text-transform: uppercase;
    display: inline-block;
}
.menu-open .site-header .humberger span:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-open .site-header .humberger span:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}
.site-header .menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 430px;
    height: 100vh;
    background: rgba(27, 27, 27, 0.5);
    color: white;
    z-index: 3000;
    padding-top: 120px;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}
.menu-open .site-header .menu-drawer {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.show-text .site-header .title,
.show-text .site-header .logo,
.show-text .site-header .menu-icon {
    opacity: 1;
}
/*.menu-open .humberger {
    display: none;
}*/
.site-header .menu-drawer .main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-header .menu-drawer .main-nav ul li a {
    color: white;
    text-decoration: none !important;
    font-size: 30px;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    transition: color 0.3s ease;
    font-family: "Inter", sans-serif;
}
.site-header .menu-drawer .main-nav ul li {
    margin: 20px 40px 20px 0;
    text-align: right;
}
.site-header .menu-drawer .main-nav ul li a:hover {
    color: #333 !important;
}
.site-header .menu-drawer .menu-close {
    width: 30px;
    height: 30px;
    display: flex;
    margin-left: auto;
    margin-right: 40px;
    padding: 0;
    background-color: transparent;
    justify-content: flex-end;
    align-items: center;
}
.site-header .menu-drawer .menu-close span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transform: scaleX(1);
}
@media only screen and (max-width: 1440px) {
    .animation {
        width: calc(100% - 30px);
    }
    .site-header {
        padding-left: 15px;
        padding-right: 15px;
    }
    .menu-open .site-header .menu-drawer {
        transform: translateX(0);
    }
}
@media only screen and (max-width: 1199px) {
    .animation {
        width: 100%;
    }
    .site-header {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media only screen and (max-width: 991px) {
    /*.animation,.site-header .header-wrapper {
        width: 100%;
    }*/
    .animation .video-block {
        overflow: hidden;
    }
    .animation #heroVideo,.animation .poster-img img {
        mask-size: 100vw 100%;
    }
    .animation #heroVideo {
        transition: all 1s ease;
        overflow: hidden;
        min-width: 1620px;
        width: 1620px;
    }
    .site-header .logo {
        display: none;
    }
    .menu-open .site-header .menu-drawer {
        transform: translateX(0);
    }
    .show-text .site-header .title {
        opacity: 0;
    }
    /*.animation .header-logo {
        transition: all 1s;
        opacity: 0;
    }*/
/*    .animation #heroVideo {
        height: 20vh;
        min-width: 1620px;
        width: 1620px;
    }
    .animation .video-block {
        height: 100vh;
        overflow: hidden;
    }*/
/*    .animation .header-logo {
        height: 20vh;
    }*/
/*    .translate-logo .animation .header-logo {
        transform: translateY(0) scale(1);
        top: 15px;
        opacity: 1;
        height: 100px;
    }*/
/*    .translate-logo .animation #heroVideo {
        height: 100vh;
    }*/
    .translate-logo .poster-img {
        display: none;
    }
/*    .translate-logo .animation .header-logo {
        height: 60px;
    }*/
/*    .animation .header-logo h1 {
        font-size: 10px !important;
        bottom: -18px;
    }*/
    /*.site-header {
        height: 92px;
        padding-right: 15px;
    }*/
    .site-header .menu-drawer .main-nav ul li a {
        font-size: 20px;
    }
    .site-header .menu-drawer {
        padding-top: 60px;
    }
    .site-header .menu-drawer .main-nav ul li {
        margin: 20px 20px 20px 0;
    }
}