/*COULEURS Jaune tangerine (#f0c000) */
/* Noirs fonds #101010 et #191919*/

html, body {
  width: 100%;
  overflow-x: hidden; /* Pour empêcher la barre de défilement horizontale */
}

body {
  margin: 0;
  padding: 0;
}

*
{
    padding: 0;
    margin: 0;
    font-family: "Josefin Sans", sans-serif;
    box-sizing: border-box;
}

.front
{
    height: 100vh;
    width: 100%;
    background-image: url(GIF\ index\ illu.gif);
    background-size: cover;
    background-position: center;
}

nav
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 8%;
    padding-right: 8%;
}

.current
{
    border-bottom: solid 2px #f0c000;
}

.logo
{
    color: white;
    font-size: 35px;
    letter-spacing: 1px;
    /*cursor: pointer;*/

    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s; /* Firefox < 16 */
        -ms-animation: fadein 2s; /* Internet Explorer */
         -o-animation: fadein 2s; /* Opera < 12.1 */
            animation: fadein 2s;
}

span
{
    color: #ffd21c;
}

nav ul li
{
    list-style-type: none;
    display: inline-block;
    padding: 10px 40px;

    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 4s; /* Firefox < 16 */
        -ms-animation: fadein 4s; /* Internet Explorer */
         -o-animation: fadein 4s; /* Opera < 12.1 */
            animation: fadein 4s;
}

nav ul li a
{
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
}

nav ul li a:hover
{
    color: #f0c000;
    transition: .4s;
}

.btn
{
    color: white;
    background-color: #f0c000;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 30px;
    transition: transform .4s;

    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s; /* Firefox < 16 */
        -ms-animation: fadein 2s; /* Internet Explorer */
         -o-animation: fadein 2s; /* Opera < 12.1 */
            animation: fadein 2s;
}

.btn:hover
{
    transform: scale(1.2);
}

.content
{
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
}

h1
{
    color: white;
    margin: 20px 0px 20px;
    font-size: 68px;

    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 4s; /* Firefox < 16 */
        -ms-animation: fadein 4s; /* Internet Explorer */
         -o-animation: fadein 4s; /* Opera < 12.1 */
            animation: fadein 4s;
}

h3
{
    color: white;
    font-size: 25px;
    margin-bottom: 50px;

    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 4s; /* Firefox < 16 */
        -ms-animation: fadein 4s; /* Internet Explorer */
         -o-animation: fadein 4s; /* Opera < 12.1 */
            animation: fadein 4s;
}

h4
{
    color: white;
    letter-spacing: 2px;
    font-size: 20px;

    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s; /* Firefox < 16 */
        -ms-animation: fadein 2s; /* Internet Explorer */
         -o-animation: fadein 2s; /* Opera < 12.1 */
            animation: fadein 2s;
}

.about
{
    width: 100%;
    padding: 100px 0px;
    background-color: #191919;
}

.about2
{
    width: 100%;
    padding: 100px 0px;
    background-color: #101010;
}

.about img, .about2 img
{
    height: auto;
    width: 500px;
}

.about-text
{
    width: 550px;
}

