:root {
    --column-size: 900px;
    --margin-outer: 20px;
}


html, body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 100dvh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #1D1D1F;
    overflow-x: hidden;
}

h1 {
    font-size: 46px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

h2 {
    font-size: 30px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

input, button {
    font-family: 'Montserrat', sans-serif;
}

p, ul.standard {
    font-size: 18px;
    line-height: 1.5;
}

@media screen and (max-width: 680px) {
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    p {
        font-size: 16px;
        line-height: 1.5;
    }
}


/* --------------------------------- MAIN STYLES --------------------------------- */
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}



/* --------------------------------- SECTION STYLES (SHARED) --------------------------------- */
section {
    display: flex;
    width: 100%;
}

a.primary-button{
    display: inline-block;
    border: none;
    border-radius: 0.25em;
    text-decoration: none;
    padding: 0.75em 1.5em;
    cursor: pointer;
    background-color: #000;
    color: #fff;
}

a.secondary-button {
    display: inline-block;
    border: none;
    border-radius: 0.25em;
    text-decoration: none;
    padding: 0.75em 1.5em;
    cursor: pointer;
    outline: 2px solid #000;
    outline-offset: -2px;
    color: #000;
}

a.primary-button:hover, a.secondary-button:hover {
    background-color: #0D8838;
    color: #FFF;
    outline: none;
}

/* --------------------------------- SECTION 1 STYLES --------------------------------- */
.section-1 {
    box-sizing: border-box;
}

.section-1 > div {
    overflow: hidden;
    display: flex;
    width: 100%;
    height: 85vh;
    align-items: center;
    justify-content: center;
    animation: expandDown 1s;
    box-shadow: #00000040 0 0 20px 7px;
}

.section-1 > div > div {
    margin: 2em;
}

.section-1 > div > div > h1 {
    font-size: 68px;
    margin-bottom: 0.5em;
    text-shadow: 0 0 35px #000000a6;
}

.section-1 > div > div > a {
    text-decoration: none;
}

.section-1 > div > div > a > h2 {
    position: relative;
    width: fit-content;
    text-decoration: none;
    background-image: linear-gradient(#14da2c, #14da2c);
    background-size: 0% 0.1em;
    background-position-y: 100%;
    background-position-x: 100%;
    background-repeat: no-repeat;
    transition: background-size 0.2s ease-in-out;
    cursor: pointer;
}
  
.section-1 > div > div > a > h2:hover,
.section-1 > div > div > a > h2:focus,
.section-1 > div > div > a > h2:active {
    background-size: 100% 0.1em;
    background-position-x: 0%;
}

.section-1 > div > div > a > h2:after {
    content: "";
    position: absolute;
    background-image: url("/static/images/UI/arrow.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 36px;
    height: 100%;
    margin-left: 15px;
    margin-top: 2px;
}

@media screen and (max-width: 1000px) {
    .section-1 > div > div > h1 {
        font-size: 50px;
    }
}

@media screen and (max-width: 480px) {
    .section-1 > div > div > h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 380px) {
    .section-1 > div > div > h1 {
        font-size: 32px;
    }
}

/* --------------------------------- MARQUEE STYLES --------------------------------- */
.marquee {
    --gap: calc(1rem + 40px);
    display: flex;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;   
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    gap: var(--gap);
    pointer-events: none;
    padding: 4em;
}
  
.marquee__content {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 500;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    min-width: 100%;
    gap: var(--gap);
    padding: 0;
}


@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

@keyframes fastZoom {
    from {
        background-size: 180%;

    }
    to {
        background-size: 120%;
    }
}

@keyframes slowZoom {
    from {
        background-size: 120%;

    }
    to {
        background-size: 100%;
    }
}


@media (prefers-reduced-motion: no-preference) {
    .marquee__content {
        animation: scroll 40s linear infinite;
    }

    .section-1 > div {
        animation: zoom 2s ease-in-out;
        animation-name: fastZoom, slowZoom;
        animation-duration: 2000ms, 15000ms;
        animation-delay: 0ms, 2000ms; /* add this */
        animation-timing-function: ease-in-out, ease-out;
        animation-iteration-count: 1, 1;
    }
}

@media screen and (max-width: 680px) {
    .marquee__content {
        font-size: 20px;
        animation: scroll 30s linear infinite;

    }
}




/* --------------------------------- SECTION 2 STYLES --------------------------------- */
.section-2 > div:first-child {
    width: 45%;
}

.section-2 > div:first-child img{
    width: 100%;
    height: 100%;
    min-height: calc(80dvh - 60px);
    max-height: 80dvh;
    object-fit: cover;
}

.section-2 > div:last-child {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-2 > div:last-child > div {
    margin: 2em;
}

.section-2 > div:last-child h1{
    max-width: 515px;
}

.section-2 > div:last-child p {
    max-width: 495px;
}


@media screen and (max-width: 968px) {
    .section-2 {
        flex-direction: column;
    }
    
    .section-2 > div:first-child {
        width: 100%;
    }
    
    .section-2 > div:first-child img {
        min-height: unset;
        max-height: 48vh;
    }
    
    .section-2 > div:last-child {
        width: 100%;
        padding:0 5% 5%;
        box-sizing:border-box;
    }

    .section-2 > div:last-child h1 {
        max-width: unset;
    }

    .section-2 > div:last-child p {
        max-width: unset;
    }
}

@media screen and (max-width: 680px) {
    .section-2 > div:last-child > div {
        margin: 0.5em;
    }
}




/* --------------------------------- SECTION 3 STYLES --------------------------------- */
.section-3 {
    padding: 9rem 2em;
    box-sizing: border-box;
}

.section-3 > div {
    margin: auto;
    padding-bottom: 1em;
    max-width: 1080px;
    display: flex;
    gap: 2rem 1rem;
}

@media screen and (max-width: 1280px) {
    .section-3 > div {
        max-width: 920px
    }
    .section-3 > div > div h2 {
        font-size:25px;
    }
}

@media screen and (max-width: 968px) {
    .section-3 {
        padding: 3em 5%;
        margin: auto;
    }
    
    .section-3 > div {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-3 > div > div {
        width: 100%;
        max-width: 280px;
    }
}

@media screen and (max-width: 680px) {
    .section-3 > div {
        margin: 0.5em;
    }
}




/* --------------------------------- SECTION 4 STYLES --------------------------------- */

.section-4 > div:first-child {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-4 > div:first-child > div {
    margin: 2em;
}

.section-4 > div:first-child h1{
    max-width: 515px;
}

.section-4 > div:first-child p {
    max-width: 515px;
}

.section-4 > div:last-child {
    width: 45%;
}

.section-4 > div:last-child img{
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: 13% 50%;
}

.section-4 div.featured {
    display: flex;
    margin-bottom: 3em;
    gap: 1rem;
    max-width: 515px;
}

.section-4 div.featured > div{
    width: 50%;
    max-width: 350px;
}


@media screen and (max-width: 968px) {
    .section-4 {
        flex-direction: column-reverse;
    }
    
    .section-4 > div:first-child {
        width: 100%;
        padding:0 5% 5%;
        box-sizing:border-box;
    }

    .section-4 > div:last-child img {
        min-height: unset;
        max-height: 48vh;
        object-position: 50% 75%;
    }
    
    .section-4 > div:last-child {
        width: 100%;
    }

    .section-4 > div:first-child h1 {
        max-width: unset;
    }

    .section-4 > div:first-child p {
        max-width: unset;
    }
}

@media screen and (max-width: 680px) {
    .section-4 > div:first-child > div {
        margin: 0.5em;
    }
}

@media screen and (max-width: 550px) {
    .section-4 div.featured {
        flex-direction: column;
    }

    .section-4 div.featured > div {
        width: 100%;
    }
}



/* --------------------------------- SECTION 8 STYLES --------------------------------- */

@media screen and (max-width: 400px) {
    .section-8 a.email-link {
        width: fit-content;
        display: block;
    }
}


/* --------------------------------- SECTION SPLIT PRIMARY PARA STYLES --------------------------------- */

.section-split-primary-para {
    padding: 9rem 2em;
    box-sizing: border-box;
}

.section-split-primary-para > div {
    margin: auto;
    padding-bottom: 1em;
    max-width: 1080px;
    display: flex;
    align-items: center;
    gap: 2rem 1rem;
}

.section-split-primary-para > div > div:first-child {
    width: 350px;
    min-width: 350px;
    border-right: 2px solid #0d8838;
    margin-right: 1em;
    padding-right: 1em;
}


@media screen and (max-width: 1280px) {
    .section-split-primary-para > div {
        max-width: 920px
    }
    .section-split-primary-para > div > div h2 {
        font-size:25px;
    }
}

@media screen and (max-width: 1080px) {
    .section-split-primary-para > div > div:first-child {
        min-width: 300px;
    }
}

@media screen and (max-width: 968px) {
    .section-split-primary-para {
        padding: 3em 5%;
        margin: auto;
    }
    
    .section-split-primary-para > div {
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }
    
    .section-split-primary-para > div > div {
        width: 100%;
    }
    .section-split-primary-para > div > div:first-child {
        width: 100%;
        min-width: 0;
        border: none;
        margin-right: 0;
        padding-right: 0;
    }

}

@media screen and (max-width: 680px) {
    .section-split-primary-para > div {
        margin: 0.5em;
    }
}




/* --------------------------------- DELETE FORM STYLES --------------------------------- */

.default-form {
    justify-content: center;
}

.default-form > div {
    width: 90%;
    max-width: 1080px;
}

div#default-form-container {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

div#default-form-container > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

div#default-form-container input {
    margin: 0em 0 1em;
    padding: 0.5em 1.5em;
    border: none;
    border-bottom: 2px solid #0D8838;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: initial;
    max-width: 360px;
}

div#default-form-container input:focus-visible {
    outline: none;
}

div#default-form-container button[type="submit"] {
    border: none;
    border-radius: 100vw;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: initial;
    padding: 0.5em 1.5em;
    background: #0D8838;
    color: #fff;
    width: fit-content;
    cursor: pointer;
}

div#default-form-container button[type="submit"]:disabled {
    background: #848484;
}



/* --------------------------------- Tracking Form Styles --------------------------------- */
.tracking-form {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("/static/images/public/assets/10.webp");
    background-position: center;
    background-size: cover;
    min-height: 50dvh;
    transition: 1s;
}

.tracking-form.active {
    min-height: 30dvh;
}

.tracking-info {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
}

.tracking-form > div, .tracking-info > div {
    width: 90%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
}

.tracking-form #search-titles {
    width: 100%;
    max-height: 140px;
    overflow: hidden;
    padding: 0em 3em 0em;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: #ffffff60;
    box-sizing: border-box;
    border-radius: 1.5em 1.5em 0 0;
    transition: 1s;
}

.tracking-form.active #search-titles {
    border-radius: 10em;
    max-height: 0px;
}

