body {
    font-family: Arial, sans-serif;
    /*background-size: 300% 300%;*/
    color: black;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(97, 97, 97, 1);
    background-repeat: no-repeat;
}

.btn {
    padding-top: 1rem;
}

header {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;

}

.top-gap {
    padding-top: 6rem;
}

header button {
    background: #ff4b1f;
    border: none;
    padding: 8px 16px;
    color: black;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

main {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.main-container {
    background-color: white;
    max-width: 550px;

    padding: 2rem;
    width: 75%;
    border-radius: 1.5rem;
}

.main-container-outside{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 1rem;
}


input[type="file"] {
    display: none;
}

.price {
    font-size: 3rem;
}

.box1, .box2, .box3 {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.price-outside {
    display: none;
    color: rgba(97, 97, 97, 1);;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

label.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    /*display: inline-block;*/
    /*margin-bottom: 20px;*/
    background: rgba(0, 0, 0, 0.25);
    padding: 15px 30px;
    height: 200px;
    width: 100px;
    color: #eee;
    font-size: 1.2rem;
    overflow-wrap: break-word;
    border-radius: 1.5rem;
    border: white .3rem solid;

}


.misc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
}

.upload {
    display: flex;
    align-items: center;
    justify-content: center;
    /*flex-direction: row-reverse;*/
    padding-bottom: 4rem;

}

.input-boxes {
    display: flex;
    flex-direction: row;
    gap: 7rem;
    border-radius: 2rem;
}

.info {
    gap: 2rem;
    display: flex;
    flex-direction: column;
}

.box {
    width: 15%;
    padding-left: 10px;
}

.count {
    gap: .5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 1.5rem;
}

.loader-outside {
    height: 15rem;
    display: none;
    justify-content: center;
    align-items: center;

}

.loader {
    border: .8rem solid #f3f3f3; /* Light grey */
    border-top: .8rem solid rgba(97, 97, 97, 1); /* Blue */
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.upload-answer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000000;
    height: 29px;
    width: 30px;
    border-radius: 100%;
    margin: 0px;
    color: white;
}

.upload-answer:hover {
    background: #e4e4e4;
    color: black;
    cursor: pointer;
}

.upload-photo-preview {
    border: red solid 1px;
}


.answer-text-box::placeholder {
    color: white;
    font-size: 0.9rem;
}

.answer-text-box:focus {
    outline: none;
}


.upper-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.material, .color, .box, .sendData {
    background: rgba(0, 0, 0, 0.25);
    color: white;
    border: none;
    border-radius: 5px;
    height: 1.5rem;
}

.sendData{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1.7rem;

}

.sendData:hover {
    background: #e4e4e4;
    cursor: pointer;
}

.box3 {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.pay {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #8e8e8e;
    color: white;
    border: none;
    width: 100%;
    border-radius: 5px;
    padding: .5rem;
    height: 1.9rem;
    font-size: 1rem;
}

.pay:hover {
    background: #a1a1a1;
    cursor: pointer;
}


footer {
    padding-top: 5vw;
    width: 100%;

}

.footer-container3 {

}

.footer-content {
    width: 100%;
    min-height: 10vw;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

