* {
    padding: 0;
    margin: 0;
    font-family: "Cereal", sans-serif;
    box-sizing: border-box;
    /* outline: 1px solid black; */

}

a {
    text-decoration: none;
}


@font-face {
    font-family: "Cereal";
    src: url("assets/fonts/AirbnbCerealVF_W_Wght.2d9d32865ef1262644c455b3ead871e9.woff2");
    font-weight: 100 900;
}

:root {

    /* colors */
    --color-text-default: #222222;
    --color-text-subtitle: #6A6A6A;

}

/* header  section*/
.header {
    
    /* indebug */
    position: sticky;
    z-index: 10;
    top: 0;
    left: 0;
    background-color: #FFFFFF;

}



.header-top {
    width: 100%;

}

.search-container {
    padding: 12px 24px 0;
}

.search-button {
    background-color: white;
    padding: 10px 19px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    min-height: 56px;
    width: 100%;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
}

.search-button .button-contents {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: centers;
    column-gap: 8px;
}

.button-contents .search-icon {
    height: 12px;
}

.button-contents .search-text {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    /* padding-left: 2px; */
}

/* bottom header  */
.header-bottom {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;

}

.nav-icons-container {
    padding: 16px 48px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    position: relative;
    /* for underline which is moving */
}



/* each nav item */
 

.nav-icon .nav-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 68px;
    margin-bottom: 8px;
}



.moving-underline {
    position: absolute;
    bottom: 0px;
    height: 3px;
    /* width: 30px; */
    background: black;
    transition: 0.3s ease;
}

/* main section categories */
#categories {
    margin-bottom: 49px;
}

/* contains the video and the new icon */
.nav-content .nav-video {
    padding-top: 8px;
    padding-bottom: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;


}

/* to reduce the scale of the icon when scrolling */
.nav-content .nav-video.scaleZero {
    /* display: none; */
    animation: shrinkVideo 2s ease both;
}

.nav-video.scaleZero .new-tag {
    /* display: none; */
    animation: shrinkVideo 2s ease both;

}

@keyframes shrinkVideo {
    from {
        transform: scale(2);
    }

    to {
        transform: scale(0);
    }
}

.nav-video video {
    height: 36px;

    width: 36px;
    transform: scale(2);
    /* 
    */
}


.nav-video .new-tag {
    padding: 3px 6px;
    border-radius: 10px 10px 10px 2px;
    cursor: pointer;
    position: absolute;
    top: 3px;
    left: 100%;
    box-shadow: 0 0.953955px 1.90791px rgba(60, 77, 107, 0.25), 0 3.81582px 5.72373px rgba(60, 77, 107, 0.25), inset 0 0 2px 0.5px #001c40, inset 0 -1px 3px #d7ebff;
    background: linear-gradient(357.5deg, #3e567c 1.59%, #3a5475 21.23%, #2d3c5b 58.6%, #809dc0 97.4%);
}

.new-tag .new-txt {
    color: #ffffff;
    line-height: 10px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
    font-size: 8px;
    cursor: pointer;

}

.nav-content .nav-title {
    font-size: 12px;
    line-height: 10px;
    color: #6A6A6A;
}

.nav-icon.selected .nav-title {
    font-weight: 600;
}

/* main section */
.main {
    width: 100%;
}

/* category titile styling */
.category-title {
    margin: 24px 16px 14px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;



}

.ct-right-arrow {
    margin-left: 2px;
    padding-right: 12px;
}

.category-title span {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.18px;
    font-weight: 600;
    color: var(--color-text-default);
}

.category-scroll {
    display: grid;
    padding: 4px 16px 8px 16px;
    margin-top: -4px;
    margin-bottom: -8px;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 11px)/2);
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    column-gap: 11px;
    justify-content: flex-start;
}

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /*   align-items: center; */
    /* height: 209.047px;
    width: 159px; */
    row-gap: 8px;
    column-gap: 8px;
}

.card-img-div {
    aspect-ratio: 20/19;
    position: relative;
}

.category-card .card-img {
    border-radius: 20px;
    height: 100%;
    width: 100%;
    aspect-ratio: 20/19;
    object-fit: cover;
}

.items-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    padding: 12px 12px 0;
    grid-column-gap: 8px;
}


.guest-fav-cont {
    grid-row: 1;
    grid-column: 1 /3;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    font-weight: 600;
    padding-block: 5.5px;
    padding-inline: 9.5px;
    display: inline-flex;
    align-items: center;
    height: fit-content;
    width: fit-content;
    /* font-size: 14px;
    line-height: 20.02px; */
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.02), 0px 2px 6px 0px rgba(0, 0, 0, 0.04), 0px 4px 8px 0px rgba(0, 0, 0, 0.10);

}

.guest-fav-text {
    font-feature-settings: 'salt';
    color: var(--color-text-default);
    font-size: 11px;
    line-height: 13px;
    text-overflow: ellipsis;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Cereal", Circular, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;
}

