/*@import url('https://fonts.googleapis.com/css?family=Mali&display=swap');*/

/* latin */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mali/v10/N0ba2SRONuN4SC3EDw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Parametre globaux du site*/

body {
    font-family: 'Mali', cursive;
    background: #f0f0f0;
    box-sizing: border-box;
    height: auto;
    overflow-x: hidden;

}

h1, h2, h3{
    font-weight: 400;
    margin: 0;
}

h1{
    font-size: 250%;
    text-transform: capitalize;
}

img {
    display: block;
    width: 100%
}

main{
    max-width: 900px;
    margin: auto;
    box-shadow: 30px 0 40px rgba(0,0,0,0.1), -30px 0 40px rgba(0,0,0,0.1);
}


.main-content-flex, .main-text-img, .caption, footer{
    text-align: center;
}



/* partie Haute */
.main-content{
    background: white;
}

.main-content-text{

	height:50vh;
	flex: 0 1 40vw;
	justify-content: center;
    align-items: center;
}

.main-content-nom{
    background: url('../image/NomFDT.png');
    background-position: center;
    background-repeat: no-repeat;
	background-size: 80%;
    height: 30vh;
    flex: 0 1 40vw;
    margin : auto;
}

.main-content-flex{
    display: flex;
    flex: 0 1 40vw;
    height: 40vh;
    justify-content: center;
    align-items: center;
}

.main-content-img{
    background: url('../image/terrasse.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 50vh;
    flex: 0 1 40vw;
    margin : 0;
}


.btn{
    padding: 1vh 2vh;
    border: 0.2vh solid #ccc;
    display: inline-block;
    margin : 1vh 0.3vh;
    border-radius: 2.5vh;
    text-decoration: none;
    color: #4e4e4e;
	background: white;
}

.btn:hover{
    background: #636363;
    color: white;
}



/*Partie Basse*/

.main-text-img{
    padding: 10px;
    background: #636363;
    color: white;
}

.caption{
    padding: 12px;
}



/*Footer*/

footer{
    padding: 15px 10px;
    margin:auto;
    color: rgb(59 59 59);
}

footer h3{
    font-size: 200%;
}

.footer-text{
    font-weight : bold;
}


hr{
    width: 30%;
    color: #636363;
}

/*Media queries*/

@media (min-width : 750px)
{
    .main-content
    {
        display: flex;
        height: 100%;
    }
    .main-content-flex
    {
        height: 100vh;
		width: 40vh;
    }
    .main-content-img
    {
        height: 100vh;
    }
	.main-content-nom
	{
		height : 40vh;
	}
	.main-content-text
	{

	}
}
