/**
 * Theme Name: Eves Blog

    --hue1: #B6C182;
    --hue2:  #596E4C;
    --hue3: #564740;
    --hue4: #CB5736;
    --hue5: #F5A65D;
    --hue6: #C1BAA7;

 */

:root {
    --hue1: #D0D4BD;
    --hue2: #909B7C;
    --hue3: #535D3E;
    --hue4: #2E3726;
    --hue5: #415866;
    --hue6: #CFC6C1;
    --lowergrad: rgba(88,117,115,1);
    /*--highergrad:  rgba(231,220,198,1);*/
    --highergrad: #fff;
    --full-size: 1200px;
    --color-back: #2a2a2a;
    --color-highlight: var(--hue6);
    --color-blog-title: var(--color-back);
    --color-subtitle: var(--hue5);
    --color-title: var(--color-back) ;
    --color-link: var(--hue4);
    --color-link-hover: var(--hue1);
    --color-paper: var(--color-back);
    --color-text: #2a2a2a;
    --color-previewbox: #fff;
    --border-radius: 5px;
}

/* FONTS */
html, body {
    font-family: Nunito, serif;
}
header .title a {
    font-family: 'Ruthie';
}
.subtitle {
    font-family: 'Nunito', serif;
}
h2 {
    font-family: 'Nunito', serif;
    font-weight: lighter;
}

/* FONT SIZES */
html, body {
    font-size: 18px;
}
header .title {
    font-size: 216px;
}
.subtitle, .single h2 {
    font-size: 32px;
}

.single .content, .single .tags {
    font-size: 18px;
}

h2  {
    margin-top: 0;
    margin-bottom: 0;
}

  /* mobile */
@media (max-width: 70em) {
    .single .wpulike {
        font-size: 2em;
    }
}



/* GENERAL */

html {
    background: rgb(88,117,115);
    background: linear-gradient(0deg, var(--lowergrad) 0%, var(--highergrad) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100%;
    color: var(--color-text);
}

a {
    color: var(--color-link);
}
a:hover, .tags a:hover, .preview h2 a:hover  {
    color: var(--color-link);
    text-decoration: underline;
}

.tags, .tags a, .preview h2 a {
    color: var(--color-link);
    text-decoration: none;
}

header {
    max-width: var(--full-size);
    margin: 0 auto 20px auto;
}

.title {
    color: var(--color-title);
    text-align: center;
    padding-top: 16px;
    margin: 0 auto;
}

header .title a {
    display: block;
    text-decoration: none;
    color: var(--color-blog-title);
}
header .title a:hover {
    text-decoration: none;
    color: var(--hue3);
}

.subtitle {
    color: var(--color-subtitle);
    text-align: center;
}

section {
    max-width: var(--full-size);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 1em;
    box-sizing: border-box;
}

section div {
    width: 150px;
    height: 150px;
}

main {
    max-width: var(--full-size);
    width: 100%;
    margin: 0 auto;
    padding: 1em;
}

.posts {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

/* mobile */
@media (max-width: 70em) {
    .preview {
        box-sizing: border-box;
        flex-direction: column;
        flex: 1 1 auto;
        padding: 1em;
        width: 100%;
    }
}

/* desktop */
@media screen and (min-width: 71em) {
    .preview {
        box-sizing: border-box;
        flex-direction: column;
        flex: 1 1 auto;
        padding: 1em;
        width: 50%;
    }   
}

.preview-wrapper {
    position: relative;
    overflow: hidden;
    border: 10px solid var(--color-previewbox)
}

.preview-image img {
    display:block;
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    filter: drop-shadow(5px 3px 16px --color-text);
}

.preview-text {
    background-color: var(--color-previewbox);
    color: var(--color-text);
    margin-top: 0;
    box-sizing: border-box;
    padding: 16px;
    position: absolute;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    width: 100%;
    
}

.preview-wrapper:hover .preview-text {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

.single {
    box-sizing: border-box;
    background-color: var(--color-previewbox);
    border-radius: var(--border-radius);
    padding: 1em;
    width: 100%;
}

.single .tags {
    margin-bottom: 5px;
}

h2 {
    color: var(--color-subtitle);
}

.social, .search {
    width: 20%;
    box-sizing: border-box;
}
.mainmenu {
    width: 60%;
    box-sizing: border-box;
}


/*******************
*   I C O N S
********************/
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
  }