@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300&family=Libre+Baskerville&display=swap');

html {
    background-color: #444;
    min-height: 100vh;
    scroll-behavior: smooth;
}
.intro {
    height: 50vh;
}

.gridBackground {
    background: repeating-linear-gradient(transparent, transparent 2px, #222222 2px, #222222 22px, transparent 22px, transparent 23px, #222222 23px, #222222 43px),
                repeating-linear-gradient(0.25turn, transparent, transparent 2px, #222222 2px, #222222 22px, transparent 22px, transparent 23px, #222222 23px, #222222 43px);
}

body {
    background-color: #333333;
    color: white;
    font-family: monospace;
    font-size: 1.5rem;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    font-family: 'Josefin Sans', sans-serif;    
}


main {
    min-height: calc(100vh - 21rem);
}

h1, h2, h3, h4 {
    color: #EABE25;
    font-family: 'Libre Baskerville', serif;
}

.error404 {
    padding: 2rem 6rem;
    background: #2b2121;
    border: 1px solid #cd1f1f;
    color: white;
    width: fit-content;
    max-width: 100vw;
    border-radius: 8px;
}

.error404 h2 {
    color: white;
}

.error404 p {
    font-size: 14pt;
}

.page-header {
    position: relative;
    height: 4rem;
    padding-top: 1rem;
    margin-bottom: 2rem;
}

footer {
    margin-top: 4rem !important;
    height: fit-content;
    padding-bottom: 3rem;
}
footer ul {
    margin: 0;
}
footer .page-links {
    margin-left: -8px;
}

.brand {
    height: fit-content;
    width: fit-content;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.brand-logo {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 2.5rem;

}
.brand-title {
    font-family: serif !important;
    font-size: 14pt;
    white-space: nowrap;
    top: calc(.75rem + 50%);
    transform: translateY(-50%);
    margin: 1rem 0 0 .75rem;
    color: white;
    
}
footer .logo {
    width: fit-content;
    position: relative;
    display: block;
    text-decoration: none;
}
footer .brand-title {
    position: relative;
    display: block;
    margin: 0;
    top: 1.25rem;
    font-size: 12pt;
    text-align: center;
}
footer .brand-logo {
    position: relative;
    display: block;
    height: 2rem;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
footer .page-links {
    height: 100%;
    
}
footer .page-links li {
    font-size: 11pt;
    top: 25%;
    transform: translateY(-50%);
}
@media (min-width: 720px) {
    .brand {
        position: unset;
        height: 100%;
        width: initial;
        left: unset;
        transform: unset;
        display: inline;
    }
    .brand-logo {
        position: unset;
        left: unset;
        transform: unset;
        height: 100%;
        display: inline;
    }
    .brand-title {
        position: absolute;
        font-family: serif !important;
        display: inline;
        font-size: 18pt;
        top: calc(.75rem + 50%);
        transform: translateY(-50%);
        margin: 0 0 0 .75rem;
    }
} 


.page-links {
    height: 100%;
}
.page-links ul {
    position: relative;
    display: inline-block;
    top: 50%;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
}
.page-links li {
    width: fit-content;
    position: relative;
    display: inline-block;
    list-style: none;
    padding: 0 .5rem;
    font-size: 12pt;
    text-align: center;
}
.page-links a {
    text-decoration: none;
    color: white;
}

.fancy-link::after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    height: 1px;
    width: 0;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    transition: .25s;
}
.fancy-link:hover::after {
    width: calc(100% - 1rem);
    transition: .25s;
}

.btn-primary {
    background: #27276E;
    border: none;
    outline: none;
    border-radius: 3px;
    transition: .25s;
}
.btn-primary:hover, .btn-primary:focus {
    background: #EABE25;
    color: #27276E;
    box-shadow: none;
}
.btn-secondary:focus {
    box-shadow: none;
}
#submit.btn {
    width: 100%;
    height: 3rem;
}
@media (min-width: 720px) {
    #submit.btn {
        height: fit-content;
        width: fit-content;
    }
}
.btn:disabled {
    opacity: 1;
    background: #27276E;
    box-shadow: none;
    border: none;
}
.btn.loading {
    position: relative;
    pointer-events: none;
    color: #27276E;
    transition: .25s;
}
.btn.loading::after {
    content: '';
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1rem;
    width: 1rem;
    border: 1px solid white;
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    animation-name: loadLarge;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
@keyframes loadLarge {
    0% { transform: translate(-50%, -50%) rotate(0); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.mobile-nav-toggle {
    position: relative;
    display: inline-block;
    right: 1.5rem;
    top: 0;
    width: 2rem;
    height: 3rem;
}
#mobileMenu {
    width: 50vw;
}
#mobileMenu .offcanvas-body {
    background: #444;
}
#mobileNav ul {
    padding: 2rem 0 0 0;
}
#mobileNav li {
    margin-top: 1rem;
    list-style: none;
}
#mobileNav .btn {
    width: 100%;
}

.toggle-bar {
    position: absolute;
    top: 1rem;
    width: 100%;
    height: 3px;
    background: white;
}
.bar2 {
    top: unset;
    bottom: .75rem;
}
.hero {
    height: calc(100vh - 4rem);
    width: 100%;
}
@media (min-width: 992px) {
    .hero {
        width: 50%;
        padding-right: 2rem;
    }
}
.hero-text {
    position: relative;
    font-size: 11pt;
    top: -1rem;
}
@media (min-width: 720px) {
    .hero-text {
        top: calc(50% - 6rem);
        transform: translateY(-50%);
        font-size: 12pt;
    }
}

