html {
    scroll-padding-top: calc(4.5rem - 1px);
}

body {
    letter-spacing: 0.0625em;
}

#mainNav {
    min-height: 3.5rem;
    background-color: #fff;
}

#mainNav .navbar-toggler {
    padding: 0.75rem;
    border: 2px solid #981913;
    color: #981913;
    font-size: 80%;
}

#mainNav .navbar-toggler:focus,
#mainNav .navbar-toggler:focus-visible {
    outline: 3px solid #981913;
    outline-offset: 2px;
    box-shadow: none;
}

#mainNav .navbar-brand {
    padding: 0.9rem 0;
    color: #000;
    font-weight: 700;
}

#mainNav .navbar-brand img {
    filter: saturate(0.25);
    transition: filter 0.3s ease-in-out;
}

#mainNav .navbar-brand:hover img {
    filter: saturate(1);
}

#mainNav .navbar-nav .nav-item:hover {
    outline: none;
    background-color: transparent;
    color: fade(#fff, 80%);
}

#mainNav .navbar-nav .nav-item:active,
#mainNav .navbar-nav .nav-item:focus {
    outline: none;
    background-color: transparent;
}

@media (min-width: 992px) {
    #mainNav {
        padding-top: 15px;
        padding-bottom: 15px;
        border-bottom: none;
        background-color: transparent;
        transition: all 0.3s ease-in-out;
    }

    #mainNav .navbar-brand {
        padding: 0.5rem 0;
        color: rgba(255, 255, 255, 0.5);
    }

    #mainNav .nav-link {
        padding: 1.5rem 1.5rem 1.25rem;
        border-bottom: 0.25rem solid transparent;
        color: rgba(255, 255, 255, 0.5);
        transition: none;
    }

    #mainNav .nav-link:hover {
        color: rgba(255, 255, 255, 0.75);
    }

    #mainNav .nav-link:active {
        color: #fff;
    }

    #mainNav.navbar-shrink {
        padding-top: 0;
        padding-bottom: 0;
        background-color: #fff;
    }

    #mainNav.navbar-shrink .navbar-brand {
        color: #000;
    }

    #mainNav.navbar-shrink .nav-link {
        color: #000;
    }

    #mainNav.navbar-shrink .nav-link:hover {
        color: #f3ba15;
    }

    #mainNav.navbar-shrink .nav-link:active {
        color: #981913;
    }

    #mainNav.navbar-shrink .nav-link.active {
        outline: none;
        border-bottom: 0.25rem solid #981913;
        color: #981913;
    }
}

@media screen and (max-width:399.98px) {
    #mainNav .navbar-brand {
        max-width: calc(100% - 100px);
    }
}

.btn {
    padding: 1.125rem 1.75rem 1rem 1.75rem;
    border: 0;
    border-radius: 0.25rem;
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 80%;
    font-family:
        "Varela Round",
        "Segoe UI",
        "Helvetica Neue",
        Roboto,
        BlinkMacSystemFont,
        sans-serif,
        -apple-system;
}

.btn-danger-ve {
    background-color: #981913;
    color: #fff;
}

.btn-danger-ve:hover {
    background-color: #f3ba15;
}

.masthead {
    position: relative;
    padding: 15rem 0;
    min-height: 35rem;
    width: 100%;
    height: auto;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.7) 75%,
            #000 100%),
        url("../img/bg-masthead.jpg");
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.masthead .has-headings-and-btn {
    display: flex;
    padding: 10px 25px;
    border-radius: 0.25rem;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
}

.masthead h1,
.masthead .h1 {
    background: linear-gradient(rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.2));
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: 0.25rem;
    font-size: 2.5rem;
    font-family:
        "Varela Round",
        "Segoe UI",
        "Helvetica Neue",
        Roboto,
        BlinkMacSystemFont,
        sans-serif,
        -apple-system;
    line-height: 2.75rem;
    -webkit-text-fill-color: transparent;
}

.masthead h2,
.masthead .h2 {
    max-width: 20rem;
    font-size: 1.25rem;
    line-height: 1.5rem;
}

@media (min-width: 768px) {

    .masthead h1,
    .masthead .h1 {
        letter-spacing: 0.5rem;
        font-size: 3.25rem;
        line-height: 3.5rem;
    }
}

