@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Oswald:wght@200..700&family=Rowdies:wght@300;400;700&display=swap');

:root{
	--bg-darkest: #5d212c;
	--bg-dark: #7c0e23;
	--bg-lighter:#954a58;
	--bg-light:#D9EFF0;
	--bg-cream: navajowhite;
    --bg-footer: #d1d1d1;
	
}


body {
    font-family: 'Oswald', sans-serif;
}

main {
width: 65%;
margin-top: 140px;
margin-bottom: 120px;
margin-left: 25%;
margin-right: auto;
}

h1 {
font-family: "Rowdies", sans-serif;
	font-weight: 300;
margin-top: 30px;
margin-bottom: 30px;
	text-transform: uppercase;
	color: var(--bg-dark);
    font-size: 1.9rem;
}

#logo_name {
    font-size: 20px;
    line-height: 1em;
    font-weight: bold;
    text-align: left;
    padding: 20px 0;
}

#monprenom {
   font-size: 30px;
}

.adresse_mail{
	color: var(--bg-dark);
	font-weight: bold;
}

.adresse_mail:hover{
	color: var(--bg-lighter);
}

a {
    color: floralwhite;
    transition-duration: 0.5s;
    
}
a:hover {
    color: navajowhite;
    text-decoration: none;
/*    font-weight: 700;*/
    transition-duration: 0.5s;
}

a .active { /*mettre javascript ici*/
    color: navajowhite;
    text-decoration: none;
/*    font-weight: 700;*/
    transition-duration: 0.5s;
}

p {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
/*    font-weight: 100;*/
    line-height: 1em;
}
.strong_P {
    font-family: 'Lato', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1em;
}

/*   mise en avant */
.mea {
    color: var(--bg-darkest);
}

#about {
    margin-bottom: -150px;
}
#myPic{
    position: relative;
    top: -250px;
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    border-radius: 50px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
}

#myPic:hover{
    opacity: 0.1;
    width: 100%;
    max-width: 250px;
    border-radius: 50px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
    cursor:pointer;
}

#myPicText{
    background-color: rgba(255, 255, 255, 0.85);
    background: url('../Images/fond-nav-footer.png');
    width: 100%;
    max-width: 250px;
    height: 250px;
    border-radius: 50px;
    box-shadow: 1px 0px 2px grey;
    padding: 50px 20px 50px 45px;
    transition-duration: 2s;
}

#myPicText:hover{
    opacity: 0;
}



.flaticons {
    width: 40px;
    margin: 5px;
    opacity: 0.6;
}

.flaticons2 {
    width: 40px;
    margin: 5px;
    opacity: 0.4;
}

.flaticons:hover {
    box-shadow: 1px 2px 10px rosybrown;
    border-radius: 5px;
    opacity: 0.8;
}

#navbar {
    background-color: var(--bg-darkest);
    background-image: url('../Images/fond-nav-footer.png');
    box-shadow: 0px 0px 3px black;
    height: 100px;
    width: 100%;
    position: fixed;
    top:0;
    left: 0;
    right: 0;
    font-size: 20px;
    padding: 0 20px;
    z-index: 999;
}

#navigation {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-start;
    flex-wrap: nowrap;
    list-style-type: none;
    margin-left: -20px;
    margin-right: 10px;
}

#navigation li {
    margin: 0 10px;
}

#burgerannounce {display: block; font-size: 15px; line-height: 5px; margin-top: 5px; color:var(--bg-cream); text-shadow: 1px 0px 1px black;}

#hamburger-content>nav>ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    list-style-type: none;
    line-height: 25px;
    margin-top: 3%;
    text-align: left;
}

#hamburger-content>nav>ul>li {
    margin-left: 5px;
    text-align: left;
    color: navajowhite;
}

#hamburger-content>nav>ul>li::before {
    content:'↓ ';
}

a.btn_telecharger{
  background-color: #7C0E23;
  padding: 5px 10px;
  border-radius: 5px;
}
a.btn_telecharger:hover{
  background-color: #501b25;
}

footer {
    background-color: var(--bg-footer);
    background-image: url('https://i.ibb.co/dgRFXzp/fond-nav-footer.png');
    height: auto;
    width: 100%;
    position: fixed;
    bottom:0;
    left: 0;
    right: 0;
    z-index: 999;
    font-size: 10px;
    text-align: center;
    padding: 5px;
}

.right_align{
    text-align: right;
    float: right;
}

#skills {
    position: absolute;
    top: 100px;
    margin-left: 3%;
    padding: 15px;
    font-family: 'Oswald', sans-serif;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
}

.skillsList {
 list-style-type: none;
    margin-left: -22%;
}

ul.skillsList>li {
    font-size: 16px;
    line-height: 1.5em;
}

/*MENU HAMBURGER*/

#hamburger, #hamburger-content {
    display: inline;
}

#hamburger-button {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 30px;
    vertical-align: top;
    padding: 0;
    line-height: 47px;
    float: right;
    margin-right: 32px;
}

#hamburger-overlay {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
}

