*{
    color: white;
    margin: 0;
    padding: 0;
    font-family: 'BeVietnamRegular', sans-serif;
    text-decoration: none;
    font-style: normal;
    box-sizing: border-box;
    overflow-x: clip;
}

.underline{
    text-decoration: underline;
}
button:hover{
    cursor: pointer;
}

:root {
    --dark-red: #660B15;
    --Bright-Red: #AB1323;
    --normal-link: #ffffff;
}

@font-face {
    font-family: 'ProximaNovaExtraBold';
    src: url('fonts/Fontspring-DEMO-proximanova-extrabold.otf') format('opentype');
}

@font-face {
    font-family: 'BeVietnamRegular';
    src: url('fonts/BeVietnam-Regular.ttf') format('truetype');
}


a:hover{
    color: white;
}

@media (max-width: 1000px){
    #header{
        display: none;
    }

    #header-logo{
        height: 40px;
    }
    
    section{
        padding-top: 100px;
    }

    section#home{
        padding-top: 0;
    }

    header.mobile{
        position: fixed;
        width: 100vw;
        top: 0;
    }
    header > div{
        display: flex;
        justify-content: space-between;
        padding: 20px;
        padding-right: 40px;
        background-color: black;
    }

    #menu{
        height: 500px;
        padding: 30px;
        background-color: rgba(0, 0, 0, 0.9);
    }

    #menu > nav > ol {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    #menu > address > ul > li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #menu > address > ul{
        margin-top: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* transition */
    #menu {
        transition: all 0.2s linear;
        opacity: 0;
        height: 0;
        display: none;
        overflow: hidden; /* Ensures that the content doesn't show outside the height */
    }
    
    #menu.visible {
        display: block;
        opacity: 1;
        height: 500px; /* Adjust according to the actual height of your menu content */
    }

    #menu-icon {
        cursor: pointer;
        transition: transform 0.3s ease;
        fill: white; /* Sets the color of the SVG shapes */
    }
    
    .menu, .x {
        transition: opacity 0.3s ease;
    }
    
    .x {
        opacity: 0;
    }
    
    #menu-icon.open .menu {
        opacity: 0;
    }
    
    #menu-icon.open .x {
        opacity: 1 !important;
        background-color: red;
    }
    
    

    #home{
        background-image: url(assets/bigBenz.jpg);
        background-position: top;
        background-size: cover;
        background-repeat: no-repeat;
        height: 700px;
    }
    h1 {
        font-family: 'ProximaNovaExtraBold', sans-serif;
        font-size: 3.5rem;
        text-transform: uppercase;    
        color: white;
    }
    
    h2{
        font-family: 'ProximaNovaExtraBold', sans-serif;
        font-size: 2rem;
        text-transform: uppercase;    
        color: white;
    }
    
    h3{
        font-family: 'ProximaNovaExtraBold', sans-serif;
        font-size: 1.5rem;
        text-transform: uppercase;    
        color: white;
    }

    #home-text{
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
        justify-content: space-between;
        padding: 20px;
        padding-top: 150px;
        padding-bottom: 120px;
        background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 85%, rgba(0, 0, 0, 0) 100%);
    }

    #top, #about-us > img{
        display: none;
    }

    #about-us-text{
        margin: 0px 20px 40px 20px;
        background-color: white;
        box-shadow: 0px 8px 16px black;
    }

    #about-us-text *{
        color: black;
        padding: 10px;
    }

    #about-us h2{
        color: var(--Bright-Red);
    }

    #about-us{
        display: flex;
        flex-direction: column;
        background-image: url(assets/driver1.png);
    }

    #work-with-us{
        color: var(--Bright-Red);
        text-decoration: underline;
        display: flex;
        align-items: center;
        overflow: clip;
    }



    #our-services{
        background-color: black;
    }

    #our-services > h2{
        text-align: center;
        padding: 50px;
        padding-top: 0;
    }

    #our-services h3{
        padding-bottom: 10px;
    }

    #our-services > p{
        text-align: center;
        padding-bottom: 40px;
    }

    #service-list{
        display: flex;
        flex-direction: column;
    }

    #service-list > li{
        height: 400px;
        background-position: center;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 30px;
    }
    #service-list > li:nth-child(1){
        background-image: url('assets/whitecar.png');
    }
    
    #service-list > li:nth-child(2){
        background-image: url('assets/plane.png');
    }
    #service-list > li:nth-child(3){
        background-image: url('assets/suit.png');
    }
    #service-list > li:nth-child(4){
        background-image: url('assets/event.png');
    }

    #service-list > li > ul > li{
        list-style-type: disc;
        list-style-position: inside;
        margin: 5px;
        line-height: 1.7rem;
    }

    #globeViz{
        display: none;
    }
    #cities-served{
        background-color: black;
        background-image: url(assets/nightPlane.jpg);
        background-position: top;
        background-size: cover;
    }
    
    #cities-served > h2{
        text-align: center;
        padding-top: 0rem;
        padding-bottom: 2rem;
    }
    
    #cities-served > p{
        margin: auto;
        text-align: center;
        margin-bottom: 3rem;
    }    
    
    #cities-served aside{
        grid-area: 1 / 2 / 2 / 3;

        padding: 2rem;
        padding-bottom: 4rem;
        background-color: rgba(0, 0, 0, 0.6);
    }
    
    #cities-wrapper ul{
        list-style-type: none;
    }
    
    #cities-served summary{
        font-family: 'ProximaNovaExtraBold', sans-serif;
        font-size: 1.2rem;
        letter-spacing: 0.2rem;
        text-transform: uppercase;
        margin-top: 1.5rem;
        /* list-style-type: circle; Remove bullets */
    }
    
    #cities-served summary:hover{
        cursor: pointer;
    }
    
    #cities-wrapper button{
        background: none;
        border: none;
        font-size: 1rem;
    }
    
    #cities-wrapper p{
        font-size: .9rem;
        line-height: 1.5rem;
    }

    section#contact{
        padding-bottom: 10px;
    
    }
    section#contact h2{
        color: var(--Bright-Red);
        text-align: center;
    }
    
    /* CONTACT US-------------------- */
    #contact-wrapper img{
        display: inline-block;
    }
    
    #contact > p{
        color: black;
        text-align: center;
    }
    
    #contact-wrapper{
        margin: 20PX;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    #contact-wrapper span{
        color: black;
        font-family: 'ProximaNovaExtraBold', sans-serif;
        font-size: 1.2rem;
        letter-spacing: 0.1rem;
        text-transform: uppercase;
    }
    
    #contact-wrapper a{
        color: var(--Bright-Red);
    }
    
    #contact-wrapper li{
        border-radius: 0.3125rem;
        border: 1px solid black;
        box-shadow: 4px 4px 4px 0px #E1E1E1;
        padding: 2.3rem;
        flex-grow: 1;
    
        display: grid;
        grid-template-columns: 3.5rem 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        align-items: center;
        margin: 5px;
        min-width: 250px;
    }
    
    #contact-wrapper li > img{
        grid-area: 1 / 1 / 2 / 2; 
    }
    
    #contact-wrapper li > span{
        grid-area: 1 / 2 / 2 / 3;
    }
    
    #contact-wrapper li > a{
        grid-area: 2 / 1 / 3 / 3;
    }
    
    
    /* footer ---------------------------------------------- */
    footer{
        background-color: black;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 10px;
    }
    
    footer > strong{
        vertical-align: middle; /* Aligns the icon with the middle of the text */
        font-family: 'ProximaNovaExtraBold', sans-serif;
        letter-spacing: 0.1rem;
        font-size: 1.5rem;
        margin: auto;
        padding: 20px;

        display: flex;
        align-items: center;
    }
    
    footer > strong > img {
        width: 24px; /* Adjust based on your icon's size */
        height: 24px; /* Adjust based on your icon's size */
        margin-right: 8px; /* Adjust the space between the icon and the text */
    }
    
    #footer-contact-wrapper, footer > nav > ol{
        display: none;
    }

    footer > hr {
        margin: 0rem 5rem;
        width: 80%;
    }

    footer > nav > span{
        font-size: 0.8rem;
    }


}

