body{
    background-color: black;
    margin: 0px;
}
a{
    display: flex;
}
.roboto-extra {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h2, h3, p, li, span, a{
    color: white;
}


/* HEADER BAR */
.header{
    width: 100%;
    height: 7dvh;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.header a {
    text-decoration: none;
}
.header-0{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 30dvw;
    padding-left: 0.5dvw;
}
.header-1{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 50dvw;
    height: 100%;
    position: relative;
}
.header-1 input{
    color: white;
    width: 40dvw;
    height: 65%;
    border: 1px solid white;
    border-radius: 30px;
    padding-right: 4dvw;
    padding-left: 2dvw;
    font-size: 15px;
    background-color: black;
}
.header-1 input:focus, textarea:focus, select:focus {
    border: 1px solid #007bff;
    outline: none;
    box-shadow: none; 
}
.header-1 img{
    position: absolute;
    right: 45px;
}
.header-1 img:hover{
    cursor: pointer;
}
.header-2{
    width: 20dvw;
    display: flex;
    flex-direction: row;
    justify-content: end;
    padding-right: 1dvw;
}
.cart:hover{
    cursor: pointer;
}

/* ALL PRODUCT ITEMS */
.grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
}
.product-link{
    text-decoration: none;
}
.card{
    text-align: center;
    border-radius: 7px;
    padding-inline: 3dvw;
    padding-block: 3dvh;
    margin-inline: 1dvw;
    margin-bottom: 3dvh;
    border: 1px solid white;
    transform-style: preserve-3d;
}
.card > h2{
    font-size: 16px;
}
.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 7px;
    transform: translateZ(20px);
}
.product-add2cart {
    display: inline-block;
    padding-inline: 25px;
    padding-block: 10px;
    background-color: #0735DB;
    border-radius: 7px;
    text-wrap: pretty;
    text-shadow: 0;
}
.product-add2cart:hover {
    cursor: pointer;
    background-color: #214FF0;
    transition: 0.5s background-color;
}

/* INDIVIDUAL PRODUCT PAGE */
.product-item{
    width: 100%;
    height: 93dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    column-gap: 5dvw;
}
.product-item > div:first-child{
    width: 40%;
    display: flex;
    justify-content: right;
}
.product-item > div:nth-child(2){
    width: 57%;
    margin-right: 3%;
}

.product-item-img{
    --size: 400px; 
    width: var(--size); 
    height: var(--size);
    border-radius: 7px;
}


/* Shopping Cart */
.cart-container{
    width: 90dvw;
    min-height: 30dvh;
    margin-inline: 5dvw;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    border-radius: 7px;
    flex-direction: column;
    position: relative;
}
.cart-product-info{
    display: flex;
    column-gap: 1dvw;
}
.shop-again{
    position: absolute;
    left: 1dvw;
    bottom: 1dvh;
    z-index: 100;
}
.clear-cart{
    position: absolute;
    right: 1dvw;
    bottom: 1dvh;
    z-index: 100;
}
.checkout {
    background-color: #6057F7;
    border-radius: 7px;
    padding-inline: 2dvw;
    margin-bottom: 2dvh;
    border: none;
    position: relative;
    overflow: hidden;
}
.checkout:hover {
    cursor: pointer;
    border: solid 1px white;
}
.checkout::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease-in-out;
}
.checkout:hover::after {
    left: 100%;
}

/* POLICIES */
.policies{
    width: 100%;
    height: 10dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 3dvw;
    text-align: center;
}
.policy{
    text-decoration: none;
    color: white;
}
.policy:hover{
    text-decoration: underline;
}
.policy-text{
    padding-inline: 2dvw;
}

/* PAYMENT SUCCESSFUL */
.payment-successful{
    width: 100%;
    height: 83dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding-inline: 20px;
}
.payment-successful > img{
    --size: 300px;
    width: var(--size); 
    height: var(--size);
}
.payment-successful > p{
    text-align: center;
}
/* MAKE RESPONSIVE */

