@charset "utf-8";

/* ========================= */

/* === INDISPENSABLES */

/* boites */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* navigation */
nav ul{
    list-style: none;
    padding: 0;
    border: 0;
}

/* texte invisible */

.no_text{
    font-size: 0;
    margin: 0;
}

/* ========================= */


/* === TITRES & TEXTES === */

html {
    font-size: 75%;
    font-family: 'Quicksand', sans-serif;
}

html.connexion {
     margin:0;
  padding:0;
  background: url(../images/bg.jpg) no-repeat center fixed;
  -webkit-background-size: cover; /* pour anciens Chrome et Safari */
  background-size: cover; /* version standardisée */
}

html.accueil {
    background-color :#2C2C2C;
}

/* === BOUTONS & CTA === */


/* ========================= */

.logo {
    background-image: url(../images/logo.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 89px;
}

/* HEADER ACCUEIL */

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
    padding-top: 30px;
    width: 90%;
    margin: 0 auto;
}

header h1 {
  width: 145px;
}

header h2 {
    font-size: 1.5em;
    color: #fff;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

header > div {
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1.5em;
    letter-spacing: .5px;
    font-weight: 100;
    color: #fff;
}

header > div > p {
    margin: 0;
    margin-right: 7px;
}

header > div > a,
header > div > a:visited {
    color: #fff;
    margin-top: 10px;
    transition: .5s;
}

header > div > a:hover,
header > div > a:active,
header > div > a:focus {
    opacity: .7;
    transition: .5s;
}

header > a,
header > a:visited {
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1.5em;
    letter-spacing: .5px;
    font-weight: 100;
    color: #fff;
}

header > a:hover,
header > a:active,
header > a:focus {
    opacity: .7;
    transition: .5s;
}




/* === INDEX === */
/* MAIN */

.photo_mini {
    height: 220px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
}

#onglets_portfolio > div {
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
}

#onglets_portfolio > div > button {
    display: block;
}

#onglets_portfolio {
  margin: 30px auto;
  width: 90%;
}

/* ---- button ---- */
.button-group .button {
  color: #fff;
  background-color: #2C2C2C;
  border: 1px solid #2C2C2C;
  text-decoration: none;
  font-family: "Saira Extra Condensed", sans-serif;
  text-transform: uppercase;
  padding: 10px;
  font-size: 1em;
  letter-spacing: 5px;
  font-weight: 200;
  transition: all .5s;
  border: 0;
  margin: 5px 0;
  cursor: pointer;
}

.button-group .button:hover {
  color: #fff;
  border: 1px #fff solid;
  cursor: pointer;
}


.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group {
  display: flex;
  flex-wrap: wrap;
  max-width: 100vw;
  justify-content: space-around;
  margin-bottom: 20px;
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}


/* ---- isotope ---- */

.grid {
  border: 1px solid #333;
}

.element-item {
  height: 35vw;
  margin: 20px;
  width: 35vw;
}

@media screen and (min-width: 768px) {
  .element-item {
    height: 20vw;
    width: 20vw;
  }
}

@media screen and (min-width: 1024px) {
  .element-item {
    height: 15vw;
    width: 15vw;
  }
}

.element-item a {
  height: 100%;
  width: 100%;
}

.element-item a div {
  height: 100%;
  margin: 0;
  width: 100%;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.button:active,
.button.is-checked {
    color: #fff;
    border: 1px solid #fff;
}

.grid {
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

#portfolio h3 {
    font-size: 3em;
    text-align: center;
    font-family: "Saira Extra Condensed", sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 10px;
    margin-bottom: 60px;
}

.grid {
    margin: 50px 0 auto 0;
}

.grid {
     display: flex;
    flex-wrap: wrap;
}
/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}


/* CONNEXION */

form.connexion {
   margin-left: auto;
margin-right: auto;
margin-top: auto;
margin-bottom: auto;
}

form.connexion p {
    font-size: 4em;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 100;
}

form.connexion input {
    height: 60px;
    border: 0;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 100;
    letter-spacing: 4px;
    padding-left: 10px;
}

form.connexion input[type=submit] {
    display: block;
    background-color: #bcbcbc;
    border-radius: 15px;
    border: #707070 1px solid;
    text-transform: uppercase;
    padding: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transition: .5s;
}
form.connexion input[type=submit]:hover {
    color: #707070;
    transition: .5s;
}

/* === CONTACT === */

form.contact {
   margin-left: auto;
   margin-right: auto;
   margin-top : 80px;
       width: 490px;
}


form.contact p {
    font-size: 4em;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 100;
}

form.contact input {
    height: 30px;
    border: 0;
    margin-bottom: 20px;
    font-size: 1.7em;
    font-weight: 100;
    letter-spacing: 4px;
    padding-left: 10px;
}

form.contact textarea {
    margin-bottom: 20px;
    height: 100px;
    border: 0;
    font-size: 1.7em;
    font-weight: 100;
    letter-spacing: 4px;
    padding-left: 10px;
}

form.contact input[type=submit] {
    display: block;
    font-size: 2em;
    height: 40px;
    background-color: #bcbcbc;
    border-radius: 15px;
    border: #707070 1px solid;
    text-transform: uppercase;
    padding: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transition: .5s;
}

form.contact input[type=submit]:hover {
    color: #707070;
    transition: .5s;
}

/* === VALIDATION === */

.form_success {
    font-size: 4em;
    color: #fff;
    text-align: center;
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* === MENTIONS === */

.mentions  {
color: #fff;
}

.mentions h2 {
margin-top:50px;
}

.mentions h3 {
margin-top: 30px;
}

.mentions a:visited,
.mentions a {
color: #fff;
}

.mentions p {
text-align: justify;
}

/* === FOOTER === */

footer {
margin-top: 100px;
}

footer > a:visited,
footer > a {
display: block;
color: #fff;
text-decoration: none;
transition: .5s;
text-align: center;
}

footer > a:hover,
footer > a:focus,
footer > a:active {
opacity: .7;
transition: .5s;
}
