.accueil a{
    color:#FEFEFF;
    text-decoration: none;
}

main {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(../images/fond2.jpg);
}
.presentation{
    padding-top: 4rem;
    padding-bottom: 1.8rem;
}


/* SLIDER */
.slider {   
	position: relative;
    width: 100%;
	overflow: hidden;
}

.slides {
	height: 100%;
	display: flex;
}

.slides.actif {
	transition: transform .3s ease-out;
}

.slide {
	flex-grow: 0;
	flex-shrink: 0;
}

.slide figure{
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.slide img{
    display: block; 
    width: auto; 
}

.slide figure img {
	display: block;
	width: 100%;
	height: auto;
}
.slide figcaption {
	width: 100%;
	height: 100%;
	display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    left: 0;
    align-content: center;
    color:#FEFEFF;
    background-color: rgba(7, 7, 7, 0.5);
    opacity: 1;
    transition: opacity .5s ease-in-out;
    justify-content: space-around;
    
}
.slide figcaption h5{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    margin: 0;
    font-size: 1.6rem;
    text-align: center;
    padding-left: 0;
    letter-spacing: .5rem;
    color: #FEFEFF;
    margin-bottom: 0;
    margin-top: 1.5rem;
    font-weight: 200;
    letter-spacing: 0.5rem;
}

.slide figcaption h2 {
    margin: 0;
}

.slides.actif {
	transition: transform .3s ease-out;
}

.slider nav {
    position: relative;
	bottom: 0;
	left: 0;
	width: 100%;
	padding-top: 1rem;
}
.slider nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
}
.slider nav li {
	width: .5rem;
	height: .5rem;
	margin-left: .5em;
	margin-right: .5em;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .5);
	transition: all .3s ease-out;
	cursor: pointer;
}
.slider nav li:hover {
	background-color: rgba(255, 255, 255, .75);

}
.slider nav li.actif {
	background-color: rgba(255, 255, 255, 1);
	
}
.slider .btn {
    transform: scale(1.5);
	display: none;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	width: 6rem;
	height: 100%;
	cursor: pointer;
}
.slider .btn svg {
	fill: rgba(255, 255, 255, .5);
}
.slider .btn:hover svg {
	fill: rgba(255, 255, 255, 1);
}
.slider .btn-prec {
	left: 0;
}
.slider .btn-suiv {
	right: 0;
}

/* FIN DE SLIDER */

.texte-presentation{
    margin-top: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
.texte-presentation h1{
    margin: 0;
    font-family: 'Oswald', sans-serif;
    color:#FEFEFF;
    font-size: 2rem;
    font-weight: 200;
    
}
.texte-presentation h2{
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 200;
}


.texte-presentation .noemie-jousseaume {
    color:rgb(182, 182, 182);
    margin: 0;
    height: 48px;
    width: 100%;
    padding-top: 0;
    display: flex;
    flex-wrap: nowrap;
}
.noemie-jousseaume svg {
    fill: #B6B6B6;
    align-items: center;
    padding-left: .5rem;
    height: 1.5rem;
    width: auto;
}
.noemie-jousseaume svg circle{
    stroke: #B6B6B6;
}
/*.texte-presentation .noemie-jousseaume h2{
    color:rgb(45, 109, 248);
}*/


.texte-presentation p{
    margin: 0;
    padding-bottom: 2rem;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 2rem;
    color:#FEFEFF;
    font-size: 1.25em;
    font-weight: 400;   
}
.texte-presentation .contact{
    height: 2rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.texte-presentation .contact img{
    height: 1rem;
    width: auto;
    padding-right: 1rem;
    
}
.texte-presentation .contact p{
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 200;
    font-size: 1.4rem;
}
/* button 
---------------------------------------------- */
/*.button-projets{
    padding-bottom: 3rem;
}
.button {
    height: 2rem;
    width: 17rem;
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	/*/*display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
    text-decoration: underline;
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

/* color styles 
---------------------------------------------- */

/* black */
/*.black {
	color: #d7d7d7;
	border: solid .5px #333;
	background: #333;
	background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#000));
	background: -moz-linear-gradient(top,  #666,  #000);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#000000');
}
.black:hover {
	background: #000;
	background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#000));
	background: -moz-linear-gradient(top,  #444,  #000);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#000000');
}
.black:active {
	color: #666;
	background: -webkit-gradient(linear, left top, left bottom, from(#000), to(#444));
	background: -moz-linear-gradient(top,  #000,  #444);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#666666');
}*/

@media screen and (min-width: 768px) {
    html {
        font-size: 100%;
    }
}
@media screen and (min-width: 1024px) {

    main {
     padding-top: 4rem;
     padding-bottom: 1.8rem;
     max-height: 80vh;
    }

    .slider{
        margin: 5%;
        width: 50%;
    }
    .slider .btn {
        transform: scale(3);
		display: flex;
	}

    .slider nav li {
        opacity: 0;
        width: .4rem;
        height: .4rem;
    }

    .slide figcaption{
        position: initial;
        background-color: initial;
    }

    .slide figcaption h5{
        font-size: 1.4rem;
    }

    .bloc-image{
        padding: 0;
    }
    .presentation{
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
    .presentation .slider, 
    .presentation .texte-presentation {
        flex-basis: 50%;
    }

    .presentation .texte-presentation {
        margin-top: -4%;
        padding-right: 5%;
        padding-left: 5%;
        display: flex;
        flex-direction: column;
    }
    .texte-presentation .noemie-jousseaume {
        height: 2rem;
    }
    .texte-presentation h1,
    .texte-presentation h2{
        padding-right: 0px;
    }
    .texte-presentation h1{
        font-size:2rem;
    }

    .noemie-jousseaume:hover h2{
        color:#FEFEFF;
        transition: .5s;
    }

    .noemie-jousseaume:hover svg path,
    .noemie-jousseaume:hover svg circle {
        fill: #FEFEFF;
        stroke: #FEFEFF;
    }
    .texte-presentation p{
        padding-top: 1.5rem;
        padding-bottom: 2rem;
        line-height: 2.5rem;
        font-size: 1.1rem;
        margin-right: 0px;
    }
    .texte-presentation .contact p{
        font-size: 1.1rem;
    }

    .texte-presentation p a::after {
        content: '';
        transform-origin: 0 0; 
        transform: scaleX(0);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: .3em; 
        z-index: -1;
        opacity: 0.8;
        transition: transform .3s;
    }

    .texte-presentation p a {
        display : inline-block;
        text-underline-offset: .5rem;
        text-decoration: underline rgba(245, 245, 247, 0.2);
        background:linear-gradient(to top, rgba(251, 252, 253, 0) 6px, rgb(250, 251, 252) 9px, transparent 10%) no-repeat left bottom / 0 100%;
        background-position-y: .3em;
        transition: background-size .3s;
    }
    
    .texte-presentation p a:hover {
        background-size: 100% 100%;
    }

}

