@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300&family=Josefin+Sans:ital,wght@1,300&family=Jost:ital,wght@0,300;0,400;1,200&family=Poppins:wght@100;300;400;500;600&family=Roboto:wght@300;500;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    scroll-behavior: smooth;
    text-decoration: none;
    transition: all 1s;
    list-style-type: none;
}

html {
    font-size: 62.5%;
    font-family: 'Roboto', sans-serif;

}

:root {
    --main-color:#C58940;
    /* --main-color:#fc7300; */
    --text-color: #fac9a0;
    --light-color: #f9f0e8;
    --pera-color: #e4e2df;
    --white: #f9f8f6;
    --shadow: rgb(117, 117, 116);
    --bg: #050505;
}
.header-container{
    max-width: 100vw;
    height: 9rem;
     display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
    background-color: var(--main-color);
}
.refernce{
    width: auto;
    height: max-content;
    position: fixed;
    top: 300px;
    left: 10px;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.refernce a img{
    width: 40px;
    height: 40px;
}

.navbar ul {
    display: flex;
    gap: 2.5rem;
    width: 50rem;
    justify-content: center;
    z-index: 9999;

}

.navbar ul li {
    font-size: 1.8rem;
}

.navbar ul li a {
    color: var(--bg);
}

.navbar ul li a:hover {
    color: var(--text-color)
}
.log {
    display: flex;
    gap: 2.5rem;
    width: 20rem;
    justify-content: center;

}

.log i {
    color: var(--bg);
    font-size: 2rem;
}
.bar {
    display: none;
    text-align: center;
    font-size: 2rem;
    color: var(--bg);
}
.hero-container{
     max-width: 100vw;
    height:calc(100vh - 9rem);
     display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
    background:url(images/auklandtaxi.jpg);
    background-repeat: no-repeat;
    background-size:100%;
}
.hero-left{
    color: var(--pera-color);
}
.taxi-container{
     max-width: 100vw;
    height:max-content;
     display: flex;
     flex-direction: column;
    /* justify-content: space-around; */
    align-items: center;
    z-index: 1;
    background-color: var(--text-color);
    /* border: 0.3rem solid var(--main-color); */
}
.taxi-container > h1{
height: 3.5rem;
margin-top:3rem;
margin-bottom: 3rem;
}
.taxi-service{
 /* max-width: 100vw; */
 width: 100%;
    height:max-content;
     display: flex;
     flex-wrap: wrap;
     gap: 2rem;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
    /* background-color: var(--main-color); */
    margin-bottom: 5rem;
}
.card{
    border: 0.1rem solid var(--text-color);
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    max-width: 30rem;
    flex: 1 1 calc(33.333% - 4rem);
    /* padding: 2rem; */
     display: flex;
     flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: var(--text-color);
    overflow: hidden;
}
.card h1{
    margin-left: 1.5rem;
    font-size: 1.7rem;
}
.card img{
    width: 100%;
    height: 20rem;
}
.card button{
    background-color: #C58940;
    color: white;
    border: none;
    padding: 1.1rem 2.2rem;
    border-radius:0.6rem ;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top:1rem;
margin-bottom: 1rem;
    
}
.med-container{
     max-width: 100vw;
    height:max-content;
     display: flex;
     flex-direction: column;
    /* justify-content: space-around; */
    align-items: center;
    z-index: 1;
    background-color: var(--pera-color);
    /* border: 0.3rem solid var(--main-color); */
}
.med-container > h1{
height: 3.5rem;
margin-top:3rem;
margin-bottom: 3rem;
}
.grocery-container{
     max-width: 100vw;
    height:max-content;
     display: flex;
     flex-direction: column;
    /* justify-content: space-around; */
    align-items: center;
    z-index: 1;
    background-color: var(--text-color);
    /* border: 0.3rem solid var(--main-color); */
}
.grocery-container > h1{
height: 3.5rem;
margin-top:3rem;
margin-bottom: 3rem;
}
.footer-container {
    max-width: 100vw;
    height:max-content;
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: center;
    background-color: rgb(56, 55, 55);
    color: var(--white);
}
.footer-container .footer-content{
    width: 100vw;
    display:flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    height: max-content;
    word-wrap: wrap;
    letter-spacing:.2rem;
    padding: 1rem;
}
.address{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    height: max-content;
    word-wrap: wrap;
    letter-spacing:.2rem;
    padding: 1rem;
}
.quick-links, .top-products{
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    height: max-content;
    word-wrap: wrap;
    letter-spacing:.2rem;
    padding: 1rem;
    font-size: 2rem;
    color: var(--white);
    gap: 2rem;
}
.quick-links a, .top-products a{
    color: var(--white);
}
.socialmedia{
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    height: max-content;
    word-wrap: wrap;
    letter-spacing:.2rem;
    padding: 1rem;
    font-size: 2rem;
    
    gap: 2rem;
}
.socialmedia a{
    color: var(--white);
}
.copywrite{
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom:0;
    gap: 2rem;
    width: 100vw;
    height: max-content;
    word-wrap: wrap;
    letter-spacing:.2rem;
    padding: 1rem; 
    background-color: var(--bg);
}
.icon{
    position: fixed;
    top: 30%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: max-content;
    letter-spacing:.2rem;
    background-color: transparent;
    z-index: 999;
}
.icon a {
    font-size: 5rem;
    color:green;
    text-align: center;
    border-radius: 20px;
    align-items: center;
    background-color: white;
}
.icon .ic1{
    width:50px;
    text-align:right; 
    background-color:green;
    height: max-content;
}
.icon .ic2{
    width:50px;
    text-align:right; 
    background-color:green;
    height: max-content;
}
.icon .ic3{
    width:50px;
    text-align:right; 
    background-color:green;
    height: max-content;
}
.icon .ic4{
    width:50px;
    text-align:right; 
    background-color:green;
    height: max-content;
}
@media screen and (max-width:500px) {
    html {
        font-size: 48%;
    }

    /* css for header ----------------------- */
    .header-container {
        width: 100vw;
        height: 90px;
        top: 20px;
        z-index: 1;
    }
    .refernce{
    width: auto;
    height: max-content;
    position: fixed;
    top: 300px;
    left: 10px;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.refernce a img{
    width: 40px;
    height: 40px;
}

    .navbar {
        display: none;
        position: fixed;
        top: 12rem;
        right: 0;
        background-color: var(--main-color);
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 8rem;
        width: 100vw;
        height: 100vh;
        align-items: center;
    }

    .navbar ul li {
        font-size: 3rem;
    }

    .navbar ul li a {
        color: var(--text-color);
    }

    .bar {
        display: block;
    }
    .hero-left{
        font-size: 0.7rem;
    }
    .taxi-service{

     display: flex;
     flex-direction: column;
}
    
}