@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.container {
    max-width: 1319px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.row {
    align-items: center;  
}

.input-box {
    position: relative;
    max-width: 1251px;

}

.comment {
    width: 100%;
    height: 70px;
    border: 1px solid #9CA1BE;
    border-radius: 35px;
    padding-left: 88px;
    outline: none;

    font-weight: 400;
    font-size: 20px;
    line-height: 150%;

}

input::placeholder {
    color: #666666;
}

img {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    cursor: pointer;
}

.post-comment {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);

    width: 208px;
    height: 56px;
    border-radius: 36px;
    padding-top: 11px;
    padding-right: 27px;
    padding-bottom: 11px;
    padding-left: 27px;
    border: 1px solid transparent;

    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    color: #FFFFFF;
    background-color: #2C49FE;
    cursor: pointer;

}
.post-comment:hover{
    background-color: white;
    color: #2C49FE;
    border: 1px solid #2C49FE;
}

.modal {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    width: 100%;
    height: 100vh;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 1000ms;
    top: 0;
    left: 0;

}
.modal.active{
    opacity: 1;
    visibility: visible;
    background-color: #B3B3B3;

}

.modal-box {
    max-width: 1320px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 26px 48px 35px 48px;
    border: 1px solid transparent;
    position: relative;
    margin: auto;
}

.heading {
    font-weight: 600;
    font-size: 36px;
    line-height: 150%;
    color: #000000;
    margin: 0;
    padding-bottom: 25px;

}
.svg-cut
{
    position: absolute;
    right: 67px;
    top: 33px;
    cursor: pointer;
    color: #808080;
}

.top-box {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.top-left-input{
    max-width: 932px;
    width: 100%;
    border: 1px solid #9CA1BE;
    border-radius: 35px;
    padding-left: 28px;
    padding-top: 14px;
    padding-bottom: 14px;

    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    outline: none;

}

.top-left-input::placeholder {
    color: #666666;
   
}

.top-right-input {
    max-width: 278px;
    width: 100%;
    padding-left: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
    border: 1px solid #9CA1BE;
    border-radius: 35px;


    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    outline: none;
    /* position: relative; */
}

.top-right-input::placeholder {
    color: #666666;
}
.svg-icon
{
    position: absolute;
    right: 68px;
    top: 134px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    cursor: pointer;
}

textarea {
    max-width: 1224px;
    width: 100%;
    padding-left: 28px;
    padding-top: 15px;
    padding-bottom: 186px;

    border: 1px solid #9CA1BE;
    border-radius: 35px;

    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    margin-bottom: 25px;
    outline: none;
    resize: none;
}

textarea::placeholder {
    color: #666666;
}

.bottom-area {
    display: flex;
    justify-content: space-between;

}

.photo-btn {
    width: 191px;
    height: 60px;
    border-radius: 35px;

    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    color: #5C5C5C;
    background-color: #E6E6E6;
    border: 1px solid transparent;
    cursor: pointer;
}
.photo-btn:hover{
    color: #E6E6E6;
    background-color: #5C5C5C;
}

.create-btn {
    width: 174px;
    height: 60px;
    border-radius: 40px;

    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    color: #FFFFFF;
    background-color: #2C49FE;
    border: 1px solid transparent;
    cursor: pointer;
    gap: 10px;

}
.create-btn:hover{
    background-color: white;
    color: #2C49FE;
    border: 1px solid #2C49FE;
}

@media (max-width: 992px) {
    .comment {
        width: 100%;
        padding-right: 190px;
        font-size: 18px;
    }

    .post-comment {
        width: 190px;
        font-size: 16px;
    }

    textarea {
        padding-bottom: 140px;
    }

}
@media (max-width: 768px) {
    .top-box {
        flex-direction: column;
    }

    .top-left-input{
        max-width: 100%;
    }
    .top-right-input {
        max-width: 100%;
    }

    
    .svg-icon {
        top: 209px;
        right: 70px;
    }

    .bottom-area {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .comment {
        padding-right: 150px;
        font-size: 16px;
        height: 60px;
        padding-left: 70px;
    }
    img{
        width: 50px;
        height: 50px;
        left: 7px;
    }

    .post-comment {
        width: 150px;
        height: 48px;
        font-size: 12px;
    }
}
@media (max-width: 576px) {
    .comment {
        height: 60px;
        font-size: 13px;
        padding-left: 60px;
        padding-right: 80px;
        height: 55px;
    }

    img {
        width: 42px;
        height: 42px;
    }

    .post-comment {
        width: 120px;
        font-size: 12px;
        padding: 8px 12px;
    }

    .heading {
        font-size: 24px;
    }

    .svg-cut {
        right: 25px;
        top: 14px;
    }

    .modal-box {
        padding: 18px;
    }

    textarea{
        font-size: 16px;
    }
    .top-left-input{
        font-size: 16px;
    }
    .top-right-input {
        font-size: 16px;
    }
    .svg-icon {
        top: 174px;
        right: 37px;
    }

}
@media (max-width:450px) {
    .comment{
        font-size: 10px;
        height: 50px;
        padding-left: 55px;
    }
    img{
        width: 40px;
        height: 40px;
    }
    .post-comment{
        width: 100px;
        font-size: 10px;
        padding: 6px 9px;
        height: 40px;
    }
}
