* {
    padding: 0;
    margin: 0;
}
body {
    font-family: "Poppins";
    max-width: 80rem;
    margin: 0 auto;
    overflow-x: hidden;
}

/*----------------- navbar section ---------------------- */
nav {
    display: flex;
    align-items: center;
    height: 20vh;
    justify-content: space-between;
}
nav img {
    width: 100px;
    display: block;
}
nav .nav-items {
    display: flex;
    gap: 50px;
    align-items: center;
    font-size: 1.1rem;
}
nav .nav-items {
    display: flex;
    gap: 50px;
}
nav .nav-items .active-item {
    color: #fe6139;
    font-weight: bold;
    font-size: 1.1rem;
}
nav img:last-child {
    width: 200px;
}

@media only screen and (max-width: 735px) {
    
}

/*----------------- intro section -------------------- */
.intro-section {
    display: flex;
    align-items: center;
}
.left-section {
    max-width: 700px;
    margin-top: 40px;
}
.left-section h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.left-section h3 img {
    width: 40px;
    margin-left: 10px;
}
.left-section h1 {
    font-family: "Fredoka One";
    font-size: 4rem;
    font-weight: 100;
}
.left-section .sub-headlines {
    font-size: 1.4rem;
    margin-left: 80px;
    margin-top: 40px;
}
.left-section .sub-headline {
    font-size: 1.2rem;
}
.left-section .sub-headlines h5 {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
}
.left-section .sub-headlines h5 img {
    position: relative;
    background-color: #fe6139;
    border-radius: 90px;
    padding: 5px;
    margin-right: 15px;
    cursor: pointer;
}

.left-section .text {
    font-size: 14px;
    color: #7e7e7e;
    margin-top: 60px;
}
.left-section .action-btns {
    margin-top: 40px;
}
.left-section .action-btn {
    background-color: #fe6139;
    border: none;
    padding: 16px 34px;
    border-radius: 50px;
    color: #FFFFFF;
    font-size: 17px;
    cursor: pointer;
}
.left-section .action-btn:not(:last-child) {
    margin-right: 20px;
}


/* headphone right section */
.right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.headphone-div {
    position: relative;
    width: 570px;
}
.headphone-div .discount-content {
    position: absolute;
    top: 230px;
    left: 70px;
    color: #FFFFFF;
    font-family: "Fredoka One";
}
.headphone-div img:first-child {
    position: absolute;
    width: 120px;
    top: 200px;
    left: 40px;
}
.headphone-div img:last-child {
    width: 420px;
    position: relative;
    z-index: -1;
    top: -20px;
    left: 80px;
}
.right-section .dots {
    display: flex;
    gap: 20px;
    margin-top: -20px;
}
.right-section .dots .dot {
    height: 26px;
    width: 26px;
    border-radius: 50px;
}
.right-section .dots .dot.yellow-dot {
    background-color: #fbd104;
}
.right-section .dots .dot.tomato-dot {
    background-color: #fe5e35;
}
.right-section .dots .dot.black-dot {
    background-color: #000000;
}
.right-section .action-btn {
    background-color: #fe6139;
    border: none;
    padding: 16px 34px;
    border-radius: 50px;
    color: #FFFFFF;
    font-size: 17px;
    margin-top: 48px;   
    cursor: pointer;
}


@media only screen and (max-width: 925px) {
    .left-section h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .left-section h3 img {
        width: 30px;
        margin-left: 10px;
    }
    .left-section h1 {
        font-family: "Fredoka One";
        font-size: 3rem;
        font-weight: 100;
    }
    .left-section .sub-headlines {
        font-size: 1.2rem;
        margin-left: 20px;
        margin-top: 30px;
    }
    .left-section .sub-headline {
        font-size: 1rem;
    }
    
    .left-section .text {
        font-size: 14px;
        margin-top: 30px;
    }

    .left-section .action-btns {
        margin-top: 30px;
    }
    .left-section .action-btn {
        padding: 14px 24px;
        cursor: pointer;
    }
    .right-section .action-btn {
        padding: 14px 24px;
        cursor: pointer;
        margin-left: 80px;
    }
    .left-section .action-btn:not(:last-child) {
        margin-right: 20px;
    }
    .right-section .dots {
        margin-left:80px;
    }
    .right-section .dots .dot {
        height: 20px;
        width: 20px;
        border-radius: 50px;
    }
    .headphone-div {
        position: relative;
        width: 470px;
    }
    
}

@media only screen and (max-width: 797px) {
    nav {
        overflow-x: auto;
        height: 14vh;
    }
    .nav-items {
        margin-left: 40px;
    }
    .intro-section {
        flex-direction: column-reverse;
        padding: 0 20px;
    }
    .right-section {
        margin: 0 auto;
    }
    .headphone-div {
        width: 480px;
        margin-top: 40px;
        margin-right: -120px;
    }
    .headphone-div img:last-child {
        width: 300px;
        position: relative;
        z-index: -1;
        top: -20px;
        left: 40px;
    }
    .right-section .dots {
        margin-left:0px;
    }
    .right-section .action-btn {
        padding: 14px 24px;
        cursor: pointer;
        margin-left: 0px;
    }
    .headphone-div img:first-child {
        position: absolute;
        width: 120px;
        top: 150px;
        left: -10px;
    }
    .headphone-div .discount-content {
        position: absolute;
        top: 180px;
        left: 15px;
        color: #FFFFFF;
        font-family: "Fredoka One";
    }
}