@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Alegreya:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/**********/
/* GLOBAL */
/**********/

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: "Alegreya Sans", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

/* Prevent css transitions from running on page load */
.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

/* HEADER */

header {
    height: 600px;
    position: relative;
    color: #fff;
}

header .top-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    padding: 30px 20px 0 20px;
}

.partners-logo {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 4;
}

.partners-logo img:first-child {
    margin-right: 1rem;
}

header .top-strip img {
    height: 40px;
    width: auto;
}

.top-strip .center-logo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 40px;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 1;
}

header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Alegreya;
    font-style: normal;
    font-weight: bold;
    font-size: 50px;
    width: fit-content;
}

header .background-wrapper {
    height: 100%;
}

header .background-wrapper img {
    /* max-height: 600px; */
    position: relative;
}

header .background-wrapper::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(263.8deg, #73afa8 -2.99%, rgba(115, 175, 168, 0) 105.12%);
    background-position: center;
    opacity: 0.6;
}

header img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

body > footer {
    background: #282b2e;
}

#burger {
    width: 25px;
    height: 25px;
    /* float: left; */
    /*padding: 5px;*/
    margin: 0;
    position: relative;
    z-index: 101;
    top: 4px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    cursor: pointer;
}

#burger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #e5e7dc;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

#burger span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#burger span:nth-child(2) {
    top: 7px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#burger span:nth-child(3) {
    top: 14px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#burger.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -3px;
    left: 2px;
}

#burger.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#burger.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 14px;
    left: 2px;
}

/* MAIN */

main.container {
    width: 100%;
    /* height: 100%; */
    max-width: 550px;
    margin: 10px auto;
    padding: 3rem 1rem;
}

main.container-750 {
    margin: 5rem auto;
    padding: 15px;
}

.container .list-2022 {
    position: relative;
}

.container h2 {
    color: #73afa8;
    border-bottom: 1px solid #73afa8;
    font-family: Alegreya;
    font-style: normal;
    font-weight: bold;
}

.container ul {
    display: flex;
    flex-direction: column;
}

.container .container__liste__item a {
    display: flex;
    flex-direction: column;
}

.container .container__liste__item {
    margin: 3rem 0;
}

.container ul .item__image {
    overflow: hidden;
    width: 100%;
    max-height: 250px;
}

.container ul .item__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

a:link,
a {
    color: rgb(219, 219, 219);
    text-decoration: none;
    font-family: "Alegreya Sans", sans-serif;
    font-weight: 400;
    font-size: 1rem;
}
a:visited {
    color: rgb(211, 211, 211);
}
a:active {
    color: rgb(255, 255, 255);
}

a:hover,
a:focus {
    color: rgb(134, 134, 134);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details {
    /* flex:  1 ; */
    /* flex-basis: calc(100% - 2px); */
    width: 100%;
    position: relative;
    border: 1px solid #dadada;
}

.details::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #73afa8 0%, #8fcfc8 100%);
    transition: opacity 0.3s ease-in-out;

    opacity: 0;
}

.container .container__liste__item a:hover .details::before {
    opacity: 1;
}

.container .container__liste__item a:hover .details div {
    color: #fff;
}

.container .container__liste__item a:hover .details .right-arrow {
    border-color: white;
}

.details > div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    height: 100%;
    color: #000;
    max-width: 400px;
    transition: color 0.3s ease-in-out;
}

.details .museum-name {
    color: #8f8f8f;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.expo-name {
    font-size: 1.5rem;
    font-weight: 500;
}

.right-arrow {
    margin-top: 1.5rem;
    width: 12px;
    height: 12px;
    border-left: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    transform: rotate(-135deg);
}

/* ***** */
/* ASIDE */
/* ***** */

aside.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #292929;
    z-index: 100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    color: #fff;
    font-family: "Alegreya";
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 35px;
}

