/*
Theme Name: Tiffanie Vinard
Theme URI: https://www.monsite.com/monsite
Author: [renseignez ici votre nom]
Author URI: https://www.monsite.com/monsite
Description: [décrivez ici votre thème en quelques mots]
Version: 1.0
*/



/*--ORDINATEUR--*/

/*-GENERAL-*/

.r1, .r2{
    margin-left: 0px !important;
    position: relative;
}

.r1 .row, .presentation p , .contact p, .competences ul li {
    position: relative;
}

.presentation h6, .contact h6, .domaines h6, .r1 .container .row a , .competences h6 {
    text-transform: uppercase;
    font-weight: bold;
}

ul{
    list-style: none;
    padding-left: 0px !important;
}

.r1 .container .row a ,.contact a{
    color: var(--third);
    text-decoration: none;
}

.contact::after, .cv::after, .competences::before, .competences::after {
    content: "";
    background-size: cover;
    position: absolute;
    background-repeat:no-repeat ;
    z-index: 1;

}

.r1 .container, .r2 .container{
    max-width: 1830px;
}

/*-PRESENTATION-*/

/*PARTIE 1*/
    /*TEXTE*/

    .textes{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 90vh;
    }

    .presentation p , .contact p {
        z-index: 45;
    }

    .contact a{
        font-weight: bold;
    }

    .contact::after{
        background-image: url("../img/droite-top.png");
        height: 400px;
        width: 505px;
        top: 140px;
        left: 150px;
    }

    .cv::after{
        background-image: url("../img/droite-bas.png");
        height: 416px;
        width: 414px;
        bottom: -100px;
        left: 150px;
    }

    .textes .domaines{
	position:relative;
	z-index: 2;
    }

    /*IMAGE*/

    .photo img{
        width: 600px;
        position: absolute;
        top: -100px;
        left: 35%;
        z-index: 2;
    }

    /*COMPETENCES*/

    .competences{
        padding-top: 75px;
        text-align: center;
    }

    .competences::before{
        background-image: url("../img/gauche-centre.png");
        height: 396px;
        width: 334px;
        top: 70px;
        right: 90px;
    }

    .competences::after{
        background-image: url("../img/bas-gauche.png");
        height: 620px;
        width: 600px;
        bottom: -240px;
        right: 60px;
    }

    .competences h6{
        margin-bottom: 20px;
    }

    .competences ul li{
        margin-bottom: 30px;
        font-weight: bold;
        font-size: 22px;
        z-index: 2;
    }

    .competences ul li i{
        font-size: 60px;
    }

/*PROJETS*/

.r2{
    padding-top: 50px;
}

.r2 h6, .r2 h4{
    font-weight: bold;
}

.r2 .projets{
    margin-top: 50px;
}

.projets a{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 5px solid var(--primary);
    text-decoration: none;
    font-size: 20px;
}

.projets a h2, .projets a p{
    color: var(--secondary);
    font-style: italic;
    margin-top: 10px;
}

.projets a:hover > h2 , .projets a:hover > p {
	font-weight:bold; 
	color:var(--primary);
      transition-duration: 0.8s;
}

/*PAGES*/

.page-template-default{
	h1{
		text-align:center;
		margin-top:20px;
		font-weight:bold;
	}

	.wp-container-3{
	width:75%;
	}
}





/*--RESPONSIVE--*/

@media (max-width: 1199px) {
    .photo img{
        position: relative;
        top: initial;
        left: initial;
        z-index: 2;
    }
    
    .competences{
        padding-top: 0px;
    }

    .competences ul{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .competences::after,.cv::after{
        display: none;
    }
}

@media (max-width: 768px) {
    .competences::before, .contact::after{
       display: none;
    }

    .competences{
    padding-top:20px;

    }

    .competences ul{
	flex-wrap:wrap;
    }
}


