
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
}

main{
    background: linear-gradient(#c3dbe7, #c3dbe7 15%,#d1a497, #d1a497 70%, #54231e59 98%);
}

.wrapper{
    width: 90%;
    margin: 0 auto;
}

nav{
    background-color: #c3dbe7;
    position: relative;
}

.navBar{
    padding: 1rem 0;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content:space-between;
    align-items: center;
}

.logo img{
    width: 100px;
    height: auto;
}

.mainNav ul{
    display: flex;
    gap: 1.5rem;
}

.mainNav ul li{
    list-style-type: none;
}

.mainNav ul a{
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: .1rem;
    color: #54231e;
    transition: color .07s ease-in-out;
}

.mainNav a:hover{
    color:#aa8c85;
}

/*mobil nav*/


.openbtn {
    font-size: 2rem;
    display: none;
    border: none;
    color: #c3dbe7;
    background-color: #54231e;
    cursor: pointer;
}

.mobileNav{
    width: 0;
    background-color: #54231e;
    position: absolute;
    overflow: hidden;
    transition: .3s;
    outline: 0;
    z-index: 4;
}

.mobileNav li:nth-of-type(1) {
    text-align: right;
}

.closeBtn2 a{
    position: absolute;
    right: 30px;
    font-size: 3rem!important;
    font-weight: 900!important;
    margin-right: 2rem!important;
}

.mobileNav li{
    list-style-type: none;
    padding: 1rem 1.5rem;
}

.mobileNav li:nth-of-type(2) {
    padding-top: 5rem;
}

.mobileNav a{
    width: 0;
    word-break:wrap;
    text-decoration: none;
    font-size: clamp(1.3rem, 1vw, .9rem);
    text-transform: uppercase;
    color: #c3dbe7;
    letter-spacing: .12rem;
    display: block;
}

.mobileNav a:not(.closeBtn2 a) {
    margin-left: 1rem;
}

.mobileNav a:hover{
    color: #e7bcb2;
}

@media only screen and (min-width: 801px) {
    .mobileNav{
        display: none;
    }
}

@media only screen and (max-width: 800px) {

    .navBar{
        justify-content:center;
    }
    .logo img{
        margin-right: 2rem;
    }

    .mainNav li {
        display: none;
    }
    .openbtn {
        display: block;
    }
    .mobileNav{
        top: 0;
        right: 0;
    }

}

@media only screen and (max-width: 550px) {
    .mobileNav li{
        padding-left: .2rem;
    }
    .mobileNav a{
    font-size: 1rem;
    }
}


/*end mobil nav*/

.hero{
    /*background-color: #c3dbe7;*/
    margin: 0 auto;
}

.hero h1{
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.hero p{
    width: 30ch;
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.3rem);
    letter-spacing: .12rem;
    color: #343434;
}


.hero .content{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.hero .content img{
    width: 60%;
    height: auto;
}

.hero .details{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    align-items: center;
}

.hero a{
    text-decoration: none;
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.3rem);
    padding: .75rem 1rem;
    letter-spacing: .15rem;
    border-radius: 50vw;
    background-color: #54231e;
    color: #c3dbe7;
    transition: all .15s ease-in-out;
}

.hero a:hover{
    color:#54231e;
    background-color: #c3dbe7;
    outline: 1px solid #54231e;
}

@media only screen and (max-width: 960px) {
    .hero .content{
        align-items: center;
        flex-direction: column-reverse;
    }
    .hero a{
        margin: 2rem 0;
    }
}

@media only screen and (max-width: 650px) {
    .hero .content img{
        display: none;
    }
}

/*
.aboutMission{
    background: linear-gradient(#c3dbe7, #d1a497);
}
*/

.about{
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7rem 0;
    border-left: 1px solid green;
    border-top: 1px solid green;
}

.about .aboutD{
    width: 55%;
}

.aboutD h2{
    font-size: clamp(2rem, 1.5vw, 1.5rem);
    margin-bottom: .5rem;
}

.aboutD p{
    max-width: 35ch;
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.3rem);
    letter-spacing: .15rem;
    line-height: 1.7rem;
}


.aboutIMG,
.missionIMG {
    max-width: 30%!important;
}

.aboutIMG img,
.missionIMG img{
    width: 100%!important;
    height: auto;
}

.mission{
    max-width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    padding: 7rem 0;
    border-top: 1px solid green;
    position: relative;
}

.mission .missionD{
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items:flex-end;
}

.mission::after{
    content: "";
    height: 80%;
    width: 2px;
    background-color: green;
    position: absolute;
    top: 0;
    right: 0;
}

.mission .missionD::after{
    content: "";
    height: 2px;
    width: 200px;
    background-color: green;
    position: absolute;
    right: 0;
    bottom: 20%;
}

.missionD h2{
    font-size: clamp(1.7rem, 4vw, 2rem);
    margin-bottom: .5rem;
}

.missionD p{
    max-width: 35ch;
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.3rem);
    letter-spacing: .15rem;
    line-height: 1.7rem;
    text-align: right;
}

@media only screen and (max-width: 760px) {
    .about,
    .mission{
        flex-direction: column;
    }

    .aboutIMG,
.missionIMG {
    max-width: 50%!important;
}
}

.standards{
    padding-top: 3rem;
    padding-bottom: 5rem;
    /*
    background-color: #d1a497;
    */
}

