.container{
    width:70vw;
    margin: auto;
    padding-top: 5vh;
    padding-bottom: 5vh;
}
.o-container{
    padding-top: 5vh;
    border-radius: 15px;
    text-align: center;
    
    padding-bottom: 5vh;
}
.field div{
    width: 30%;
}
.field div input{
    width: 100%;
    outline: none;
    border: none;
    border-radius: 4px;
}
.field div select{
    width: 100%;  
    outline: none;
    border: none;
}
.field{
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}
.tmc{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

#main1 div {
    text-align: left;
    border: 1px solid gray;
}
.fie-box {
    display: grid; /* Use CSS Grid for layout */
    grid-template-columns: 1fr 1fr; /* Two columns of equal width */
    gap: 10px; /* Gap between grid items */
    margin-left: 2%; /* Left margin */
    margin-right: 2%; /* Right margin */
}

.fie {
    display: flex; /* Use Flexbox for children of .fie-box */
    flex-direction: column; /* Stack items vertically */
}

.fie-box .fie select {
    width: 100%; /* Make selects fill their container */
    height: 38px; /* Adjust height as needed */
    border: none; /* Remove default border *//* Set background color */ /* Add padding for spacing inside */
    margin-bottom: 10px; /* Add margin at bottom for spacing between elements */
}

.fie-box .fie input {
    width: 100%; /* Make inputs fill their container */
    height: 38px; /* Adjust height as needed */
    border: none; /* Remove default border */
    background-color: rgb(255, 255, 255); /* Set background color */
    padding: 8px; /* Add padding for spacing inside */
    margin-bottom: 10px; /* Add margin at bottom for spacing between elements */
}
.field2 {
    display: grid; /* Use CSS Grid for layout */
    grid-template-columns: 1fr 1fr; /* Two columns of equal width */
    gap: 10px; /* Gap between grid items */
    margin-left: 2%; /* Left margin */
    margin-right: 2%;
    margin-top: 15px;
    margin-bottom: 20px;
}
.field2 input{
    width: 100%;
    padding: 8px;
    border: none;
}
.field2 div{
    text-align: left;
}
body{
    
    background-color: rgb(0, 44, 139);
}
.ex-field{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:10px;
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 20px;
}
.ex-field div{
    text-align: left;
}
.ex-field div select{
    border-radius: 5px;
}
.terms{
    font-size: 14px;
}
#terms{
    padding: 25px;
}
#preview{
    margin: auto;
}
  .boothcolor {
    /* Optional background color */
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(218, 215, 215);
    border-radius: 5px;
    width: 100%;
    height: 42px;
}
.r-checks{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}
.r-check{
    display: flex;
    align-items: center;
}
.r-check div{
    display: flex;
    align-items: center;
    margin-left: 20px;
}
.r-check div label{
    padding-left:5px ;
    padding-right: 10px;
}
.select,#preview{
    background-color: rgb(0, 44, 139);
    color: white;
}
#preview:hover{
    background-color: rgb(46, 89, 180);
}
#rules{
    cursor: pointer;
    margin-right: 3px;
    border: 2px solid rgb(0, 44, 139);
}
.field input{
    font-size: 18px;
}
.field select{
    font-size: 18px;
}
.fie-box input,select{
    font-size: 18px;
}
.field2 input{
    font-size: 18px;
}
.he3{
    font-size: 17px;
}
.field2 label{
    font-size: 18px;
}
.ex-field input,label{
    font-size: 18px;
}
.ex-field select{
    color: black;
    font-size: 17px;
}

.r-checks h3{
    font-weight: bold;
    font-size: 18px;
}
.rc{
    color: black;
}
.r-check label{
    font-weight: bold;
    font-size: 15px;
    color: black;
}
input::placeholder{
    color: black;
}
input{
    font-size: 20px;
}
@media all and (max-width:704px)
{
    .terms{
        font-size: 12px;
    }
}
@media all and (max-width:640px){
    .container{
        width: 100vw;
    }
    
.terms{
    font-size: 11px;
}
    .field{
        flex-wrap: wrap;
        row-gap: 20px;
    }
    .r-check{
        text-align: left;
    }
    .field div{
        width: 90%;
    }
    .fie-box{
        grid-template-columns: 0.95fr;
        justify-content: center;
    }
    .field2{
        text-align: center;
        justify-content: center;
        grid-template-columns: 0.95fr;
        gap: 20px;
    }
    .ex-field{
        text-align: center;
        justify-content: center;
        grid-template-columns: 0.9fr;
        gap: 20px;
    }
    body{
        background-color: rgb(238, 238, 238);
    }
}