@media (min-width: 992px) {
    .masthead {
        padding: 0;
        height: 100vh;
    }

    .masthead h1,
    .masthead .h1 {
        letter-spacing: 0.75rem;
        font-size: 4rem;
        line-height: 4.25rem;
    }

    .masthead h2,
    .masthead .h2 {
        max-width: 50rem;
        font-size: 2rem;
        line-height: 2.25rem;
    }
}

main {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(to bottom,
            #000 0%,
            rgba(0, 0, 0, 0.9) 75%,
            rgba(0, 0, 0, 0.8) 100%);
    text-align: center;
}

main article {
    color: rgba(255, 255, 255, 0.75);
}

main article h2 {
    margin-top: 1.5rem;
}

main article p {
    margin-bottom: 2.5rem;
}

main article ol,
main article ul {
    text-align: left;
}

main article a {
    color: #f3ba15;
    word-break: break-word;
    overflow-wrap: break-word;
}

main article a:hover {
    color: #d85953;
}

.projects-section {
    padding: 10rem 0;
}

.projects-section .featured-text {
    padding: 2rem;
}

@media (min-width: 992px) {
    .projects-section .featured-text {
        padding: 0 0 0 2rem;
        border-left: 0.5rem solid #64a19d;
    }
}

.projects-section .project-text {
    padding: 3rem;
    font-size: 90%;
}

@media (min-width: 992px) {
    .projects-section .project-text {
        padding: 5rem;
    }
}

.signup-section {
    padding: 10rem 0;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.5) 75%,
            #000 100%),
        url("../assets/img/bg-signup.jpg");
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.signup-section .form-signup input {
    padding: 1.25rem 2rem;
    height: auto;
    border: 0;
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 80%;
    font-family:
        "Varela Round",
        "Segoe UI",
        "Helvetica Neue",
        Roboto,
        BlinkMacSystemFont,
        sans-serif,
        -apple-system;
}

aside {
    padding-top: 5rem;
}

aside .card {
    border: 0;
    border-bottom: 0.25rem solid #64a19d;
}

aside .card h4,
aside .card .h4 {
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 0.8rem;
    font-family:
        "Varela Round",
        "Segoe UI",
        "Helvetica Neue",
        Roboto,
        BlinkMacSystemFont,
        sans-serif,
        -apple-system;
}

aside .card hr {
    width: 3rem;
    border-width: 0.25rem;
    border-color: #64a19d;
    opacity: 1;
}

aside .social {
    margin-top: 5rem;
}

aside .social a {
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    line-height: 3rem;
}

aside .social a:hover {
    color: rgba(255, 255, 255, 0.5);
}

aside .social a:active {
    color: #fff;
}

.footer {
    padding: 5rem 0;
}

/*
GALLERY PRETTYPHOTO
*/
main article .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

main article .gallery .gallery-thumb {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    border: 0 none;
    flex: 1 1 calc(33.33% - (40px / 3));
}

@media screen and (max-width: 767.98px) {
    main article .gallery .gallery-thumb {
        flex-basis: calc(50% - 10px);
    }
}

@media screen and (max-width: 575.98px) {
    main article .gallery .gallery-thumb {
        flex-basis: 100%;
    }
}

main article .gallery .gallery-thumb::before {
    display: block;
    padding-top: 100%;
    content: "";
}

main article .gallery .gallery-thumb > * {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

main article .gallery .gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.25rem;
    object-fit: cover;
}

main article .gallery .gallery-thumb a > img {
    opacity: 0.9;
    transition: all 0.25s ease-in-out;
}

main article .gallery .gallery-thumb a:hover > img,
main article .gallery .gallery-thumb a:focus-visible > img {
    opacity: 1;
    filter: saturate(125%);
}

main article .gallery div[style="clear:both"]:last-child {
    display: none;
}

.pp_pic_holder.pp_default .pp_details {
    display: flex;
    align-items: center;
}

.pp_pic_holder.pp_default .pp_details .pp_description {
    font-size: 14px;
}

/*
.fancybox-title-float,
.fancybox-bg {
    display: none !important;
}

#fancybox-wrap {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

#fancybox-content {
    border: 0 none !important;
}

#fancybox-close {
    right: -35px !important;
}
	*/
