@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,500;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    overflow-x: hidden;
    position: absolute;
    top: 0;
    width: 100vw;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #FFFFFF;
    perspective: 1px;
}


















.Contact {
    height: auto;
    width: 100vw;
}

.ContactContainerPosition {
    width: 100%;
    height: fit-content;
    position: relative;
}

.ContactContainer1 {
    width: 1525px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

.ContactTextContainer1 {
    margin-top: 30vh;
    height: 100%;
    width: fit-content;
}

.ContactText1 {
    padding-bottom: 80px;
    font-family: 'Cormorant', serif;
    color: #101010;
    font-size: 95px;
    width: fit-content;
    -webkit-text-stroke: .2px #101010;
}

.ContactText2 {
    font-family: 'Cormorant', serif;
    color: #101010;
    font-size: 30px;
    width: 550px;
    -webkit-text-stroke: .15px #101010;
    padding-bottom: 20px;
}

.ContactText3 {
    font-family: 'Cormorant', serif;
    color: #101010;
    font-size: 28px;
    width: 550px;
    -webkit-text-stroke: .15px #101010;
}

.ContactText4 {
    font-family: 'Cormorant', serif;
    color: #101010;
    font-size: 30px;
    width: 250px;
    -webkit-text-stroke: .15px #101010;
    padding-bottom: 20px;
}

.ContactTextContainer2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: url('../Src/images/GRANAJOLO_VENDANGES2021-168.jpg');
    background-position: 50% 28%;
    background-size: cover;
}

@media (max-width: 1775px) {
    .ContactText1 {
        /*font-size: 80px;*/
    }

    .ContactText2 {
        /*font-size: 30px;*/
        width: 286.17px;
        -webkit-text-stroke: .15px #101010;
    }

    .ContactText3 {
        /*font-size: 36px;*/
        width: 286.17px;
    }

    
    .ContactText4 {
        /*font-size: 30px;*/
        /*width: 286.17px; /*<----*/
    }

    .ContactContainer1 {
        width: 1350px;
    }
}

/*
@media (max-width: 1775px) {
    .ContactText1 {
        font-size: 80px;
    }

    .ContactText2 {
        font-size: 30px;
        width: 286.17px;
        -webkit-text-stroke: .15px #101010;
    }

    .ContactText3 {
        font-size: 36px;
        width: 286.17px;
    }

    .ContactText4 {
        font-size: 35px;
        width: 286.17px;
    }

    .ContactContainer1 {
        width: 1350px;
    }
}*/

@media (max-width: 1500px) {
    .ContactContainer1 {
        width: 100%;
    }

    .ContactTextContainer1 {
        margin-left: 75px;
    }

    .ContactTextContainer2 {
        margin-right: 75px;
        width: 55%;
    }
}




@media (max-width: 1300px) {
    .ContactTextContainer2 {
        width: 50%;
    }
}

@media (max-width: 1100px) {
    .ContactTextContainer2 {
        width: 45%;
    } 
}

@media (max-width: 1100px) {
    .ContactTextContainer1 {
        margin-left: 60px;
    }

    .ContactTextContainer2 {
        margin-right: 60px;
    }
}

@media (max-width: 925px) {
    .ContactTextContainer2 {
        display: block;
        width: 100vw;
        margin-right: 0;
        position: relative;
        height: 80vh;
        margin-top: 100px;
    }
}

@media (max-width: 800px) {
    .ContactTextContainer1 {
        /*margin-top: 48vh;*/
        margin-left: 42px;
    }

    .ContactText1 {
        font-size: 55px;
        padding-bottom: 35px;
    }

    .ContactText2 {
        font-size: 25px;
        width: 220px;
        padding-bottom: 25px;
    }

    .ContactText3 {
        font-size: 23px;
        width: auto;
    }

    .ContactText4 {
        font-size: 25px;
        width: 175px;
        padding-bottom: 25px;
    }
}


/*
@media (max-height: 630px) {
    body {
        height: 112.5vh;
    }
}

@media (max-height: 550px) {
    body {
        height: 115.5vh;
    }
}

@media (max-height: 500px) {
    body {
        height: 120.5vh;
    }
}

@media (max-height: 450px) {
    body {
        height: 140.5vh;
    }
}

@media (max-height: 350px) {
    body {
        height: 150.5vh;
    }
}

@media (max-height: 325px) {
    body {
        height: 160.5vh;
    }
}*/















