/***GLOBAL VARIABLES
*****************************************************/
:root {
/***TEXT***/
    --fontSize: 1.25rem;
    /*--fontSize: clamp(1rem, 1.25vw, 1.5rem);*/
    --fontSizeLarge: 6rem;
    --fontSizeSmall: 1rem;
    --fontWeight: 400;
    --letterSpacing: .02em;
    --wordSpacing: 0em;
    --lineHeight: 1.2;
    --lineHeightLow: 0.9;

/***SPACES***/
    --spaceY: calc(var(--fontSize) * 1);
    --spaceX: calc(var(--fontSize) * 1.2);
    --bodySpaces: 0;
    --rowGutter: calc(var(--fontSize) * var(--lineHeight));
    --rowGutterLarge: calc(var(--fontSizeLarge) * var(--lineHeightLow));
    --rowGutterSmall: calc(var(--fontSizeSmall) * var(--lineHeight));
    --colGutter: calc(var(--fontSize) * 0.75);
    --mainTopSpace: calc(var(--rowGutter) * 2);
    --mainBottomSpace: calc(var(--rowGutter) * 3);

/***SIZES***/
    --headerHeight: calc(var(--spaceY)*2 + var(--rowGutter));
    --mainWidth: 100%;
    --mainHeight: calc(100vh - var(--headerHeight) - var(--mainBottomSpace) - var(--footerHeight));
    --footerHeight: calc(var(--spaceY)*2 + var(--rowGutter));

/***GRIDS***/
    --oneColGrid: repeat(1, 1fr);
    --threeColsGrid: repeat(3, 1fr);
    --fourColsGrid: repeat(4, 1fr);
    --sixColsGrid: repeat(6, 1fr);
    --twelveColsGrid: repeat(12, 1fr);
    --gridGap: var(--rowGutter) var(--colGutter);

/***COLOR***/
    --paletteWhite: #FFFFFF;
    --paletteGray: #CCCCCC;
    --paletteBlack: #000000; 
    --paletteRed: #de0600;
    --paletteAlpha: transparent;
    --backColor: var(--paletteWhite);
    --textColor: var(--paletteBlack);
    --linkColor: var(--paletteBlack);
    --hoverColor: var(--paletteGray);

/***DECORATION***/
    --linkDeco: underline;
    --borderWidth: 2px;
    --borderLine: var(--borderWidth) solid var(--textColor);

/***TRANSITION***/
    --transitionDuration: 0.15s;
}
  
/***FONTS
*****************************************************/
* {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
	text-size-adjust: 100%;
    /*
    -webkit-font-smoothing: smooth;
	-moz-font-smoothing: smooth;
    -moz-osx-font-smoothing: smooth;
	-ms-font-smoothing: smooth;
    -o-font-smoothing: smooth;
    text-rendering: geometricPrecision;
    */
}
@font-face {
    font-family: Unica Regular;
    src: url("Unica77LL-Regular.woff");
}
@font-face {
    font-family: Unica Italic;
    src: url("Unica77LL-Italic.woff");
}
@font-face {
    font-family:  Suisse Intl;
    src: url("Suisse Intl Regular.woff");
}
.font_size {
    font-size: var(--fontSize);
    line-height: var(--lineHeight);
    letter-spacing: var(--letterSpacing);
}
.font_size_L {
    font-size: var(--fontSizeLarge);
    line-height: var(--lineHeightLow);
    letter-spacing: 0;
}
.font_size_S {
    font-size: var(--fontSizeSmall);
    line-height: var(--lineHeight);
}
.uppercase {
    text-transform: uppercase;
}
.lowercase {
    text-transform: lowercase;
}

/***RESET
*****************************************************/
::-webkit-scrollbar {
    display: none;
}
::-webkit-selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
::-moz-selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
::-ms-selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
::-o-selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
::selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    position: relative;
    margin: var(--bodySpaces);
    color: var(--textColor);
    background: var(--backColor);
    font-family: Suisse Intl, Helvetica, Arial, sans-serif;
    font-size: var(--fontSize);
    line-height: var(--lineHeight);
}
ul {
    display: block;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}
