* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: black;
}

.pre {
    color: white;
}

.main {
    width: 60%;
    margin: auto;
}

.head {
    margin: 20px 0px;
    font-size: 20px;
    width: 100%;
    text-align: center;
}

label {
    display: inline-block;
}

#input-box {
    width: 100%;
}

.title,
.img,
.con {
    margin: auto;
    color: white;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

label {
    font-size: 20px;
}

input {
    width: 500px;
    height: 30px;
    border-radius: 10px;
    outline: none;
}

.btn {
    width: 50%;
    cursor: pointer;
    margin: auto;
    display: flex;
    justify-content: center;
    border: 2px dashed white;
    border-radius: 10px;
    color: white;
    background-color: black;
}

textarea {
    width: 500px;
}

#con-i {
    border-radius: 10px;
}

hr {
    margin: 10px auto;
    width: 85%;
}

/*----------------------------------------------------*/

#box {
    width: 100%;
    padding: 1px;
}

#box-1 {
    width: 85%;
    margin: 90px auto;
    padding: 1px;
    display: flex;
    flex-wrap: wrap;
}

#inner-box {
    width: 21.25%;
    text-align: center;
    border-radius: 20px;
    margin: 20px;
    background-color: white;
    padding: 15px;
}

#title {
    width: 90%;
    margin: 10px auto;
}

#img {
    width: 90%;
    outline: none;
    height: 200px;
    border-radius: 20px;
}

#desc {
    width: 90%;
    margin: 10px auto;
}

#btn {
    width: 90%;
    display: inline;
}

#sub,
#del {
    width: 40%;
    background-color: black;
    color: white;
    text-align: center;
    height: 30px;
    border-radius: 20px;
    border: none;
    margin: 5px;
    cursor: pointer;
}

@media (min-width:769px) and (max-width: 1024px) {
    .main {
        width: 90%;
    }

    input {
        width: 400px;
        height: 30px;
        border-radius: 10px;
        outline: none;
    }

    .title,
    .img,
    .con {
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
    }

    textarea {
        width: 400px;
    }

    #box-1 {
        width: 100%;
        padding: 1px;
        margin: 0px auto;
        padding: 10px;
        justify-content: space-between;
    }

    #inner-box {
        width: 30%;
        text-align: center;
        border-radius: 20px;
        background-color: white;
        padding: 5px;
        margin: 5px;
    }

    #title {
        width: 90%;
        margin: 10px auto;
    }
}

/* ---------------------------------------------------------------------- */

@media (min-width:481px) and (max-width: 768px) {
    .main {
        width: 90%;
    }

    input {
        width: 400px;
        height: 30px;
        border-radius: 10px;
        outline: none;
    }

    .title,
    .img,
    .con {
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
    }

    textarea {
        width: 400px;
    }

    #box-1 {
        width: 100%;
        padding: 1px;
        margin: 0px auto;
        padding: 10px;
        justify-content: space-between;
    }

    #inner-box {
        width: 47%;
        text-align: center;
        border-radius: 20px;
        background-color: white;
        padding: 5px;
        margin: 5px;
    }

    #title {
        width: 90%;
        margin: 10px auto;
    }
}

@media (min-width:320px) and (max-width: 480px) {
    .main {
        width: 90%;
    }

    input {
        width: 300px;
        height: 30px;
        border-radius: 10px;
        outline: none;
    }

    .title,
    .img,
    .con {
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
    }

    textarea {
        width: 300px;
    }

    #box-1 {
        width: 100%;
        padding: 1px;
        margin: 0px 0px;
        padding: 10px;
        justify-content: space-between;
    }

    #inner-box {
        width: 100%;
        text-align: center;
        border-radius: 20px;
        background-color: white;
        padding: 5px;
        margin: 5px;
    }

    #title {
        width: 90%;
        margin: 10px auto;
    }
}