@font-face {
    font-family: 'Belista';
    src: url('/assets/fonts/belista-webfont.woff2') format('woff2'),
    url('/assets/fonts/belista-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Hello';
    src: url('/assets/fonts/Hello.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Athelas';
    src: url('/assets/fonts/athelas-webfont.woff2') format('woff2'),
    url('/assets/fonts/athelas-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@keyframes gradientMove {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 51%
    }
    100% {
        background-position: 0 50%;
    }
}

* {
    margin: 0;
    padding: 0;
    font-family: "Athelas";
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}


body {
    position: relative;
    overflow: hidden;
}

.corner_deco {
    position: absolute;
    z-index: 0;
}

.corner_deco.top-left {
    top: 0;
    left: 0;
}

.corner_deco.bottom-right {
    bottom: 0;
    right: 0;
}

.corner_deco img {
    width: 35vw;
}

nav.menu {
    position: absolute;
    transition: right 1.5s ease-in-out;
    top: 0;
    bottom: 0;
    right: -200px;
    z-index: 10;
}

nav.menu.open {
    right: 0;
}

.opener {
    width: 90px;
}

.opener img {
    transform: rotate(90deg);
    width: 100%;
    background: #f9fff6;
    padding: 0 10px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    margin-left: 25px;
}

.menu-content {
    background: #f9fff6;
}

.menu-content a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    color: #0b2e13;
    padding: 10px 0;
}

.menu-content a:hover {
    color: #1c5946;
    text-decoration: underline;
}

nav .menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


div.backdrop {
    height: 100vh;
    /*background: url("assets/images/back-paper.jpg") no-repeat center center;*/
    /*background-size: cover;*/

    animation: gradientMove 8s 15s ease infinite;
    background-size: 500% 500%;
    background-image: linear-gradient(-125deg, #f9fff6 1%, #d2d3ce 65%, #f3fdff 90%);
}

.slide {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slide.active {
    z-index: 1;
    opacity: 1;
}

#mass h5,
#mass h4 {
    font-family: 'Athelas', serif;
}

.pic_polaroid {
    background: white;
    padding: 20px 20px 80px 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    box-shadow: dimgrey 2px 2px 8px 0px;
    transform: translate(-10%, -10%) rotate(2deg);
    transition: transform 2s ease-in-out;
}

.pic_polaroid > div {
    width: 240px;
    height: 240px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slide.active .pic_polaroid:first-of-type {
    transform: translate(-85%, -70%) rotate(-10deg);
}

.slide.active .pic_polaroid:last-of-type {
    transform: translate(-20%, -25%) rotate(10deg);
}

input,
textarea,
select,
option {
    padding: 2px 5px !important;
    border: 1px solid #0b2e13 !important;
    font-size: 18px !important;
}

.guest-container {
    position: relative;
}

button.container-remove {
    position: absolute;
    top: -11px;
    right: -10px;
    z-index: 999;
    border: none;
    background: white;
    font-size: 130%;
    border-radius: 50%;
}

.new-notif {
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    display: inline-block;
}

.or {
    margin-bottom: -5px;
    margin-top: -15px;
}

/* SM */
@media screen and (max-width: 575.98px) {

    div#home img {
        max-height: 75vh !important;
    }

    div#mass .col-6:first-of-type,
    div#reception .col-6:last-of-type {
        order: 1;
    }

    div#mass .col-6,
    div#reception .col-6 {
        max-width: 100%;
        flex: 0 0 100%;
        height: 40vh;
    }

    div#mass .pic_polaroid,
    div#reception .pic_polaroid {
        z-index: -1 !important;
    }

    div#rsvp,
    div#covid,
    div#menu
    {
        max-height: 100vh;
        overflow-y: scroll;
    }

    div#rsvp form#f-rsvp,
    div#covid div.col-sm-10,
    div#menu div.col-sm-10
    {
        align-self: baseline !important;
        padding: 30px 0;
    }
}