@media (min-width: 1000px) {
    a {
        color: var(--normal-link);
        transition: all 0.1s linear;
    }
    .mobile{
        display: none;
    }
    section#home, section#home *{
        color: white;
    }
    
    address > a{
        text-decoration: underline;
    }
    
    h1 {
        font-family: 'ProximaNovaExtraBold', sans-serif;
        font-size: 5rem;
        text-transform: uppercase;    
        color: white;
        margin: 12.5px;
    }
    
    h2{
        font-family: 'ProximaNovaExtraBold', sans-serif;
        font-size: 3rem;
        text-transform: uppercase;    
        color: white;
    }
    
    h3{
        font-family: 'ProximaNovaExtraBold', sans-serif;
        font-size: 2rem;
        text-transform: uppercase;    
        color: white;
    }
    
    
    p{
        margin: 12.5px;
        color: white;
    }
    
    header > img{
        display: none;
    }
      
    
    
    
    
        
        header{
            height: 8vh;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 50px 20px 50px;
            position: sticky;
            top: 0;
            background-color: black;
            z-index: 10;
        }
    
    
        
        #logo{
            cursor: pointer;
        }
        
        address{
            text-align: end;
        }
        
        nav{
            display: flex;
            align-items: center;
            gap: 25px;
        }
        
        nav ol{
            display: flex;
            list-style: none;
            gap: 25px;
        }
        
        #home{
            background-image: url(assets/redcar.png);
            height: 92vh;
            background-repeat: no-repeat;
            background-size: cover;
        }
        
        article#home-text{
            position: absolute;
            bottom: 30%;
            width: 600px;
            margin: 70px;
            animation: fadeIn 1s;
        }
        
        #header  nav{
            margin-left: 25px;
        }
        
        
        @keyframes fadeIn {
            0% { 
                bottom: 20%;
                opacity: 0; 
            }
            100% { 
                opacity: 1;     
            }
          }
        
        #top{
            width: 55px;
            height: 55px;
            position: fixed;
            bottom: 8rem;
            right: 7rem;
            background-image: url('assets/up_button.png');
        
            border: none; /* Removes the default border */
            cursor: pointer; /* Changes the cursor on hover */
            background-size: 110% 110%;
            background-position: center; 
        
            box-shadow: 0px 5px 10px black;;
            z-index: 10;

            transition: all 0.1s linear;
        }

        #top:hover{
            background-position: center bottom;
        }
        
        /* ABOUT US ----------------------------------------------------------------- */
        section#about-us{
            color: black;
            display: flex;
            align-items: center;
        }
        
        section#about-us img{
            width: 50vw;
            height: 100vh;
            object-fit: cover;
        }
        
        
        section#about-us article#about-us-text{
            width: 40%;
            margin: 5%;
        }
        
        section#about-us article > *{
            margin: 0;
            color: black;
        }
        
        section#about-us h2{
            color: var(--Bright-Red);
            margin-bottom: 8%;
        }
        
        section#about-us #work-with-us{
            margin-top: 10%;
            color: var(--Bright-Red);
            text-decoration: underline;
            display: flex;
            align-items: center;
            overflow: clip;
        }
        
        #work-with-us::after{
            content: url('assets/arrow.svg');
            padding: 8px;
            position: relative;
            top: 4px;
        }
        
        /* OUR SERVICES ---------------------------------------------- */
        
        #our-services{
            background-color: black;
        }
        
        #our-services p, #our-services li{
            color: white;
        }
        
        #our-services > h2{
            text-align: center;
            padding-top: 10rem;
            padding-bottom: 2rem;
        }
        
        #our-services > p{
            width: 35rem;
            margin: auto;
            text-align: center;
            margin-bottom: 2rem;
        }
        
        #service-list{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            grid-column-gap: 0px;
            grid-row-gap: 0px;
        }
        
        #service-list > li{
            height: 35rem;
            background-position: center;
            background-size: cover;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        
        #service-list > li > *{
            margin: 0 3rem 4rem 3rem;
        }
        
        #service-list > li > ul > li{
            list-style-type: disc;
            list-style-position: inside;
        }
        
        /* #service-list > li > h3{
            margin-left: 5rem;
            position: absolute;
            bottom: 30%;
        } */
        
        /* #service-list > li > ul{
            margin-left: 6.5rem;
            position: absolute;
            bottom: 15%;
            max-width: 70%;
        } */
        
        
        #service-list > li:nth-child(1){
            background-image: url('assets/whitecar.png');
        }
        
        
        
        #service-list > li:nth-child(2){
            background-image: url('assets/plane.png');
        }
        #service-list > li:nth-child(3){
            background-image: url('assets/suit.png');
        }
        #service-list > li:nth-child(4){
            background-image: url('assets/event.png');
        }
        
        /* CITIES SERVED ----------------------------------------- */
        
        #cities-served{
            background-color: black;
            height: auto;
        }
        
        #cities-served > h2{
            text-align: center;
            padding-top: 10rem;
            padding-bottom: 2rem;
        }
        
        #cities-served > p{
            width: 35rem;
            margin: auto;
            text-align: center;
            margin-bottom: 2rem;
        }
        
        #cities-wrapper {
            display: grid;
            grid-template-columns: 1.7fr 1.3fr;
            grid-template-rows: 1fr;
            grid-column-gap: 0px;
            grid-row-gap: 0px;
            }
        
        
        #cities-served aside{
            grid-area: 1 / 1 / 2 / 4;
            background: rgb(0,0,0);
            background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 21%);
            padding: 6rem;
            padding-left: 8rem;
            z-index: 2;

        }
        
        #cities-wrapper ul{
            list-style-type: none;
            columns: 2;
            -webkit-columns: 2;
            -moz-columns: 2;
        }
        
        #cities-served summary{
            font-family: 'ProximaNovaExtraBold', sans-serif;
            font-size: 1.2rem;
            letter-spacing: 0.2rem;
            text-transform: uppercase;
            margin-top: 1.5rem;
            /* list-style-type: circle; Remove bullets */
        }
        
        #cities-served summary:hover{
            cursor: pointer;
        }
        
        #cities-wrapper button{
            background: none;
            border: none;
            font-size: 1rem;
        }
        
        #cities-wrapper p{
            font-size: .9rem;
            line-height: 1.5rem;
        }
        
        /* Contact ----------------------------------------- */
        section#contact{
            padding-top: 6rem;
            padding-bottom: 12rem;
        
        }
        section#contact h2{
            color: var(--Bright-Red);
            text-align: center;
        }
        
        #contact-wrapper img{
            display: inline-block;
        }
        
        #contact > p{
            color: black;
            text-align: center;
        }
        
        #contact-wrapper{
            margin: 4rem;
            display: flex;
            justify-content: space-around;
            align-items: center;
            gap: 2.8rem;
        }
        
        #contact-wrapper span{
            color: black;
            font-family: 'ProximaNovaExtraBold', sans-serif;
            font-size: 1.2rem;
            letter-spacing: 0.1rem;
            text-transform: uppercase;
        }
        
        #contact-wrapper a{
            color: var(--dark-red);
        }
        
        #contact-wrapper a:hover{
            color: var(--Bright-Red);
        }
        
        #contact-wrapper li{
            border-radius: 0.3125rem;
            border: 1px solid black;
            box-shadow: 4px 4px 4px 0px #E1E1E1;
            padding: 2.3rem;
            flex-grow: 1;
        
            display: grid;
            grid-template-columns: 3.5rem 1fr;
            grid-template-rows: repeat(2, 1fr);
            grid-column-gap: 0px;
            grid-row-gap: 0px;
            align-items: center;
            margin: 5px;
        }
        
        #contact-wrapper li > img{
            grid-area: 1 / 1 / 2 / 2; 
        }
        
        #contact-wrapper li > span{
            grid-area: 1 / 2 / 2 / 3;
        }
        
        #contact-wrapper li > a{
            grid-area: 2 / 1 / 3 / 3;
        }
        
        
        /* footer ---------------------------------------------- */
        footer{
            background-color: black;
            padding: 5rem 1rem 3rem 1rem;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: space-around;
        }
        
        footer > strong{
            vertical-align: middle; /* Aligns the icon with the middle of the text */
            font-family: 'ProximaNovaExtraBold', sans-serif;
            letter-spacing: 0.1rem;
            font-size: 1.5rem;
            margin: auto;
            text-align: center;
        }
        
        footer > strong > img {
            width: 32px; /* Adjust based on your icon's size */
            height: 32px; /* Adjust based on your icon's size */
            margin-right: 8px; /* Adjust the space between the icon and the text */
            vertical-align: middle; /* Aligns the icon with the middle of the text */
        }
        
        #footer-contact-wrapper{
            display: flex;
            justify-content: center;
            gap: 100px;
            margin: 5rem;
        }
        
    
        
        #footer-contact-wrapper > li > *{
            margin: 3px;
            display: inline-block;
            vertical-align: middle; /* Aligns the icon with the middle of the text */
        }
        
        footer > hr {
            margin: 0rem 5rem;
        }
        
        footer > nav{
            margin: 1rem 5rem 3rem 5rem;
            display: flex;
            justify-content: space-between;
        }
        
        footer > nav > ol, footer > nav > ol > li{
            margin: 0;
        }

}    

