/* Sur safari les hovers sur les images home ne marches pas */


/* general */
body {
  font-size: 11pt;
}

a:visited,
a,
a:active {
  color: #000;
}

h1,
h2,
h3,
h4 {
  text-decoration-line: none;
}

li {
  text-decoration-line: none;
}

/* ACCEUIL */
.home .entry-title {
  display: none;
}

.archive {
  overflow: hidden;
}

/* header */
/* a:visited {
    color: black;
}

header{
display: flex;
justify-content: space-between;
   margin: 0 auto;
   background-color: rgb(255, 255, 255);
   padding: 5px 0 5px 0;
   position: fixed;
   z-index: 999;
   width: 100%;

}

.site-header  {
    width: 95%;
    margin: 0 auto;
}
.site-header nav a {
    transition: 0.3s;
}
.site-header nav a:hover {
    font-weight: 600;
}

.main-navigation {
    width: 10%;
}
.menu-main-menu-container a {
    margin-left: 10px;
}
.site-title {
    margin: 0;
    padding:0%;
} */

header {
  background-color: rgb(255, 255, 255);
  padding: 10px 0;
  width: 100%;
  position: fixed;
  z-index: 9999;
}

header .entry-content {
  display: flex;
  justify-content: space-between;
  width: 95%;
}

.main-navigation {
  width: auto;
}

.site-title {
  margin: 0;
  padding: 0;
}

/* menu responsive */
button.menu-toggle {
  width: 30px;
  height: 30px;
  background: url(../../themes/nemesis-portfolio/images/menu-normal.svg)
    no-repeat center center transparent;
  background-size: contain;
  text-indent: -99999999999px;
  padding: 0;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 99999;
  border: 0;
}

.toggled button.menu-toggle {
  background: url(../../themes/nemesis-portfolio/images/menu-cross.svg)
    no-repeat center center transparent;
}

button.menu-events:hover {
  background-color: transparent;
}

.toggled #primary-menu {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 100vh;
  display: block;
  align-items: center;
  flex-direction: column;
  padding-top: 20%;
  padding-right: 20px;
}

.toggled #primary-menu li a {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: right;
}

/* suite header */
.site-title a {
  text-decoration-line: none;
  font-weight: 600;
}

header .main-navigation a {
  padding-left: 7px;
  transition: 0.3s;
}

header .main-navigation a:hover {
  font-weight: 600;
}

.site-description {
  position: absolute;
  left: -100000px;
}

article h1 {
  display: none;
}

.entry-header {
  background-color: #00000000;
}

/* page home */

/* Reste */

.entry-content {
  margin: 0 auto;
  width: 95%;
}

.page-title {
  display: none;
}

/* flex */
.archive-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.archive-grid,
.backstage,
.text-video .wp-block-group__inner-container,
.text-video-vertical .wp-block-group__inner-container {
  display: flex;
  flex-direction: row-reverse;
}

.text-video .wp-block-group__inner-container,
.text-video-vertical .wp-block-group__inner-container {
  justify-content: space-between;
  text-align: right;
}

/* img general */
.archive-grid .post-thumbnail {
  display: block;
}

.archive-grid article {
  padding: 5px;
  position: relative;
  width: 100%;
  bottom: -200px;
}

.archive-grid .post-thumbnail img {
  width: 600px;
  height: 500px;
  object-fit: cover;
}

.post-thumbnail {
  display: none;
}

/* explication text */
.wp-block-group .explications-text .wp-block-group__inner-container,
.wp-block-group .explications-text-small .wp-block-group__inner-container {
  display: block;
  text-align: left;
  width: 100%;
}

.explications-text p {
  width: 80%;
}

.explications-text-small p {
  width: 50%;
}

/* video */

.text-video .wp-block-video video {
  width: 90%;
  margin-bottom: 50px;
}

.text-video-vertical .wp-block-video video {
  width: 44%;
  margin-bottom: 100px;
}

.wp-block-group .text-video,
.wp-block-group .text-video-vertical {
  margin: -100px 0;
}

.text-video-vertical .wp-block-group__inner-container {
  margin: -150px 0;
}

.text-video-vertical .explications-text {
  margin-top: 150px;
}

.wp-block-video .video-vertical {
  width: 30%;
}

.post-30 {
  margin: 0;
}

/* .text-video {
    margin-top: -100px;
    margin-bottom: 250px;
} */

/* article */

/* article title */

.post-33 .entry-title,
.nav-previous,
.nav-next {
  display: none;
}

/* page contact */
.num h4,
.num p {
  margin: 0;
  padding: 0;
}

/* widjet area */
.widget-area {
  position: absolute;
  width: 100%;
  bottom: -1;
  left: 0;
  padding-bottom: 20px;
}

.widget-area section {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
}

.widget-area section .wp-block-column,
.wp-block-social-links,
.widget-area section .wp-block-column p {
  width: auto;
  margin: 0;
  padding: 0;
}

.home .widget-area,
.page-id-7 .widget-area,
.page-id-11 .widget-area {
  bottom: 0;
}

.page-id-11 .entry-footer {
  display: none;
}

/* site-main */
.site-main {
  display: flex;
  width: 95%;
  margin: 0 auto;
  padding-top: 4%;
}

.site-main img {
  width: 56vmin;
  height: 46vmin;
  object-fit: cover;
  transition: 0.3s;
  position: relative;
  z-index: 95;
}

.site-main img:hover {
  width: 59vmin;
}

.site-main article {
  padding: 5px;
  position: relative;
  margin-top: 10%;
}

