@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,700;1,300;1,700&family=Playfair+Display:wght@400;600&display=swap');

html {
    --font-sans-serif: 'Raleway', sans-serif;
    --font-serif: 'Playfair Display', serif;
    scroll-behavior: smooth;
}

html, body, ul, li, label,
div, a, span, p, h1, h2, h3 {box-sizing: border-box; margin:0; padding:0;}
img {max-width: 100%;}

body {
    font-family: var(--font-sans-serif);
}
.header {
    width: 100%;
    padding: 3em;
    display: flex;
    justify-content: space-between;
}
.logo {
    width:100%;
    max-width: 400px;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav a {
    text-transform: uppercase;
    margin: 0 15px;
    text-decoration: none;
    color: #363636;
    font-size: 1.1em;
    font-weight: bold;
}
nav a:hover {
    color: teal;
}
.lang {
    display:flex;
    align-items: center;
}
.lang img {
    max-width: 25px;
}
section {
    padding: 2em 10%;
}
h2 {
    text-align: center;
    font-family: var(--font-serif);
    margin-bottom:20px;
    font-size:2em;
}
.subtitle {
    text-align: center;
    font-size: 1.2em;    
}
.caption {
    text-align: center;
    font-size: 1.5em;
    margin-bottom:20px;
    font-weight: bold;
}
.sep_cat {
    width: 40%;
    margin: 60px auto;
    display: block;
    opacity: .2;
}
#concept {
    background: url(../img/paws.png), #f0eeee;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 35%;
}
#concept > div:last-child {
    width: 85%;
    margin:auto;
    text-align: justify;
}
.concept_subtitle {
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: bold;
}
#concept ul li {
    margin-bottom: 20px;
    line-height: 1.5em;
}
.concept_schema {
    display:flex;
    justify-content: space-between;
    margin-top: 40px;
}
.concept_schema > div {
    width:55%;
    align-self: flex-start;
}
.concept_schema img {
    width:41%;
    align-self: flex-start;
}
#portraits > div:not(.sisters) {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.portrait {
    display: flex;
    justify-content: space-between;
    width: 48%;
    padding: 20px;
    border: 1px solid #707070;
}
.portrait > div {
    width: 48%;
    align-self: flex-start;
}
.portrait .minigalery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.portrait .minigalery img {
    width: 48%;
    margin-top: 15px;
}
.portrait > div .name {
    text-align: center;
    font-size: 2em;
}
.portrait > div .quote {
    text-align: center;
    font-size: 1.3em;
    font-style: italic;
    margin: 20px;
    color: #707070;
}
.portrait > div .descr {
    text-align: justify;
}
.portrait_desc_subtitle {
    font-size: 1.1em;
    margin: 20px 0;
    font-weight: bold;
}
.descr ul {
    list-style-type: none;
}
.descr ul li {
    margin-bottom: 20px;
}
.sisters {
    text-align: center;
}
.sisters > div {
    font-size: 1.9em;
    margin-top: 20px;
}
.collection p, .whatsnext p, .goals p, .videos p {
    line-height: 1.5em;
    margin-bottom:15px;
    text-align: justify;
}
.galery {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}
.galery > div {
    max-width: calc(85% / 3);
    margin-bottom: 40px;
}
.artwork {
    background: url(../img/frame.jpg) no-repeat;
    background-size: 100% 100%;
    padding: 24px 33px;
    margin-bottom: 40px;
}
.artwork img {
    width: 100%;
}
.galery .name {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}
.galery .artist {
    text-align: center;
    font-size: 1.2em;
}
.galery .artwork_descr {
    margin-top: 20px;
    text-align: center;
    line-height: 1.5em;
}
.galery a {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 8px 15px;
    font-size: .9em;
    border: 1px solid teal;
    color: teal;
    text-decoration: none;
    border-radius: 5px;
}
#sale {
    background: url(../img/painting_light.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.countdown > div:first-child {
    text-align: center;
    font-size: 1.2em;
    margin-top: 30px;
}
#countdown {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}
.sale_link {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    width: fit-content;
    text-shadow: initial;
    border: 1px solid black;
    box-shadow:2px 2px 2px rgba(0,0,0,.5);
}
.sale_link:hover {
    background-color: #f0eeee;
}
.footer {
    width: 100%;
    padding: 20px;
    background-color: #363636;
    color: #fff;
    text-align: center;
}
.footer > a {
    color: #fff;
}
.ML > a {
    text-align: center;
    text-decoration: none;
}
.ML {
    width: 100%;
    padding: 20px;
    background-color: #363636;
    color: #fff;
    text-align: center;
}
.ML a {
    color: #fff;
}
.ML > div {
    text-align: left;
    padding: 20px;
    font-size: .8em;
    line-height: 1.5em;
}

.popup {
    position: fixed;
    top:0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.5);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup_content {
    background-color: #fff;
    padding: 10px;
    width: fit-content;
    max-width: 80%;
}
.popup_content > a {
    text-align: right;
    display: block;
    cursor: pointer;
    margin-bottom: 10px;
}
video {width:100%;}

.double {
    display: flex;
    justify-content: space-between;
}
.double > div {
    width: 48%;
}

@media screen and (max-width: 980px) {
    .header {
        flex-direction: column; 
        align-items: center;
    }
    nav {
        width: 100%;
        margin-top:30px;
    }
    #portraits > div {
        flex-direction: column;
        align-items: center;
    }
    .portrait {width: 80%;}
    .portrait:first-of-type {margin-bottom: 50px;}
    .portrait:last-of-type img {order: 1;}
    .galery > div {
        max-width: calc(85% / 2);
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 660px) {
    nav {
        width: 100%;
        flex-wrap: wrap;
    }
    nav a {
        margin: 10px 15px;
        text-align: center;
        flex-grow: 1;
    }
    nav a:last-child::after {
        content: attr(data-lang);
        margin-left: 10px;
    }
    .portrait {width: 90%;}
    .sep_cat {
        width: 70%;
        margin: 40px auto;
    }
    .concept_schema > div, .concept_schema img {width:100%; margin-bottom: 20px;}
    .concept_schema {display:block;}

    .double {
        display: block;
    }
    .double > div {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    nav {justify-content: center;}
    nav a {
        flex-grow: initial; 
    }
    .sep_cat {width: 80%;}
    #concept {background-size: 85%;}
    .portrait {flex-direction: column; width: 100%;}
    .portrait > img, .portrait > div {width: 100%;}
    .portrait:last-of-type img {order: initial;}
    .portrait img {margin-bottom: 20px;}
    .portrait > div .descr {margin: 0;}
    .portrait .minigalery {
        display: none;
    }
    .galery {
        flex-direction: column;
        align-items: center;
    }
    .galery > div {max-width: 90%;}
    .galery a {
        margin: 20px auto;
        padding: 10px 20px;
        font-size: 1em;
    }
}