.heart-cont {
    grid-row: 1;
    grid-column: 3;
    justify-self: end;
    height: 32px;
    width: 32px;
    margin-right: -4px;
    margin-top: -4px;
    padding-top: 2px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heart-icon {
    height: 24px;
    width: 24px;
}

.card-details {
    display: grid;
    row-gap: 2px;
    column-gap: 2px;
    grid-template-columns: minmax(0, 1fr);
    margin-inline: 4px;
}

.card-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    color: var(--color-text-default);
}

.card-subtitle {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 11px;
}

.sub-style {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    color: var(--color-text-subtitle);
}

.sub-rating {
    display: flex;
    flex-direction: row;
    gap: 2.5px;
    align-items: center;
}

.card-star-icon {
    height: 8px;
    width: 8px;
    line-height: 16px;
    display: block;
}

/* inspitation section */
.Inspiration-section {

    padding: 48px 16px;
    background-color: #F7F7F7;
    position: relative;
}

.inspiration-container {
   
    border-bottom: 1px solid lightgrey;
    box-sizing: content-box;
    padding-bottom: 8px;
}

.inspiration-text {
    font-size: 22px;
    font-weight: 500;
    line-height: 26px;
    color: var(--color-text-default);
    letter-spacing: -0.22px;
    line-break: strict;

}

.inspiration-arrows {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.inspiration-arrows .arrow-cnt {
    height: 50px;
    width: 36px;
    display: flex;
    align-items: center;

}

.arrow-cnt:nth-child(1) {
    justify-content: flex-start;
    position: absolute;
    left: 4px;

}

.arrow-cnt:nth-child(2) {
    justify-content: flex-end;
    position: absolute;
    right: 4px;
}

.inspiration-arrows img {
    height: 16px;
    width: 16px;
}

/* footer section */
.footer-container {
    padding: 0 24px; 
    background-color: #F7F7F7;
}

.links-group {

    padding: 24px 0;
    border-bottom: 1px solid #DDDDDD;
}

/* heading container */
.links-head {
    margin-bottom: 16px;

    margin-block-end: 16px;
}

/* heading */
.links-head h3 {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

/* container for all links */
.links-group .links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.links-group .links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* each link */
.links a {
    font-size: 14px;
    font-style: normal;
    line-height: 18px;
    color: var(--color-text-default);
}

.links li {
    list-style: none;
    line-height: 20.01px;
}

/* footer social */
.footer-lan-cur {
    display: flex;
    flex-direction: row;
    margin-bottom: 8px;
}

.lng-select {
    margin-right: 4px;
    padding: 6px 0;
    padding-right: 8px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}

.globe-icon {
    height: 16px;
    width: 16px;
}

.lng-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-text-default);
}

.currency {
    display: flex;
    flex-direction: row;
    column-gap: 8px;
    padding: 6px 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}

.footer-social {
    padding: 8px 0;
    /* margin-left: -8px; */
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
   
}

.footer-social a img {
    height: 16px;
    width: 16px;
  
}
 

.copyright {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 18px;
    color: var(--color-text-default);
    padding-top: 2.5px;/* check for other screen sizes */

}

.terms {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-text-default);
}

.seperator {

    font-size: 14px;
    line-height: 18px;
    font-weight: normal;
    padding: 0 8px;
}

/* footer-bottom */
.footer-bottom {
    padding: 24px 0;
    /* padding-bottom: calc(70px + 25px); */
    position: relative;
}

/* floating bottom navigation bar */
.floating-footer {
    transform: translateY(0);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: sticky;
    bottom: 0px;
    left: 10rem;
    background-color: white;
    height: 65px;
    transition: 0.3s ease-in;
}

.floating-footer.invisible {
    transform: translateY(100%);

}

.bottom-navbar {

    width: 100%;
    display: flex;
    gap: 2px;
    justify-content: center;

}



.bn-img-cnt {
    height: 30px;
    width: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.bn-btn-img {
    display: block;
    fill: none;
    height: 24px;
    width: 24px;
    stroke: rgb(106, 106, 106);
    stroke-width: 2;
    overflow: visible;
}

.bn-button {
    padding: 0 2px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex: 1 1 0%;
    max-width: 20%;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(106, 106, 106);
}



.bn-button.selected .bn-btn-img {
    stroke-width: 2.66667;
    stroke: rgb(218, 18, 73);
}

.bn-button.selected .bn-btn-txt {
    font-weight: 500;
    color: rgb(218, 18, 73);
}


.bn-btn-txt {
    color: inherit;
    font-size: 9px;
    font-weight: 400;
    line-height: 12px;
}

@media screen and (min-width:375px) {
    .nav-icons-container {
        padding: 16px 56px 0;
    }

    .category-scroll {
        padding: 4px 24px 8px 24px;
    }

    .category-title {
        margin: 32px 24px 14px 24px;
    }

}

@media screen and (min-width:412px) {
    .nav-icons-container {
        padding: 16px 64px 0;
    }
}

@media screen and (min-width:609px) {
    /* the size of the nav icons reduces */

}