.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 10;
    top: -24rem;
    left: 0;
    /* background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9); */
    overflow: hidden;
    transition: all 1s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}


/* .overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
} */

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    /* font-size: 60px; */
    z-index: 1;
}

.menu-icon {
    /* position: fixed; */
    top: 0.9rem;
    right: 1.6rem;
    /* padding: 30px 60px 0 0; */
    cursor: pointer;
    z-index: 2;
    height: 0.5492rem;
    width: 0.5492rem;
}

.menu-icon svg {
    color: var(--dark-choclate);
    transition: all ease-in-out;
    transition-delay: 0.5s;
}

.mobile-top .menu-icon svg {
    color: white;
}

.menu-row {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.menu-row .menu-left-col {
    background: #BDE5E5;
    height: 100%;
    width: 50%;
    padding: 1rem;
}

.menu-row .menu-right-col {
    background: white;
    height: 100%;
    width: 50%;
}

.menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 2rem;
}

.left-icon,
.right-icon {
    display: flex;
    align-items: center;
    gap: 20px;
}

.left-icon .menu-logo-name {
    font-size: 0.9rem;
    color: white;
    font-family: "Deutschlander 2.0";
    text-transform: uppercase;
    line-height: 0.65rem;
}

.menu-top i {
    color: white;
    font-size: 0.5rem;
}

.menu-link {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
    height: 93%;
    /* padding-top: 2rem; */
    padding-left: 15%;
}

.menu-link p {
    font-size: 0.65rem;
    color: white;
    text-transform: uppercase;
    line-height: 0.6rem;
}

.menu-link ul {
    padding: 0;
    margin: 0;
}

.menu-link ul li {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 3rem;
    position: relative;
    overflow: hidden;
}

.menu-link ul li a {
    color: var(--dark-choclate);
    position: relative;
}

.menu-right-col ul {
    padding: 0;
    margin: 0;
}

.menu-right-col ul li a {
    font-size: 2.4rem;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    height: 100%;
    /* color: inherit; */
}

.menu-right-col ul {
    height: 100%;
}

.menu-right-col ul li {
    height: 20%;
}


/* .menu-right-col ul .services a {
  background: white;
  color: var(--dark-pink);
  transition: transform 0.6s;
  transform-style: preserve-3d;
} */


/* .menu-right-col ul .methods {
  background: var(--dark-choclate);
  color: #bdd2db;
}
.menu-right-col ul .portfolio {
  background: #c8e7ea;
  color: white;
}
.menu-right-col ul .data-insight {
  background: #e4d8d0;
  color: white;
}
.menu-right-col ul .facts-figures {
  background: #9993ae;
  color: white;
} */

.closebtn {
    background: var(--dark-choclate);
    border-radius: 10rem;
    width: 45px;
    height: 45px;
    align-items: center;
    display: flex;
    justify-content: center;
    color: white;
}

.closebtn i {
    font-size: 24px;
    -webkit-transition: all 0.6s ease-in-out;
    line-height: 1;
}


/* .menu-right-col ul .services:hover{
  transform: rotateX(90deg);
    transform-style: preserve-3d;
  transition: all 1s;
  animation: flipV 1s linear;
}
.menu-right-col ul .services a:hover{
  transform: rotateX(90deg);
    transform-style: preserve-3d;
  background: var(--dark-pink);
  color:white;
} */


/* @keyframes flipV{
  0%{
    transform: rotateX(180deg);
  }
  100%{
    transform: rotateX(360deg);
  }
} */

.main-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--dark-choclate);
    transition: all ease-in-out;
    transition-delay: 0.5s;
}

.main-text:hover .menu-icon svg {
    transform: scale(1.2);
    transition-delay: 0s;
}

.main-text:hover span.pseudo-text-effect>span {
    transform: translateY(-100%);
}

.main-text:hover span.pseudo-text-effect::after {
    transform: translateY(0%);
}

.top-menu {
    z-index: 5;
    padding: .6rem 1rem 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    /* background: rgb(78, 68, 96);
  background: linear-gradient(0deg, rgba(78, 68, 96, 0) 0%, rgba(78, 68, 96, 0.6) 100%); */
}

.pseudo-text-effect {
    position: relative;
    padding: 0;
    overflow: hidden;
    transition: transform 0.5s;
    display: block;
    line-height: 0.8rem;
    text-transform: uppercase;
    font-size: .6rem;
    letter-spacing: 1px;
}

.pseudo-text-effect::after {
    content: attr(data-after);
    display: inline-block;
    transform: translateY(100%);
    position: absolute;
    left: 0;
    transition: inherit;
}

.pseudo-text-effect>span {
    display: inline-block;
    transform: translateY(0%);
    transition: inherit;
    padding-top: 6px;
}

.pseudo-text-effect:hover>span {
    transform: translateY(-100%);
}

.pseudo-text-effect:hover::after {
    transform: translateY(0%);
}

.menu-right-col ul li {
    /* perspective: 24rem; */
}

.single-card {
    text-align: center;
    transition: all 1.2s cubic-bezier(0.7, -0.5, 0.3, 1.8);
    transform-style: preserve-3d;
    position: relative;
    height: 100%;
    transition: transform 2s;
}

.single-card a.front {
    backface-visibility: hidden;
}

