* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --box-bg-color: #000;
    --border-color: #ff0000;
    --main-bg-color: #121212;
    --text-color: #fff;
}

.contactMe {
    padding: 80px 50px;
    background-color: var(--main-bg-color);
    position: relative;
}

.contactMeContainer {
    clip-path: polygon(0 0, 100% 0, 95% 99%, 4% 95%);
    background-color: red;
    width: 100%;
    padding: 2px;
}

.clip-path {
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 95% 99%, 4% 95%);
    background-color: #000;
    display: flex;
    color: var(--text-color);
}

.c-m-LeftCon {
    height: 100%;
    width: 500px;
}

.c-m-LeftCon img {
    display: none;
    width: 498px;
    position: absolute;
    top: 30px;
    z-index: 555;
    left: 80px;
}

.contactMe img{
    width: 498px;
    position: absolute;
    top: 30px;
    z-index: 555;
    left: 80px;
}

.c-m-RightCon {
    width: calc(100% - 500px);
    padding: 30px;
    padding-right: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c-m-header {

    font-size: 64px;
    font-weight: 600;
}

.orange {
    color: var(--border-color);
}

.c-m-text {
    font-size: 24px;
    margin: 20px 0;
}

.name-phone-input {
    width: 100%;
    display: flex;
    gap: 20px;
}

.name-phone-input input {
    width: 50%;
}

input {
    outline: none;
    background: none;
    border: solid 1px whitesmoke;
    font-size: 20px;
    height: 60px;
    margin-top: 20px;
    padding: 10px;
    color: var(--text-color);
}

::placeholder {
    color: whitesmoke;
    font-size: 20px;
}

.mail input {
    width: 100%;
}

button {
    padding: 20px;
    height: 70px;
    margin: 40px 0;
    font-size: 24px;
    border: solid 1px var(--border-color);
    background: transparent;
    color: var(--border-color);
}


.footer {
    width: 100%;
    padding: 50px;
    background-color: var(--box-bg-color);
}

.white {
    color: #fff;
}

.footer-header {
    display: flex;
    justify-content: center;
    font-size: 42px;
    font-weight: 600;
}

.footer-pages {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 500;
    margin: 20px 0;
}

.footer-pages a {
    text-decoration: none;
    color: #fff;
}

.active {
    color: var(--border-color) !important;
}

.footer-copyright {
    width: 100%;
    padding: 30px 50px;
    display: flex;
    background-color: var(--box-bg-color);
    border-top: solid 2px #aeaeae;
    color: #aeaeae;
}

.fc-con {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 1525px) {
    .contactMe img {
        width: 518px;
    }
}

@media (max-width: 1300px) {

    .c-m-header {
        font-size: 52px;
    }

    .c-m-text {
        font-size: 20px;
    }

    input {
        font-size: 18px;
    }

    ::placeholder {
        font-size: 18px;
    }

    button {
        font-size: 20px;
    }

    .contactMe img {
        width: 492px;
    }
}

@media (max-width:1200px) {
    .c-m-header {
        font-size: 42px;
    }

    .footer-header {
        font-size: 32px;
    }

    input {
        font-size: 16px;
    }

    ::placeholder {
        font-size: 16px;
    }

    .contactMe img {
        width: 474px;
        /* border-bottom: solid 1px #ff0000; */
    }

    .c-m-LeftCon {
        width: 460px;
    }

    .c-m-RightCon {
        width: calc(100% - 460px);
    }
}

@media (max-width:1070px) {
    .contactMeContainer {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .clip-path {
        display: flex;
        flex-direction: column;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .c-m-LeftCon {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 30px 0;
    }

    .c-m-LeftCon img {
        display: block;
        position: static;
        height: 300px;
        border-bottom:solid 2px var(--border-color);
    }

    .c-m-header .white,
    .c-m-header .orange {
        display: flex;
        justify-content: center;
    }

    .c-m-RightCon {
        width: 100%;
        padding-top: 0;
    }

    .c-m-LeftCon img{
        display: block;
    }

    .contactMe>img {
        display: none;
    }
}


@media (max-width:650px) {
    .c-m-LeftCon img{
        margin-bottom: 20px;
    }

    .name-phone-input {
        display: flex;
        flex-direction: column;
    }

    .name-phone-input input {
        width: 100%;
    }

    button {
        width: 100%;
    }

    .footer-pages {
        display: flex;
        /* flex-direction: column; */
        flex-wrap: wrap;
        margin-top: 30px;
        gap: 20px;
    }

    .fc-con {
        display: flex;
        flex-direction: column;
    }

    .right-fc,
    .left-fc {
        text-align: center;
        margin-top: 10px;
    }

    .c-m-header .white,
    .c-m-header .orange {
        font-size: 28px;
    }
    
    .footer-header .white,
    .footer-header .orange {
        font-size: 24px;
    }

    ::placeholder{
        font-size: 14px;
    }

    input{
        font-size: 14px;
    }
    button{
        font-size: 16px;
    }
    .c-m-text{
        font-size: 16px;
    }

    .footer-pages a{
        font-size: 16px;
    }

    .c-m-RightCon{
        padding: 20px;
    }

    .footer{
        padding: 20px;
    }

    .footer-copyright{
        padding: 20px ;
    }

    .contactMe{
        padding: 20px;
    }
}