/*** IMPORTS ***/

@font-face {
    font-family: 'Montserrat Thin';
    src: url('../fonts/Montserrat/static/Montserrat-Thin.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat Light';
    src: url('../fonts/Montserrat/static/Montserrat-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat Regular';
    src: url('../fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Kanit Thin';
    src: url('../fonts/Kanit/Kanit-Thin.ttf') format('truetype');
}

body {
    background-color: #111;
    /* background-color: rgb(54, 54, 54); */
    padding: 75px;
    padding-bottom: 0px;
}

/*** ECRITURES ***/

h1 {
    margin: 20px;
    margin-bottom: 0px;
    font-family: 'Montserrat Thin', sans-serif;
    font-size: 80px;
    font-weight: 100;
    color : #896743;
 /* color: #FFB4A2; */
}
h1:hover {
    cursor: pointer;
}

header {
    z-index: 2;
    position: relative;
}

#legende {
    margin: 20px;
    margin-top: 0px;
    font-family: 'Montserrat Light', sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #88888888;
}

h2, h3 {
    margin: 20px;
    font-family: 'Montserrat Light', sans-serif;
    font-weight: 300;
    font-size: 30px;
    color: #fff;
}

#welcome{
    margin-right: 250px;
}

main {
    position: relative;
    z-index: 3;
}

p {
    margin: 20px;
    margin-right: 50px;
    font-family: 'Montserrat Light', sans-serif;
    text-align: justify;
    color: #88888888;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.3;
}

p a {
    color: #896743;
    cursor: pointer;
}

.corner-frame span {
    font-family: 'Kanit Thin', sans-serif;
    font-size: 25px;
    color: #896743;
    text-decoration: none;
}

/*** SECTIONS ***/

.hidden {
    display: none;
}

/*** NAVIGATION ***/

nav {
    padding: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

.corner-frame {
    margin: 20px;
    margin-bottom: 10px;
    padding: 10px;
    padding-left: 30px;
    border-top: 10px solid #896743;
    position: relative;
    overflow: hidden;
    z-index: 2;
}
.corner-frame::after {
    content: "";
    background: #311c06;
    height: 10px;
    width: 1000px;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: all 0.3s;
    z-index: -1;
}

/*** NAV ANIMATIONS ***/

.corner-frame.lien1::after {
    left: 25px;
    width: 250px;
    height: 70px;
}.corner-frame.lien2::after {
    left: 275px;
    width: 310px;
    height: 70px;
}.corner-frame.lien3::after {
    left: 585px;
    width: 350px;
    height: 70px;
}

/*** CONTACT ***/

#bottom-nav {
    margin: 60px 0 20px 0px;
} 

#contact-frame, #cv-frame {
  /*  padding-top: 80px;*/
    width: 400px;
    z-index: 3;
    position: relative;
}

#contact-frame h2,
#cv-frame h2,
.icons-frame {
    display: inline-block;
}

.icons-frame ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.icons-frame ul li {
    display: inline;
    margin-right: 40px;
}

i {
    font-size: 1.5em;
    color: #fff;
    font-weight: 100;
}


/*** BACKGROUND ***/

.layer_wrapper {
    z-index:-1;
    overflow:hidden;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 900px;
    height: 100vh;
    background: #311c06;
}

.layer_0 {
    position: relative;
    height: 100vh;}

.layer_1 {
    background: #111;
    width: 2000px;
    height: 1000px;
    position: absolute;
    top: 0vh;
    left: -1150px;
    transform: rotate(-60deg);
    z-index: 1;
    opacity: 1;
}

.layer_0 img.hidden {
    display: block !important;
    opacity: 0;
}

.layer_0 img {
    position: absolute;
    top: -9999px;
    right: -9999px;
    left: -9999px;
    bottom: -9999px;
    margin: auto;
    opacity: 0.5;
    height: 100vh;
    width: auto;
    transition: all 0.3s;
}

/*** centrer mon image en toute circonstances :
transform: rotate(+60deg);
  position: absolute;
  top: -9999px;
  right: -9999px;
  left: -9999px;
  bottom: -9999px;
  margin: auto; ***/

/*** MAIN **/

main {
    padding: 20px 0;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #8888;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.popup h2 {
    font-size: 25px;
}

.popup p {
    font-size: 20px;
    color: #fff;
}

.rating {
    margin: 20px;
}

.star {
    font-size: 40px;
    cursor: pointer;
    color: #ccc;
}

.star.active,
.star.active-selected {
    color: #e9a135;
}

.popup button {
    padding: 10px 20px;
    background-color: #311c06;
    color: #896743;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Montserrat Regular', sans-serif;
    font-weight: 400;
}