.tracking-form #search-titles h1 {
    color: #FFF;
    margin: 0.5em 0 0;
}

.tracking-form #search-titles h2 {
    color:#000;
    margin-top: 0;
}

.tracking-form > div > div:last-child {
    width: 100%;
    background-color: #FFF;
    border-radius: 0 0 1.5em 1.5em;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: 1s;
}

.tracking-form.active > div > div:last-child {
    border-radius: 10em;
}

.tracking-form > div > div:last-child input {
    display: flex;
    width: -webkit-fill-available;
    margin: 1em 3em 0.75em;
    padding-bottom: 0.25em;
    border: none;
    border-bottom: 2px solid #FFF;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    background-image: linear-gradient(#0d8838, #0d8838);
    background-size: 0% 0.1em;
    background-position-y: 100%;
    background-position-x: 100%;
    background-repeat: no-repeat;
    transition: background-size 0.2s ease-in-out;
}

.tracking-form > div > div:last-child > div {
    display: flex;
    justify-content: flex-end;
    padding-right: 3em;
}

.tracking-form.active > div > div:last-child > div {
    padding-right: 0.75em;
}

.tracking-form > div > div:last-child > div > button {
    border: none;
    border-radius: 100vw;
    padding: 0.5em 1.5em;
    background: #0D8838;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}



.tracking-form > div > div:last-child input:hover,
.tracking-form > div > div:last-child input:focus,
.tracking-form > div > div:last-child input:focus-visible,
.tracking-form > div > div:last-child input:active {
    cursor: pointer;
    background-size: 100% 0.1em;
    background-position-x: 0%;
}

#package-info {
    margin: 3em 0;
}