/* Laptop + Half-Screen Laptop */
@media screen and (max-width: 1000px) {
    /* Product Page */
    .product-item-img{
        --size: 260px; 
        width: var(--size); 
        height: var(--size);
        border-radius: 7px;
    }
    .product-item > div:nth-child(2) > h2{
        font-size: 17px;
    }
    .product-item > div:nth-child(2) > p, .plan-row > p{
        font-size: 13px;
    }

    /* Payment Successful */
    .payment-successful > img{
        --size: 250px;
        width: var(--size); 
        height: var(--size);
    }
}

/* iPhone XR */
/* iPhone 14 Pro Max */
/* iPhone 15 Pro Max */
/* iPhone 16 Pro Max */
/* Pixel 7 */
/* Pixel 8 */
/* Pixel 9 */
/* Pixel 10 */
/* Samsung Galaxy S20 Ultra */
@media screen and (max-width: 450px) {
    /* Home Page */
    .logo{
        width: 40px;
        height: 40px;
    }
    .logo-name{
        font-size: 20px;
    }
    .header-1 input{
        box-sizing: border-box; 
        padding-right: 7dvw;
    }
    .header-1 img{
        right: 24px;
        width: 24px;
        height: 24px;
    }
    .cart {
        width: 24px;
        height: 24px;
    }
    .grid-container{
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .card > h2{
        font-size: 20px;
    }
    .policy{
        font-size: 14px;
    }

    /* Product Page */
    .product-item{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-block: 0px;
        height: 85dvh;
    }
    .product-item > div:first-child{
        width: 100%;
        min-height: 20dvh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-item-img{
        width: 300px;
        height: 300px;
    }
    .product-item > div:nth-child(2){
        width: 80%;
        margin-right: 0;
        text-align: center;
    }
    .product-item > div:nth-child(2) > h2{
        font-size: 18px;
    }
    .product-item > div:nth-child(2) > p{
        font-size: 14px;
    }

    /* Policies */
    .policy-text > h2{
        font-size: 18px;
    }
    .policy-text > h3{
        font-size: 15px;
    }
    .policy-text > p, .policy-text > ul{
        font-size: 12px;
    }

    /* Payment Successful */
    .payment-successful > img{
        --size: 200px;
        width: var(--size); 
        height: var(--size);
    }
    .payment-successful > p{
        font-size: 14px;
    }
}

/* iPhone SE */
/* iPhone 12 Pro */
/* Samsung Galaxy S8+ */
@media screen and (max-width: 399px) {
    /* Home Page */
    .logo{
        width: 35px;
        height: 35px;
    }
    .logo-name{
        font-size: 18px;
    }
    .header-1 input{
        font-size: 11px;
        padding-right: 6dvw;
    }
    .header-1 img{
        right: 20px;
        width: 21px;
        height: 21px;
    }
    .cart {
        width: 21px;
        height: 21px;
    }
    .card > h2{
        font-size: 14px;
    }
    .policy{
        font-size: 11px;
    }

    /* Product Page */
    .product-item{
        height: 95dvh;
    }
    .product-item-img{
        width: 200px;
        height: 200px;
    }
    .product-item > div:nth-child(2) > h2{
        font-size: 15px;
    }
    .product-item > div:nth-child(2) > p{
        font-size: 12px;
    }
    .plan-row > p{
        font-size: 12px;
    }

    /* Shopping Cart */
    .cart-container > h2{
        font-size: 18px;
    }
    .cart-container > a{
        font-size: 12px;
    }
    .cart-product-info > p{
        font-size: 12px;
    }
    .checkout > p{
        font-size: 13px;
    }

    /* Payment Successful */
    .payment-successful > img{
        --size: 150px;
        width: var(--size); 
        height: var(--size);
    }
    .payment-successful > p{
        font-size: 12px;
    }
}