/*  minimalist stylesheet */

:root {
    --bg-color: #5f5f8d;
    --max-width: 1280px;
    --header-bg-color: #1d1d2b;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    color: #555;
    margin: auto;
    background: #1d1d2b;
    line-height: 1.3;
    font-size: 18px;
}

/* {{{ header */

header {
    padding: 0 .75em;
    background-color: var(--header-bg-color);
    color: #a9a9a9;
    transition: background-color .3s;
    border-bottom: 1px solid var(--header-bg-color);
    width: 100%;
    box-sizing: border-box;
    font-size: 1.5rem;
}

@media (min-width: 1024px) {
    header {
        font-size: 2.5rem;
    }
}

.header-logo {
    display: block;
    margin: 1rem auto;
    filter: invert(100%);
    transition: filter .2s;
}

h1 {
    line-height: 1;
    margin: 2rem 0;
}

.header-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.header-content__title {
  line-height: 1;
  font-size: 2em;
  color: white;
}


@media (min-width: 1024px) {
  .header-content__title {
    line-height: 1.3;
    margin-bottom: 4rem;
  }
}

.header-content__paragraph {
  line-height: 1.1;
}

.header-content__paragraph strong {
  color: white;
}

/* }}} end of header */

/* {{{ cta */
.cta-button {
    font-size: inherit;
    border: 0;
    background-color: #ffffff;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: 0;
    margin-top: 2em;
    padding: .8em 1.5em;
    padding-top: 1em;
    font-family: inherit;
    font-weight: 500;
    border-radius: 10px;
    color: black;
    width: fit-content;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.cta-button.negative {
    background-color: var(--header-bg-color);
    color: #f0f0f0;
}

.cta-button:hover {
  text-decoration: none;
  transform: scale(110%);
  background-color: var(--header-bg-color);
  color: white;
  border: solid 1px white;
}

/* }}} end of cta*/

main {
    padding: 2rem .75rem;
    box-sizing: border-box;
    width: 100%;
    background: white;
    padding-bottom: 1rem;
    min-height: 85vh;
}

.main-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* {{{ presentation */


.presentation__picture {
  flex: 1 1 100%;
}

.presentation__image {
  width: 90%;
  max-width: 300px;
  height: auto;
  border-radius: 10%;
  box-shadow: 0 .2rem 2rem #d2d2d2;
  display: block;
  margin: 0 auto;
}

.presentation__text {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.presentation__text p {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .presentation {
    margin-top: 4rem;
    display: flex;
    align-items: start;
  }

  .presentation__text {
    margin-top: 0;
    padding-left: 2em;
  }
}

/* }}} end of presentation */ 


h2.subtitle {
    font-size: 4rem;
    font-variant: small-caps;
    font-family: Acme, sans-serif; 
    margin-top: 2rem;
    margin-bottom: 0;
    color: var(--bg-color);
    letter-spacing: -0.05em;
    line-height: 1;
}

p.subtitle__caption {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    h2.subtitle {
        margin-top: 5rem;
    }
}

.services-descriptions {
    list-style: none;
    padding: 0;
    margin: .5rem 0;
}

.services-descriptions__item {
    background-color: #f5f5ff;
    padding: 1rem .5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .services-descriptions {
        padding: 2rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-descriptions__item {
      padding: 2em;
      margin: 0;
    }
}

.services-descriptions__item > a {
  text-decoration: none;
}

.services-descriptions__item-title {
    margin: 0;
    margin-bottom: 1em;
    font-size: 3rem;
    text-align: center;
    line-height: 1;
}

.services-descriptions__item-content {
  font-size: 1.5rem;
}


a {
    color: var(--bg-color);
    font-weight: bold;
}

h3[id]::before {
  content: '';
  display: block;
  height: 400px;
  margin-top: -400px;
  visibility: hidden;
}

.service-long-description {  
  margin: 0 auto;
}

/* {{{ projects */

.project {
    margin-top: .5rem;
    margin-bottom: 2rem;
    border-bottom: #e1e1e1 1px solid;
}


.project__image {
    width: 100%;
    max-width: 100%;
    box-shadow: 0 .2rem 2rem #d2d2d2;
}

div.project__description {
    text-align: justify;
}

@media (min-width: 1024px) {
    .project {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem 0;
        margin-bottom: 0;
    }

    .project__picture {
        flex: 0 0 100%;
        margin-right: 2rem;
        width: 40%;
        max-width: 40%;
        
    }

    .project__image {
        height: fit-content;
    }

    .project__description p:first-child {
        margin-top: 0;
    }
}
/* }}} projects */

div#ma-tronche {
    background: url("img/avatar_tourne.jpg" );
    background-size: cover;
    --size: 10em;
    height: var(--size);
    width: var(--size);
    border-radius: 100% 100%;
    margin: 4rem auto;
}

/* {{{ avis client */
.avis-client {
  margin-top: 1rem;
  background-color: #f5f5ff;
  padding: 1rem;
}

.avis-client__client {
  font-weight: bold;
}

.avis-client__client > a {
  display: block;
}

.avis-client__avatar {
  border-radius: 1000px;
  --size: 80px;
  width: var(--size);
  height: var(--size);
}


@media (min-width: 1024px) {
  .section-des-avis {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 1rem;
  }

  .avis-client {
    margin-top: 0;
  }
}
/* }}} */

/* {{{ follow me  */
.follow-links {
    margin-top: 1rem;
    display: block;
    text-align: center;
}

.follow-links a {
    display: inline-block;
    padding: 10px 1rem;
}
/* }}} follow me */
 
/* {{{ footer */
footer {
    padding: 1rem;
    text-align:center;
    color: #888;
    background: #1d1d2b;
    height: 100%;
}

footer a {
    color: #f4f4f4;
    font-weight: normal;
    text-decoration: underline;
}

@media (hover: hover) {
  footer a {
      text-decoration: none;
  }
  footer a:hover {
      text-decoration: underline;
  }
}

/* }}} footer */

/* {{{ articles */
.article h1 {
  font-size: 3rem;
}

.article__subtitle {
  font-weight: bold;
}
/* }}} end articles */
 

/* vim: set fdm=marker: */