.standards h2{
    font-size: clamp(1.7rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

.standards .icons{
    width: 85%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
}


.standards .iconCard{
    max-width: 300px!important;
    height: 175px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid green;
}

.standards .iconCard img{
    max-width: 70px!important;
    height: auto;
    padding-bottom: 1rem;
}

@media only screen and (max-width: 1000px) {
    .standards .icons {
        grid-template-columns: repeat(2,50%);
    }
}

@media only screen and (max-width: 674px){
    
    .standards .icons {
        grid-template-columns: 50%;
        justify-content: center;
        gap: 2rem;
    }
}

.favorites{
    padding: 5rem 0;
    /*
    background-color: #d1a497;
    */
}

.favorites h2{
    font-size: clamp(1.7rem, 4vw, 2rem);
    margin-bottom: 2rem;
}
.recipeFavorites{
    display: grid;
    grid-template-columns: repeat(4,auto);
}

.card img{
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.card .titleRow{
    font-size: clamp(.9rem, 2vw, 1rem);
    text-transform: uppercase;
    font-weight: bold;
}

.card .cardDetails{
    font-size: clamp(.8rem, 1vw, .9rem);
    padding-top: 1rem;
    font-weight: bold;
    font-style: italic;
}

.card .description{
    width: 25ch;
    font-size: clamp(.9rem, 1.2vw + 0.3rem, 1.2rem);
    letter-spacing: .1rem;
    line-height: 1.5rem;
}

@media only screen and (max-width: 1100px) {
    .recipeFavorites{
        grid-template-columns: repeat(3,1fr);
    }
}

@media only screen and (max-width: 900px) {
    .recipeFavorites{
        grid-template-columns: repeat(2,1fr);
    }
}

@media only screen and (max-width: 600px) {

    .recipeFavorites{
        grid-template-columns: 1fr;
    }
}

.contestArea{
    max-width: 100%;
    padding-bottom: 7rem;
    /*
    background: linear-gradient(#d1a497, #d1a497 70%, #54231e59 95%);
    */
}

.contestArea h2{
    font-size: clamp(1.7rem, 4vw, 2rem);
    margin-bottom: 2rem;
}

.contest{
    display: flex;
    justify-content: space-evenly;
}

.contest img{
    max-width: 50%;
    height: auto;
}

.contestD{
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contestD p{
    width: 35ch;
    font-size: 1.1rem;
}

.contestD p:nth-of-type(3) {
    width: 35ch;
    margin-top: 1rem;
    font-size: clamp(1.2rem, 1vw, 1rem);
}


@media only screen and (max-width: 800px) {

    .contest{
        flex-direction: column;
    }
    .contestD{
        display: block;
    }

}

.newsLetter{
    width: 100%;
    padding: 4rem 0;
    background-color: #54231e;
}

.newsContent{
    height: 200px;
    display: flex;
    justify-content:space-evenly;
    align-items: center;
    background-color: #c3dbe7;
}

.newsContent .title{
    width: 50%;
}


.newsContent form{
    height: 150px;
    display: flex;
    justify-content:space-evenly;
    align-items: center;
    flex-direction: column;
}

.newsContent form input[type=text] {
    max-width: 100%;
    outline: 1px solid green;
}

.newsContent button {
    align-self: flex-start;
    border: none;
    padding: .75rem 1rem;
    border-radius: 50vw;
    background-color: #54231e;
    color: #c3dbe7;
    transition: all .15s ease-in-out;
    cursor: pointer;
}

.newsContent button:hover{
    background-color: #c3dbe7;
    color: #54231e;
    outline: 1px solid #54231e;
}

@media only screen and (max-width:650px) {
    .newsContent{
        height: fit-content;
        flex-direction: column;
    }

    .newsContent .title {
        width: 90%;
    }
}

@media only screen and (max-width: 500px) {
    .newsContent{
        justify-content: flex-start;
    }
}

footer{
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #54231e;
    color: white;
}

.footerD{
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-transform: uppercase;
    letter-spacing: .17rem;
    line-height: 3rem;
}



/*
------------------
------------------
*/

/*galler area*/

.galleryArea{
    padding: 5rem 0;
}

.thumbnail {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr) );
    gap: 20px;
}
.thumbnail figure img{
    font-size: 0;
}

.thumbnail figure{
    scale: none;
    cursor: pointer;
    transition: scale .15s ease-in-out;
}

.thumbnail figure:hover{
    scale: 1.1;
}

#firstImg,
#lastImg{
    position: relative;
}

#firstImg::before {
    content: "";
    width: 2px;
    height: 20%;
    background-color: green;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-1rem, -1rem);
}

#firstImg::after {
    content: "";
    width: 20%;
    height: 2px;
    background-color: green;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-1rem, -1rem);
}

#lastImg::before {
    content: "";
    width: 2px;
    height: 20%;
    background-color: green;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(1rem, 1rem);
}

#lastImg::after {
    content: "";
    width: 20%;
    height: 2px;
    background-color: green;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(1rem, 1rem);
}

button[data-panzoom-action],
button[data-fancybox-toggle-slideshow],
button[data-fancybox-toggle-fullscreen],
button[data-fancybox-toggle-thumbs]{
    display: none;
}

@media only screen and (max-width: 723px) {

    .thumbnail figure{
        width: 50%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 460px) {

    .thumbnail figure{
        width: 50%;
        margin: 0;
    }
}