.upload-pattern-root {
    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: var(--bg-color);
    overflow: hidden;
}

.upload-pattern-back-button {
    width: 30%;
    min-width: 340px;
    height: 3%;

    color: blue;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;

    margin: 10px;
}

.upload-pattern-back-button:hover{
    cursor:pointer;
}

.upload-pattern-panel {
    width: 30%;
    min-width: 340px;
    height: 80%;
    min-height: 480px;

    background-color: var(--fg-color);
    border-radius: 20px;

    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 15px 3px rgb(206, 206, 206);
}

.upload-pattern-title {
    height: 7%;
    width: 80%;

    color: Black;

    text-align: center;

    font-size: 25px;
    font-weight: bold;
}

.upload-pattern-description {
    height: 20%;
    min-height: 140px;
    width: 80%;

    color: Black;

    text-align: left;

    font-size: 16px;
    font-weight: medium;
}

.img-preview {
    height: 200px;
    width: 200px;
    object-fit: cover;

    border-radius: 20px;

    margin-bottom: 15px;

    background-color: grey;
}

.upload-pattern-button {
    height: 8%;
    width: 40%;
    min-width: 200px;

    color: white;
    background: linear-gradient(to right, rgb(68, 185, 113), rgb(92, 85, 189));

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;

    margin: 5px;
}

.submit-pattern-button {
    height: 8%;
    width: 40%;
    min-width: 200px;

    color: white;
    background: linear-gradient(to bottom right, rgb(87, 87, 255), rgb(255, 84, 255));
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;

    margin: 5px;
}