html{
    box-sizing: border-box;
    background-color: #111;
}

*,*:before,*:after{
    box-sizing:inherit
}

body{
    margin:0px;
    height: 100%;
    width: 100%;
}
.spacer {
	flex:auto;
}
.top-menu {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 68px;
    width: 100%;
    border:0px;
    margin:0px;
    padding:0px;
    
    display: -webkit-flex;
    display: flex;
    
    background-color: rgba(50,50,50,1.0);
    
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: stretch;
    align-content: stretch;
    
    z-index: 2;
}
#home, #contact {
    background-color: rgba(165,165,165,0.0);
    transition: 0.4s cubic-bezier(0,0,0.58,1);
}
#home:hover, #contact:hover {
    background-color: rgba(255,255,255,0.3);
    cursor:pointer;
}
#home > img, #contact > img {
	height: 100%;
	padding: 20px;
	aspect-ratio:1;
}
.top-menu > a {

    letter-spacing: 2px;
    color: white;
    font-family: DejaVu Sans, Verdana, Geneva, sans-serif;
    
    display: -webkit-flex;
    display: flex;
    flex-wrap: nowrap;
    background-color: rgba(165,165,165,0.0);
    
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: stretch;
    align-content: stretch;
}

.top-menu > a {
    text-decoration: none;
    user-select: none; 
}
.menu-item {
    background-color: rgba(255,255,255,0);
    flex: 1;
    width: 15vw;
    min-width: 100px;
    color: #CCCCCC;
    font-size: 1.2em;
    letter-spacing: 0.2em;
    line-height: 68px;
    text-align:center;
    transition: 0.4s cubic-bezier(0,0,0.58,1);
}
.konami {
  background-image: url(../pictures/misc/yannick_fond.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size:248px 253px;
  background-position: bottom right;
  position: fixed;
  bottom: 0px;
  right: 0px;
  width: 248px;
  height: 253px;
  z-index: 30;
}
.konami > img {
  position: fixed;
  width: 58px;
  height: 22px;
  bottom: 181px;
  right: 74px;
  z-index: 30;
}
@media all and (orientation: portrait), all and (max-width: 1280px)
{
  .top-menu {
    height: 34px;
  }
  .menu-item {
    font-size: 10px;
    line-height: 34px;
  }
  #home img, #contact img{
      padding: 5px;
  }
}


.menu-item:hover, .menu-item:active {
    background-color: rgba(255,255,255,0.3);
    cursor:pointer;
}
.main {
  position: fixed;
  left: 0px;
  bottom: 0px;
  top: 68px;
  width: 100%;
  
  border:0px;
  margin:0px;
  padding:0px;
  overflow: hidden;
  
  color: white;
  font-family: Verdana, Geneva, sans-serif;
  
  display: -webkit-flex;
  display: flex;
  
  -webkit-align-items: stretch;
  align-items: stretch;
  
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  
  -webkit-align-content: center;
  align-content: center;
  
  -webkit-justify-content: center;
  justify-content: center;
  
  -webkit-flex-direction: column;
  flex-direction: column;
  
  z-index: 1;

    
}

.main-image {
  display: flex;
  flex:1;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.image {
  flex: 1;
}

.bottom {
  display: flex;
  -webkit-align-items: stretch;
  align-items: stretch;
}

.bottom-content {
  flex:1;
}

.description {
  min-height:5px;
  text-align: center;
  margin:0.7vmax;
}
.description > div {
  display: inline-block;
}
.titre {
  text-transform: uppercase;
  /*font-size: 1.0vmax;*/
  font-size: calc(12px + 0.2vw);
  letter-spacing: 0.12vmax;
}
.comment, .format, .technique {
  /*font-size: 0.7vmax;*/
  font-size: calc(9px + 0.2vw);
}

.thumbs {
  display: flex;
    
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  
  -webkit-align-content: center;
  align-content: center;
  
  -webkit-justify-content: center;
  justify-content: center;
}

.prev-img, .next-img {
  width:5vmax;
  min-width:50px;
  background-repeat: no-repeat;
  opacity: 0.3;
  display: flex;
  
  -webkit-align-content: center;
  align-content: center;
  -webkit-align-items: stretch;
  align-items: stretch;
  -webkit-flex-direction: column;
  flex-direction: column;
  
}
.prev-img, .next-img {
  font-size: calc(9px + 0.2vw);
  text-align:center;
  color:white;
  text-decoration: none;
  user-select: none;
}
.prev-img > div, .next-img > div {
  flex:1;
}
.prev-img:hover, .next-img:hover, .prev-serie:hover, .next-serie:hover {
  opacity: 1.0;
  cursor:pointer;
}
.prev_arrow {
  background-image: url(../pictures/misc/prevImage.png);
}
.next_arrow {
  background-image: url(../pictures/misc/nextImage.png);
}
.next_arrow, .prev_arrow {
  min-width:27px;
  min-height:45px;
  max-height:45px;
  background-repeat: no-repeat;
  background-position: center center;
}
.vignettes {
  display:inline;
  margin:0.2vmax;
  opacity: 0.75;
}
.vignettes:hover {
  opacity: 1.0;
}

.vignettes img {
  height:4vmax;
  min-height:30px;
}

@media all and (orientation: portrait), all and (max-width: 1280px)
{
  .main {
    top: 34px;
  }
}
