body {
    background: url(../img/bg.png);
}
.form-section {
    margin-bottom: 30px;
}

.sn-q-form {
    user-select: none;
}

.inputbox input{
    width: auto;
    padding: 7px;
}

.sn-q-form select {
    border: none;
    border-radius: 5px;
    padding: 2px;
    width: 60px;
    height: fit-content;
    width: 87px;
}

.sn-q-form textarea {
    border-radius: 5px;
    border: none;
}

.first-section-cont {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next row */
    gap: 20px; /* Add spacing between items */
    justify-content: space-between; /* Distribute space between rows */
}

.sub-section {
    flex: 0 1 calc(50% - 10px); /* Make each box take 50% width minus the gap */
    border-radius: 5px;
}

.sn-q-select {
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.txt-area {
    width: 300px;
    height: 100px;
}

@media (max-width: 768px) { /* Adjust for mobile screens */
    .box {
        flex: 0 1 100%; /* Make each box take 100% width */
    }
}

@media(min-width:1400px){
    .container{
      max-width: 1400px;
    }
  }


#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
