@media(max-width:991px) {
    .header {
        padding: 12px 0;
    }

    .header .menu {
        position: fixed;
        right: 0;
        top: 0;
        width: 320px;
        height: 100%;
        background-color: #645BFF;
        padding: 15px 30px 30px;
        overflow-y: auto;
        z-index: 1;
        transform: translateX(100%);

    }

    .header .menu.open {
        transform: none;
    }

    .header .menu .head {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
    }

    .header .menu .close-menu-btn {
        height: 35px;
        width: 35px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        cursor: pointer;
        border: none;
    }

    .header .menu .close-menu-btn::before,
    .header .menu .close-menu-btn::after {
        content: '';
        position: absolute;
        width: 80%;
        height: 2px;
        background-color: hsl(0, 0%, 100%);
    }

    .header .menu .close-menu-btn::before {
        transform: rotate(45deg);
    }

    .header .menu .close-menu-btn::after {
        transform: rotate(-45deg);
    }

    .header .menu>ul>li {
        display: block;
    }

    .header .menu>ul>li:not(:last-child) {
        margin-right: 0;
    }

    .header .menu li {
        border-bottom: 1px solid hsla(0, 20%, 99%, 0.25);
    }

    .header .menu li:first-child {
        border-top: 1px solid hsla(0, 0%, 100%, 0.25);
    }

    .header .menu>ul>li a {
        padding: 12px 0;
    }

    .header .menu>ul>.dropdown>a {
        padding-left: 34px;
    }

    .header .menu i {
        height: 34px;
        width: 34px;
        border: 1px hsla(0, 3%, 27%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        cursor: pointer;
        top: 7px;
    }

    .header .menu .dropdown.active>i {
        background-color: hsla(0, 0%, 100%, 0.25);
        transform: rotate(180deg);
    }

    .header .menu .sub-menu {
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        box-shadow: none;
        width: 100%;
        display: none;
    }

    .header .menu .dropdown.active>.sub-menu {
        display: block;
    }

    .header .menu .sub-menu li:last-child {
        border: none;
    }

    .header .menu .sub-menu a {
        padding: 12px 0 12px 15px;
    }

    .header .menu .sub-menu .sub-menu a {
        padding-left: 30px;
    }

    .header .menu .sub-menu span {
        background-image: none;
    }

    .header .menu .sub-menu i {
        transform: none;
        right: 0;
    }

    .header-right .open-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 44px;
        cursor: pointer;
        position: relative;
        background-color: transparent;
        border: none;
    }

    .header-right .open-menu-btn .line {
        height: 2px;
        width: 30px;
        background-color: hsl(0, 0%, 100%);
        position: absolute;
    }

    .header-right .open-menu-btn .line-1 {
        transform: translateY(-8px);
    }

    .header-right .open-menu-btn .line-3 {
        transform: translateY(8px);
    }

    .box-main {
        display: grid;
        justify-content: start;
        align-items: start;
        color: white;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        max-width: 90%;
        margin: auto;
        height: auto;
        padding-top: 100px;
    }

    .firstsection {
        flex-direction: column-reverse;
    }

    
.relatedlinkgrid{
    display: grid;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 80%;
    margin: 10px;
    height: auto;
    padding-top: 0px;
    grid-template-columns: 1fr minmax(50%, 50%);
    padding-bottom: 5px;
    padding-top: -10px;
}

    .firsthalf {
        width: 100%;
        margin-right: 225px;
    }


    .submitbutton {
        align-items: center;
    }

    .paras {
        padding: 0px 35px;
    }

    .inputtxt {
        font-size: 25px;
        margin-bottom: 20px;

    }

    .textfooter {
        display: flex;
        text-align: center;
        padding: 10px 10px;
        justify-content: center;
        align-items: center;
        color: white;
        background-color: rgb(100,91,255);
       
    }

    .outputtxt {
        padding: 10px;
    }

    .vl {
        visibility: hidden;
    }

    .inputtextbox {

        display: flex;
        padding: 8px 20px 190px;
        height: 350px;
        width: 100%;
        resize: both;

        border: 2px #CCC solid;
    }



    .inputhalf {
        width: 100%;
        height: 10vh;
    }



    .secondhalf {
        display: inline;
        padding: 4px 18px 690px;
        height: 60px;
        width: 105%;
        resize: none;
        margin-top: 0px;
        margin-bottom: -180px;
        margin-left: -18px;
        margin-right: 100px;

    }

    .outputtextbox {

        display: flex;
        padding: 8px 20px 190px;
        height: 350px;
        max-width: 100%;
        resize: horizontal;
        border: 2px #CCC solid;
        padding-bottom: 50px;
        border: 2px #CCC solid;


    }


}

@media(max-width:767px) {
    .footer-col {
        width: 50%;

        margin-bottom: 30px;
    }
}


@media(max-width:574px) {
    .footer-col {
        width: 100%;


    }
}