.navbar {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    top: 31px;
    right: 43px;
    width: 564px;
    z-index: 110;
    height: 20px;
    font-weight: 400;
    font-family: 'Cormorant', serif;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 988%;
    background-color: #101010;
    transform: scaleY(0.5);
    left: -1000%;
}
  
a {
    text-decoration: none;
    color: #101010;
    font-size: 14.8px;
    display: inline;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.2rem;
    font-weight: 600;
    position: relative;
}
  
#ligne {
    position: relative;
    height: 100%;
    width: 1px;
    background-color: #101010;
}
  
#Contact::after {
    content: '';
    background-color: rgba(0, 0, 0, 0.424);
    opacity: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    height: 32px;
    width: 132px;
    z-index: -1;
}

/*.div {
    background-color: black;
    width: 100px;
    height: 100px;
    margin: auto;
    position: relative;
}
  
.div::after {
    background-color: red;
    width: 100px;
    height: 5px;
    position: absolute;
    bottom: -10px;
    content: '';
}*/

@media (max-width: 725px) {
    .navbar {
        right: 50%;
        transform: translateX(50%);
    }
    .navbar::after {
        opacity: 0;
    }
}

@media (max-width: 710px) {
    .navbar a {
        display: none;
    }
    
    #ligne {
        display: none;
    }

    .navbar {
        right: 20px;
        width: 50px;
        height: 40px;
        display: inline-block;
        transform: inherit;
    }
    
    .navbar::after {
        left: -1555%;
        width: 1500%;
        opacity: 1;
    }

    .Burger {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .BurgerLine {
        margin: auto;
        position: relative;
        height: 1px;
        width: 40%;
        background-color: #101010;
        transform: scaleY(0.9);
        transition: 0.7s ease-in-out all;
    }

    .BurgerLine::after {
        display: block !important;
    }

    .BurgerLine::before {
        display: block !important;
    }

    #BackgroundBurger {
        position: absolute;
        width: 70px;
        height: 70px;
        border: solid #101010 1px;
        transform: scale(0.5);
    }

    body.active .BurgerLine {
        transform: rotate(90deg);
        height: 1.45px;
    }
}

.Burger {
    position: absolute;
}

.NavbarMobile {
    /*position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: #101010;
    z-index: 9;
    position: absolute;
    display: flex;
    flex-direction: column;
    opacity: 0.7;
    display: none;
    transform: translateY(100vh);*/

    position: absolute;
    top: 0;
    width: 100vw;
    height: 105vh;
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    opacity: 0.7;
    display: none;
    transform: translateY(100vh);
    z-index: 100;
}

ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style-type: none;
}

li {
    opacity: 0;
    transform: translateY(35px);
}

li a {
    justify-content: left;
    color: #e5e1d5;
    font-size: 35px;
    font-family: 'Cormorant', serif;
    font-weight: 100;
    line-height: 85px;
    letter-spacing: .1rem;
    text-transform: uppercase;
    font-style: italic;
}
.BurgerLine::after {
    transition: 0.7s ease-in-out all;
    content: '';
    position: absolute;
    top: -6px;
    width: 100%;
    height: 2px;
    background-color: #101010;
    transform: scaleY(0.7);
}
.BurgerLine::before {
    transition: 0.7s ease-in-out all;
    content: '';
    position: absolute;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #101010;
    transform: scaleY(0.7);
}



/* Réglage des bugs après le test sur le site (là, navbar) */

@media (max-height: 500px) {
    li a {
        font-size: 35px;
        line-height: 70px;
    }
}

@media (max-height: 500px) {
    .navbar{ 
        top: 22px;
    }
}

@media (max-height: 380px) {
    li a {
        font-size: 30px;
        line-height: 62.5px;
    }
}

@media (max-height: 340px) {
    .navbar{ 
        top: 15px;
        right: 15px;
    }
}




/* Google map */

.Container2 {
    margin-top: 100px;
    margin-bottom: 80px;
    height: 700px;
    position: relative;
}

.GoogleMapContainer {
    width: 47%;
    height: 100%;
}

.Container2Text {
    width: 50%;
    position: absolute;
    right: 0;
    top: 0;
}

.ContactText5 {
    padding-bottom: 30px;
    font-family: 'Cormorant', serif;
    color: #101010;
    font-size: 95px;
    width: fit-content;
    text-align: center;
    width: 100%;
    -webkit-text-stroke: .2px #101010;
}

.ContactText6 {
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    font-family: 'Cormorant', serif;
    color: #101010;
    width: fit-content;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: .4px;
    -webkit-text-stroke: .15px #101010;
}