.site-main article h3 {
  font-size: 11pt;
  font-weight: 500;
  text-decoration-line: none;
  position: absolute;
  top: 0;
  padding-left: 10px;
  padding-top: 10px;
  color: rgb(255, 255, 255);
  opacity: 0;
  transition: 0.3s;
  z-index: 998;
  margin: 0;
}

.site-main article:hover h3 {
  top: 0;
  padding-top: 5px;
  opacity: 1;
}

/* arrows */

/* .arrows .wp-block-group__inner-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: 0;
} */

.arrows figure img,
.arrows figure img:hover,
.wp-block-image .size-full .arrows {
  margin: 0;
  width: 2px;
  height: 2px;
  position: absolute;
  top: 0;
  margin-bottom: 1000px;
}

/* stills */
.stills .wp-block-columns {
  margin: 0;
  padding: 0;
}

.stills img,
.stills img:hover {
  width: 56vmin;
  height: 26vmin;
  object-fit: cover;
}

.stills-kyu img,
.stills-kyu img:hover {
  width: 46vmin;
  height: 76vmin;
  object-fit: cover;
}

.wp-block-group__inner-container .stills {
  width: 50%;
  text-align: right;
}

.stills-image .wp-block-group__inner-container,
.stills-image-top .wp-block-group__inner-container {
  display: flex;
  justify-content: space-between;
}

.stills-image .wp-block-group__inner-container figure,
.stills-image-top .wp-block-group__inner-container figure {
  width: 33%;
}

.stills-image-margin-left {
  margin-right: 0;
}

.stills-image-top .wp-block-group__inner-container figure {
  margin-bottom: 0;
}

/* credits */
.credits .wp-block-group__inner-container {
  margin-top: 50px;
}

.credits a {
  text-decoration-line: none;
}

/* backstage */
.backstage img,
.backstage img:hover {
  width: 600px;
  height: 500px;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

.backstage .wp-block-group__inner-container {
  display: flex;
}

.instal {
  display: flex;
}

.instal img,
.instal img:hover {
  width: 500px;
  height: 400px;
  object-fit: cover;
  margin: 0 auto;
  padding: 0;
  display: flex;
}

/* ABOUT */
.page-id-11 {
  width: 100%;
  padding: 0;
  margin: 0;
}

.about-text {
  width: 50%;
  text-align: left;
  margin: 0;
  padding: 0;
}


/* FOOTer */
.entry-content footer {
  position: absolute;
  bottom: 0;
}

.site-footer .site-info {
  display: none;
  justify-content: space-between;
  width: 100%;
}

.entry-footer {
  display: none;
}

/* ------------------------------------------------ MEDIA QUERY */
@media screen and (max-width: 700px) {
  body {
    font-size: 11pt;
  }

  .entry-content {
    width: 95%;
  }

  /*  --------------------------HEADER*/
  .entry-header {
    position: absolute;
  }

  /* ---------------------------HOMEPAGE SITE MAIN */
  .entry-content {
    margin: 0 auto;
    width: 100%;
  }
  .site-main {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding-top: 20%;
    transition: 0.2s;
    position: absolute;
    left: 0;
    right: 0;
  }

  .site-main img,
  .site-main img:hover {
    width: 66vmin;
    height: 86vmin;
    object-fit: cover;
    transition: 0.3s;
    margin: 0 auto;
    padding: 2px 0;
  }

  .site-main article {
    padding: 5px;
    position: relative;
    margin: 0 auto;
    text-align: center;
    width: 66vmin;
    height: 86vmin;
  }

  .site-main article h3,
  .site-main article:hover h3 {
    font-size: 13pt;
    font-weight: 500;
    text-decoration-line: none;
    position: absolute;
    top: 0;
    padding-left: 50px;
    padding-top: 10px;
    color: rgb(255, 255, 255);
    opacity: 1;
    transition: 0.3s;
    z-index: 998;
    margin: 0;
  }

  /* ---------------------------Pages */
  /* display blck */
  .archive-grid,
  .backstage,
  .text-video .wp-block-group__inner-container,
  .text-video-vertical .wp-block-group__inner-container,
  .stills-image .wp-block-group__inner-container,
  .stills-image-top .wp-block-group__inner-container,
  .backstage .wp-block-group__inner-container {
    display: block;
  }

  /* article */
.site-main article {
  width: 90vmin;
  margin: 0 auto;
}
  /* videos */
  .explications-text p,
  .explications-text-small p,
  .text-video .wp-block-video video,
  .text-video-vertical .wp-block-video video {
    width: 100%;
  }

  .text-video-vertical .wp-block-group__inner-container {
    margin-top: 5px;
  }

  .text-video .wp-block-video video {
    margin-bottom: 10px;
  }
  
  .text-video-vertical .wp-block-video video {
    margin-bottom: 10px;
  }

  .wp-block-group .explications-text {
    margin: 0 0 0 20px;
    display: block;
    width: 100%;
  }

  .text-video .wp-block-group__inner-container{
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
  }
  /* stills */

  .stills img,
  .stills img:hover {
    width: 86vmin;
    height: 46vmin;
    margin: 0;
    object-fit: cover;
  }

  .stills-image .wp-block-group__inner-container figure,
  .stills-image-top .wp-block-group__inner-container figure {
    width: 100%;
  }

  /* about */

  .about-text {
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
  }
  /* ---------------------------FOOTER WIDJET AREA */

  .widget-area {
    display: none;
  }

  .explications-text p {
    width: 100%;
  }

  /* ---------------------------FOOTER */
  footer {
    display: block;
  }
}
