@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Dancing+Script:wght@400;500&display=swap');

section{
    padding: 0;
    font-size: 10px;
    min-height: auto;
}

.main-heading{
    font-size: 3.2em;
}
.section-heading{
    font-size: 2.4em;
}
.sub-heading{
    font-size: 1.8em;
}
.body-text{
    font-size: 1.4em;
}
.small-text{
    font-size: 1.2em;
}

.faint-white{
    color: rgba(255,255,255,0.7);
}
.faint-black{
    color: rgba(0,0,0,0.7);
}

.hero{
    height: 35vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

/* dark overlay */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to right, rgba(0,0,0,0.45), rgba(0,0,0,0));
}

/* content wrapper */
.hero-content{
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 5%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2em;
}

.hero-heading{
    font-family: "Dancing Script", "Brush Script MT", cursive;
}

.hero-heading span{
    font-family: "Dancing Script", "Brush Script MT", cursive;
}

/* paragraph */
.hero-content p{
    color: rgba(255,255,255, 0.7);
    max-width: 50%;
}

.hero-content p:last-child{
    min-width: 100%;
}

.hero-content .small-text{
}

.small-text strong{
    color: rgba(255,255,255,1);
    font-family: "Times New Roman", Poppins, sans-serif;
}

/* button */
.btn{
    width: auto;
    padding: 0.5em 1em;
    border-radius: 2em;
    background: white;
    color: black;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
    align-self: flex-start;
}

.btn:hover{
    background: var(--main-color);
    color:white;
}

.location-icon{
    animation: blinkIcon 1s ease-in-out infinite;
}

@keyframes blinkIcon {
    0%, 100% {
    opacity: 1;
    }
    50% {
    opacity: 0;
    }
}

/*div:has(>.date){
height: 0.75em;
}*/

.blog-main-divs{
    padding: 1.5em;
    padding-bottom: 0;
}

.title{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title .section-heading{
    position: relative;
    display: inline-block;
    font-family: "Times New Roman", Poppins, sans-serif;
}

.title .section-heading::after, .map .section-heading::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 12.5%;
    height: 0.1em;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.title .section-heading:hover::after, .map .section-heading:hover::after{
    width: 100%;
    color: red;
}

.title a{
    color: var(--main-color);
}

.all-featured, .all-latest, .maps-and-join{
    display: flex;
    gap: 1em;
    width: 100%;
    min-height: auto;
    padding: 1.5em 0.5em 0.5em;
}

#latest{
    position: relative;
    z-index: 1;
}

.maps-and-join{
    padding: 0;
    min-height: 10vh;
}

.maps-and-join > div{
    border-radius: 2em 2em 0 0;
    flex: 1;
    padding: 1em;
}

.primary-featured{
    flex: 1;
    box-shadow: 0 0 0.5em var(--bg-color);
    border-radius: 2em;
    background-size: cover;
    background-position: center;
    align-items: center;
    color: white;
    position:relative;
    transition: 0.5s ease;
}

.latest-blog{
    flex: 1;
    box-shadow: 0 0 0.5em var(--bg-color);
    border-radius: 2em;
    position:relative;
    transition: 0.5s ease;
}

.primary-featured:hover, .latest-blog:hover{
    box-shadow: 0 0 0.5em var(--main-color);
    transform: scale(1.01);
}

.primary-featured::before{
    border-radius: 2em;
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to right, rgba(0,0,0,0.45), rgba(0,0,0,0));
}

.latest-blog{
    display:flex;
    flex-direction: column;
}

.latest-blog div{
    flex: 1;
    color: black;
}

.blog-image{
    padding: 1em;
    background-size: cover;
    background-position: center;
    border-radius: 2em 2em 0 0;
}

.blog-information{
    padding: 1em;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1em;
}

.blog-information .sub-heading{
    font-family: "Times New Roman", Poppins, sans-serif;
}

.featured-post-information{
    z-index: 2;
    display:flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
    width: 75%;
    height: 100%;
    align-items: flex-start;
    position: relative;
}

.featured-post-information .sub-heading{
    font-family: "Times New Roman", Poppins, sans-serif;
}

.badge{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5em 1em;
    border-radius: 30px;
    background: white;
    color: var(--main-color);
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
}

.badge:hover{
    background: var(--main-color);
    color: white;
}

.read-featured-story{
    color: rgba(255,255,255,0.7);
    margin-top: 1em;
}

