@font-face {
   font-family: barlowFont;
   src: url(./fonts/Barlow-Regular.ttf);
}
@font-face {
   font-family: barlowLight;
   src: url(./fonts/Barlow-Light.ttf);
}



html {
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
}

h1 {
	font-family: barlowLight;
	font-size: 300%;
}
h2 {
	text-align: center;	
	font-family: barlowFont;
	margin-bottom: 10%	
}
h3 {
	text-align: center;	
	font-family: barlowFont;
	margin-bottom: 5%
}
p {
	font-family: barlowLight;
}
form{
	margin-top: 20%
}
:link{
	color: black
}
:visited{
	color: black
}
.center{
	text-align: center;
}
#center{
	text-align: center;
}

.nav-container {
	position: fixed;
	left: 0;
	top: -70px;
	background: white;
	display: block;
	width: 100%;
	height: 50px;
	padding: 10px 30px;
	color: #000000;
	z-index: 9;
}
		
.navTitre {
	margin: 0px;
	float: left;
	padding: 0px;
}

.nav {
	margin: 0px;
	float: right;
	padding-right: 3%;
}

.nav a {
	border-radius: 50px;
	display: inline-block;
	margin: 0px 5px;
	transition: background .25s ease-out;
	padding: 5px 10px;
	text-decoration: none;
	color: #000000;
	font-weight: 600;
	letter-spacing: 1px;
	font-family: barlowFont;
	opacity: 0.8;
	
}

.nav a:hover {
	opacity: 1;
}

.nav a.active {
	opacity: 1;
	color:  #67571B;
}

#content {
	padding-top: 10px;
}

#content>div {
	margin-bottom: 15%;
}

#content>div#section_6 {
	margin-bottom: 140px;
}
.decalDroite {
	padding-left: 5%;
	text-align: center;
	width: 30%;
}

nav{
  top:0;
  left:0;
  background:#FFFFFF;
  z-index: 1;
  font-family: barlowFont;
  ul{
    padding:0;
    list-style:none;
    li{
      margin-top: 50px;
	  margin-left: 100px;
      a{
        padding:10px 20px;
		
        color:black;
        text-decoration:none;
        transition: background .25s ease-out;
        &:hover{
          color:#67571B;
        }
       }      
    }
  }
}


img {
object-fit: contain;
  width: 100%;
  max-height: 100%;
}

.conteneur{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 400px;
	grid-gap: 30px;
	margin-bottom: 8%;
}
.conteneurAcceuil{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 600px;
	grid-gap: 10px;
}
.conteneurNews{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 500px;
	grid-gap: 10px;
	margin-bottom: 10px;
}

.imageFullG{
	grid-column: 1 / 2;	
	display: grid;
}
.imageFullG img{
	width: 70%;
	height: 100%;
	object-fit: cover;
	justify-self: end;
}
.texteD{
	grid-column: 2 / 3;
	width: 70%;
	text-align : justify;
}

.imageFullD{
	grid-column: 2 / 3;	
	display: grid;
}
.imageFullD img{
		width: 70%;
	height: 100%;
	object-fit: cover;
}
.imageFullDLight{
	grid-column: 2 / 4;	
	object-fit: cover;
}
.imageFullDLight img{
	width: 100%;
	height: 600px;
	object-fit: fit;
}
.texteG{
	grid-column: 1 / 2;
	width: 70%;
	justify-self: end;
}


.conteneurImage{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 400px 400px;
	grid-gap: 30px;
	margin-top: 30px;
}

.imageFullG{
	grid-column: 1 / 2;
	grid-row: 1 / 3;
}
.imageFullD{
	grid-column: 2 / 3;
	grid-row: 1 / 3;
}

.imageHalfDTop{
	grid-column: 2 / 3;
	grid-row: 1 / 2;
}
.imageHalfDTop img{
	width: 400px;
	height: 600px;
	object-fit: cover;
}
.imageHalfDBottom{
	grid-column: 2 / 3;
	grid-row: 2 / 3;
}
.imageHalfDBottom img{
	width: 400px;
	height: 600px;
	object-fit: cover;
}

.etirer{
	letter-spacing: 10px;
}

footer{
	text-align: center;	
}

input[type="text"], input[type="password"], input[type="email"], textarea {
  border: none;
  outline: none;
  border-bottom: 1px solid #ccc;
}
label {
  display: inline-block;
  width: 20%;
}

.formfield {
  display: flex;
  align-items: top;
}

#space{
	line-height: 300%;
}
#plusPetit{
	font-size: 80%;
}

 #myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 150px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}