/*
Chgt couleur liens color: #ce0058; (Pantone Rubine Red C) en color: #0957c3; (bleu Pantone 2132 C)
*/

/*********/
/* Global */
/*********/
body {
  background: url("/images/bernard-gast-bg-01.webp") no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  width: 100%;
}

h2 {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.3 !important;
  margin-bottom: 0 !important;
  margin-top: 40px;
  font-weight: 300;
  font-variant-caps: small-caps;
  font-size: 46px;
  color: #505e66;
  text-align: center;
  padding-bottom: 20px;
}

h3 {
  font-family: 'Open Sans', sans-serif;
  text-transform: capitalize;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 32px;
  color: #0957c3;  /* Pantone 2132 C */
}

h4 {
  margin-bottom: 0;
}

h5 {
  font-family: 'Open Sans', sans-serif;
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 18px;
  color: #0957c3;  /* Pantone 2132 C */
}

p {
  margin: 0;
}

p.subtitle {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 20px;
  font-size: 32px;
  color: #0957c3;  /* Pantone 2132 C */
}

img {
  max-width: 100%;
}

span.see-more {
  padding: 0px; 
  border: 1px solid #0957c3;  /* Pantone 2132 C */
  text-transform: uppercase;
  color: #0957c3;  /* Pantone 2132 C */
}

ul.horizontal-list {
  list-style: none;
  margin-top: 10px;
}

ul.horizontal-list li {
  display: inline-block;
  width: 4rem;
  text-align: center;
}

.horizontal-list img {
  max-width: 40px;
  text-align: center;
}

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

#banner {
    display: block;
    border: 0;
    max-width: 100%;
    height: auto;
}

section {
  padding: 0 15px;
}

iframe {
  width: 100%;
}

/*********/
/* Navigation */
/*********/
.navbar {
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;

  background-color: #fff;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
}
.navbar a {
  display: inline;
  text-align: center;
  text-decoration: none;
  padding: 0 15px;
  font-size: 14px;
  font-family: 'PT Sans';
  color: #505e66;
  border-right: 1px solid #0957c3;  /* Pantone 2132 C */
}
.navbar a:hover {
  color: #2f3238;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #0957c3;  /* Pantone 2132 C */
}
.navbar a:last-child {
  border-right: none;
}

/*********/
/* Header */
/*********/
header {
  background-color: white;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 40px;
}

header h1 {
  font-size: 48px;
  margin-top: 0;
  margin-bottom: 10px;
}

header p {
  font-size: 24px;
  margin-bottom: 0;
}

header img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
}

/*********/
/* Artwork catalog */
/*********/
#artworks {
    width: 50%;
    margin:0 auto;
    text-align: center;
}

#artworks-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
}

.artwork-picture {
    text-align: center;
}


/*********/
/* Actualités */
/*********/
.news {
  padding-top: 40px;
  width: 70%;
  margin:30px auto;
}

.news p {
  color: #505e66;
  margin-bottom: 20px;
}

.news a {
  color: #505e66;
  text-decoration: none;
}

.news a:hover {
  color: #0957c3;  /* Pantone 2132 C */
  text-decoration: underline #0957c3;  /* Pantone 2132 C */
}

.news-excerpt {
  display: grid;
  grid-template-columns: 20% 80%;
  gap: 10px;
}

/*********/
/* Je peins avec... */
/*********/
#jepeins {
  width: 100%;
  padding: 20px 0;
  background-color: #1b1d20;
}

#jepeins p {
  text-align: center;
  font-style: italic;
  font-weight: 300;
  font-size: 34px;
  color: #0957c3;  /* Pantone 2132 C */
}

/*********/
/* cv */
/*********/
.cv {
  column-count: 2;
  column-gap: 40px;
  column-rule-style: solid;
  column-rule-width: 1px;
  width: 70%;
  margin:30px auto;
}


.cv h2 {
  text-align: left;
}

.cv p {
  color: #505e66;
}

.cv a {
  color: #505e66;
  text-decoration: underline #0957c3;  /* Pantone 2132 C */
}

.cv a:hover {
  color: #0957c3;  /* Pantone 2132 C */
  text-decoration: none;
}

/*********/
/* A Propos */
/*********/
#apropos {
    width: 1200px;
    margin:0 auto;
    text-align: center;
}

#apropos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

#apropos a img {
    width: 200px;
    height: 200px;
}

/*********/
/*  Top & Bottom image in background */
/*********/
.image-top {
  background-image: url("/images/bernard-gast-banner-top-the-end-of-holidays-2008.jpg");
  width: 100%;
  height: 200px;
  position: relative;
  background-position: 50% -520.682px;
  background-attachment: fixed;
}

.image-bottom {
  background-image: url("/images/bernard-gast-bottom-img.jpg");
  width: 100%;
  height: 200px;
  position: relative;
  background-position: 50% -520.682px;
  background-attachment: fixed;
}

/**********/
/* Footer */
/**********/
footer, #text-section {
  width: 60%;
  margin:30px auto;
  color: #505e66;
}

/**********/
/* Media Query */
/**********/
@media screen and (max-width: 760px) {
  #artworks1, #artworks2 {
      width: 100%;
  }

  #artworks1-grid, #artworks2-grid {
      grid-template-columns: repeat(2, 1fr);
  }

  .news-excerpt {
    display:block;
  }

  .cv {
    column-count: 1;
    column-gap: 0;
    width: 100%;
  }

  #apropos {
      width: 100%;
  }

  #apropos-grid {
      grid-template-columns: repeat(1, 1fr);
  }

  .col {
    width: 100%;
  }

}
