#pres {
    padding: 4% 0;
    background-image: url("../media/TestImages/background-pres_2.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    display: block;
}
#pres h1 {
    font-size: 5rem;
}
#pres h3 {
    font-weight: 400;
    text-align: center;
}
#pres .sec-wrapper {
    color: black;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 5% 10px;
    background-color: rgba(255, 255, 255, 0.596);
}

.searchbar {
    display: flex;
    align-items: center;
    padding-left: 20px;
    margin-top: 20px;
    width: 100%;
}
.searchbar form {
    display: flex;
    width: fit-content;
    height: fit-content;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.089);
    box-sizing: border-box;
    border: 1px solid gray;
    border-radius: 10px;
}
.searchbar #queryString {
    width: 500px;
    background-color: rgb(255,255,255);
    padding: 2px 4px;
    box-sizing: border-box;
    margin-right: 10px;
    color: black;
    font-weight: 550;
}
.searchbar #queryString::placeholder {
    color: rgb(66, 66, 66);
    font-weight: 400;
}
.searchbar .filters-content {
    display: none;
}
.searchbar .filters-content.show {
    display: flex;
    position: absolute;
    background-color: lightgray;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    padding: 5px 10px;
    width: 22%;
    border: 1px solid black;
}
.searchbar .filters-content select:last-child {
    display: block;
    background-color: red;
}
.searchbar .openFilters {
    font-size: 1.2em;
}
.searchbar .openFilters:hover {
    cursor: pointer;
}
.searchbar .submit {
    margin-left: 40px;
    padding: 2px 20px;
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
}
.searchbar .submit:hover {
    cursor: pointer;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px 10px;
    box-sizing: border-box;
}
.section {
    height: fit-content;
    background-color: rgba(0, 0, 0, 0.089);
    margin: 10px;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    padding: 20px 5px;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.178);
}
.title {
    text-align: center;
    margin-top: 10px;
    font-size: 2.2rem;
    letter-spacing: 3px;
    padding-bottom: 10px;
    width: 100%;
}
.link-container {
    display: inline-block;
    height: fit-content;
    width: fit-content;
    padding: 0 20px;
    padding-bottom: 10px;
}
.container {
    display: grid;
    grid-template-columns: 4fr 5fr;
    justify-content: center;
    gap: 20px;
    height: fit-content;
    box-sizing: border-box;
    margin-top: 10px;
    block-size: fit-content;
}
.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container img {
    max-width: 100%;
    max-height: 100%;
    height: fit-content;
}

.right {
    height: fit-content;
}
.right .title {
    margin-top: 0;
    width: fit-content;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tag-container {
    display: flex;
    width: 100%;
    flex-flow: row;
    align-items: center;
    margin-bottom: 0;
}
.tag-container .tag {
    display: block;
    padding: 3px 20px;  
    width: fit-content;
    margin: 0; 
    border-radius: 10px;
    margin-left: 15px;
    font-size: .8rem;
}
.tag-container .tag:first-child {
    margin-left: 0;
}
.tag-container .tag:hover {
    cursor: default;
}
.info-container {
    display: flex;
    gap: 10px; 
    font-size: .8em;
}
.desc {
    margin-top: 30px;
    font-weight: 500;
    text-align: justify;
}
.btn-link {
    padding: 10px 50px;
}

@media screen and (max-width: 1200px) {
    .container {
        display: block;
        grid-template-columns: 1fr;
        grid-template-rows: 3fr 5fr;
    }
}

@media screen and (max-width: 900px) {
    #articles {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 500px) {
    #pres h1 {
        font-size: 3rem;
    }
}