@font-face {
    font-family: "NimbusBoldExt";
    src: url(NimbusBoldExt.otf);
}


@font-face {
    font-family: "NimbusRegularExt";
    src: url(NimbusRegularExt.otf);
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
    background-position-y: 800px;
    background-repeat: no-repeat;
    background-color: #F3F3F3;
    color: #202020;

}

a {
    text-decoration: none !important;
    color: #202020;
}


header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 12vh;
    width: 80vw;
    position: relative;
    margin-left: 10vw;
}

header svg {
    width: 12vw;
    min-width: 200px;
}

h2, h1 {
    font-family: NimbusBoldExt, sans-serif;
    font-size: 2.5em;
    margin: 0;
}

header > h1 {
    margin-left: 3vw;
}

aside {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
}

aside > a {
    font-family: NimbusRegularExt, sans-serif;
    font-size: 1em;
}

main {
    width: 70vw;
    margin-left: 15vw;
    display: flex;
    margin-top: 15vh;
    justify-content: space-between;
    flex-wrap: wrap;
}

main > a {
    transition: ease-out 0.2s;
    max-width: 32%;
    min-width: 400px;
    position: relative;
}

main > a > img {
    transition: ease-out 0.2s;
    width: 100%;
    margin-bottom: 3vh;
}

main > a > p {
    transition: ease-out 0.2s;
    color: white;
    position: absolute;
    top: 44%;
    width: 100%;
    text-align: center;
    margin: 0;
    opacity: 0;
    font-family: NimbusRegularExt, sans-serif;
    font-size: 1.5em;
}


main > a:hover p {
    transition: ease-out 0.2s;
    opacity: 1;
}

main > a:hover {
    transition: ease-out 0.2s;
    transform: scale(1.02);
}


main > a:hover img {
    transition: ease-out 0.2s;
    filter: brightness(0.4);
}

h2 {
    opacity: 0.3;
}

.product > header {
    height: 5vh;
    margin-top: 6vh;
}

.product > header > a {
    height: auto;
}

.product > main > img {
    align-self: flex-start;
    width: 55%;
}

.product > main > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
}


.product > main {
    flex-direction: row;
    margin-top: 4vh;
    flex-wrap: wrap;
    margin-left: 14vw;
    width: 72vw;
}

.product h2 {
    opacity: 1;
    color: #fcfcfc;
    background-color: #202020;
    width: 100%;
    padding: 30px;
}

.product > main > div > ul {
}

.product > main > div > ul > li {
    font-family: NimbusRegularExt, sans-serif;
    list-style-type: none;
}

.button {
    width: 100%;
    height: 100%;
}

.product > main > div > div {
    transition: ease-out 0.2s;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
    height: 100px;
    border: #202020 solid 1px;
    box-sizing: border-box;
}

.product > main > div > div > form {
    width: 70%;
    margin: 0;
    padding: 0;
}

.product > main > div > div > p {
    width: 30%;
    margin: 0;
    padding: 0;
    background-color: #fcfcfc;
    font-family: NimbusRegularExt, sans-serif;
    line-height: 100px;
    font-size: 1.5em;
    padding-left: 5%;
}

.product > main > div > div > h3 {
    color: #fcfcfc;
    pointer-events: none;
    position: absolute;
    font-family: NimbusBoldExt, sans-serif;
    line-height: 100px;
    font-size: 2em;
    margin: 0;
    left: 5%;
}


.product > main > div .button {
    background-color: #0F00E3;
    transform: scale(1.04);
    cursor: pointer;
}


.product > main > div > div:hover {
    transition: ease-out 0.2s;
    transform: scale(1.04);
}

.product li > p {
    position: relative;
    padding-left: 40px;
}

li > svg {
    position: absolute;
    width: 22px;
}

body > main > div  svg {
    width: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#gallery {
    width: 70vw;
    margin-left: 15vw;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

#gallery > img {
    transition: 0.2s ease-out;
    cursor: pointer;
    width: 32%;
    margin-bottom: 3vh;
    height: 24vw;
    background-size: cover;
}


#gallery > img.zone{
    opacity: 0;
    transform: translateY(-104vw) scale(1) !important;
}



#gallery > img:hover{
    transition: 0.2s ease-out;
    transform: scale(1.05);
}

h4 {
    margin: 15vh 0 10vh 10vw;
    font-family: NimbusBoldExt, sans-serif;
    font-size: 1.5em;
    color: #202020;
}


.product > header > a {
    transition: ease-out 0.1s;
    font-family: NimbusBoldExt, sans-serif;
    color: #202020;
    font-size: 1.5em;
}


.product > header > a:hover {
    transition: ease-out 0.1s;
    transform: scale(1.1);
}

footer {
    height: 12vh;
    background-color: #090909;
    color: #fcfcfc;
    margin-top: 8vh;
    font-family: NimbusRegularExt, sans-serif;
    padding-top: 5vh;
}

footer p {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

footer a {
    color: #fcfcfc;
    text-decoration: underline !important;
}

.opened > img {
    display: block;
    height: 95vh;
    margin-top: 2.5vh;
    margin-left: auto;
    margin-right: auto;
}

.opened>p{
    position: absolute;
    color: #fcfcfc;
    font-family: NimbusRegularExt, sans-serif;
    top: 2vh;
    right: 3vw;
    font-size: 1.5em;
}

.opened {
    cursor: pointer;
    display: block;
    position: fixed;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
}

.preview {
    display: none;
}


.thx{
    padding: 10vw;
}
.thx>h2{
    color: #202020;
    opacity: 1;
}

.thx>p{
    color: #202020;
font-family: NimbusRegularExt,sans-serif;
}

.thx>a{
    color: #0F00E3;
    text-decoration: underline !important;
    font-family: NimbusRegularExt,sans-serif;
}


@media screen and (max-width: 1000px) {


    .product > main > div > div{
        font-size: 0.7em;
    }

    #gallery > img{
        height: auto;
    }


    main {
        width: 80vw;
        margin-left: 10vw;
        margin-top: 7vh;
    }

    body > main > a {
        min-width: 200px;
        max-width: 100%;
    }

    header {
        margin-top: 5vh;
    }

    header aside {
        display: none;
    }

    .product main {
        flex-wrap: wrap;
        width: 85%;
        margin-left: 7.5%;
    }

    .product main > img {
        width: 100%;
    }

    .product main > div {
        width: 100%;
    }

    .product main ul {
        margin-top: 30px;
        margin-bottom: 40px
    }

    .product main > div >a> svg {
        display: none
    }


    .product main > div > h2 {
        margin-top: 30px;
        font-size: 1.5em;
        padding: 5%;
        width: 90%;

    }

    .product h4 {
        margin: 11vh 0 5vh 7.5vw;
    }

    .product #gallery {
        width: 85%;
        margin-left: 7.5%;
        flex-wrap: wrap;
    }

    .product #gallery > img {
        width: 100%;
    }


    .product #gallery.lyon > img {
        height: 128vw;
    }



    footer {
        height: 40vh;
    }

    footer > p {
        line-height: 25px;
    }
}

