@font-face {
    font-family: 'Futura';
    src: url('./font/FuturaCom-Book.ttf')  format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Futura';
    src: url('./font/FuturaCom-Bold.ttf')  format('truetype');
    font-weight: 700;
}

:root {
    --cyan: #2ABFC7;
    --dark: #1D1D1B;
    --black: #000;
    --white: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Futura', sans-serif;
    background-color: var(--white);
    margin: 0;
}

.container {
    max-width: 992px;
    margin: 0 auto;
}

p, h1, h2, h3 {
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.top img {
    margin: 0 auto auto;
}

.top h1 {
    font-size: 1.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
}

.top span {
    display: block;
}

.top span:last-child {
    font-size: 4.875rem;
    line-height: 1;
    letter-spacing: 0.3em;
}

.top.top p {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0;
}

.section-body {
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--white);
    background-color: var(--dark);
    text-align: center;
    padding: 4rem 1.5rem;
}

.accommodation-body,
.flight-body,
.packing-body {
    color: var(--cyan);
    background-color: var(--white);
}

.wings-body {
    font-size: 1.125rem;
    color: var(--dark);
    background-color: var(--white);
    padding-top: 2rem;
}

.itinerary-body,
.flight-body,
.info-body,
.packing-body,
.hosts-body {
    padding-top: 7.5rem;
}

