@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

/* tesla-background-image */
.banner-wrap {
    background-image: url(./assets/Homepage-Model-3-Desktop-US.avif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    width: 100vw;
}

/* tesla-logo */
.logo {
    height: 24px;
    width: 120px;
    cursor: pointer;
    
}

/* top-middle-section */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    height: 56px;
    color: #fff;
}

    .nav-item {
        display: inline-flex;
        inline-size: auto;
        align-items: center;
        gap: 8px;
        padding: 8px 16px 8px 16px;
        font-size: 14.55px;
        cursor: pointer;    
    }

        .nav-item:hover {
            background-color: #375a7e;
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

/* top-right-section with the icons*/        
.material-symbols-outlined {
    margin: 0px 6px 0px 0px;
}

    .icon-menu {
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        color: #fff;
        cursor: pointer;
        display: flex;
    }

        /* help-icon */
        .icon-menu1:hover {
            background-color: #375a7e;
            border-bottom-right-radius: 4px;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        /* language-and-region-icon */
        .icon-menu2:hover {
            background-color: #375a7e;
            border-bottom-right-radius: 4px;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            border-bottom-left-radius: 4px; 
        }

        /* acoount-icon */
        .icon-menu3:hover {
            background-color: #375a7e;
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

/* middle-section */
main {
    text-align: center;
    height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .title-section {
        margin-top: calc(78px - 50px);
        color: white;
    }

    /* Model 3 */
        h1 {
            font-size: 56px;
            font-weight: 500;
            line-height: 56px;
        }
    
     /* 1.99% APR Financing Ending August 31 */
        h3 {
            font-size: 28px;
        }
    
    /* link-on-the-h3-text */
        .h3-link {
            color:#fff
        }

    /* From $34,990 */
        p {
            font-weight: 500;
            font-size: 17px;
        }

/* bottom-section */
.actions-area {
    margin-bottom: 32px;
}

button {
    margin: 0;
    border: none;
    background: none;
    height: 40px;
    width: 264px;
    padding: 4px 24px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-right: 12px;
    cursor: pointer;
    font-size: 14.6px;
    line-height: 19px;
    padding: 0;
}

    /* Order-Now-button */
    .btn-dark {
        background-color: #3e6ae1;  /* #3961CE */
    }

    .btn-link1 {
        color: #fff;
        text-decoration: none;
    }

    /* Demo-Drive-button */
    .btn-light {
        background-color: #fff;
    }

    .btn-link2 {
        color: #393C41;
        text-decoration: none;
    }