html{
    font-size: 16px;
}
*{
    padding:0;
    margin:0;
    box-sizing:border-box;
}
.navbar{
    background-color: rgb(0, 0, 51);
    /* width: 100vw; */
    padding: 1em;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.logo > img {
    height: 60px;
    width: 60px;
}
.menu-container{
    /* background-color: palevioletred; */
    display: flex;
    gap: 1em;
}
a{
    text-decoration: none;
    color: white;
}

/* hero */
.hero{
    background-image: url('https://github.com/Mohak-Trivedi/xcruise-assets/blob/master/hero-cruise.png?raw=true');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* height: 500px; */
    height: calc(100vh - 80px);

    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 1em;
}
.hero>button{
    background-color: #F05716;
    border: none;
    color: white;
    font-size: 1rem;
    padding: 0.5em 1em;
    border-radius: 2px;
}

/* discover */
/* discover-heading */
.discover{
    display: flex;
    flex-direction: column;
    /* background-color: aqua; */
    padding: 1.5em;
}
.heading{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap:1em;
    padding-left: 0.5em;
    margin-bottom: 1.5em;
    /* margin: 1em; */
}
.popular{
    /* background-color: violet; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:0.5em;
}
.pills{
    display: flex;
    flex-direction: column;
}
.pills > div{
    border-radius: 555px;
    font-size: 0.5rem;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    padding: 1em;
    gap: 1em;
}
.pills > div > img{
    height: 10px;
    border-radius: 50%;
}

/* discover-banner */
.banner{
    position: relative;
    /* width: 100vw; */
}
.banner > img{
    width: 100%;
    height: 100%;
}
.banner h3{
    text-transform: uppercase;
    font-size: 1rem;
}
.banner p{
    font-size: 0.6rem;
}
.banner-info{
    position: absolute;
    bottom: 0px;
    z-index: 1;
    color: white;
    font-size: 0.6rem;
    padding: 1em
}
.save-icon{
    height: 20px;
    width: 20px;
    position: absolute;
    top:0.2em;
    right: 0.2em;
    background-color: grey;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 10px; */
}
.save-icon > img{
    height: 60%;
    width: 60%;
}

/* discover-card */
.cards{
    /* background-color: royalblue; */
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 1em;
}
.card{
    position: relative;
    cursor: pointer;
}
.card h3{
    text-transform: uppercase;
    font-size: 0.9rem;
}
.card p{
    font-size: 0.6rem;
}
.card > img{
    display: inline-block;
    height: 100%;
    width: 100%;
    z-index: -1;
    /* opacity: 0; */
}
.card-info{
    position: absolute;
    bottom: 0px;
    z-index: 1;
    color: white;
    padding: 1em;
}

/* contact us */
#contact{
    /* background-color: aquamarine; */
    flex-direction: column;
    text-align: center;
    padding: 2em;
}
#contact h3{
    display: inline-block;
    /* background-color: #F05716; */
    border-bottom: 2px solid #FFA500;
}
.contact_info {
    display: flex;
    flex-direction: column;
    gap:1em;
    padding: 1em;
}
.contact_info > div{
    /* display: flex; */
    border: 1px solid gray;
    flex: 1;
    padding:0.5em ;
}

/* footer */
footer{
    display: flex;
    flex-direction: column;
    background-color: #000033;
    color: white;
}
footer > div{
    text-align: center;
    padding: 0.5em ;
}
footer h4{
    color: #FFA50E;
    padding: 0.5em 0;
}
footer ul{
    list-style: none;
}
footer li{
    padding-bottom: 0.2em;
}

.social-icons > img{
    height: 20px;
    width: 20px;
}
.footer_rights{
    border-top: 1px solid grey;
}
@media (min-width:480px) {
/* tablet */
    .navbar{
        flex-direction: row;
        justify-content: space-between;
        height: 80px;
    }
    .popular{
        flex-direction: row;
    }
    .pills{
        flex-direction: row;
        gap:1em
    }
    .cards{
        grid-template-columns: repeat(2,1fr);
    }
   
}

@media (min-width:768px){
/* desktop */
    .heading{
        align-items: flex-start;
        border-left: 3px solid orange;
    }   
    .cards{
        grid-template-columns: repeat(4,1fr);
    }
    .contact_info {
        flex-direction: row;
        justify-content: center;
    }
    footer > div{
        display: flex;
        text-align: start;
        justify-content: space-around;
    }
}

