:root {
    --ut-orange: #FF8300; 
    --ut-blue: #00263E;   
    --ut-light-blue: #004b7a;
    --ut-green: #4a773c;
    --text-dark: #333;
    --bg-light: #f4f4f4;
    --ut-smokey: #58595B; 
    --ut-light-grey: #F6F6F6;
    --text-main: #333333;
    --border: #E0E0E0;
    --light-bg: #F9F7F2;
    --slate: #333d47;
    --subText: #4f4f4fda;
}


.main-search {
    padding: 3rem 0;
    background: white;
    margin: 0 auto;
}

.main-search .container-narrow {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
    width: 90%;
}


.tagline {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--slate);
    color: white;
    padding: 5px 30px;
    border-radius: 0 30px;
}

.main-search .subtext {
    font-size: 1.5rem;
    color: var(--subText);
    margin: 3rem auto;
    line-height: 1.2;
}



.search-box-wrapper {
    position: relative;
    max-width: 765px;
    margin: 2rem auto;
}


.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #414141;
    pointer-events: none; 
    z-index: 2;
    font-size: 1.5rem;
}


.search-box-wrapper input {
    width: 100%; 
    padding: 7px 15px 7px 50px !important;
    font-size: 1.2rem !important;
    border-radius: 30px !important;
    background-color: #ededed !important;
    color: black !important;
    outline: none;
    display: block;
    transition: background-color 0.3s ease;
    border: 2px solid black !important;
    background-clip: border-box !important;
}



.search-box-wrapper input::placeholder {
    color: black !important;
    transition: opacity 0.3s ease;
}


.search-box-wrapper input:focus {
    background-color: #ffffff;
    border-color: var(--ut-orange);

}


.button-search-field {
    position: absolute;
    right: 5px; 
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 20px !important;
    border-radius: 25px !important;
    background-color: #414141 !important; 
    color: white !important;
    border: 1px solid #333d4f !important;
    cursor: pointer !important;
    z-index: 3 !important;
    font-weight: bold !important;
    transition: background-color 0.2s !important;
}

.button-search-field:hover {
    background-color: #ffffff !important;
    color: #333d4f !important;
}

@media screen and (min-width: 1600px), (max-width: 2300px) { }

@media screen and (max-width: 2100px) { }

@media screen and (min-width: 1801px), (max-width: 2099px) { }

@media screen and (max-width: 1800px) { }

@media screen and (max-width: 1650px) { }

@media screen and (max-width: 1500px) { }

@media screen and (max-width: 1300px) { }

@media screen and (max-width: 1150px) { .main-search { width: 100%; } }

@media (max-width: 900px) {
    .main-search .tagline { font-size: 2rem; }
    .main-search .subtext { font-size: 1.2rem; }
    .search-box-wrapper input { font-size: 1rem !important; }
}

@media (max-width: 699px) { }

@media (max-width: 499px) {
    .main-search .tagline { font-size: 1.8rem; }
    .main-search .subtext { font-size: 1rem; }
    .search-box-wrapper input { padding: 7px 15px 7px 30px !important; }
    .search-icon { left: 5px; }
}

@media (max-width: 399px) { }