.secondary-featured{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.secondary-featured-child{
    flex: 1;
    box-shadow: 0 0 0.5em var(--bg-color);
    border-radius: 2em;
    background-size: cover;
    background-position: center;
    align-items: center;
    color: white;
    position:relative;
    transition: 0.5s ease;
}

.secondary-featured-child:hover{
    box-shadow: 0 0 0.5em var(--main-color);
    transform: scale(1.01);
}

.secondary-featured-child::before{
    border-radius: 2em;
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to right, rgba(0,0,0,0.45), rgba(0,0,0,0));
}

.map{
    position: relative;
    background: rgba(var(--main-color-rgb), 0.0625);
    justify-content: flex-end;
}

.map .section-heading{
    position: relative;
    display: inline-block;
    font-family: "Times New Roman", Poppins, sans-serif;
}

.map-components{
    position: relative;
    margin: -24% 0;
    padding-top: 1em;
}

.map img{
    width: 100%;
    opacity: 35%;
    clip-path: inset(24% 0% 24% 0%);
}

.travel-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.flight-path{
    fill: none;
    stroke: #444;
    stroke-width: 0.5;
    stroke-dasharray: 1;
    animation: flow 20s linear infinite;
}

@keyframes flow {
    from {
    stroke-dashoffset: 0;
    }
    to {
    stroke-dashoffset: -125;
    }
}

.marker {
    position: absolute;
    width: 1em;
    height: 1em;
    background: #1f1f1f;
    border: 0.3em solid #ff6b2c;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.nepal{
    top: 49.5%;
    left: 69.5%;
}

.australia{
    top: 66.25%;
    left: 87.5%;
}

.tasmania{
    top: 71%;
    left: 86.5%;
}

.tasmania:hover{
    top: 0;
}

.join{
    background: rgba(var(--main-color-rgb), 0.125);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
    z-index: 1;
    width: 100%;
}

.join form{
    display: grid;
    grid-template-columns: 1fr auto;
    min-width: 200px;
    width: 100%;
    transition: 0.3s ease;
}

.join input{
    padding: 0.5em 1em;
    min-width: 0;
    background: white;
    color: black;
    border: 1px solid var(--main-color);
    border-radius: 2em 0 0 2em;
    font-size: 1.2em;
}

.join input::placeholder{
    font-size: 1.2em;
}

.join form button{
    color: white;
    background: var(--main-color);
    padding: 0.5em 1em;
    border-radius: 0 2em 2em 0;
    font-size: 1.2em;
}

.join .small-text{
    color: rgba(0, 0, 0, 0.6);
}

