@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    font-family: 'Poppins','sans-serif';
}

/*variables*/
:root{
    --major-bg-color: #131921;
    --minor-bg-color: #ebeded;
    --amazon-major-color: #febd68;
}

/*Body*/
body{
    background-color: var(--minor-bg-color);
}

/*Header*/
.header{
    width: 100%;
    height: 50px;
    background-color: var(--major-bg-color);
    display: flex;
    justify-content: center;
}

.header .header-nav{
    margin-top: 2px;
    display: flex;
    justify-content: center;
}

.header .header-nav .header-container{
    width: 1200px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .header-nav .header-container .amazon-logo{
    width: 100px;
}

.header .header-nav .header-container .header-search{
    width:50%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.header .header-nav .header-container .header-search .search-input{
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    padding: 0 10px;
    border-radius: 5px;
}

.header .header-nav .header-container .header-search .search-button{
    width: 40px;
    height: 42px;
    background-color: var(--amazon-major-color);
    border: 1px solid #ccc;
    display:flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    color: #232323;
    border-radius: 5px;
}
.header .header-nav .header-container .header-cart{
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .header-nav .header-container .header-cart svg{
    width: 40px;
    height:40px;
}

/* Section 1 */
.section-1{
    width:100%;
    height:auto;
    background: url('https://images-eu.ssl-images-amazon.com/images/G/31/img22/Fashion/Gateway/BAU/Aug/Apay/GW-PC-Deals-Unrec-3000._CB629506848_.jpg');
    background-size: cover;
    display:flex;
    justify-content: center;
    align-items: center;
}
.section-1 .section-1-container{
    margin-top:320px;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}
.section-1 .section-1-container .section-1-column{
    width:100%;
    background-color: white;
    padding: 20px;

}

.section-1 .section-1-container .section-1-column img{
    margin-top: 20px;
    width:100%;
    height:auto;

}

.section-1 .section-1-container .section-1-column button{
    background-color: var(--amazon-major-color);
    border-radius: 10px;
    width: 100%;
    padding:10px;
    border-style: none;
}

.section-1 .section-1-container .section-1-column p{
    margin-top: 10px;
    font-size: 14px;
    color: green;
}

/*section 2 related items*/
.section-2{
    margin:20px;
    padding:20px;
    background-color: white;
}
.section-2 .section-2-container h3{
    margin-bottom: 10px;
}

.section-2 .section-2-container .product-cards{
    display:flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: auto;
}
.section-2 .section-2-container .product-cards .product-card{
    display: inline-block;
    width:300px;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
}
.section-2 .section-2-container .product-cards .product-card img{
    width: auto;
    height: auto;
    max-width: 270px;
    max-height: 200px;
}

.section-3{
    background-color: white;
}

.section-3 .section-3-container{
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
}
.section-3 .section-3-container .product-detail-cards{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: auto;
}

.section-3 .section-3-container .product-detail-cards .product-detail-card{
    display: inline-block;
    width: 200px !important;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4;
}

.section-3 .section-3-container .product-detail-cards .product-detail-card .product-detail-img{
    width:100%;
    display: flex;
    justify-content: center;
}
.section-3 .section-3-container .product-detail-cards .product-detail-card .product-detail-img img{
    width:100%;
    height: auto;
    max-width: 160px;
    max-height: 140px;
}

.section-3 .section-3-container .product-detail-cards .product-detail-card a{
    text-decoration: none;
    color: green;
    font-size: 14px;

}

.section-3 .section-3-container .product-detail-cards .product-detail-card a:hover{
    color: #c45500;
}

.section-3 .section-3-container .product-detail-cards .product-detail-card .product-delievered-by{
    color: #232323;
    font-size: 12px;
}

.section-4{
    padding: 20px;
}
.section-4 .section-4-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-4 .section-4-container .sign-in-button{
    background-color: var(--amazon-major-color);
    height: 40px;
    width: 300px;
    border-radius: 10px;
}

.section-4 .section-4-container p{
    font-size: 14px;
    margin-top: 4px;
}

.product-detail{
    width: 100%;
    height: 700px;
}

.product-detail .product-container{
    margin: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.product-detail .product-container .product-picture{
    width: 50%;
}

.product-detail .product-container .product-picture img{
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(50, 50,50, 0);
}

.product-detail .product-container .product-description{
    width: 50%;
}

.product-detail .product-container .product-description .product-title{
    font-size: 28px;
    font-weight: 600;
    color: #121212;
}
.product-detail .product-container .product-description .product-price{
    margin-top: 20px;
    font-size: 24px;
    font-weight: 600;
}

.product-detail .product-container .product-description .product-about{
    margin-top: 20px;
    color: #121212;
}

.product-detail .product-container .product-description .buttons{
    width: 100%;
    height: 30px;
    align-items: center;
}

.product-detail .product-container .product-description .buttons .buybutton{
    width: 350px;
    height: 40px;
    background-color:rgb(250, 203, 62);
    margin-top: 100px;
    border-radius: 10px;
    border:2px solid #ff9604;
    padding:8px;
}

.product-detail .product-container .product-description .buttons .cartbutton{
    width: 350px;
    height: 40px;
    background-color:transparent;
    margin-top: 100px;
    border-radius: 10px;
    padding: 8px;
    border: 2px solid #f89501;
}
