:root {
    --color1: white;
    --color2: #232327;
    --color3: #e7c691;
}

#terrell_social_logo {
    width: 18rem;
    max-width: 100vw;
    
}
#terrell_social_logo path, #terrell_social_logo polygon {
    fill: var(--color3)
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
body::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 40vh;
    width: 100vw;
    background: var(--color2);
}
main {
    flex-grow: 1;
}
p {
    font-size: 14pt;
}
.container.header {
    margin: 3rem auto;
    position: relative;
    z-index: 1;
}

#form .header h1{
    font-size: 18pt;
    color: var(--color2);
    font-weight: bold;
}

.info-container {
    position: relative;
    background: var(--color1);
    display: block;
    min-height: 12rem;
    min-width: 12rem;
    padding: 3rem 2rem 2rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 4px #00000030;
    z-index: 1;
}
.info-container::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5rem;
    width: 100%;
    background: var(--color3);
    border-radius: 1rem 1rem 0 0;
}
@media (max-width: 768px) {
    .info-container {
        border-radius: 0;
    }
    .info-container::after {
    border-radius: 0;
}
}

.form-item {
    position: relative;
    width: 100%;
}
.form-item input {
    height: 3rem;
}
.form-item.currency input {
    padding-left: 1.75rem;
}
.form-item.currency::after {
    content: "$";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: .35rem .75rem;
    font-size: 16pt;
    height: 3rem;
}
label:not(.checkbox) {
    display: inline-block;
    width: 100%;
    font-size: 18pt;
    margin-bottom: .5rem;
}
.checkbox {
    position: relative;
    cursor: pointer;
    padding-left: 2rem;
}
.checkbox.disabled {
    pointer-events: none;
    opacity: .5;
}
.checkbox span {
    font-size: 16pt;
    margin-left: 8px;
}
.checkbox input {
    display: none;
}
.checkbox::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 1.5rem;
    width: 1.5rem;
    border: 2px solid var(--color3);
    border-radius: 4px;
}
.checkbox input:checked ~ ::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    height: calc(1.5rem - 8px);
    width: calc(1.5rem - 8px);
    background: var(--color3);
    border-radius: 2px;
}

.form-input {
    width: 100%;
    border-radius: .25rem;
    outline: none;
    border: 1px solid var(--color3);
    padding: .25rem 1rem;
    font-size: 16pt;
    background: transparent;
}
select.form-input {
    cursor: pointer;
    padding: .5rem 1rem;
}

#errors {
    color: red;
    font-size: 14pt;
}

.btn.btn-success {
    color: var(--color2);
    background: var(--color3);
    border-color: var(--color3);
    transition: .25s;
}
.btn.btn-success:hover {
    background: var(--color2);
    color: var(--color3);
    transition: .25s;
}
.btn.btn.succes:active, .btn.btn-success:focus {
    box-shadow: none;
}

.btn.loading {
    pointer-events: none;
    position: relative;
    background: grey !important;
    color: grey !important;
    border-color: grey !important;
    outline: none;
    box-shadow: none;
}
.btn.loading::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1.5rem;
    width: 1.5rem;
    border-top: 1px solid var(--color3);
    border-right: 1px solid var(--color3);
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    border-radius: 50%;

    animation-name: loading;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes loading {
    from { transform: translate(-50%, -50%) rotate(0); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.title {
    font-size: 21pt;
}

#footer .copyright {
    font-size: 12pt;
}
.social-link {
    color: var(--color2);
}
.social-link svg {
    height: 1.5rem;
    width: 1.5rem;
}

.gallery {
    padding: 0;
    overflow: hidden;
}
.carousel-inner .carousel-item {
    background: var(--color2);
    height: 32rem;
}
.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}