#hamburger-sidebar {
    display: none;
    position: fixed;
    width: 45%;
    z-index: 20;
    height: 100%;
    top: 0;
    right: 0;
    background-color: #332b2b;
    opacity: 0.85;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .5s ease-out;
}
#hamburger-sidebar li {
    display: block;
}
#hamburger-sidebar-header {
    background: url('../Images/fond-menu.jpg') bottom;
    background-size: cover;
    height: 100px;
}
#hamburger-sidebar-body {
    padding: 16px 8px;
}
#hamburger-sidebar-body li:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 4px;
    margin-right: 16px;
    width: 24px;
    height: 24px;
}
#hamburger-sidebar-body li:before {
    content:'→';
    color: navajowhite;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold;
}

#hamburger-sidebar-body .button {
    margin-top: 16px;
    text-align: center;
    float: none;
    display: block;
    height: auto;
    line-height: inherit;
    padding: 10px;
}

#languages {
    position: relative;
    top: -150px;
    left: 20px;
    margin-bottom: 50px;
}

    /*EXPERIENCES ET PARCOURS*/
    
    .card-header {
         border: none;
        border-radius: 0;
        background-image: url('../Images/fond-nav-footer.png');
    }

    button.btn.btn-link{
    color: #675c5c;
    text-align: left;
    }
    
    .poste {
        color: var(--bg-darkest);
    }

.card-body {
    font-family: 'Lato', sans-serif;
    line-height: 1.3em;
}

@media screen and (min-width: 992px) and (max-width: 1108px){
    
    p {
        font-size: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    #logo_name {
    font-size: 18px;
    line-height: 1em;
    font-weight: bold;
    text-align: left;
    padding: 20px 0;
}
    #monprenom {
   font-size: 22px;
}
    
    #myPic{
        position: relative;
        top: -245px;
        max-height: 245px;
        
    }
#myPicText{
    position: relative;
    top: 0px;
    right: auto;
    max-height: 245px;
    font-size: 13px;
    padding: 50px 20px 20px 30px;

}

    
}


@media screen and (min-width: 844px) and (max-width: 991px){
    p {
        font-size: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    #logo_name {
    font-size: 18px;
    line-height: 1em;
    font-weight: bold;
    text-align: left;
    padding: 20px 0;
}
    #monprenom {
   font-size: 22px;
}
    
    #skills {
    position: absolute;
    top: 10%;
    margin-left: 1%;
    padding: 5px;
    font-family: 'Oswald', sans-serif;
    border-radius: 20px 2px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
}

.skillsList {
 list-style-type: none;
    margin-left: -15%;
}

ul.skillsList>li {
    font-size: 14px;
    line-height: 1.7em;
}
    
 #myPic{
    position: relative;
    left: 10%;
    top: -250px;
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
}

    #myPic:hover{
    opacity: 0.1;
    width: 100%;
    max-width: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
    cursor:pointer;
}

#myPicText{
    position: relative;
    top: 20px;
    left: 5%;
    right: auto;
    background-color: rgba(255, 255, 255, 0.85);
    background: url('../Images/fond-nav-footer.png');
    font-size: 14px;
    width: 100%;
    max-height: 250px;
    max-width: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    padding: 50px 20px 50px 45px;
    transition-duration: 2s;
}

#myPicText:hover{
    opacity: 1;
}
    
    #languages {
    position: relative;
    top: 40px;
    left: 20px;
}
    
}

@media screen and (min-width: 576px) and (max-width: 843px){
    
    
    main {
    width: 80%;
    margin-left: 10%;
    margin-right: auto;
}
    
    #logo_name {
    font-size: 15px;
    line-height: 1em;
    font-weight: bold;
    text-align: left;
    padding: 15px 0px 0 0px;
}
    #monprenom {
   font-size: 20px;
}
    
    #navigation {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    flex-wrap: nowrap;
    list-style-type: none;
    margin-left: -20px;
    margin-right: 0;
}

#navigation li {
    margin: 0 10px;
}
    
    #hamburger-content>nav>ul>li>a {
    font-size: 18px;
        padding-left: 0;
}
    
    #gears {
        width: 90px;
        margin-left: -40px;
    }
    
    #drapeaux {
        position: relative;
        right: -20px;
    }
    
    h1 {
        font-size: 25px;
    }
    
    #myPic{
    position: relative;
    left: 10%;
    top: -250px;
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
}

    #myPic:hover{
    opacity: 0.1;
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
    cursor:pointer;
}

#myPicText{
    position: relative;
    top: 20px;
    left: 5%;
    right: auto;
    background-color: rgba(255, 255, 255, 0.85);
    background: url('../Images/fond-nav-footer.png');
    font-size: 14px;
    width: 100%;
    max-height: 250px;
    max-width: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    padding: 50px 20px 50px 45px;
    transition-duration: 2s;
}

#myPicText:hover{
    opacity: 1;
}
    
    #languages {
    position: relative;
    top: 40px;
    left: 20px;
}
    
    #skills {
    position: relative; 
    margin: auto;
    margin-top: 0;
    padding: 10px;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Oswald', sans-serif;
    margin-bottom: -5%;
}
    .skillsList {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
}

    ul.skillsList>li {
    font-size: 16px;
    line-height: 1.5em;
    margin: 10px;
}
    
}