aside.menu-container .wrapper {
    flex-basis: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

aside.menu-container .wrapper .nav-list {
    margin-top: 3rem;
}

aside.menu-container .cover {
    position: relative;
    flex-basis: 30%;
}

aside.menu-container .cover::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(340.65% 273.28% at 50% 52.7%, #000000 0%, #73afa8 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

aside.menu-container .cover .text-cover {
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 18px;
}

aside.menu-container .cover img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

aside.menu-container.open {
    transform: translateX(0);
    pointer-events: auto;
}

aside.menu-container .link-container {
    margin: 1.6rem 0;
}

aside.menu-container .link-container a {
    color: #fff;
}

aside.menu-container .link-container:not(:first-child) > a {
    font-family: "Alegreya";
    font-style: normal;
    /* font-weight: 500; */
    font-size: 1.25rem;
}

aside.menu-container .link-container:first-child > a {
    font-family: "Alegreya";
    font-style: italic;
    font-weight: bold;
    font-size: 1.8rem;
}

/**********/
/* FOOTER */
/**********/

.footer-nav {
    background-color: #323639;
    padding: 2rem 0;
}

.footer-nav a {
    color: #fff;
}

.footer-nav > ul li {
    text-align: center;
    padding: 20px;
}

.bottom-footer {
    padding: 30px 15px 30px 15px;
}

.bottom-footer > div {
    text-align: center;
}

.bottom-footer p {
    color: #828282;
    margin: 0;
    padding: 20px;
    text-align: center;
}






.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.button-wrapper > a {
    background: linear-gradient(180deg, #73AFA8 0%, #8FCFC8 100%) center center/cover no-repeat;
    position: relative;
    padding: 1.5rem 3rem;
    color: #fff;
    font-family: Alegreya;
    font-style: normal;
    font-weight: bold;
    transition: all .3s ease-in-out;
}

.button-wrapper > a span {
    position: relative;
    z-index: 10;
}

.button-wrapper > a::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #8bdbd2 0%, #8fcfc886 100%) center center/cover no-repeat;
    z-index: 0;
    opacity: 0;
    transition: opacity .3s ease-in-out;
} 

.button-wrapper > a:hover::before,
.button-wrapper > a:focus-visible::before {
    opacity: 1;
}






@media screen and (min-width: 640px) {
    /* Footer */

    .footer-nav {
        padding: 0;
    }

    .footer-nav > ul {
        position: relative;
        max-width: 1100px;
        margin: 0 auto;
        padding: 70px 0;
        display: flex;
        align-content: stretch;
        justify-content: space-evenly;
        align-items: center;
    }

    .footer-nav > ul li {
        margin: 0 20px;
        padding: 0;
        position: relative;
        flex-basis: 100%;
    }

    .footer-nav > ul li:after {
        content: "";
        position: absolute;
        top: -20px;
        left: -21px;
        width: 2px;
        height: 60px;
        background: rgba(255, 255, 255, 0.2);
    }

    .footer-nav > ul li:last-child:before {
        content: "";
        position: absolute;
        top: -20px;
        right: -21px;
        width: 2px;
        height: 60px;
        background: rgba(255, 255, 255, 0.2);
    }

    .bottom-footer > div {
        text-align: unset;
        float: left;
    }

    .bottom-footer {
        overflow: hidden;
        padding: 45px;
    }

    .bottom-footer p {
        position: absolute;
        left: 0;
        right: 0;
    }
}

@media screen and (min-width: 840px) {
    .container .container__liste__item a {
        max-height: 350px;
    }

    .container .container__liste__item:nth-child(odd) a {
        flex-direction: row;
    }

    .container .container__liste__item:nth-child(even) a {
        flex-direction: row-reverse;
    }

    .container ul .item__image {
        max-height: 400px;
    }

    main.container {
        max-width: 1200px;
    }

    main.container-750 {
        max-width: 750px;
    }

    /* HEADER */
    header .top-strip {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        display: flex;
        justify-content: space-between;
        padding: 40px 40px 0 40px;
    }

    .partners-logo {
        position: relative;
        height: 100%;
        width: 100%;
        z-index: 4;
    }

    .partners-logo img:first-child {
        margin-right: 1.5rem;
    }

    header .top-strip img {
        height: 60px;
        width: auto;
    }

    .top-strip .center-logo-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 40px;
        width: 100%;
        height: 100%;
        text-align: center;
        z-index: 1;
    }

    /* MENU */

    aside.menu-container {
        font-size: 25px;
        flex-direction: row;
    }

    aside.menu-container .wrapper {
        flex-basis: 50%;
        min-width: 500px;
    }

    aside.menu-container .cover {
        flex-basis: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    aside.menu-container .cover .text-cover {
        width: 500px;
        left: 50px;
    }
}