.hero-title {
    color: #EABE25;
    font-size: 22pt;
    margin: 0;
}
.hero-body {
    margin-top: .75rem;
    font-size: 12pt;
}
.hero-content {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}
.hero-image {
    height: 110vh;
    width: 50vw;
    position: absolute;
    bottom: -6rem;
    right: 0;
    pointer-events: none;
}
.hero-image img {
    position: absolute;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
    object-position: top;
    bottom: 0;
    left: 0;
}
.hero-callout {
    position: absolute;
    text-align: center;
    bottom: 6rem;
    left: 0;
    padding-bottom: .5rem;
    width: 100%;
    color: #EABE25;
    font-size: 14pt;
    text-decoration: none;
}
.hero-callout:hover {
    color: #EABE25;
}
@media (min-width: 720px) {
    .hero-callout::after {
        content: "";
        display: block;
        position: relative;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) rotate(-45deg);
        height: 1.5rem;
        width: 1.5rem;
        border: 2px solid white;
        border-top: none;
        border-right: none;
        animation-name: bounce;
        animation-duration: 4s;
        animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
        animation-iteration-count: infinite;
    }
}
@keyframes bounce {
    0% { bottom: 0; }
    60% { bottom: 0; }
    80% { bottom: -3px; }
    100% { bottom: 0; }
}

.page-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#about {
    position: relative;

}
.value-item {
    position: relative;
}
@media (min-width: 720px) {
    .value-item {
        top: 25%;
    }
    #about {
        position: relative;
        height: 65vh;
        min-height: 24rem;
    }
}
.value-item figure {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    aspect-ratio: 1/1;
    padding: .5rem;
    border-radius: 50%;
}
.value-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.value-item h4 {
    font-size: 16pt;
    text-align: center;
    margin-top: 1rem;
}
.value-item p {
    font-size: 12pt;
}

#aboutDetail, #sell {
    font-size: 12pt;
}
.about-text, .value-text {
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#copyright {
    position: relative;
    height: 100%;
    font-size: 11pt;
    height: 100%;
}
#copyright p {
    margin: 0;
    position: relative;
}
#copyright a {
    color: white;
}

#captchaPolicy {
    margin-top: .5rem !important;
    font-size: 9pt;
}

.form-input {
    position: relative;
    width: 100%;
}
.form-input input, textarea {
    width: 100%;
    height: 3rem;
    background: #222;
    outline: none;
    border: 1px solid white;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 12pt;
    padding: .5rem;
}
textarea {
    min-height: 10rem;
    padding-top: 1rem;
    max-height: 18rem;
}
.form-input label {
    display: block;
    position: absolute;
    padding: 12px;
    text-indent: 12px;
    font-size: 11pt;
    padding: 4px;
    top: 0;
    left: 1rem;
    transform: translateY(-50%);
}
.form-input label::before {
    content: "";
    display: block;
    position: absolute;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    background: #222;
    z-index: -1;
}
.form-input.error input, .form-input.error textarea {
    border-color: #cd1f1f;
}
/* .form-input.error label {
    color: #cd1f1f;
} */
#successMessage, #formErrors {
    padding: .5rem 2rem;
    margin-bottom: 2rem;
    font-size: 12pt;
    background: #222;
    color: #2e9a26;
    border: 1px solid #2e9a26;
    border-radius: 4px;
    overflow: hidden;
    height: fit-content;
    transition: .25s;
    animation-name: scaleUp;
    animation-duration: .25s;
    animation-timing-function: linear;
}
#formErrors {
    color: #e41818;
    border: 1px solid #cd1f1f;
}
@keyframes scaleUp {
    from { height: 0; padding: 0 2rem; margin-bottom: 0; }
    to { height: 3rem; padding: .5rem 2rem; margin-bottom: 2rem;}
}

#contactAddress {
    position: relative;
    text-align: end;
    font-size: 12pt;
}
#contactAddress a {
    position: relative;
    display: inline-block;
    width: fit-content;
    color: white;
    text-decoration: none;
}

#contactAddress .fancy-link:hover::after {
    width: 100%;
    transition: .25s;
}

#scrollToTop {
    position: fixed;
    bottom: -3rem;
    right: 50%;
    transform: translateX(50%);
    height: 2.54rem;
    width: 2.5rem;
    background: #27276E;
    border-radius: 50%;
    box-shadow: 0 0 4px black;
    z-index: 5;
    transition: .25s;
}
@media (min-width: 720px) {
    #scrollToTop {
        right: 3rem;
        transform: unset;
    }
}
#scrollToTop.show {
    bottom: 3rem;
    transition: .25s;
}
#scrollToTop:hover {
    background: #EABE25;
}
#scrollToTop::after {
    content: "";
    position: absolute;
    display: block;
    height: 35%;
    width: 35%;
    border: 1px solid white;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-bottom: none;
    border-left: none;
}
#scrollToTop:hover::after  {
    border-color: #27276E;
}

.grecaptcha-badge {
    display: none;
}