.back {
    /* transform: rotateY(180deg); */
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    /* backface-visibility: hidden; */
}

.menu-right-col ul li:hover .single-card {
    /* transform: rotateY(180deg); */
}

.services .single-card a.front {
    background: #d6d6d6;
    color: white;
}

.single-card a.back {
    width: 0px;
    overflow: hidden;
    white-space: nowrap;
    transition: all 1s;
}

.services:hover .single-card a.back {
    width: 100%;
    background: white;
}

.services .single-card a.back {
    color: #d6d6d6;
}

.methods:hover .single-card a.back {
    width: 100%;
    background: #bdd2db;
}

.methods .single-card a.back {
    color: var(--dark-choclate);
}

.portfolio:hover .single-card a.back {
    width: 100%;
    background: white;
}

.portfolio .single-card a.back {
    color: #c8e7ea;
}

.data-insight:hover .single-card a.back {
    width: 100%;
    background: white;
}

.data-insight .single-card a.back {
    color: #e4d8d0;
}

.facts-figures:hover .single-card a.back {
    width: 100%;
    background: white;
}

.facts-figures .single-card a.back {
    color: #9993ae;
}

.methods .single-card a.front {
    background: var(--dark-choclate);
    color: #bdd2db;
}

.methods .single-card a.back {
    background: #bdd2db;
    color: var(--dark-choclate);
}

.creatives .single-card a.front {
    background: #c8e7ea;
    color: white;
}

.creatives .single-card a.back {
    background: white;
    color: #c8e7ea;
}

.portfolio .single-card a.front {
    background: #c8e7ea;
    color: white;
}

.portfolio .single-card a.back {
    background: white;
    color: #c8e7ea;
}

.data-insight .single-card a.front {
    background: #e4d8d0;
    color: white;
}

.data-insight .single-card a.back {
    background: white;
    color: #e4d8d0;
}

.facts-figures .single-card a.front {
    background: #9993ae;
    color: white;
}

.facts-figures .single-card a.back {
    background: white;
    color: #9993ae;
}

.commerce .single-card a.front {
    background: #e4d8d0;
    color: white;
}

.commerce .single-card a.back {
    background: var(--dark-pink);
    color: #9993ae;
}

.digital .single-card a.front {
    background: #9993ae;
    color: white;
}

.digital .single-card a.back {
    background: var(--dark-choclate);
    color: #bdd2db;
}

.commerce:hover .single-card a.back {
    width: 100%;
    background: white;
}

.commerce .single-card a.back {
    color: #e4d8d0;
}

.digital:hover .single-card a.back {
    width: 100%;
    background: white;
}

.digital .single-card a.back {
    color: #9993ae;
}

.menu-content ul li a::before {
    content: attr(data-text);
    position: absolute;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    -webkit-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.menu-content ul li a:hover::before {
    width: 100%;
    color: #fdfdfd;
}

.menu-content ul li a:hover {
    color: var(--dark-choclate);
}

.closebtn i:hover {
    transform: scale(1.5);
    -webkit-transition: all 0.6s ease-in-out;
}

.elyts-text-top-header {
    position: fixed;
    top: .3rem;
    left: .5rem;
    z-index: 1;
}

.elyts-text-top-header a {
    font-size: 1rem;
    color: white;
    font-family: "Deutschlander 2.0";
    text-transform: uppercase;
}

.menu-right-icon {
    display: flex;
    align-items: center;
    gap: .4rem;
    /* position: fixed;
    top: .5rem;
    right: .5rem;
    z-index: 2; */
}

.pseudo-text-effect~#service-section {
    color: var(--dark-choclate);
}

.form-elyts {
    font-size: .36rem;
    color: var(--text);
    font-family: 'Manrope';
}

.form-elyts:hover {
    color: var(--dark) !important;
    font-weight: bold;
}

.menu-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-bottom .divider-line {
    width: 1.5px;
    height: 14px;
    background-color: var(--text);
}

.menu-top-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .2rem .6rem;
}

.menu-fixed-top .menu-top-left .menu-logo-name {
    font-size: 0.9rem;
    color: var(--dark-choclate);
    font-family: "Deutschlander 2.0";
    text-transform: uppercase;
    line-height: 0.65rem;
    margin-right: .5rem;
}

.menu-fixed-top .menu-top-left i {
    color: var(--dark-choclate);
    font-size: 0.36rem;
}

@media screen and (max-height: 450px) {
    .overlay {
        overflow-y: auto;
    }

    .overlay a {
        font-size: 20px;
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-top {
        border: 0.07em solid var(--darker-olive);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        background-color: rgb(255 255 255 / 40%);
        border-radius: 10px;
        padding: 2rem;
    }

    .left-icon .menu-logo-name {
        font-size: calc(1rem * 3.5);
        line-height: 1.8rem;
        color: var(--text);
    }

    .menu-top i {
        font-size: calc(0.5rem * 2.8);
        color: var(--text);
    }

    .mobile-top .menu-icon svg {
        color: var(--text);
    }

    #mobileMenuOverlay .menu-top {
        background: none;
        padding: 6%;
    }

    .menu-top {
        margin-left: unset;
    }

    .mobile-menu-container {
        padding: 10px;
        width: 100%;
        left: 0;
        right: 0;
        z-index: 3;
        position: fixed;
        top: 0;
    }
}