.mainScreen {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    overflow: hidden;
}

.backLinesAnimation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    overflow: hidden;
    z-index: 2;
}

.line {
    width: 1px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.line::after {
    content: '';
    display: block;
    position: absolute;
    height: 15vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 75%, rgba(0, 0, 0, 0.35) 100%);
    animation: drop 7s 0s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.line:nth-child(1)::after {
    animation-delay: 1.5s
}

.line:nth-child(3)::after {
    animation-delay: 2s
}

@keyframes drop {
    0% {
        top: -50%
    }

    100% {
        top: 110%
    }
}

.mainContent {
    width: 90%;
    max-width: 1920px;
    height: auto;
    margin: 0 auto;
    padding: 150px 0 0 0;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5%;
}

.mainContent>div {
    width: 100%;
    height: fit-content;
}

.mWrittenContent>h1 {
    font-size: 500%;
    text-transform: capitalize;
    font-family: var(--font1);
    font-weight: 100;
    margin-bottom: 15px;
}

.mWrittenContent>p {
    font-size: 100%;
    font-family: var(--font2);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 25px;
    width: 90%;
}

.mWrittenContent>button {
    background-color: white;
    border: 1px solid black;
    padding: 15px 30px;
    text-transform: capitalize;
    font-family: var(--font2);
    font-weight: 600;
    font-size: 100%;
    border-radius: var(--br3);
    cursor: pointer;
    transition: 250ms ease-out;
}

.mWrittenContent>button:hover {
    background-color: black;
    color: white;
}

.mCoEnding {
    width: 100%;
    height: 150px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.9), white);
    position: relative;
    z-index: 5;
    margin-top: 50px;
}

@media only screen and (max-width: 1400px) {
    .mWrittenContent>h1 {
        font-size: 400%;
    }
    .mWrittenContent>p {
        font-size: 95%;
    }
    .mWrittenContent>button {
        padding: 15px 25px;
        font-size: 95%;
    }
}

@media only screen and (max-width: 1080px) {
    .mWrittenContent>h1 {
        font-size: 300%;
    }
    .mWrittenContent>p {
        font-size: 90%;
        width: 90%;
    }
    .mWrittenContent>button {
        font-size: 90%;
    }
}

@media only screen and (max-width: 992px) {
    .mainContent {
        padding: 100px 0 0 0;
        flex-direction: column;
        gap: 50px;
    }
    .mWrittenContent>h1 {
        width: 90%;
    }
    .mElementContent{
        height: auto;
        min-height: 400px;
    }
    .mCoEnding {
        height: 100px;
    }
}

@media only screen and (max-width: 576px) {
    .mWrittenContent>h1 {
        font-size: 250%;
    }
    .mWrittenContent>p {
        font-size: 90%;
    }
}