/*
Theme Name: Les serres de lile
Template: twentytwentyfour
*/

.main-header {
    margin-top: 0;
}

* {
    font-family: myriad-pro, sans-serif;
    margin-block-start: 0;
    margin-block-end: 0;
}

h1, h2, h3 {
    font-family: "barricada-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

@media (max-width: 768px) {
    .main-banner > figure {
        max-height: 400px;
        overflow: hidden;
       }
}

ul {
    list-style: none;
}

.mea-opening {
    position: relative;
    margin-top: 50px;
    @media (max-width: 768px)  {
        margin-top: 100px;
    }
}

.opening-picture {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.mea-text-wrapper {
 position: absolute;
 display: flex;
 justify-content: center;
 padding: 20px;
 top: 15%;
 left: 50%;
 transform: translate(-50%, -50%);
 @media (max-width: 768px)  {
    padding: 30px;
    width: calc(100% - 30px);
}
}

.mea-text {
    display: flex;
    flex-direction: row;
    @media (max-width: 768px)  {
        flex-direction: column;
        margin-block-start: 0;
        margin-block-end: 0;
    }
}