li {
  display: inline;
}
a {	
    color: var(--linkColor);
    text-decoration: none;
    /*
    transition-property: color;
    transition-duration: var(--transitionDuration);
    */
}
a:hover {
    /*
    text-decoration: var(--linkDeco);
    color: var(--paletteRed);;
    transition-property: color;
    transition-duration: var(--transitionDuration);
    */
}
h1, h2, h3 {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding: 0;
    font-size: var(--fontSize);
    font-style: normal;
    font-weight: 400;
}
p {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0;
}
span {
    display: inline;
}
img, video {
    vertical-align: middle;
}
form, input, textarea, submit,
iframe, embed, audio {
    margin: 0;
    padding: 0;
    color: var(--textColor);
    background: transparent;
    border: 0;
    outline: none;
    font: inherit;
    font-size: inherit;
}
input:focus, textarea:focus {
    outline: none;
}
input[name="submit"] {
	cursor: pointer;
}
:-webkit-input-placeholder {
	/*internet explorer*/
	color: var(--textColor);
}
::-moz-input-placeholder {
	/*mozilla edge*/
    color: var(--textColor);
}
::-ms-input-placeholder {
	/*microsoft edge*/
    color: var(--textColor);
}
::-o-input-placeholder {
	/*microsoft edge*/
    color: var(--textColor);
}
::placeholder {
	/*chrome, firefox, opera, safari*/
    color: var(--textColor);
}

/***HEADER AND MENU
*****************************************************/
header {
    width: 100%;
    min-height: var(--headerHeight);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: var(--spaceY) var(--spaceX);
    display: flex;
    justify-content: space-between;
    align-items: start;
    /*background: var(--backColor);*/
    z-index: 100;
}
h1.site_name {
    width: auto;
    min-height: var(--rowGutter);
    text-align: left;
    text-transform: uppercase;
}
nav.menu {
    display: inherit;
}
nav.menu ul {
    display: flex;
    justify-content: end;
    gap: var(--colGutter);
}
nav.menu li.menu_item {
    display: inherit;
}

/***MAIN CONTENT
*****************************************************/
main.content {
    min-height: var(--mainHeight);
    position: relative;
    margin: 0 var(--spaceX) var(--mainBottomSpace);
    display: flex;
    justify-content: center;
}

/***THUMBNAIL GRID***/
section.list {
    width: 75%;
    position: relative;
    display: block;
    text-align: center;
}
article.list_item {
    width: 100%;
    /*padding-right: 25%;*/
    position: absolute;
    /*
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    */
}
article.list_item:nth-child(1) {
    top: 0;
}
article.list_item:nth-child(2) {
    top: calc(var(--rowGutterLarge)*1);
}
article.list_item:nth-child(3) {
    top: calc(var(--rowGutterLarge)*2);
}
article.list_item:nth-child(4) {
    top: calc(var(--rowGutterLarge)*3);
}
article.list_item:nth-child(5) {
    top: calc(var(--rowGutterLarge)*6);
}
article.list_item:hover {
    z-index: 100;
}
article.list_item .item_data {
    position: relative;
    z-index: 50;
}
article.list_item .item_data span {
    /*
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    */
}
article.list_item .item_data:hover ~ .item_media {
    display: block;
}
article.list_item .item_media {
    width: calc(100vh - var(--spaceY)*2);
    height: 100vh;
    /*
    width: calc(100vh - var(--headerHeight) - var(--footerHeight));
    height: calc(100vh - var(--headerHeight) - var(--footerHeight));
    */
    /*
    height: calc(100vh - var(--headerHeight) - var(--footerHeight));
    width: calc(100vw - var(--spaceX)*2);
    */
    /*
    width: 100vh;
    height: 100vh;
    */
    position: fixed;
    top: 0;
    left: 50vw;
    transform: translateX(-50%);
    z-index: 0;
    /*translate: -50% 0;*/
    /*
    top: var(--headerHeight);
    left: var(--spaceX);
    */
    display: none;
    pointer-events: none;
}
article.list_item .item_media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/***FOOTER
*****************************************************/
footer {
    width: 100%;
    min-height: var(--footerHeight);
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: var(--spaceY) var(--spaceX);
}
nav.footer_menu ul {
    display: flex;
    justify-content: end;
    gap: var(--colGutter);
}