.LienGoogle {
    margin-top: 16px;
    width: fit-content;
    font-family: 'Cormorant', serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: .4px;
    -webkit-text-stroke: .15px #101010;
}

.LienGoogle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background-color: #101010;
}

@media (max-width: 1775px) {
    .ContactText5 {
        font-size: 80px;
    }

    .GoogleMapContainer {
        width: 45%;
    }
    .Container2 {
        height: 650px;
    }
}

@media (max-width: 1500px) {
    .ContactContainer1 {
        width: 100%;
    }

    .Container2Text {
        margin-right: 75px;
        width: auto;
    }

    .GoogleMapContainer {
        padding-left: 75px;
        width: 45%;
    }
    .ContactText6 {
        font-size: 22px;
    }
    .LienGoogle {
        font-size: 22px;
    }
}

@media (max-width: 1300px) {
    /*.Container2 {
        margin-bottom: 0;
    }*/
    .GoogleMapContainer {
        margin-top: 75px;
        position: relative;
        width: 100%;
        padding-right: 75px;
        height: 90vh;
        margin-bottom: 80px;
    }
    .Container2Text {
        position: relative;
        left: 0;
        margin-left: 75px;
    }
    .ContactText5 {
        text-align: left;
    }
    .ContactText6 {
        margin-left: 0;
    }
    .Container2 {
        height: auto;
    }
}


@media (max-width: 1100px) {
    .Container2Text {
        margin-left: 60px;
    }
    .GoogleMapContainer {
        margin-top: 60px;
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 800px) {
    .Réseaux {
        font-size: 20px !important;
    }
    .email {
        width:180px !important;
    }
    .Container2Text {
        margin-left: 42px;
    }
    .GoogleMapContainer {
        margin-top: 60px;
        padding-left: 42px;
        padding-right: 42px;
    }
    .ContactText5 {
        font-size: 55px;
        padding-bottom: 35px;
    }

    .ContactText6 {
        font-size: 22px;
        white-space: normal;
        width: 75%;
    }
}

@media (max-width: 500px) {
    .GoogleMapContainer {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 334px) {
    .Container2Text {
        margin-right: 42px;
    }

    .ContactText6 {
        width: 100%;
        text-align-last: left;
        text-align: none;
    }
}

.Réseaux {
    position: relative;
    /*margin-top: 30px; <-------*/
    font-family: 'Cormorant', serif;
    color: #101010;
    font-size: 23px;
}

.Réseaux a {
    display: inline;
}

.Instagram {
    width: 16px;
    height: 16px;
    position: relative;
    filter: grayscale(1);
}

.Facebook {
    filter: grayscale(1);
}

.email {
    margin-top: 5px;
    width:210px;
}

.NavbarMobileBackground {
    background-color: #101010;
    position: absolute;
    transform: translateY(5000px);
    left: 0;
    height: 100vh;
    width: 100vw;
    opacity: 0;
    z-index: 99;
}

body.active .NavbarMobileBackground {
    height: 7000%;
}











/* --- Test de modification --- */

.ContactTestContainer {
    width: 560px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ContactTest {
    font-family: 'Cormorant', serif;
    color: #101010;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: .4px;
    position: relative;
}



.ContactTest.a {
    padding-bottom: 40px;
    width: 270px;
}

.ContactTest.b {
    padding-bottom: 40px;
    width: 270px;
}

.ContactTest.c {
    padding-bottom: 40px;
    width: 270px;
}

.ContactTest.d {
    width: 270px;
    padding-bottom: 40px;
}

.ContactTest.e {
    width: 270px;
    padding-bottom: 40px;
}

.ContactTest.f {
    width: 270px;
    padding-bottom: 40px;
}

@media (max-width: 1500px) {
    .ContactTestContainer {
        width: 270px;
    }
    .ContactText1 {
        padding-bottom: 40px;
    }
}

@media (max-width: 800px) {
    .ContactTest {
        font-size: 24px;
        line-height: 1.025;
        letter-spacing: 0;
    }

    .ContactTest.a {
        width: 220px;
    }

    .ContactTest.b {
        width: 220px;
    }

    .ContactTest.c {
        width: 200px;
    }

    .ContactTest.d {
        width: 220px;
    }

    .ContactTest.e {
        width: 220px;
    }

    .ContactTest.d {
        width: 220px;
    }

    .ContactTestContainer {
        width: 220px;
    }
}












@media (max-width: 304px) {
    .ContactTextContainer1 {
        margin-left: auto;
        margin-right: auto;
    }

    .Container2Text {
        width: 220px;
        margin-right: auto;
        margin-left: auto;
    }
}