#package-info h2 {
    margin: 0;
}

#package-number {
    margin: 0;
    font-weight: 500;
    color: #0d8838;
}

#package-events span {
    font-weight: 600;
}

@media screen and (max-width: 680px) {
    .tracking-form #search-titles {
        padding: 0em 1em 0em;
    }

    .tracking-form #search-titles h1 {
        margin: 1em 0 0;
    }

    .tracking-form > div > div:last-child input {
        margin: 1em 1em 0.75em;
        font-size: 14px;
    }

    .tracking-form > div > div:last-child > div {
        padding-right: 1em;
    }

    .tracking-form > div > div:last-child > div > button {
        font-size: 14px;
    }

}

/* --------------------------------- Animations --------------------------------- */
.scale-up {
    view-timeline: --subjectReveal block;
    animation-timeline: --subjectReveal;
  
    animation-name: scale-up;
    animation-range: entry 10% contain 25%;
    animation-fill-mode: both;
    animation-duration: 1ms; /* Firefox requires this to apply the animation */
}
  

@keyframes expandDown {
    0% {
      height: 60vh;
      transform: scale(0.8);
    }
    100% {
      height: 85vh;
      transform: scale(1);
    }
}

@keyframes scale-up {
	to {
		scale: 1.5;
	}
}

@keyframes fade-away {
	100% {
		opacity: 0;
	}
}

@keyframes grow {
	0% {
		scale: 0.5;
		opacity: 0;
	}
}



@keyframes spinner {
    to {transform: rotate(360deg);}
}

.spinner {
    position: relative;
}

.spinner::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 96.5%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #000;
    animation: spinner .6s linear infinite;
}
