.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;
}

.writtenContent {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainTitle {
    max-width: 90%;
    font-size: 500%;
    text-transform: capitalize;
    font-family: var(--font1);
    font-weight: 100;
    margin-bottom: 15px;
    text-align: center;
}

.mainPara {
    max-width: 90%;
    font-size: 100%;
    font-family: var(--font2);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 55px;
    width: 90%;
    text-align: center;
}

.mobilesHere {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.onePhoneBox {
    width: 100%;
    height: 100%;
    background-color: rgba(215, 224, 253, 0.55);
    padding: 37px 20px;
    border-radius: var(--br2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
}

.onePhoneBox>img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    margin-bottom: 25px;
}

.onePhoneBox>h4 {
    font-size: 120%;
    font-family: var(--font2);
    font-weight: 700;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 20px;
}

.onePhoneBox>h3 {
    font-size: 70%;
    font-family: var(--font2);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5px;
}

.onePhoneBox>h2 {
    font-size: 170%;
    font-family: var(--font2);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 25px;
}

.onePhoneBox>h2>span {
    font-size: 45%;
    font-weight: 500;
}

.onePhoneBox>p {
    font-size: 80%;
    font-family: var(--font2);
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
}

.onePhoneBox>button {
    background-color: white;
    border: 1px solid transparent;
    padding: 15px 55px;
    text-transform: capitalize;
    font-family: var(--font2);
    font-weight: 600;
    font-size: 100%;
    border-radius: var(--br3);
    cursor: pointer;
    transition: 250ms ease-out;
}

.onePhoneBox>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) {
    .mainTitle {
        font-size: 400%;
    }

    .mainPara {
        font-size: 95%;
    }

    .mWrittenContent>button {
        padding: 15px 25px;
        font-size: 95%;
    }

    .mobilesHere {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media only screen and (max-width: 1180px) {
    .onePhoneBox>img {
        width: 150px;
        height: 150px;
    }

    .onePhoneBox>h4 {
        font-size: 100%;
    }

    .onePhoneBox>h2 {
        font-size: 150%;
    }

    .onePhoneBox>h2>span {
        font-size: 55%;
    }

    .onePhoneBox>button {
        font-size: 90%;
    }
}

@media only screen and (max-width: 1080px) {
    .mainContent {
        padding: 100px 0 0 0;
    }

    .mainTitle {
        font-size: 300%;
    }

    .mainPara {
        font-size: 90%;
        width: 90%;
    }

    .mWrittenContent>button {
        font-size: 90%;
    }

    .mobilesHere {
        grid-template-columns: repeat(3, 1fr);
    }

    .onePhoneBox>img {
        width: 170px;
        height: 170px;
    }

    .onePhoneBox>h4 {
        font-size: 120%;
    }

    .onePhoneBox>h2 {
        font-size: 170%;
    }

    .onePhoneBox>h2>span {
        font-size: 45%;
    }

    .onePhoneBox>button {
        font-size: 100%;
    }
}

@media only screen and (max-width: 992px) {
    .mainContent {
        padding: 100px 0 0 0;
        flex-direction: column;
        gap: 50px;
    }

    .mainTitle {
        width: 90%;
        font-size: 270%;
    }

    .mElementContent {
        height: auto;
        min-height: 400px;
    }

    .mCoEnding {
        height: 100px;
    }

    .onePhoneBox>img {
        width: 150px;
        height: 150px;
    }

    .onePhoneBox>h4 {
        font-size: 100%;
    }

    .onePhoneBox>h2 {
        font-size: 150%;
    }

    .onePhoneBox>h2>span {
        font-size: 55%;
    }

    .onePhoneBox>button {
        font-size: 90%;
    }
}

@media only screen and (max-width: 820px) {
    .mobilesHere {
        grid-template-columns: repeat(2, 1fr);
    }

    .onePhoneBox>img {
        width: 170px;
        height: 170px;
    }

    .onePhoneBox>h4 {
        font-size: 120%;
    }

    .onePhoneBox>h2 {
        font-size: 170%;
    }

    .onePhoneBox>h2>span {
        font-size: 45%;
    }

    .onePhoneBox>button {
        font-size: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .onePhoneBox>img {
        width: 150px;
        height: 150px;
    }

    .onePhoneBox>h4 {
        font-size: 100%;
    }

    .onePhoneBox>h2 {
        font-size: 150%;
    }

    .onePhoneBox>h2>span {
        font-size: 55%;
    }

    .onePhoneBox>button {
        font-size: 90%;
    }
}

@media only screen and (max-width: 576px) {
    .mainContent {
        padding: 75px 0 0 0;
    }

    .mainTitle {
        font-size: 175%;
    }

    .mainPara {
        font-size: 90%;
    }
.mobilesHere {
        grid-template-columns: repeat(1, 1fr);
    }

    .onePhoneBox>img {
        width: 75%;
        height: auto;
    }

    .onePhoneBox>h4 {
        font-size: 120%;
    }

    .onePhoneBox>h2 {
        font-size: 170%;
    }

    .onePhoneBox>h2>span {
        font-size: 45%;
    }

    .onePhoneBox>button {
        font-size: 100%;
    }
}