@media screen and (min-width: 0px) and (max-width: 1024px) {


    .menu-flags:not(:hover) > .menu-dropdown > * {
        visibility: visible;
        transition: none;
        height: 36px;
    }

    .menu-flags:hover {
        transition: none;
        transform: translateY(0);
        animation: none;
    }

    .hList {
        top: 25px;
    }

    .hList:hover {
        transition: none;
    }

    .menu-dropdown,
    .menu-flags,
    .menu-flags img {
        transition: none;
        animation: none;
    }

    .menu-dropdown:hover {
        transform: none;
        transition: none;
    }

    .menu-flags:not(:hover) > .menu-dropdown > * #titre {
        font-size: 1.2em;
    }
}


@media only screen and (max-width: 1024px) {

    body {
        animation: none;
        transition: none;
    }

    .header {
        height: 290px;
    }

    .nav {
        font-size: 35px;
    }

    .nav ul li {
        font-size: 35px;
    }

    #titre {
        font-size: 1.2em;
    }

    .logo {
        width: 450px;
        z-index: 10;
        top: 50px;
    }

    #slider {
        top: 200px;
        position: relative;
        overflow: hidden;
        width: 100% !important;
        height: 85vw;
    }

    .dropdown .show {
        height: 555px;
        display: block;
        max-height: 499px;
        transform: scaleY(1);
        animation: showAnimation .8s ease-in-out;
        transition: max-height 1s ease-in-out;
    }

    #slider h2 {
        font-size: 8rem;
    }

    .teaser p {
        font-size: 4em;
        font-family: roboto thin;
        line-height: 1.3em;
        border-top: 2px #fff solid;
        width: 33%;
        min-width: 25rem;
        margin: 0rem auto;
        padding: 1.5rem 0;
    }

    .teaser h3 {
        border-bottom: 2px #fff solid;
        font-family: roboto thin;
        padding: 1.5rem 0;
        margin: 0rem auto;
        min-width: 25rem;
        font-size: 3em;
    }

    #slider ul {
        position: relative;
        margin: 0;
        padding: 0;
        height: 100%;
        overflow: hidden;
        list-style: none;
    }

    #slider ul li {
        position: relative;
        display: block;
        float: left;
        margin: 0;
        padding: 0;
        width: 100vw;
        height: 85vw;
        text-align: center;
    }

    #slider ul li .slide {
        background-size: cover;
        height: 100%;
        background-position: center;
    }

    .teaser {
        opacity: .8
    }

    .caption-style-4 {
        top: 200px;
    }

    .caption-style-4 li {
        width: 47vw;
        margin: 5px;
        display: inline-block;
        position: relative;
        overflow: hidden;
        animation: fadein .6s;
        animation-timing-function: ease-in-out;
        animation-delay: 0s;
    }

    .caption-style-4 li img {
        height: 47vw;
        width: 47vw;
        object-fit: cover;
    }

    .caption-style-4 .blur {
        position: absolute;
        background-color: rgba(0, 0, 0, 0.44);
        height: 15vw;
        bottom: 35%;
        width: 47vw;
        z-index: 5;
    }

    .caption-text h2 {
        font-family: 'abel';
        font-weight: 100;
        text-transform: uppercase;
        font-size: 4em;
        display: table-cell;
        vertical-align: middle;
        width: 47vw;
        height: 47vw;
    }

    .caption-style-4 .caption-text {
        z-index: 10;
        position: relative;
        color: #fff;
        width: 47vw;
        text-align: center;
    }

    .caption-style-4 li:hover .caption {
        opacity: 1;
        animation-duration: 1s;
    }

    .caption-style-4 .caption {
        cursor: pointer;
        position: absolute;
        opacity: 1;
        transition: all 0.45s ease-in-out;
    }

    .caption-style-4 li:hover img {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .caption-style-4 li h2 {
        letter-spacing: 2px;
        transition-duration: 0.3s;
    }

    .caption-style-4 li:hover h2 {
        letter-spacing: 2px
    }

    .Gallerie {
        color: black;
        padding: 30px;
        top: 200px;
        position: relative;
        font-weight: 100;
        font-size: 4em;
        text-transform: uppercase;
        letter-spacing: 20px;
        width: 500px;
        margin: 0 auto;
        box-shadow: 0 65px 0 0 #fff inset, 0 70px 0 0 rgba(0, 0, 0, 0.2) inset;
    }

    .Gallerie span {
        background-color: #fff;
        padding: 0px 5px 0px 15px;
    }
}
