@font-face {
    font-family: 'Lavka 2021';
    src: url('../fonts/Lavka 2021.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

a.text:active,
a.text:hover, 
a.text {
    text-decoration: none;
    color: #E3DAD2;
}

input{
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 2px solid #E3DAD2;
  -webkit-text-fill-color: #E3DAD2;
  -webkit-box-shadow: 0 0 0px 1000px #343434 inset;
  transition: background-color 5000s ease-in-out 0s;
}

body{
    background-color: #3A3434;
    margin: 0;
}
.search-head{
    margin-bottom: 20px;
    font-family: 'Lavka 2021', serif;
    font-size: 70px;
    font-weight: 200;
    color: #E3DAD2;
}
.search-line{
    background-color: #E3DAD2;
    height: 2px;
    width: 100%;
    margin: 20px auto;
    margin-bottom: 25px;
}

.search-form-container{
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-control{
    width: 600px;
    height: 60px;
    border-radius: 25px;
    border: 2px solid #E3DAD2;
    background-color: #343434;
    padding-left: 20px;
    padding-right: 110px;
    color: #E3DAD2;
    box-sizing: border-box;
    font-size: 16px;
    font-family: "Playfair Display", serif;
}

.input-group{
    position: relative;
    display: flex;
    width: 600px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    border: 2px solid #E3DAD2;
    background-color: #3A3434;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #2a2424;
    transform: translateY(-50%);
}

.search-button-fixed {
    position: fixed;
    top: 90px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #3A3434;
    outline: 2px solid #E3DAD2;
    border-radius: 5px;
    cursor: pointer;
    z-index: 900;
    transition: all 0.3s ease;
}
.card-body{
    font-family: "Playfair Display", serif;
}
.search-button-fixed:hover {
    background-color: #2a2424;
}

.search-icon {
    width: 100%;
    height: 100%;
    user-select: none;
    color: #E3DAD2;
    font-size: 34px;
    display: flex;
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: grayscale(1) blur(10px);
    display: none;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-content {
    padding: 30px;
    width: 40%;
    height: 250px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
}
.menu-modal.show {
    opacity: 1;
}

.menu-modal.show .modal-content {
    transform: scale(1);
}

.search-img{
    width: 60%;
    margin: 0 auto;
}

.search-results-container{
    width: 100%;
}

.search-results-header h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 30px;
    color: #E3DAD2;
    font-family: "Playfair Display", serif;
    margin-bottom: 0px;
}

.articles-list{
    width: 100%;
}

.article-item{
    display: flex;
    background-color: #3A3434;
    border-radius: 15px;
    border: 2px solid #E3DAD2;
    height: 100%;
    margin-bottom: 20px;
    justify-content: flex-start;
    align-items: center;
    color: #E3DAD2;
    padding: 20px;
}

.article-item a{
    color: #E3DAD2;
    text-decoration: none;
}

.card-title{
    margin-top: 0px;
    text-align: left;
}

.no-results{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #E3DAD2;
    font-size: 16px;
    font-family: "Playfair Display", serif;
}

.text-light{
    margin-bottom: 0px;
}
.clear-btn {
    position: absolute;
    right: 65px; 
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}
.search-content{
    width: 50% !important;
}
.clear-btn:hover {
    opacity: 1;
    background-color: rgba(227, 218, 210, 0.1);
    transform: translateY(-50%) scale(1.1);
}
.article-annotation, .article-meta {
    text-align: left;
}

@media screen and (max-width: 1400px) and (orientation: landscape){
    .search-head{
        margin-bottom: 30px;
        font-size: 60px;
    }
}

@media screen and (min-width: 1024px) and (orientation: portrait){
    .search-button-fixed{
        background-color: transparent;
        position: absolute;
        z-index: 1000;
        top: 25px;
        right: 20px;
        left: auto;
        width: 80px;
        height: 80px;
    }
    .search-modal{
        background-color: #3A3434;
        overflow-x: hidden;
        
    }
    .search-content{
        width: 90%;
        overflow-x: hidden;
        padding: 100px;
    }
    .search-content h1{
        width: 800px;
        font-size: 6.5rem;
        text-align: center;
        margin-bottom: 20px;
    }
    .input-group{
        width: 800px;
    }
    .form-control{
        width: 800px;
        height: 80px;
        padding-right: 90px;
        font-size: 1.5rem;
        border-radius: 50px;
        padding-left: 30px;
    }
    .clear-btn{
        right: 55px;
    }
    .search-btn{
        right: 0px;
        width: 80px;
        height: 80px;
        margin-right: 0px;
    }
    .search-line{
        width: 100%;
        height: 3px;
    }
    .search-results-header h2{
        font-size: 2.5rem;
    }
    .article-item {
        font-size: 2rem;
    }
}
@media (max-width: 1024px) {

}
@media (max-width: 768px) {
    .search-content{
        width: 90% !important;
        padding: 0 20px !important;
    }
    .mobilemenu{
        display: block;
        width: 100%;
        height: 80px;
        background-color: #3A3434;
        display: flex;
        justify-content: center;
    }
    .search-button-fixed{
        background-color: transparent;
        position: absolute;
        z-index: 1000;
        height: 50px;
        width: 50px;
        top: 15px;
        right: 20px;
        left: auto;
    }
    .search-modal{
        background-color: #3A3434;
        overflow-x: hidden;
        
    }
    .search-content{
        width: 90%;
        overflow-x: hidden;
        padding: 100px;
    }
    .search-content h1{
        width: 450px;
        font-size: 45px;
        text-align: center;
        margin-bottom: 20px;
    }
    .input-group{
        width: 450px;
    }
    .form-control{
        width: 450px;
        height: 50px;
        padding-right: 90px;
    }
    .clear-btn{
        right: 55px;
    }
    .search-btn{
        right: 0px;
        width: 50px;
        height: 50px;
        margin-right: 0px;
    }
    .search-results-header h2{
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .search-content h1{
        width: 320px;
        font-size: 35px;
        text-align: center;
    }
    .input-group{
        width: 320px;
    }
    .form-control{
        width: 320px;
        height: 50px;
    }
    .search-btn{
        right: 0px;
        width: 50px;
        height: 50px;
        margin-right: 0px;
    }
    .search-results-header h2{
        font-size: 18px;
    }
}

@media (max-width: 480px) {

}