.main
{
    width: 80%;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about-text h2
{
    color: white;
    font-size: 75px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.about-text h5
{
    color: #f0c000;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: capitalize;
    text-align: left;
}

.about-text p
{
    color: white;
    letter-spacing: 1px;
    line-height: 24px;
    font-size: 18px;
    margin-bottom: 30px;
}

button
{
    background-color: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid #f0c000;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}

button:hover
{
    background-color: #f0c000;
    border: 2px solid transparent;
    cursor: pointer;
}

.skills
{
    background: #101010;
    width: 100%;
    padding: 100px 0px;
}

.contact
{
    background: #191919;
    width: 100%;
    padding: 100px 0px;
}

.title h2
{
    color: white;
    font-size: 75px;
    width: 1130px;
    margin: auto;
    text-align: center;
}

.box
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}


.card
{
    height: 480px;
    width: 360px;
    padding: 0px 35px;
    background: #191919;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: transform .4s;
}

.card a {
    color: #f0c000;
}

.card:hover
{
  transform: scale(1.05);
}

#contact_card
{
  height: 230px;
}

.contact .card
{
    height: 365px;
    width: 335px;
    padding: 20px 35px;
    background: #101010;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card i
{
    font-size: 50px;
    display: block;
    text-align: center;
    margin: 25px 0px;
    color: #f0c000;
}

h5
{
    color: white;
    font-size: 23px;
    margin-bottom: 15px;
    text-align: center;
}

.txt p
{
    color: white;
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 25px;
}

.card .button
{
    background-color: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid #f0c000;
    font-weight: bold;
    padding: 9px 22px;
    border-radius: 30px;
    transition: .4s;
}

.card .button:hover
{
    background-color: #f0c000;
    border: 2px solid #f0c000;
    cursor: pointer;
}

.contact-me
{
    width: 100%;
    height: 290px;
    background: #191919;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact-me p
{
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
}

.button-two
{
    background-color: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid #f0c000;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}

.button-two:hover
{
    background-color: #f0c000;
    border: 2px solid #f0c000;
    cursor: pointer;
}

iframe
{
  transition: transform .4s;
}

iframe:hover
{
  transform: scale(1.2);
}

footer
{
    position: relative;
    width: 100%;
    height: 180px;
    background: #101010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p
{
    font-size: 17px;
    color: white;
    width: 500px;
    text-align: center;
    line-height: 26px;
}

.end
{
    position: absolute;
    color: #f0c000;
    bottom: 45px;
    font-size: 14px;
}

/*********************************************************************************/
/* Slideshow / Header                                                            */
/*********************************************************************************/

.wrapper ul, .wrapper li, .wrapper p {
  margin: 0;
  padding: 0;
}

.wrapper a {
  text-decoration: none;
}

.wrapper .container {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: #101010;
}

.slideshow {
  height: 100%;
  width: 100%;
  display: block;
  overflow: hidden;
}

.slideshow .slideshow-left {
  width: 40%;
  float: left;
  position: relative;
  height: 100%;
}

.slideshow .slideshow-left .Lslide {
  height: 100%;
  display: block;
  overflow: hidden;
  position: absolute;
  bottom: 0px;
  top: 0;
  left: 0;
  right: 0;
}

.slideshow .Lslide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.slideshow .Lslide-content h2 {
  color: white;
  font-weight: 600;
  font-size: 60px;
  line-height: 0.8;
}

.slideshow .Lslide-content p {
  color: white;
  padding: 2.5em 0em;
  line-height: 1.2;
}

.slideshow .Lslide-content .button {
  background-color: white;
  display: inline-block;
  border-radius: 25px;
  position: relative;
}

.slideshow .Lslide-content .button i {
  float: right;
  position: absolute;
  top: 50%;
  right: 2.5em;
  font-size: 9px;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transition: all 0.3s;
}

.slideshow .Lslide-content .button:hover i {
  right: 1.7em;
}

.slideshow .Lslide-content .button p {
  margin: 0;
  padding: 0;
  text-align: left;
  padding: 0.8em 8em 0.8em 1.5em;
  font-size: 12px;
  font-weight: 600;
  color: black;
}

.slideshow .slideshow-right {
  width: 60%;
  float: left;
  position: relative;
  height: 100%;
}

.slideshow .slideshow-right .Rslide {
  height: 100%;
  display: block;
  overflow: hidden;
  position: absolute;
  bottom: 0px;
  top: 0;
  left: 0;
  right: 0;
}

.slideshow .slideshow-right .Rslide img {
  min-width: 100%;
}

.control {
  position: absolute;
  left: 40%;
  top: 75%;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.control i {
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  text-align: center;
  position: absolute;
  color: #aaaaaa;
  transition: all 0.3s;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

.control .control-top {
  width: 45px;
  height: 50px;
  background-color: white;
  z-index: 5;
  position: relative;
  border-radius: 0px 4px 4px 0px;
  cursor: pointer;
}

.control .control-top:hover i {
  color: #333333;
}

.control .control-bottom {
  width: 45px;
  height: 50px;
  background-color: white;
  z-index: 5;
  position: relative;
  border-radius: 4px 0px 0px 4px;
  left: -45px;
  cursor: pointer;
}

.control .control-bottom:hover i {
  color: #333333;
}


/*********************************************************************************/
/* CSS Animations                                                                */
/*********************************************************************************/

@keyframes fadein {
    from { opacity: 0; transform: scale(90%);}
    to   { opacity: 1; transform: scale(100%)}
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; transform: scale(90%)}
    to   { opacity: 1; transform: scale(100%)}
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; transform: scale(90%)}
    to   { opacity: 1; transform: scale(100%)}
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; transform: scale(90%)}
    to   { opacity: 1; transform: scale(100%)}
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; transform: scale(90%)}
    to   { opacity: 1; transform: scale(100%)}
}


/*********************************************************************************/
/* Responsive                                                                    */
/*********************************************************************************/

/* Sur les écrans, quand la largeur de la fenêtre fait au maximum 1280px */
@media screen and (max-width: 1024px) {
	.logo {
		display: none;
	}

	.content h1 {
		font-size: 32px;
	}

	.main img {
		display: none;
	}

	.about-text h2 {
		text-align: center;
		font-size: 35px;
	}

	.contact-me p {
		text-align: center;
		font-size: 20px;
		padding: 5px;
	}

	footer p {
		font-size: 15px;
		width: 95%;
	}

  	.title h2
	{
    	font-size: 45px;
    	width: 90%;
	}

	.box
	{
    	display: flex;
		flex-direction: column;
	}

	.about-text p
	{
    	font-size: 15px;
	}

	nav
	{
    	display: flex;
    	align-items: center;
    	justify-content: space-around;
    	padding-top: 20px;
    	padding-bottom: 20px;
    	padding-left: 0px;
    	padding-right: 0px;
	}

	nav ul li
	{
    	padding: 10px 12px;
		font-size: 18px;
	}

	.contact h5 {
		padding-top: 10px;
		font-size: 15px;
	}

	.container .btn {
		display: none;
	}

  .slideshow .slideshow-right .Rslide img {
    display: none;
  }

	.slideshow .slideshow-left {
		width: 100%;
	}

	.slideshow .slideshow-left .Lslide{
		width: 100%;
	}

	.slideshow .slideshow-left .Lslide .Lslide-content {
		width: 90%;
	}

	.control {
		top: 95%;
	  }

	.control .control-bottom {
		left: -45px;
		top: -50px;
	}

	.main {
		display: flex;
		flex-direction: column;
	}

	.main iframe {
		width: 300px;
		height: auto;
		padding-bottom: 40px;
	}

	.about-text {
		width: 95%;
	}
}