/****************************************************
                Import des polices
****************************************************/
@font-face {
    font-family: "Apfel Grotezk Regular";
    src: url("../assets/fonts/ApfelGrotezk-Regular.woff2") format("woff2"),
         url("../assets/fonts/ApfelGrotezk-Regular.woff") format("woff");
}

@font-face {
    font-family: "Apfel Grotezk Fett";
    src: url("../assets/fonts/ApfelGrotezk-Fett.woff2") format("woff2"),
         url("../assets/fonts/ApfelGrotezk-Fett.woff") format("woff");
}

@font-face {
    font-family: "Inter Regular";
    src: url("../assets/fonts/Inter-Regular.woff2") format("woff2"),
         url("../assets/fonts/Inter-Regular.woff") format("woff");
}

@font-face {
    font-family: "Playfair Italic";
    src: url("../assets/fonts/PlayfairItalicVF.ttf") format("truetype"),
}


@font-face {
    font-family: "Playfair Roman";
    src: url("../assets/fonts/PlayfairRomanVF.ttf") format("truetype"),
}

.font-playfair {
    font-family: "Playfair Roman";
}

/***************************************************
                    Style du Body
****************************************************/

* {
    font-family: "Apfel Grotezk Regular";
    color: #fafafa;
    padding: 0;
    margin: 5px;
}

html, body {
    margin: 0;
}

html {
    height:100%;
    overflow: auto;
}

/* black */
body {
    background-color: #161819;
    color: #fafafa;
    height: 100%;
}