/* responsive */
@media(min-width:3440px){
    section{
        font-size: 25px;
        padding: 12.5%;
        padding-bottom: 0;
    }

    #travel > div:not(:first-child){
        padding: 2em 5% 0;
    }

    .hero{
        height: 40vh;
    }
    .hero-content{
        gap: 1.5em;
        padding: 0 5% 2.5%;
    }

    .all-featured, .all-latest, .maps-and-join, .secondary-featured, .join{
        gap: 2em;
    }

    .primary-featured{
        flex:0 0 33%;
    }

    .featured-post-information, .latest-blog > div, .maps-and-join > div{
        padding: 2em;
    }

    .secondary-featured{
        flex-direction: row;
    }

    .all-latest{
    /*    overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;*/
    }

    .latest-blog{
        aspect-ratio: 2/4;
    /*    flex: 0 0 auto;
        width: 30em;*/
    }

    .latest-blog > .blog-image{
        flex-basis: 25%;
    }

    .join p{
        width: 50%;
    }
}
@media(max-width:3439px){
    section{
        font-size: 25px;
        padding: 0;
    }

    #travel > div:not(:first-child){
        padding: 2em 5% 0;
    }

    .hero{
        height: 45vh;
    }
    .hero-content{
        gap: 1.5em;
        padding: 0 5% 2.5%;
    }

    .all-featured, .all-latest, .maps-and-join, .secondary-featured, .join{
        gap: 2em;
    }

    .primary-featured{
        flex:0 0 33%;
        aspect-ratio: 3/2;
    }

    .featured-post-information, .latest-blog > div, .maps-and-join > div{
        padding: 2em;
    }

    .secondary-featured{
        flex-direction: row;
    }

    .all-latest{
    /*    overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;*/
    }

    .latest-blog{
        aspect-ratio: 3/4;
    /*    flex: 0 0 auto;
        width: 30em;*/
    }

    .latest-blog > .blog-image{
        flex-basis: 25%;
    }

    .join p{
        width: 50%;
    }
}@media(max-width: 3300px){
    .latest-blog > .blog-image{
        flex-basis: 20%;
    }
}@media(max-width: 3050px){
    .latest-blog > .blog-image{
        flex-basis: 15%;
    }
}@media(max-width: 2900px){
    .latest-blog > .blog-image{
        flex-basis: 15%;
    }
    .all-featured, .all-latest, .maps-and-join, .secondary-featured, .join{
        gap: 1.5em;
    }
    .featured-post-information, .latest-blog > div{
        padding: 1.5em;
    }
}@media(max-width:2750px){
    section{
        font-size: 24px;
    }
}@media(max-width:2650px){
    section{
        font-size: 17px;
    }
}@media(max-width:2560px){
    .latest-blog > .blog-image{
        flex-basis: 40%;
    }
}@media(max-width:1920px){
    section{
        font-size: 15px;
    }
    .hero{
        height: 40vh;
    }
    .hero-content{
        gap: 0.53125em;
    }
    .all-latest{
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .latest-blog{
        aspect-ratio: 3/2;
        flex: 0 0 auto;
        width: 40em;
    }

    .latest-blog > .blog-image{
        flex-basis: 0%;
    }
}@media(max-width:1440px){
    section{
        font-size: 14px;
    }
    .hero{
        height: 50vh;
    }
    .hero-content{
        gap: 1.0625em;
    }
    .primary-featured{
        flex: 1;
        aspect-ratio: 1/0.75;
    }
    .secondary-featured{
        flex-direction: column;
    }
}@media(max-width:1024px){
    section{
        font-size: 13px;
    }

    .hero{
        height: 45vh;
    }

    .hero-content{
        gap: 1.125em;
    }

    .latest-blog{
        aspect-ratio: 1/1;
        width: 30em;
    }

    .latest-blog > div{
        padding: 1.5em;
    }

    .latest-blog > .blog-image{
        flex-basis: 0%;
    }

    .maps-and-join{
        flex-direction: column;
    }
    .maps-and-join > div:first-child{
        border-radius: 2em;
    }
    .join{
        gap: 2em;
    }
}
@media(max-width: 768px){

    section{
        font-size: 12px;
    }

    .hero{
        height: 40vh;
    }

    .hero-content{
        gap: 1.25em;
    }

    .hero-content p {
        max-width: 60%;
    }

    .blog-main-divs{
        padding: 2em;
        padding-bottom: 0;
    }

    .all-featured, .all-latest, .maps-and-join, .secondary-featured {
        gap: 1.125em;
    }

    .all-featured {
        overflow-x: auto;      /* Enable horizontal scroll */
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Make all 3 items scroll horizontally */
    .primary-featured {
        flex: 0 0 auto;        /* Don't grow/shrink */
        width: 200px;          /* Fixed width for scrolling */
        min-width: 30em;
    }

    .secondary-featured {
        flex: 0 0 auto;        /* Don't grow/shrink */
        display: flex;
        flex-direction: row;   /* Change to row for mobile */
        width: auto;           /* Auto width based on children */
    }

    .secondary-featured-child {
        flex: 0 0 auto;        /* Don't grow/shrink */
        width: 200px;          /* Same width as primary */
        min-width: 30em;
    }

    .featured-post-information {
        padding: 1.5em;
    }

    .latest-blog{
        aspect-ratio: 2/3;
        width: 25em;
    }

    .latest-blog > div{
        padding: 1.5em;
    }

    .latest-blog > .blog-image{
        flex-basis: 25%;
    }

    .maps-and-join > div {
        padding: 1.5em;
    }

    .join{
        gap: 1em;
    }

    .join p{
        width: 75%;
    }
}
@media(max-width: 425px){

    section{
        font-size: 10.5px;
    }

    .hero-content{
        gap: 2em;
    }

    .hero-content p {
        max-width: 75%;
    }

    .all-featured, .all-latest, .maps-and-join, .secondary-featured {
        gap: 1em;
    }

    .primary-featured, .secondary-featured-child{
        min-width: 30em;
    }

    .featured-post-information {
        padding: 1em;
    }

    .latest-blog{
        aspect-ratio: 2/3;
        width: 20em;
    }

    .latest-blog > div{
        padding: 1em;
    }

    .latest-blog > .blog-image{
        flex-basis: 0;
    }

    .maps-and-join > div {
        padding: 1em;
    }
}
@media(max-width: 375px){
    section{
        font-size: 10px;
    }

    .primary-featured, .secondary-featured-child {
        min-width: 30em;
    }

    .latest-blog{
        aspect-ratio: 1/3;
        width: 17.5em;
    }

    .latest-blog > .blog-image{
        flex-basis: 35%;
    }
}
@media(max-width: 320px){
    section{
        font-size: 10px;
    }

    .primary-featured, .secondary-featured-child {
        min-width: 25em;
    }

    .latest-blog{
        aspect-ratio: 1/3;
        width: 15em;
    }

    .latest-blog > .blog-image{
        flex-basis: 20%;
    }
}


