/* reset */
footer, header, main, section {
    display: block;
}
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
a:focus,
a:hover,
a:active {
    outline: none;
}
img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}
button {
    margin: 0;
    font-size: 100%;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -webkit-appearance: button;
    cursor: pointer;
}

/* fonts */

@font-face {
    font-family: 'ONY Futur';
    src: url(../fonts/ONYFutur-Regular.woff2) format("woff2"),
         url(../fonts/ONYFutur-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* styles */

body, html {
    height: 100%;
    min-height: 100%;
    min-width: 320px;
}

body {
    padding: 0px;
    margin: 0px;
}

*:hover,
*:focus,
*:active {
    outline: none;
}

.march8-wrapper {
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;

    background: url(../img/bg.jpg) no-repeat top center #e9d7bf;
    color: #2A2623;
    text-align: center;
    font-family: 'ONY Futur', Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
   
}

@media (min-width: 1920.1px), (min-height: 1647.1px) {

    .march8-wrapper {
        background-size: cover;
    }
}

.march8-wrapper img {
    display: block;
    max-width: 100%;
    border: 0 none;
}

.march8-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.march8-container {
    margin: 0 auto;
    width: 92%;
    max-width: 778px;
}

.march8-button {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    vertical-align: top;
    font-size: 22px;
    text-decoration: none;
    padding: 1em;
    line-height: 1.2;
    height: 3em;
    text-align: center;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    margin: 0;
    font-family: inherit;
    font-weight: 400;
    white-space: nowrap;
    width: 100%;
    transition: background-color 0.15s ease, color 0.15s ease;
}

@media (hover: hover) {

    .march8-button:hover {
        background-color: #000;
        color: #fff;
    }

}

.march8-button--active {
    background-color: #000;
    color: #fff;
}

.march8-page-header {
    padding: 50px 0 80px;
}

.march8-logo {
    display: block;
    width: 172px;
    margin: 0 auto;
}

.march8-page-main h1 {
    
    font-size: 70px;
    font-weight: 400;
    line-height: 0.8;
    margin: 0 0 0.6em;
}

.march8-text {
    margin: 0 auto 50px;
}

.march8-card {
    background: #fff;
    padding: 30px 30px 60px;
    font-size: 23px;
    line-height: 1.3;
}

.march8-card img {
    margin: 0 auto 30px;
}

.march8-card__video {
    margin: 0 auto 30px;
    position: relative;
}

.march8-card__video::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.march8-card__video video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.march8-card__text {
    margin: 0 auto;
    max-width: 676px;
}

.march8-card p {
    margin: 0 0 0.66em;
}

.march8-card p:last-child {
    margin-bottom: 0;
}

.march8-shr {
    max-width: 710px;
    margin: 50px auto 0;
}

.march8-shr__buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0 30px;
}

.march8-shr__links {
    grid-column: span 2;
    grid-row: 2 / 3;
}

.march8-shr__links ul {
    margin: 40px 0 0;
    padding: 0;
    list-style: none outside;

    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: center;
}

.march8-shr__links li + li {
    margin-left: 20px;
}

.march8-shr__link {
    display: block;
    width: 55px;
    height: 55px;
    background: none no-repeat center center #000;
    transition: background-color 0.15s ease;
}

@media (hover: hover) {

    .march8-shr__link:hover {
        background-color: rgba(0,0,0,0.8);
    }

}

.march8-shr__link--tg { background-image: url(../img/sc-tg.svg); }
.march8-shr__link--vk { background-image: url(../img/sc-vk.svg); }
.march8-shr__link--ok { background-image: url(../img/sc-ok.svg); }
.march8-shr__link--wa { background-image: url(../img/sc-wa.svg); }

.march8-gifts {
    padding: 50px 0 90px;
}

.march8-gifts a {
    color: inherit;
    text-decoration: underline;
}

.march8-gifts a:hover {
    text-decoration: none;
}

@media (max-width: 1079px) {

    .march8-wrapper {
        font-size: 16px;
    }

    .march8-container {
        max-width: 748px;
        width: calc(100vw - 40px);        
    }

    .march8-page-header {
        padding: 35px 0 50px;
    }

    .march8-logo {
        width: 108px;
    }

    .march8-page-main h1 {
        font-size: 40px;
        margin-bottom: 0.5em;
    }

    .march8-text {
        margin-bottom: 30px;
        max-width: 500px;
    }

    .march8-card {
        padding: 15px 15px 30px;
        font-size: 14px;
    }

    .march8-card__video {
        margin-bottom: 15px;
    }

    .march8-card__text {
        max-width: 560px;
    }

    .march8-shr {
        max-width: 320px;
        margin-top: 30px;
    }

    .march8-shr__buttons {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .march8-button {
        font-size: 20px;
    }

    .march8-shr__links {
        grid-column: span 1;
        grid-row: auto;
    }

    .march8-shr__links ul {
        margin-top: 0;
    }

    .march8-gifts {
        padding: 40px 0 55px;
        font-size: 20px;
    }
}