/* font */
@font-face {
    font-family: 'cormorant';
    src: url(webfonts/cormorant-garamond.woff2) format('woff2');

}

/*STRUCTURE */
.site-header,
.site-main,
.widget-area,
.site-footer {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 1800px;
    margin: 0 auto;
}

body {
    background-color: rgb(0, 0, 0);
    color: white;
    overflow-x: hidden;
}

.portraits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


h1 {
    font-family: 'cormorant';
    font-size: 8rem;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
    max-width: 70%;
    margin: 0;
}

h1 span,
h3 span {
    font-size: 0.35em;
}

/* PORTRAITS SINGLE*/

.single-portraits h1 {
    margin-bottom: 0;
}

.single-portraits h4 {
    margin-top: 0;
    font-size: 2rem;
}

.single-portraits h4 span {
    font-weight: normal;
    font-family: serif;
    font-size: 1.2rem;
}

/* SEARCH RESULTS */

.search article {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.search .search-results-thumbnail {
    width: 20%;
}

.search .search-results-thumbnail img {
    display: block;
}

.search .search-results-title {
    width: 20%;
}

.search .search-results-title h2 {
    margin-top: 0;
    line-height: 1;
}

.search .search-results-excerpt {
    width: 50%;
}

/*css shortcode*/

.query-shortcode-box {
    display: flex;
    gap: 1px;
    justify-content: center;
}

.shortcode-item {
    position: relative;
}

.shortcode-item img {
    display: block;
    transition: all 0.3s ease-in-out;
}

/*MENU*/

.main-navigation ul {
    justify-content: flex-end;
    gap: 2%;
}

.main-navigation a {
    color: white;
    font-family: 'cormorant';
    font-size: 1.2rem;
}

/*HOVER*/

.shortcode-item h3 {
    position: absolute;
    transform: translate(50%, -50%);
    top: 50%;
    right: 50%;
    margin: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transition-delay: 0.2s;
    color: white;
}

.shortcode-item a:hover h3 {
    opacity: 1;
}

.shortcode-item a:hover img {
    opacity: 0.5;
}

.portraits-articles {
    position: relative;
    width: calc(25% - 1px);
}

.portraits-articles:last-of-type {
    margin-right: auto;
    margin-left: 1px;
}

.portraits-articles h3 {
    position: absolute;
    transform: translate(50%, -50%);
    top: 50%;
    right: 50%;
    margin: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transition-delay: 0.1s;
    color: white;
}

.portraits-articles a:hover h3 {
    opacity: 1;
}

.portraits-articles a:hover img {
    opacity: 0.5;
}

/*PHILIGRANE*/

.philigrane {
    font-size: 70rem;
    line-height: 1;
    margin-bottom: 20px;
    position: absolute;
    top: 10vh;
    left: 0;
    white-space: nowrap;
    z-index: -1;
    opacity: 10%;
    font-family: 'cormorant';
}

/*SINGLE*/

.episodes {
    max-width: 100%;
}