.hero {
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgb(161, 159, 159);
    background-blend-mode: multiply;
    height: 250px;
    position: relative;
    width: 90%;
    margin: 0 auto;
    background-position: center;
    border-radius: 16px;
}


.herotext {
    padding-top: 2.5em;
    padding-left: 4.5em;
    text-decoration: none;
}

a {
    text-decoration: none;
}

.hero h3 {
    color: var(--morered);
    margin-bottom: 0;


}

.hero h2 {
    color: white;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 3rem;

}

header,
footer {
    width: 90%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.buttons {

    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;

    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 5px;

}

.middle {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1em;
    margin-bottom: 1em;
}



.middle a {

    padding: .8em 1em;
    border-radius: 8px;
    border: none;
    color: white;
    margin-bottom: 1em;
}

.middle a:first-of-type {
    background-color: var(--morered);
}

.middle a:nth-child(2) {
    background-color: var(--vomit-green);
}

.middle a:nth-child(3) {
    background-color: var(--orange);
}

.middle a:nth-child(4) {
    background-color: var(--reddish);
}

.middle a:nth-child(5) {
    background-color: var(--green);
}
.middle a:nth-child(6) {
    background-color: var(--morered);
}

.buttonsonhome:hover {
    opacity: .7;
    cursor: pointer;
}


.upperbuttons {
    display: flex;

    gap: 1em;
}

.upperbuttons img {
    width: 30px;
    height: 30px;
}

.lowerbuttons {
    display: flex;
    justify-content: center;
    gap: .5em;
    margin-top: .5em;
}

.dots {

    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #D4D4D4;
}

.dots:first-of-type {
    background-color: var(--morered);
}

#prevButton:hover,
#nextButton:hover,
input[type=checkbox]:hover {
    cursor: pointer;

}



main {
    width: 90%;
    margin: 0 auto;
}

.filter div div {
    display: flex;
    gap: .5em;
    align-items: center;
}

.checkbox:checked {
    accent-color: var(--green)
}

#receptek {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .85em;
    margin-top: 1em;
}

.creative {

    background-image: url(pics/banner.jpg);
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
    background-size: 100%;
    margin-top: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--green);
    font-size: 200%;
    flex-direction: column;
    text-align: center;
    font-weight: 900;
    border-radius: 16px;
}

.new {

    background-image: url(uj-receptek/receptek-uj.jpg);
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
    background-size: 100%;
    margin-top: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--morered);
    font-size: 200%;
    flex-direction: column;
    text-align: center;
    font-weight: 900;
    border-radius: 16px;
}





.creative span:nth-of-type(3) span {
    color: var(--morered);
}


#receptek img {
    max-width: 200px;
}

.filterandreceptek {

    display: flex;


}

.onerecipe {
    max-width: 200px;
}

.onerecipe img {

    border-radius: 8px;
    width: 200px;
    height: 133px;

}

.onerecipe h3 {
    margin-top: 0;
}

.onerecipe a {
    text-decoration: none;
}

.onerecipe a:hover {

    opacity: .7;
}

.h4div {

    display: flex;
    font-size: .6rem;
    justify-content: space-between;
    color: #A1A1A1;
    font-weight: 300;

}

.h4div h4:last-of-type {
    flex-basis: 0;
}



#morebutton,
#filter {

    background-color: var(--green);
    color: white;
    border-radius: 8px;
    border: none;
    padding: .2em 1em;
    margin: 0 auto;
    margin-top: 1em;
    display: block;
    border-radius: 8px;
}

#morebutton:hover,
#filter:hover {

    cursor: pointer;
}

#morebutton {
    width: 175px;

}

@media (max-width: 450px) {

    .filter {
        display: flex;
        justify-content: space-between;
    }

    .filter h2 {
        display: none;
    }

    .filterandreceptek {

        flex-direction: column;
    }

    #receptek {
        justify-content: center;
    }

    .hero {

        height: 200px;
    }

    .herotext {
        padding-top: 1.5em;
        padding-left: 2.5em;

    }

    .hero h2 {
        font-size: 1.7rem !important;
    }
}

@media (max-width: 900px) {
    .hero h2 {
        font-size: 2rem;

    }

    .middle a {

        flex-basis: 45%;
    }

    .middle {

        gap: 1em;
    }

    
}

@media (max-width: 800px) {

    .creative, .new {

        font-size: 1.5rem;
    }
}

@media (max-width: 550px) {

    .creative, .new {

        font-size: 1rem;
        height: 120px;
    }
}