.container {
    animation: animate-container 0.4s linear 1;
}

a {
    text-decoration: none;
    color: var(--dark-clr-2);
}

@keyframes animate-container {
    0% {
        transform: scale(0);
    }

    90% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.main-section {
    height: 80%;
    border-radius: 0;
}

.login-buttons {
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* background-color: yellow; */
}

.menu-icon {
    height: 3rem;
    width: 3rem;
    border: 2px solid var(--dark-clr-2);
    border-radius: 0.4rem;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon,
i.menu-open,
i.menu-close {
    display: none;
}

i.menu-open,
i.menu-close {
    color: var(--dark-clr-2);
    font-weight: 900;
    font-size: 1.8rem;
}

.sales-login,
.sales-head-login,
.accounts-login {
    position: relative;
    font-size: 1.1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: 2px solid var(--light-clr-5);
    border-radius: 0.3rem;
    box-shadow: 0 0 0.4rem var(--dark-clr-2);
    color: var(--dark-clr-2);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;

    /* &:hover {
        transform: scale(1.05);
        border-color: var(--dark-clr-2);
    } */

}

.sales-login:hover,
.sales-head-login:hover,
.accounts-login:hover {
    transform: scale(1.05);
    border-color: var(--dark-clr-2);
}

.main-section {
    display: flex;
}

.left-section {
    height: 100%;
    width: 55%;
    background-color: var(--white-clr);
}

.rbc-text {
    font-size: 8rem;
    color: var(--dark-shadow-clr);
    line-height: 9rem;
    padding-top: 4rem;
    margin-left: 2rem;
}

.order-text {
    font-size: 5rem;
    line-height: 6rem;
    color: var(--dark-clr-2);
    margin-left: 2rem;
}

.system-text {
    width: 80%;
    font-size: 5rem;
    line-height: 6rem;
    color: var(--dark-clr-2);
    overflow: hidden;
    margin-left: 2rem;
    /* background-color: yellow; */
    position: relative;
}

.system-text::before {
    z-index: 1;
    content: "";
    width: 90%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--white-clr);
    animation: animate-system-text-before 10s steps(9) infinite;
}


@keyframes animate-system-text-before {
    0% {
        content: "";
    }

    5% {
        content: "S";
    }

    10% {
        content: "Sy";
    }

    15% {
        content: "Sys";
    }

    20% {
        content: "Syst";
    }

    25% {
        content: "Syste";
    }

    30% {
        content: "System";
    }

    35% {
        content: "System.";
    }

    40% {
        content: "System..";
    }

    45% {
        content: "System...";
    }

    50% {
        content: "System....";
    }

    55% {
        content: "System...";
    }

    60% {
        content: "System..";
    }

    65% {
        content: "System.";
    }

    70% {
        content: "System";
    }

    75% {
        content: "Syste";
    }

    80% {
        content: "Syst";
    }

    85% {
        content: "Sys";
    }

    90% {
        content: "Sy";
    }

    95% {
        content: "S";
    }

    100% {
        content: "";
    }
}

.right-section {
    width: 45%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
}

.image {
    height: 100%;
    width: 100%;
    background-image: url('../img/homeImg3.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

footer,
.footer {
    height: 10%;
    width: 100%;
    background-color: var(--light-clr-3);
}

/* Responsive css */

@media only screen and (max-width: 820px) {

    .login-buttons {
        width: 65%;
    }

    .main-section {
        height: 83%;
        flex-direction: column;
        position: relative;
    }

    .left-section,
    .right-section {
        width: 100%;
        height: 50%;
        position: absolute;
        /* background-color: red; */
    }

    .left-section {
        top: 50%;
    }

    .right-section {
        /* background-color: yellow; */
        width: 100%;
    }

}

@media only screen and (max-width: 768px) {

    .login-buttons {
        width: 70%;
    }

    .rbc-text {
        padding-top: 2rem;
    }

}

@media only screen and (max-width: 480px) {

    nav {
        position: relative;
    }

    .login-buttons {
        display: none;
        position: absolute;
        top: 100%;
        right: 5%;
        height: 18rem;
        width: 18rem;
        background-color: var(--light-clr-3);
        flex-direction: column;
        border: 2px solid var(--dark-clr-2);
        border-radius: 0.5rem;
    }

    .sales-login,
    .sales-head-login,
    .accounts-login {
        width: 80%;
        font-size: 1.5rem;
    }

    .menu-icon,
    i.menu-open {
        display: flex;
    }

    .rbc-text {
        font-size: 6rem;
        padding-top: 1rem;
        line-height: 6rem;
    }

    .order-text {
        font-size: 3.5rem;
        line-height: 3.5rem;
        margin-top: 2rem;
    }

    .system-text {
        font-size: 3.5rem;
        line-height: 4rem;
    }

}

@media only screen and (max-width: 430px) {

    .order-text {
        font-size: 3rem;
        margin-top: 1rem;
    }

    .system-text {
        font-size: 3rem;
    }

}

@media only screen and (max-width: 375px) {

    .order-text,
    .system-text {
        font-size: 2.5rem;
    }

}

@media only screen and (max-width: 375px) and (max-height: 667px) {

    .menu-icon {
        height: 2.5rem;
        width: 2.5rem;
    }

}

@media only screen and (max-width: 320px) {

    .rbc-text {
        padding-top: 0;
        font-size: 5rem;
        line-height: 5rem;
    }

    .order-text,
    .system-text {
        margin-top: 0;
        font-size: 1.8rem;
        line-height: 2.5rem;
    }

    .menu-icon {
        height: 2rem;
        width: 2rem;

        /* &>i {
            font-size: 1.3rem;
        } */

    }

    .menu-icon>i {
        font-size: 1.3rem;
    }

}


/* Responsive css */