.form-parent { container-name: form-container; container-type: inline-size; } .formContainer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; } .official-tag { width: 80% !important; } #Alt_Email { width: 50%; } .form-section-container { border-radius: 5px; min-height: 100px; box-shadow: 0px 0px 3px black; width: 100%; background-color: lightgray; padding: .3rem; } .form-section-content { margin-top: 10px; font-family: 'Poppins Light'; font-size: .85rem; } .span-section { grid-column: 1 / 3; } .section-field-container { margin-top: 10px; display: grid; grid-template-columns: 20% 80%; font-family: 'Poppins Light'; font-size: .9rem; } .section-text-input { border-radius:5px; border: none !important; box-shadow: 0px 0px 2px black !important; color: rgb(0, 71, 71) !important; background: white !important; } .section-text-input-req { background-color: pink !important; } .form-section-header { background-color: saddlebrown; text-align: left; padding: 4px; font-family: 'RocknRoll One'; border-radius: 5px; font-size: .9rem; font-weight: 500; color: antiquewhite; } .tag-container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: center; margin-top: 15px; } .tag-wrap { display: flex; gap: 5px; } @media only screen and (max-width: 1500px) { .formContainer { display: block !important; } .form-section-container { margin-top: 10px; } .tag-container { display: block !important; } .tag-wrap { margin-bottom: 8px !important; } #signature-container,#signature-pad { width: 300px !important; height: 125px !important; } .official-tag { width: 80% !important; } #Alt_Email { width: 90% !important; } .form-section-header,.section-field-container { font-size: .8rem !important; } .form-section-content { font-size: .75rem !important; } }