﻿/*Alignment*/
html {
    position: relative;
    min-height: 100%;
    max-width: 100%;
    overflow-y: scroll;
}

body {
    background-color: white;
    width: auto;
    color:#636363;
    font-style: "Poppins",sans-serif;
    overflow-x: visible;
}

.error{
    display: block;
    color:red;
}

.container{
    padding:1em;
}

.header-image__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-image__container .header-image {
    width: 100%;
}

.wrapper {
    max-width: 800px;
}

h3 {
    font-size: 48px;
}

p {
    font-size: 16px !important;
}

.image-buttons .image-buttons__btn {
    display: block;
    position: relative;
    padding-top: 46.666666666666664%;
    width: 100%;
    margin-bottom: 1.5rem;
    box-shadow: 0px 3px 8px 1px rgba(0,0,0,0.1);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 4px;
    color: #444;
    cursor: pointer;
}

.image-buttons .image-buttons__text {
    position: absolute;
    display: block;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    padding: 1rem;
    margin: 0;
    background-color: white;
}

.modal {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: -1;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

    .modal.modal--center {
        text-align: center;
    }

    .modal.modal--active {
        z-index: 100;
        opacity: 1;
    }

    .modal .modal__dismiss {
        position: absolute;
        cursor: pointer;
        width: 54px;
        height: 54px;
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
        font-weight: bold;
        text-align: center;
        line-height: 0;
        background-color: black;
        color: white;
        border-radius: 50%;
        border: 3px solid white;
        outline: none;
        transition: all .2s ease-in-out;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .modal .modal__dismiss:focus, .modal .modal__dismiss:hover {
            border-color: yellow;
            color: yellow;
        }

    .modal .modal__display {
        display: block;
        visibility: hidden;
        position: absolute;
        left: 50%;
        top: 50%;
        border-radius: 1em;
        background-color: white;
        width: 350px;
        max-width: calc(100% - 44px);
        max-height: calc(100% - 44px);
        transform: translate(-50%, -50%);
        box-shadow: -2px 6px 14px -2px #0C0C0C;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .modal.modal--active .modal__display {
        opacity: 0;
        visibility: visible;
    }

    .modal.modal--active.modal--in .modal__display {
        opacity: 1;
    }

    .modal.modal--active.modal--out .modal__display {
        opacity: 1;
    }

    .modal.modal--in .modal__display {
        animation-duration: 1s;
        animation-fill-mode: both;
        animation-name: bounceIn;
        visibility: visible;
    }

    .modal.modal--out .modal__display {
        animation-duration: 1s;
        animation-fill-mode: both;
        animation-name: bounceOut;
        visibility: visible;
    }

.modal__content img {
    width: 100%;
    height: auto;
}

.modal__content .modal__google-map {
    display: none;
}

.modal__content .modal__google-map.modal__google-map__show {
    display: block;
}

.modal__header, .modal__footer, .modal__content {
    padding: 1rem;
}

.modal__header {
    background-color: #FFFFFF;
    padding: 0;
}

    .modal__header h3 {
        margin: 0;
    }

    .modal__header img {
        width: 100%;
        height: auto;
    }

.modal__footer {
    text-align: center;
}

@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale3d(0.3, 0.3, 0.3);
    }

    20% {
        transform: translate3d(-50%, -50%, 0) scale3d(1.1, 1.1, 1.1);
    }

    40% {
        transform: translate3d(-50%, -50%, 0) scale3d(0.9, 0.9, 0.9);
    }

    60% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale3d(1.03, 1.03, 1.03);
    }

    80% {
        transform: translate3d(-50%, -50%, 0) scale3d(0.97, 0.97, 0.97);
    }

    to {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
    }
}

@keyframes bounceOut {
    20% {
        transform: translate3d(-50%, -50%, 0) scale3d(0.9, 0.9, 0.9);
    }

    50%, 55% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale3d(1.1, 1.1, 1.1);
    }

    to {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale3d(0.3, 0.3, 0.3);
    }
}