/* global */

* {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

body {
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: "inter-18pt", sans-serif;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* end of global */

@media(min-width: 1366px) {
    .gallery-intro {
        font-family: "inter-18pt", sans-serif;
        text-align: center;
        color: #555555;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.6;
        max-width: 720px;
        margin: 0 auto;
    }
    .gallery-count {
        font-family: "inter-18pt", sans-serif;
        text-align: center;
        color: #4081b3;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin: 18px auto 0 auto;
    }
    .picture-modal-img {
        max-width: 90vw;
        max-height: 82vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
        transition: 0.15s opacity ease-out;
    }
    .picture-modal-img.is-switching {
        opacity: 0.35;
    }
    .modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 52px;
        height: 52px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        user-select: none;
        transition: 0.15s all ease-out;
    }
    .modal-nav:hover {
        background: #04080b;
    }
    .modal-nav.is-disabled {
        opacity: 0.25;
        cursor: default;
        pointer-events: none;
    }
    .modal-prev {
        left: 24px;
    }
    .modal-next {
        right: 24px;
    }
    .modal-counter {
        position: absolute;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
        font-family: "inter-18pt", sans-serif;
        color: rgba(255, 255, 255, 0.85);
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        padding: 6px 14px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.1);
    }
}

@media(max-width: 1366px) and (min-width: 1024px) {
    .gallery-intro {
        font-family: "inter-18pt", sans-serif;
        text-align: center;
        color: #555555;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.6;
        max-width: 720px;
        margin: 0 auto;
    }
    .gallery-count {
        font-family: "inter-18pt", sans-serif;
        text-align: center;
        color: #4081b3;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin: 18px auto 0 auto;
    }
    .picture-modal-img {
        max-width: 90vw;
        max-height: 82vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
        transition: 0.15s opacity ease-out;
    }
    .picture-modal-img.is-switching {
        opacity: 0.35;
    }
    .modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        user-select: none;
        transition: 0.15s all ease-out;
    }
    .modal-nav:hover {
        background: #04080b;
    }
    .modal-nav.is-disabled {
        opacity: 0.25;
        cursor: default;
        pointer-events: none;
    }
    .modal-prev {
        left: 18px;
    }
    .modal-next {
        right: 18px;
    }
    .modal-counter {
        position: absolute;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
        font-family: "inter-18pt", sans-serif;
        color: rgba(255, 255, 255, 0.85);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1px;
        padding: 6px 14px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.1);
    }
}

@media(max-width: 1024px) and (min-width: 769px) {
    .gallery-intro {
        font-family: "inter-18pt", sans-serif;
        text-align: center;
        color: #555555;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.6;
        max-width: 720px;
        margin: 0 auto;
    }
    .gallery-count {
        font-family: "inter-18pt", sans-serif;
        text-align: center;
        color: #4081b3;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin: 18px auto 0 auto;
    }
    .picture-modal-img {
        max-width: 92vw;
        max-height: 80vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
        transition: 0.15s opacity ease-out;
    }
    .picture-modal-img.is-switching {
        opacity: 0.35;
    }
    .modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        user-select: none;
        transition: 0.15s all ease-out;
    }
    .modal-nav:hover {
        background: #04080b;
    }
    .modal-nav.is-disabled {
        opacity: 0.25;
        cursor: default;
        pointer-events: none;
    }
    .modal-prev {
        left: 12px;
    }
    .modal-next {
        right: 12px;
    }
    .modal-counter {
        position: absolute;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
        font-family: "inter-18pt", sans-serif;
        color: rgba(255, 255, 255, 0.85);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1px;
        padding: 6px 14px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.1);
    }
}

@media(max-width: 769px) {
    .gallery-intro {
        font-family: "inter-18pt", sans-serif;
        text-align: center;
        color: #555555;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.6;
        max-width: 720px;
        margin: 0 auto;
    }
    .gallery-count {
        font-family: "inter-18pt", sans-serif;
        text-align: center;
        color: #4081b3;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin: 18px auto 0 auto;
    }
    .picture-modal-img {
        max-width: 96vw;
        max-height: 76vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
        transition: 0.15s opacity ease-out;
    }
    .picture-modal-img.is-switching {
        opacity: 0.35;
    }
    .modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 16px;
        cursor: pointer;
        user-select: none;
        transition: 0.15s all ease-out;
    }
    .modal-nav:hover {
        background: #04080b;
    }
    .modal-nav.is-disabled {
        opacity: 0.25;
        cursor: default;
        pointer-events: none;
    }
    .modal-prev {
        left: 8px;
    }
    .modal-next {
        right: 8px;
    }
    .modal-counter {
        position: absolute;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
        font-family: "inter-18pt", sans-serif;
        color: rgba(255, 255, 255, 0.85);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        padding: 6px 14px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.1);
    }
}
