.root > p {
    padding: 0 50px;
}

.spinner {
    width: 30px;
    height: 30px;
    background: radial-gradient(farthest-side,var(--secondary-color) 94%,#0000) top/4px 4px no-repeat, conic-gradient(#0000 30%, var(--secondary-color));
}

.main-title {
    margin: 100px 0 30px 0;
    text-transform: uppercase;
}

.no-comment {
    text-align: center;
    font-size: 38px;
    font-weight: 300;
    margin: 100px 0;
}

.comments-container {
    display: flex;
    flex-wrap: wrap;
    margin: 100px 0 80px 0;
    gap: 100px 200px;
    justify-content: center;
    width: 100vw;
    flex-shrink: 0;
    padding: 0 150px;
}

.comment {
    width: 500px;
    max-width: 100%;
    border-bottom: 1px solid black;
    height: fit-content;
}

.comment-header {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 20px;
    justify-content: space-between;
}

.comment .content {
    font-size: 22px;
    font-weight: 300;
    padding: 20px 0 40px 0;
    word-break: break-all;
}

.username {
    font-size: 28px;
    font-weight: 500;
}

.date {
    font-size: 20px;
    font-weight: 300;
}

.send-box {
    width: 100%;
    margin: 80px 0;
    flex-direction: column;
    padding: 0 30px;
}

.title-box {
    color: var(--main-color);
    font-size: 40px;
    font-weight: bold;
    margin: 50px 0;
}

.square-input {
    align-items: center;
}

textarea {
    resize: vertical;
    min-height: 3em;
    width: 70%;
    height: 10rem;
}

.icon-button {
    display: flex;
    border: 0;
    background-color: var(--main-red-color);
    color: var(--secondary-color);
}

.icon-button:disabled {
    background-color: #7C7C7C;
}

.icon-button svg {
    height: 30px;
}

#send-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#send-form .square-input {
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .container {
        flex-direction: column;
        justify-content: center;
    }
}

@media screen and (max-width: 800px) {
    .comments-container {
        padding: 0 50px;
    }
}

@media screen and (max-width: 500px) {
    .comment .content {
        font-size: 22px;
        font-weight: 300;
        padding: 20px 0 40px 0;
        word-break: break-all;
    }

    .username {
        font-size: 18px;
    }

    .date {
        font-size: 14px;
    }

    .comment .content {
        font-size: 16px;
    }

    .main-title {
        margin: 40px 0 40px 0;
    }

    .send-box {
        margin: 0;
    }

    .container {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .title-box {
        margin: 50px 20px 0 20px;
        font-size: 20px;
    }

    #send-image svg {
        height: 18px;
        width: 12px;
    }

    #submit-button {
        font-size: 12px;
        padding: 5px 1rem;
    }

    textarea {
        width: 100%;
    }
}

@media screen and (max-width: 800px) {
    .no-comment {
        font-size: 26px;
    }
}

@media screen and (max-width: 500px) {
    .no-comment {
        margin: 50px 0;
    }
}

@media screen and (max-width: 300px) {
    .no-comment {
        font-size: 18px;
    }
}