@media screen and (min-width: 480px) and (max-width: 575px){
    
    main {
    width: 80%;
    margin-left: 10%;
    margin-right: auto;
}
    
    #logo_name {
    font-size: 15px;
    line-height: 1em;
    font-weight: bold;
    text-align: left;
    padding: 15px 10px 0 10px;
}
    #monprenom {
   font-size: 20px;
}
    
    #navigation {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    flex-wrap: nowrap;
    list-style-type: none;
    margin-left: -20px;
    margin-right: 0;
}

#navigation li {
    margin: 0 10px;
}
    
    #gears {
        width: 90px;
        margin-left: -40px;
    }
    
    #flags {
        position: relative;
        right: -20px;
    }
    
    h1 {
        font-size: 25px;
    }
    
    p {
        font-size: 16px;
    }
    
    #skills {
    position: relative; 
    margin: auto;
    margin-top: 10px;
    padding: 10px;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Oswald', sans-serif;
    margin-bottom: -10%;
}
    .skillsList {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
}

    ul.skillsList>li {
    font-size: 15px;
    line-height: 1.5em;
    margin: 4px 5px;
}

    #myPic{
    position: relative;
    left: 20%;
    right: auto;
    top: -220px;
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
}

    #myPic:hover{
    opacity: 0.1;
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
    cursor:pointer;
}

#myPicText{
    position: relative;
    top: 60px;
    left: 50px;
    right: auto;
    background-color: rgba(255, 255, 255, 0.85);
    background: url('../Images/fond-nav-footer.png');
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    padding: 50px 30px 50px 55px;
    transition-duration: 2s;
    font-size: 14px;
}

#myPicText:hover{
    opacity: 1;
}

    
    /*Hamburger menu mobile*/

    #hamburger-content {
        display: none;
    }

    #hamburger-button, #hamburger-sidebar,
    .hamburger-activated #hamburger-overlay {
        display: block;
    }

    .hamburger-activated #hamburger-sidebar {
        transform: translateX(0);
    }
    
    #hamburger-button{
        margin: 0px;
        padding: 0px;
    } 
    
    button.btn.btn-link {
        font-size: 14px;
    }
    
    .card-body {
        font-size: 14px;
    }
    
}



@media screen and (min-width: 200px) and (max-width: 479px){
    
    
    main {
    width: 80%;
    margin-left: 10%;
    margin-right: auto;
}
    
    #logo_name {
    font-size: 13px;
    line-height: 1.1em;
    font-weight: bold;
    text-align: left;
    padding: 5px 10px 0 10px;
    margin: 0;
}
    #monprenom {
    font-size: 18px;
    line-height: 1em;
}
    
    #navigation {
    display: flex;
    flex-direction: row;
    align-content: space-around;
    flex-wrap: nowrap;
    list-style-type: none;
    margin-left: -20px;
    margin-right: 0;
}

    #hamburger-sidebar-body>nav>ul{
        font-size: 15px;
        padding: 5px;
    }
    #hamburger-sidebar-body>nav>ul>li::before {
    content:'→ ';
}
    #hamburger-sidebar-body>nav>ul>li>a {
    margin-left: -15px;
}
    
    #gears {
        width: 60px;
        margin: 15px 0 15px -45px;
        padding: 0;
    }
    
    #flags {
        position: relative;
        right: -10px;
    }
    
    h1 {
        font-size: 25px;
    }
    
    p {
        font-size: 16px;
        text-align: justify;
    }
    
    #skills {
    position: relative; 
    margin: auto;
    top: 70px;
    padding: 10px;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Oswald', sans-serif;
    margin-bottom: -10%;
}
    .skillsList {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
}

    ul.skillsList>li {
    font-size: 15px;
    line-height: 1.5em;
    margin: 4px 5px;
}

    #myPic{
    position: relative;
    left: 10%;
    right: auto;
    top: -210px;
    width: 250px;
    height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
}

    #myPic:hover{
    opacity: 0.1;
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    transition-duration: 2s;
    cursor:pointer;
}

#myPicText{
    position: relative;
    top: 60px;
    left: 5%;
    right: auto;
    background-color: rgba(255, 255, 255, 0.85);
    background: url('../Images/fond-nav-footer.png');
    width: 250px;
    height: 250px;
    border-radius: 100px 3px;
    box-shadow: 1px 0px 2px grey;
    padding: 50px 20px 50px 45px;
    transition-duration: 2s;
    font-size: 15px;
}

#myPicText:hover{
    opacity: 1;
}

    
    /*Hamburger menu mobile*/

    #hamburger-content {
        display: none;
    }

    #hamburger-button, #hamburger-sidebar,
    .hamburger-activated #hamburger-overlay {
        display: block;
    }

    .hamburger-activated #hamburger-sidebar {
        transform: translateX(0);
    }
    
    #hamburger-button{
        margin: 0px;
        padding: 0px;
    } 
    
    button.btn.btn-link {
        font-size: 14px;
    }
    
    .card-body {
        font-size: 14px;
        text-align: justify;
    }
}