.top-body {
    height: 100vh;
    padding-bottom: 1rem;
    background: var(--cyan);
    background: url('./img/bg-top.svg') no-repeat center 10rem,
        linear-gradient(to top, var(--cyan) 0%, #98dde0 60%, #82d7db 80%, #98dde0 100%);
    display: flex;
    flex-direction: column;
}

.info-body,
.itinerary-body {
    background: var(--cyan);
    background: linear-gradient(to bottom, var(--cyan) 0%, #98dde0 60%, #82d7db 80%, #98dde0 100%);
}

.hosts-body {
    background: var(--cyan);
    background: url('./img/bg-palm-tree.svg') no-repeat -255px 30px,
        linear-gradient(to top, var(--cyan) 0%, #98dde0 60%, #82d7db 80%, #98dde0 100%);
}

.itinerary-body {
    text-align: left;
    padding-bottom: 12rem;
}

.intro h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.intro-body > img {
    margin-bottom: 1rem;
}

.section img {
    margin-left: auto;
    margin-right: auto;
}

.accommodation img {
    margin-bottom: 3rem;
}

.accommodation .carousel-cell {
    height: 500px;
}

.section p {
    max-width: 65ch;
    margin: 0 auto 1.5em;
}

.section p a {
    font-weight: bold;
    color: var(--cyan);
}

.section p a:hover,
.section p a:focus {
    color: var(--black);
}

.view-more {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: var(--cyan);
    display: block;
    padding: 1rem;
    text-align: center;
}

.view-more-light {
    color: var(--white);
}

.itinerary .view-more {
    color: var(--white);
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.top .view-more {
    display: inline-block;
    margin-top: 1rem;
}

.top .view-more img {
    width: 100px;
}

.view-more span {
    display: block;
    margin-bottom: 1rem;
}

.heading-wrapper {
    position: relative;
}

.heading {
    color: var(--white);
    background-color: var(--cyan);
    padding: 1rem 0 1rem 2rem;
    width: 260px;
    display: flex;
    align-items: center;
    height: 70px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
}

.flight .heading,
.flight .heading::after {
    height: 90px;
}

.flight .heading::after {
    border-bottom: 90px solid transparent;
}

.heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 70px;
    position: absolute;
    left: 100%;
    border-bottom: 70px solid transparent;
    border-left: 40px solid var(--cyan);
    border-right: 0 solid transparent;
}

.heading h2 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    padding: 0 0 0.75rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
}

.heading h2::after {
    content: '';
    display: block;
    width: 156px;
    height: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
}

.heading-light {
    color: var(--cyan);
    background-color: var(--white);
}

.heading-light::after {
    border-left: 40px solid var(--white);
}

.heading-light h2::after {
    background-color: var(--cyan);
}

.carousel-cell {
    width: 100%;
    margin-right: 0;
}

.carousel-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel .flickity-button {
    width: 42px;
    height: 42px;
    background-color: var(--white);
    color: var(--cyan);
}

.accommodation .carousel .flickity-prev-next-button.previous {
    left: 1.5rem;
}

.accommodation .carousel .flickity-prev-next-button.next {
    right: 1.5rem;
}

.carousel .flickity-prev-next-button .flickity-button-icon {
    left: 25%;
    top: 25%;
    width: 50%;
    height: 50%;
}

.carousel .flickity-page-dots {
    display: none;
}

.itinerary .heading {
    width: 212px;
}

.itinerary .carousel-cell {
    width: 100%;
    height: 1180px;
}

.itinerary .flickity-prev-next-button {
    top: 10px;
    width: 42px;
    height: 42px;
}

.itinerary .flickity-prev-next-button.previous {
    left: 0;
}

.itinerary .flickity-prev-next-button.next {
    right: 0;
}

.itinerary .flickity-prev-next-button.previous::after,
.itinerary .flickity-prev-next-button.next::after {
    content: 'Previous Day';
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--white);
    margin-top: 0.5rem;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.itinerary .flickity-prev-next-button.next::after {
    content: 'Next Day';
}

.itinerary-item h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    position: relative;
}

.itinerary-item h3::after {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background-color: var(--white);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.itinerary-item sup {
    font-size: 60%;
}

.itinerary-item ol {
    font-size: 1.75rem;
    list-style: none;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
}

.itinerary-item li {
    margin-bottom: 1rem;
}

.itinerary-item strong,
.itinerary-item span {
    display: block;
}

.itinerary-item strong {
    margin-bottom: 0.5rem;
}

.flight-group {
    margin-bottom: 3rem;
}

.flight ul,
.packing ul {
    font-size: 1.5rem;
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    text-align: center;
}

.flight li {
    margin-bottom: 0.375rem;
}

.flight-lead {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.flight-lead img {
    width: 145px;
    margin-right: 1rem;
}

.flight-lead h3,
.flight-lead h4 {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
}

.flight-lead h4 {
    margin-bottom: 0.375rem;
}

.flight-lead h3 {
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.flight-lead p {
    font-size: 17px;
    margin: 0 0 0.25rem;
    display: flex;
    text-transform: uppercase;
}

.flight-lead p:nth-of-type(1) {
    letter-spacing: 0.3em;
}

.flight-lead p img {
    width: 28px;
    height: 27px;
    margin: 0 0.25rem 0 0;
}

.flight-lead p.tel a {
    font-weight: 400;
}

.flight-lead div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.info-item,
.packing-item {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.info-item img,
.packing-item img {
    margin-bottom: 2rem;
}

.info-item h3,
.packing-item h3 {
    font-size: 1.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
}

.packing-item li {
    margin-bottom: 0.375rem;
}

.packing-item li::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-top: -4px;
    margin-right: 0.75rem;
    background-color: var(--cyan);
    border-radius: 10px;
    vertical-align: middle;
}

.packing-item h3 {
    color: var(--cyan);
}

.hosts-body {
    font-size: 1.5rem;
}

.hosts-item {
    margin-bottom: 4rem;
}

.hosts-item img {
    width: 290px;
    margin-bottom: 1.5rem;
}

.hosts-item h3 {
    font-size: 2.25rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hosts-item p {
    margin-bottom: 0.5rem;
}

.hosts-item p a {
    font-weight: 400;
    color: var(--white);
    word-break: break-all;
}

.fade-1 {
    animation: .5s .25s fade backwards ease-out;
}

.fade-2 {
    animation: .5s .5s fade backwards ease-out;
}

@keyframes fade {
    from {
        transform: translate3d(0, -1rem, 0);
        opacity: 0;
    }
}

@media (min-width: 768px) {
    .heading {
        width: 370px;
        height: 100px;
    }

    .heading::after {
        height: 100px;
        border-bottom: 100px solid transparent;
    }

    .heading h2 {
        font-size: 1.25rem;
    }

    .section-body {
        padding: 7rem 1.5rem;
    }

    .top img {
        width: 500px;
    }

    .top-body {
        background-position: center 22rem, 0 0;
        padding-bottom: 2rem;
    }

    .itinerary-body,
    .flight-body,
    .info-body,
    .packing-body,
    .hosts-body {
        padding-top: 10rem;
    }

    .wings-body {
        padding-top: 6rem;
        font-size: 1.375rem;
    }

    .itinerary .view-more {
        bottom: 7rem;
    }

    .itinerary .flickity-prev-next-button {
        top: 50px;
    }

    .itinerary .flickity-prev-next-button.previous {
        left: 1rem;
    }

    .itinerary .flickity-prev-next-button.next {
        right: 1rem;
    }

    .itinerary .flickity-prev-next-button.previous::after,
    .itinerary .flickity-prev-next-button.next::after {
        font-size: 0.75rem;
    }
}

@media (max-width: 375px) {
    .top h1 {
        font-size: 1.5rem;
    }

    .top span:first-child {
        margin-bottom: 0.5rem;
    }

    .top span:last-child {
        font-size: 4rem;
    }

    .flight-lead {
        flex-direction: column;
    }

    .flight-lead img {
        margin-right: auto;
        margin-bottom: 1rem;
    }

    .flight-lead div:last-child {
        text-align: center;
        align-items: center;
    }

    .hosts-item img {
        width: 230px;
    }
}
