html {
    font-family: "OpenSansCondensed", sans-serif;
    src: url('OpenSansCondensed.ttf') format('truetype');
}


body {
    background-color:#E5E5E5;
}

h1 {
    position:absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 2px;
    color: white;
    padding: 10px;
    text-align: center; 
    width: 1000px;
}

h2
 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 20px;
    color: #333333;
    padding-top: 20px;
}

h3 {
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header p {
    position:absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    background-color: #018a55;
    opacity: 0.8;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
}


.header button:hover {
    background-color: #018a55;
}

.header button:focus {
    outline: none;
}





.nav {
    width: 100%;
    height: 80px;
    background-color: #018a55;
    position: fixed; 
    top:0;
    left:0;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
}

.nav ul {
    margin: 0px;
    padding: 0;
    list-style-type: none;
}

.nav ul li {
    display: inline-block;
    margin-left: 30px;
    margin-right: 30px;
    line-height: 80px;
    font-size: 15px;
    color: black;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
    text-align:left;
    vertical-align: top;
}


.nav ul li:hover {
    color: #88DBAE;
}

.roll {
    width: 0%;
    height: 1px;
    background-color:#88DBAE;
    margin-top: -25px;
    transition: all ease-in-out 0.3s;
    margin-left: 50%;
    transform: translateX(-50%);
}

.nav ul li:hover .roll {
    width: 100%;
}


.nav ul button {
    border: 0;
    border-radius: 40px;
    background-color: #b8f1d3;
    color: black;
    font-weight: 200;
    font-size: 13px;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
    float: right;
    width: 150px;
    height: 40px;
    margin-top: 20px;
    margin-right: 10px;

}

.nav button:hover {
    background-color: #bacebd;
}

.nav button:focus {
    outline: none;
}

.nav ul img{
    display: inline-block;
    /* display: block -> les éléments sont les uns au dessus des autres
    display:inline -> les éléments sont les uns à côté des autres */
    margin-left: 30px;
    margin-right: 30px;
    line-height: 80px; /* un interline de la même valeur que la hauteur du bloc permet de centrer verticalement le texte */
    cursor: pointer;
    width: 10%;
    height: 10%;
    margin-top: 10px;
}






.container {
    width: 1000px;
    margin-top:30px;
	margin:auto;
    padding-top: 7px;
    padding-bottom: 35px;

}

.container p {
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all ease-in-out 0.3s;
    vertical-align: top;
}

.info p {
    text-align: center;
    font-size: 15px;
    transition: all ease-in-out 0.3s;
    vertical-align: top;
    text-transform:none;
    letter-spacing: 0px;
}

.info {
    width: 250px; /* 220px= 180px + 2x20px (le padding s'ajoute aux dimensions du bloc) */
    text-align: center;
    min-height: 100px;
    font-weight: 200px;
    font-size: 13px;
    background-color: #13a66e93;
    float: left;
    margin-right: 0px;
    margin-left: 35px;
    padding: 20px;
    transition: all ease-in-out 0.3s;
    border-radius: 10px;
}

.info:nth-child(3) {
    margin-right:0; 
}

.info p {
    color: black
}

.info:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
}

.clear {
    clear: both;
}





.corps {
	background-color:#00985e;
    padding: 20px;
}
	
.corps p {
    text-align: center;
    font-size: 19px;
    vertical-align: top;
    text-transform:none;
    letter-spacing: 0px; 
    margin:50px;
    text-transform:none;
}


.creations {
    width: 1000px;
    margin-top:30px;
    margin:auto;
    padding: 10px 200px;
    background-color:#FFFFFF;
}

.gallery {
	padding:0;
}

.gallery li {
	list-style-type:none;
	width:33.2%;
	height:210px;
	background-color:#FFFFFF;
	float:left;
	margin-right:0.2%;
	margin-bottom:2px;
}

.gallery li {
	list-style-type:none;
	width:33.2%;
	height:210px;
    background-color:#FFFFFF;
	float:left;
	margin-right:0.2%;
	margin-bottom:2px;
	overflow:hidden;
	position:relative;
}

.gallery img {
	width:100%;
}

.gallery li:nth-child(3n) {
	margin-right:0;
}

.gallery li div {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.5);
    transform:translateY(-100%);
	transition:all ease-in-out 0.3s;
}

.gallery li:hover div {
	transform:translateY(0);
}
	
.gallery li div p {
	padding:0px 18px;
	margin-top:20px;
	color:rgb(130, 232, 148);
	font-weight:700;
	font-size:14px;
	text-transform:uppercase;
}

.gallery li div .par {
	font-weight:400;
	font-size:12px;
}
	
.gallery li:hover div p {
	opacity:1;
}


.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}
.contact-icons a {
    text-decoration: none;
}
.contact-icons img {
    width: 50px;
    height: 50px;
}