header {
    top: 0;
    position: absolute;

    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;

    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

header > * {
    margin: 0 20px;
}

/***************************************************
            Style des textes et titres
****************************************************/
h1 {
    font-family: "Apfel Grotezk Fett";
    font-size: 48px;
}

h2 {
    font-family: "Apfel Grotezk Fett";
    font-size: 30px;
}

h3 {
    font-family:"Apfel Grotezk Regular";
    font-size: 24px;
}

a, i, b {
    margin: 0;
}

a:hover {
    color:#fafafa8f;
}

p {
    font-family:"Apfel Grotezk Regular";
    font-size: 18px;
}

span {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    margin:0;
    padding:0;
}

.text-justified {
    text-align: justify;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align:left;
}

.text-centered {
    text-align:center;
}

input, button, select {
    font-family:"Inter Regular";
    font-size: 24px;
}

header .btn-line {
    font-size: 18px;
}

/***************************************************
        Arrières-plan et couleurs de polices
****************************************************/
.bg-trueBlack {
    background-color:black!important;
    color:#fafafa;
}

.bg-black {
    background-color:#161819!important;
    color:#fafafa;
}

.bg-black > * {
    color:#fafafa;
}


.bg-lightBlack {
    background-color:#202529!important;
}

.bg-lightBlack > * {
    color:#fafafa;
}

.bg-grey {
    background-color:#353b42!important;
}

.bg-grey > * {
    color:#fafafa;
}

.bg-white {
    background-color:#fafafa!important;
}

.bg-trueWhite {
    background-color:white!important;
}

.bg-white > * {
    color:#161819;
}

.font-black {
    color:#161819!important;
}

.font-white {
    color:#fafafa!important;
}

.font-grey {
    color: #22262b!important;
}
.font-lightBlack {
    color: #1c1e1f!important;
}

/***************************************************
                Scroll
****************************************************/

/* width */
::-webkit-scrollbar {
    width: 10px;
}
  
/* Track */
::-webkit-scrollbar-track {
    background: #22262b; 
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #fafafa; 
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #fafafab4; 
}

/* width */
select::-webkit-scrollbar {
    width: 15px;
}
  
/* Track */
select::-webkit-scrollbar-track {
    border-radius: 5px;
}

/* Handle */
select::-webkit-scrollbar-thumb {
    background: #22262b; 
    border-radius: 5px;
}

/* Handle on hover */
select::-webkit-scrollbar-thumb:hover {
    background: #65696d; 
}

/***************************************************
                Bordures & Placements
****************************************************/
.roundedBorder {
    border-radius:10px;
}

div {
    padding: 3px;
}

.vertical {
    display: flex;
    flex-direction: column;
}

.horizontal {
    display: flex;
    flex-direction: row;
}

.content-centered {
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

.alignTop {
    align-items: flex-start;
}

.alignCenter {
    align-items: center;
}

.content-right {
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.content-left {
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
}

.content-bottom {
    display: flex;
    align-content: flex-end;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.content-bottom2 {
    display: flex;
    align-content: flex-end;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.flexCenter {
    justify-content: center;
}

.flexRight {
    justify-content:flex-end;
}

.flexLeft {
    justify-content:flex-start;
}

.spaceBetween  {
    justify-content: space-between; 
}  

.spaceEvenly  {
    justify-content: space-evenly; 
}  

.bottom {
    position: fixed;
    bottom: 5%;
}

.left {
    position: fixed;
    left: 5%;
}

.right {
    position: fixed;
    right: 5%;
}

.top {
    position: fixed;
    top: 2.5%;
}

.displayNone {
    display: none;
}

.premierPlan {
    z-index: 1000;
}
/***************************************************
            Style des inputs & boutons
****************************************************/

/* BOUTON AVEC UNE LIGNE */
.btn-line {
    background-color: transparent;
    border: none;
}

.btn-line hr {
    width: 30px;
    border: thin white solid;
    background-color: #fafafa;
}

header .btn-line hr {
    width: 10px;
}

.btn-line svg {
    width: 25px;
    margin: 0;
}


button.btn-line:hover {
    cursor: pointer;
    color:#fafafa8f;
}

button.btn-line:hover hr {
    border-color: #fafafa8f;
    background-color: #fafafa8f;
    transform: translateY(5px);
    transition: transform 0.2s ease-in-out;
}

header .btn-line:hover hr {
    transform: translateY(2px);
}

button.btn-line:hover svg {
    transform: translateY(5px);
    transition: transform 0.2s ease-in-out;
    fill:#fafafa8f;
}



/* INPUT TEXT, NUMBER & SELECT */

option {
    color: #161819 !important;
    font-family: "Inter Regular" !important;
    border-radius: 1px !important;
}

input[type=number], input[type=text], select {
    background-color: transparent;

    border-width: 0 0 1px 0;
    border-color: #fafafa;

    padding: 2px;
}

input[type=number]:focus, input[type=text]:focus {
    border-width: 1px;
    border-color: #fafafa;
    border-radius: 1px;
    outline: 1.5px solid #fafafa;
}

/* Cacher les flèches */
input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
}

/* RADIOS & CHECKBOXES */
input[type=radio], input[type=checkbox] {
    appearance: none;
	width: 20px;
	height: 20px;
    
	border: 2px solid #fafafa;
	background-clip: content-box;

	padding: 3px;
    cursor: pointer;
}

input[type=radio]:checked, input[type=checkbox]:checked {
    background-color: #fafafa;
}

input[type=radio] {
	border-radius: 50%;
}

/* Ne fonctionne pas... */
input[type=checkbox] {
    content: '✔';
}


/* FILE PICKER */

input[type=file] {
    display: none;
}

/* INPUT TYPE SUBMIT, RESET & BUTTONS */
input[type=reset], input[type=submit], input[type=button], input[type=image] {
    cursor: pointer;
    padding: 15px 30px;

    background-color: #fafafa;
    color: #161819;

    border: none;
    border-radius: 5px;
}

input[type=reset]:hover, input[type=submit]:hover,input[type=button]:hover, input[type=image]:hover {
    background-color: #fafafa8f;
}

input[type=image] {
    height: 50px;
    padding: 2px;
}

/* BUTTONS WITH IMAGES */
.btn-iconText {
    cursor:pointer;
    background-color: transparent;

    border: none;
    border-radius: 5px;
}

.btn-iconText:hover {
    background-color:#696d71 !important ;
}

/* BUTTONS WITH ONLY ICONS */
.btn-icon {
    background-color: transparent !important;
    height: 50px !important;
}

.btn-icon:hover, .svg-icon:hover {
    cursor: pointer;
    transform: scale(1.3);
    transition: transform 0.2s ease-in-out;
}

.svg-icon {
    fill : white;
    width: 24px;
    height: 24px;
}

/***************************************************
            Style des images et icônes
****************************************************/

label img, button img {
    width: 30px;
    margin : 0 0 2px 0;
}