/*!
Theme Name: RUF
Theme URI: https://wis17.agency/
Author: Wis17
Author URI: https://wis17.agency/
Description: 
Version: 1.0.0
*/

body {
    --theme-background: #F7F3F4;
    --theme-primary-color: #de1572;
    --theme-secondary-color: #bba79a;
    --theme-content-width: 422px;
    --theme-content-gap: 4vw;
    --theme-font-size: 14px;
    font-size: var(--theme-font-size);
    font-family: 'antarctica';
    background: var(--theme-background);
    color: #927173;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--theme-primary-color);
    font-weight: 600;
}

h6,
.h6 {
    font-size: var(--theme-font-size);
}

p {
    margin-bottom: 1.5em;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.site {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.site-header {
    padding: 50px 0;
    font-weight: 500;
    font-size: 13px;
    position: relative;
}

.site-header .main-navigation {
    width: var(--theme-content-width);
    margin: auto;
    color: var(--theme-secondary-color);
    margin-left: var(--theme-content-gap);
    margin-right: var(--theme-content-gap);
}

.site-header .menu .current-menu-item,
.site-header .language-selector .wpml-ls-current-language {
    color: var(--theme-primary-color);
}

.site-header .language-selector ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    text-transform: uppercase;
    gap: 20px;
}

.site-header .site-branding {
    text-align: right;
}

.site-header .site-branding img {
    width: 70%;
}

.site-header a {
    text-decoration: none !important;
}

.site-header .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.main-navigation,
.language-selector {
    line-height: 1;
    top: 2px;
    position: relative;
}

.menu-toggle {
    display: none;
}

#animated-logo {
    position: fixed;
    background: var(--theme-background);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

#animated-logo>div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
}

#animated-logo svg .svg-elem-1 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 0.8s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 0.8s;
}

#animated-logo svg.active .svg-elem-1 {
    fill: rgb(222, 21, 114);
}

#animated-logo svg .svg-elem-2 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 0.9s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 0.9s;
}

#animated-logo svg.active .svg-elem-2 {
    fill: rgb(222, 21, 114);
}

#animated-logo svg .svg-elem-3 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1s;
}

#animated-logo svg.active .svg-elem-3 {
    fill: rgb(222, 21, 114);
}

#animated-logo svg .svg-elem-4 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.1s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.1s;
}

#animated-logo svg.active .svg-elem-4 {
    fill: rgb(187, 167, 154);
}

#animated-logo svg .svg-elem-5 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.2000000000000002s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.2000000000000002s;
}

#animated-logo svg.active .svg-elem-5 {
    fill: rgb(187, 167, 154);
}

#animated-logo svg .svg-elem-6 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.3s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.3s;
}

#animated-logo svg.active .svg-elem-6 {
    fill: rgb(187, 167, 154);
}

#animated-logo svg .svg-elem-7 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.4000000000000001s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.4000000000000001s;
}

#animated-logo svg.active .svg-elem-7 {
    fill: rgb(187, 167, 154);
}

#animated-logo svg .svg-elem-8 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.5s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.5s;
}

#animated-logo svg.active .svg-elem-8 {
    fill: rgb(187, 167, 154);
}

#animated-logo svg .svg-elem-9 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.6s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.6s;
}

#animated-logo svg.active .svg-elem-9 {
    fill: rgb(187, 167, 154);
}

#animated-logo svg .svg-elem-10 {
    fill: transparent;
    -webkit-transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.7000000000000002s;
    transition: fill 0.7s cubic-bezier(0.755, 0.05, 0.855, 0.06) 1.7000000000000002s;
}

#animated-logo svg.active .svg-elem-10 {
    fill: rgb(187, 167, 154);
}

.site-main {
    margin-top: 10vmin;
    margin-bottom: 8vmin;
}

.entry-content,
.site-footer .site-info {
    width: var(--theme-content-width);
    margin: 0 auto;
    position: relative;
}

.entry-content .featured-image {
    position: absolute;
    right: 100%;
    width: 85%;
    transform: translateX(calc(calc(var(--theme-content-gap) + 12px) * -1));
}

.entry-content .featured-caption,
.credits{
    font-size: .85em;
    color: var(--theme-secondary-color);
    font-weight: 300;
}

.site-footer{
    margin-bottom: 10vmin;
}

/** RESPONSIVE **/
@media screen and (max-width: 1399px) {
    .site {
        max-width: 100%;
    }
}

@media screen and (max-width: 1279px) {
    .entry-content .featured-image {
        width: 23vw;
    }
}

@media screen and (max-width: 1023px) {
    body {
        --theme-content-width: 280px;
    }

    .site-header .row {
        width: 90%;
        margin: 0 auto !important;
        justify-content: space-between !important;
    }

    .site-header .site-branding {
        padding-left: 0;
    }

    .site-header .site-branding img {
        width: 100%;
    }

    .site-header .language-selector ul {
        justify-content: end;
    }

    .entry-content {
        display: flex;
        justify-content: center;
        gap: 30px;
        width: 90%;
    }

    .entry-content .featured-image {
        position: relative;
        left: 0;
        right: 0;
        transform: translateX(0);
        margin: 0 auto;
        flex: 0 0 40%;
    }

    .site-footer .site-info{
        width: 90%;
    }
}

@media screen and (max-width: 624px) {
    .site-header .site-branding {
        width: 50% !important;
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 99%;
        background: var(--theme-background);
        padding: 0 30px 30px;
        z-index: 1;
        text-align: center;
    }

    .site-header .main-navigation {
        width: 100%;
        margin: 0 !important;
    }

    .site-header .menu {
        flex-direction: column;
    }

    .site-header .menu li {
        padding-bottom: 20px;
    }

    .language-selector {
        margin-left: auto;
        margin-right: 30px;
    }

    .menu-toggle {
        display: block;
        width: 24px;
        height: 24px;
        background: url(images/menu-icon.png) no-repeat center;
        background-size: contain;
        position: relative;
        top: 5px;
    }

    .entry-content {
        flex-direction: column;
    }

    .entry-content .featured-image {
        flex-basis: 60%;
        width: 50%;
    }

}