/* IMPORTS */

@import url('buttons.css');
@import url('inputs.css');
@import url('navigation.css');
@import url('raffaello.css');



/* COLORS  */

:root {
    --main-color-bg-0: white;
    --main-color-bg-1: #F2E8F8;
    --main-color-bg-2: #FDF6FF;
    --main-color-bg-3: #CDBFD7;
    --main-color-stroke-1: #c2b2c5;
    --main-color-stroke-2: #97819C;
    --main-color-typo-1: #746C7B;
    --main-color-typo-2: #4A4152;
}



/* GENERAL STYLING */

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0px;
}
html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
body {
    font-family: system-ui;
    color: #585e74;

    background: var(--main-color-bg-1) ;
    min-height: 100vh;
    padding: 30px; /* marges internes */
    /* margin: 0px; marges externes */
}
h1 {
    font-size: 58px;
    line-height: 58px;
    font-weight: 700;
}
h2 {
    font-size: 36px;
    line-height: 36px;
    font-weight: 700;
}
p, a {
    font-size: 18px;
    line-height: 22px;
}
.small-p {
    font-size: 15px;
    line-height: 15px;
    user-select: none;
    opacity: .8;
}
.small-p-2 {
    font-size: 14px;
    line-height: 12px;
    user-select: none;
    opacity: .8;
}

/* OTHER */

.temp {
    border: solid green 1px;
}
.no-click { 
    pointer-events: none;
}
.no-select {
    user-select: none;
}
.hidden {
    display: none !important; 
}
.pending {
    opacity:0.3 !important;
    pointer-events: none;
}
.full-width {
    width: 100%;
}
.fill-div {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* width: 50%; */
}
.no-decoration { 
    text-decoration: none; 
}


/* GUIDE TO FLEX : https://css-tricks.com/snippets/css/a-guide-to-flexbox/ */
.flex-column {
    display: flex;
    flex-direction: row ;
    align-items: stretch;
}
.flex-row {
    display: flex;
    flex-direction: column ;
    align-items: stretch;
}
.flex {
    display: flex;
    align-items: stretch;
}


/* FOOTER */
.footer {
    cursor: default;
    user-select: none;
    margin-top: 100px;
    margin-bottom: 5px;
}
.footer p {
    position: relative;
    opacity: .5;
    font-size: 15px;
    font-weight: 300;
    text-align: center;
}


/* PAGE */
.css-page-container {
    min-height: 80vh; /*This makes sure the container takes up at least the full height of the viewport*/
}



/* PROJETS */

.css-project-container {
    padding : 20px 36px; /* marges internes */

    background: var(--main-color-bg-2);
    border: solid var(--main-color-stroke-1) 1px;
    border-radius: 8px;
    box-shadow: inset 0 0 1px var(--main-color-stroke-1), 0 1px 3px rgba(32, 32, 72, 0.12);
}
.css-project-description {
    background: var(--main-color-bg-3);
    border: solid 1px var(--main-color-stroke-2);
    color: var(--main-color-typo-2)
}
.css-project-description a {
    color: rgb(77, 0, 219);
}
.css-project-container img:not(.icon) {
    position: relative;
    width: 100%;
    border: solid var(--main-color-stroke-1) 1px;
    background-color: white;
    border-radius: 3px;
    box-shadow: inset 0 0 1px var(--main-color-stroke-1), 0 1px 2px rgba(32, 32, 72, 0.12);
}
.separateur {
    border-left: solid var(--main-color-stroke-1) 1px;
    opacity: 0.5;
    width: 0%;
}
.separateur-horizontal {
    border-bottom: solid  var(--main-color-stroke-1) 1px;
    width: 100%;
}


/* ------------- */
/* IMAGE EN HAUT */
/* ------------- */

.image-header {
    align-items: flex-start;
    display: flex;
    /* filter: dros-shadow(rgba(32, 32, 72, 0.1) 0px 0px 5px); */
    height: 150px;
    margin-left: calc(100vw - 240px);
    /* margin-left: 40px; */
    /* margin-top: 0px; */
    opacity: 1;
    z-index: 10;
}

@media screen and (min-width:1400px) {
    .image-header {
        margin-left: calc(1400px - 240px);
    }
}
