@charset "utf-8";
@import 'styles.css';

.search-results-bg-img::before{
    background-image: url("images/search-results-bg.jpg");
}
.rebroadcast-wrapper{
    position: relative;
    z-index: 5;
}
#search-results-title{
    font-weight: var(--fw-light);
}
#search-results-title span{
    font-weight: var(--fw-body);
}
#new-search-wrapper{
    display: flex;
    justify-content: center;
    margin-bottom: 4em;
    position: relative;
    z-index: 5;
}
#new-search-box{
    border: 1px solid var(--clr-text);
    display: flex;
    align-items: center;
    justify-content: center; 
    transition: border 0.05s ease; 
}
#new-search{
    display: flex;
}
#new-search input{
    background-color: transparent;
    border: none;
    height: 100%;
    font-family: var(--ff-typing);
    font-size: var(--fs-18);
    color: var(--clr-gray-text);
    padding: 0.75em 1em;
    width: 382px;
}
#new-search input::placeholder{
    color: var(--clr-text);
    font-family: var(--ff-body);
}
#new-search input:focus{
    outline: 0;
}
#new-search-box:focus-within{
    border: 1px solid var(--clr-gray-text);
}
#new-search-box:focus-within #new-search-form-submit svg path{
    fill: var(--clr-gray-text);
}
#new-search-form-submit{
    background-color: transparent;
    border: none;
    padding: 0.75em 1.25em;
    display: flex;
    align-items: center;
}
#new-search-form-submit:hover{
    background-color: var(--clr-dark-p-bg);
}

/*404*/
.search-bg-img::before{
    background-image: url("images/search-bg.jpg");
    opacity: 0.12;
}
.reb-404{
    padding-top: 1.875em;
    margin-bottom: 3em;
}
.btn-404{
    margin-bottom: 8em;
}

/*search-form*/
.search-form-overlay{
    background-color: #141416E6;
    width: 100vw;
    height: 100vh;
}
.search-form-wrapper{
   background-color: var(--clr-gary-bg);
   box-shadow: var(--bs-regular);
   max-width: 1220px;
   margin: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 335px;
   position: relative;
}
#search-form-box{
    flex: 1;
    max-width: 85%;
}
#search-form{
    display: flex;
    background-color: var(--clr-purple-header);
    height: 135px;
}
#search-form input{
    background-color: transparent;
    border: none;
    height: 100%;
    width: 100%;
    font-family: var(--ff-typing);
    font-size: var(--fs-38);
    color: var(--clr-background);
    padding: 1rem 2.875rem 1rem 0;
    flex: 1;
    line-height: 1.2rem;
}
#search-form input::placeholder{
    color: var(--clr-background);
    font-family: var(--ff-body);
}
#search-form input:focus::-webkit-input-placeholder {
    color: var(--clr-text);
}
#search-form input:focus{
    outline: 0;
}

#search-form-submit{
    background-color: transparent;
    border: none;
    padding: 1rem 2.875rem;
    display: flex;
    align-items: center;
}
#search-form-submit:hover{
    background-color: var(--clr-purple-button);
}
#search-form-submit:active{
    background-color: var(--clr-purple);
}


@media (max-width:1440px){
    .search-form-wrapper{
        max-width: 94%;
     }
} 

@media (max-width:1024px){
    #new-search input{
        width: 250px;
    }
    .search-form-wrapper{
        min-height: 240px;
    }
    #search-form{
        height: 90px;
    }
}

@media (max-width:760px){
    .section-404{
        padding: 3.5em 0 !important;
    }
    .btn-404{
        margin-bottom: 4em;
    }
    .reb-404{
        padding-top: 1.2em;
        margin-bottom: 3em;
    }
    .search-form-wrapper{
        min-height: 160px;
        max-width: 100%;
    }
    #search-form{
        height: 65px;
    }
    #search-form input{
        font-size: var(--fs-24);
        padding: 1rem 1rem 1rem 0;
    }
    #search-form-submit{
        padding: 1rem;
    }
    #search-form-submit svg{
        width: 24px;
        height: auto;
    }
    .close-search{
        margin: 0.6em;
    }
}