/*
Custom page CSS
*/


.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

main>.container {
    padding: 75px 15px 0;
}

.body-image {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: calc(100vh - 75px);
}

.centered-h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 500%;
    color: white;
}

@media (min-width: 768px) {
    .centered-h1 {
        font-size: 750%;
    }
}

@media (min-width: 992px) {
    .centered-h1 {
        font-size: 1000%;
    }
}

@media (min-width: 1200px) {
    .centered-h1 {
        font-size: 1250%;
    }
}

.mr-3 {
    margin-right: 1rem !important;
}

/* center icon in buttons */
.icon-link>.bi {
    height: 24px;
}

/* press images */
.press-image-container {
    width: 350px;
    height: 350px;
    overflow: hidden;
    /* Hide any overflowing content */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* press images */
.gallery-image-container {
    width: 415px;
    height: 415px;
    overflow: hidden;
    /* Hide any overflowing content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-container img,
.press-image-container img {
    max-width: 100%;
    max-height: 100%;
}


.arrows {
    width: 60px;
    height: 80px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 100px;
}

.arrows path {
    stroke: white;
    fill: transparent;
    stroke-width: 5px;
    animation: arrow 2s infinite;
    -webkit-animation: arrow 2s infinite;
}

@keyframes arrow {
    0% {
        opacity: 0
    }

    40% {
        opacity: 1
    }

    80% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

@-webkit-keyframes arrow

/*Safari and Chrome*/
    {
    0% {
        opacity: 0
    }

    40% {
        opacity: 1
    }

    80% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

.arrows path.a1 {
    animation-delay: -1s;
    -webkit-animation-delay: -1s;
    /* Safari 和 Chrome */
}

.arrows path.a2 {
    animation-delay: -0.5s;
    -webkit-animation-delay: -0.5s;
    /* Safari 和 Chrome */
}

.arrows path.a3 {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    /* Safari 和 Chrome */
}