/* custom/local fonts */
@font-face {
    font-family: 'BrandFontBold';
    src: url('fonts/BebasNeueBold.woff2') format('woff2'),
        url('fonts/BebasNeueBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BrandFontReg';
    src: url('fonts/BebasNeue-Regular.woff2') format('woff2'),
        url('fonts/BebasNeue-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html,
body {
    /* do not edit */
    margin: 0;
    background-color:black;
    /* set font for product body copy and default font colour */
    font-family: Arial, Helvetica, sans-serif;
    color:#ffc746
}

/* do not edit */
main, section {
    position: absolute;
    width: 1080px;
    height: 1920px;
    overflow: hidden;
}

main {
    /* do not edit */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* set background colour and image for main screens */
    /* if using 2 different backgrounds create class for other screen */
    background-color: #4b7492;
    background-image: url(../assets/main_background.jpg);
}

/* do not edit */
#catalogue > img,
#product-info > img,
#product-info > div,
#cart > img,
#cart > div {
    position: absolute;
}

/* brand logo position and size */
.brand-logo {
    top: 46px;
    left: 819px;
    width: 214px;
}

/* do not edit */
.product {
    cursor: pointer;
}

/* product title position and font settings */
#hl-title {
    left: 65px;
    right: 65px;
    top: 45px;
    font-family: 'BrandFontBold';
    font-size: 110px;
    color: #ffc746;
}

/* product price position and font settings */
#hl-price {
    left: 65px;
    right: 65px;
    top: 150px;
    font-family: 'BrandFontReg';
    font-size: 70px;
    color: #ffc746;
}

/* product image position */
.highlight-images {
    left: 65px;
    right: 65px;
    top: 260px;
    /* do not edit */
    height: 970px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.title{
    width: 40%;
    top: 20%;
}

/* product overview title position and font settings */
#hl-overview-title {
    left: 65px;
    right: 65px;
    top: 1300px;
    font-family: 'BrandFontReg';
    font-size: 50px;
    color:#002a49;
    
}

/* product overview position and font settings */
#hl-overview {
    left: 65px;
    right: 65px;
    top: 1370px;
    font-size: 30px;
    color: #002a49;
}

/* colour and size selection container */
.selection-holder {
    left: 65px;
    right: 65px;
    font-size: 20px;
    /* do not edit */
    display: flex;
    color: #002a49;
}

/* choose colour container position */
#choose-colour {
    top: 1560px;
}

/* selected colour text position */
#selected-colour-name {
    top: 1640px;
    left: 387px;
}

/* choose size container position */
#choose-size {
    top: 1685px;
}

/* choose size label positioning */
#choose-size .selection-label {
    padding-left: 50px;
}

/* colour and size label poistioning and font settings */
.selection-label {
    display: inline-block;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 30px;
    margin-right: 20px;
    margin-top: 5px;
    color: #002a49;;
}

/* do not edit */
.selection {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

/* colour and size buttons styles */
.selection > div {
    width: 70px;
    height: 70px;
    border: solid 3px #fff;
    /* do not edit */
    border-radius: 50%;
    transition: all 0.5s ease-out;
    cursor: pointer;
}

/* size button label styles */
.size-btn {
    background-color:#002a49;
    color: #ffc746;
    font-family: 'BrandFontBold';
    font-size: 30px;
    padding-top: 5px;
    /* do not edit */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* colour and size selected button styles */
.selected {
    border-radius: 0 !important;
}

/* screen instructions positioning and font settings */
.screen-instructions {
    left: 65px;
    top: 1840px;
    font-family:Arial, Helvetica, sans-serif;
    font-weight:bold;
    font-size: 24px;
    /* do not edit */
    position: absolute;
    color: #002a49;
}

/* cart background image */
#cart {
    background-image: url(../assets/main_background.jpg);
    /* do not edit */
    display: none;
    background-color: #002a49;
}


.cart-title {
    left: 65px;
    right: 65px;
    top: 65px;
    font-family: 'BrandFontBold';
    font-size: 110px;
    border: none; /* No border */
    
  
    
   
    
}

/* cart items scrollable section */
.cart-title {
    font-size: 90px;
    color:#ffc746;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    padding: 10px 0;
    border-radius: 12px;

    
}

/* cart items container... position and font settings */
.cart-items-holder {
    left: 16px;
    right: 65px;
    top: 190px;
    font-size: 22px;
  
    height: 1300px;

}

/* cart rows */
.cart-grid {
    /* keep this */
    display: grid;
    /* column width... image, title, colour, size, price, remove */
    grid-template-columns: 130px auto 190px 80px 90px 75px;
    /* space below */
    margin-bottom: 20px;

}

/* distance bewteen columns */
.cart-grid > span {
    padding-right: 20px;
}

/* styles for remove column */
.cart-grid > span:last-child {
    padding-right: 0;
    text-align: center;
    transform: translateY(10px);
}

/* reset transform on rermove column header */
.cart-items-header > span:last-child {
    transform: translateY(0);
}

/* column width for subtotal, taxes and total */
.cart-grid-total {
    /* keep this */
    display: grid;
    /* column width... label, value */
    grid-template-columns: auto 90px 125px;
    margin-bottom: 20px;
    margin-right: 3rem;
}
.total-label {
    font-family: 'BrandFontReg'; /* Replace with your actual font name */
    font-size: 28px;
    color:#002a49;
    background-color:#ffc746;
    border: none; /* No border */
    border-radius: 10%; /* Rounded corners */
    padding: 11px;
    padding-right: 7rem;
   
}

/* font settings for column header and total */
.cart-items-header{
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 24px;
    color:#ffc746;
    

    
}

/* do not edit */
.total-label-cost {
    text-align: right !important;
    margin-left: 3rem;
}

.total-label .total-label-cost{
    margin-right: 4rem;
}

/* keyline under header */
.cart-items-header {
    padding-bottom: 20px;
    border-bottom: solid 1px #fff;
    margin-bottom: 20px;
    color:#ffc746;
}

/* keyline above footer */
.cart-items-footer {
    padding-top: 20px;
    border-top: solid 1px #fff;
    margin-top: 20px;
}

/* remove item button */
.remove-item > div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color:#002a49;
    font-weight: bold;
    margin: 0 auto;
    transform: translateY(-10px);
    cursor: pointer;
}

/* colour swatch */
.swatch {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: solid 1px #fff;
    margin-right: 10px;
}

/* checkout steps for both screens */
#checkout-steps {
    /* do not edit */
    display: none;
    /* set background colour and image for main screens */
    /* if using 2 different backgrounds create class for other screen */
    background-image: url(../assets/main_background.jpg);
}
#checkout-steps h1 {
    margin: 100px 0;
    font-family: 'BrandFontBold';
    font-size: 280px;
    text-align: center;

}
#checkout-steps p {
    margin: 100px;
    font-family: 'BrandFontReg';
    font-size: 150px;
    text-align: center;
    line-height: 1.1;
    color: #002a49;
    background-color: #ffc746;
}

/* do not edit */
#warning {
    display: none;
}

/* Inactivity popup container design */
#content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center alignment */
    border-radius: 15px;
    background: linear-gradient(135deg, #004060, #002a49); /* Gradient for a modern look */
    color: #ffc746;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); /* Shadow for depth */
    text-align: center;
    animation: popupFadeIn 0.5s ease-in-out;
    padding: 40px;
    width: 80%; /* Responsive width */
    max-width: 500px; /* Limit width for larger screens */
}

/* Popup fade-in animation */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8); /* Slightly above center */
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1); /* Center aligned */
    }
}

/* Popup title design */
#content h2 {
    font-family: 'BrandFontBold';
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(255, 199, 70, 0.7); /* Glow effect for the title */
    color: #ffc746;
    letter-spacing: 2px;
}

/* Popup description text */
#content p {
    font-family: 'BrandFontReg';
    font-size: 24px;
    margin-bottom: 30px;
    color: #ffd966;
}

/* Countdown timer design */
#seconds {
    font-size: 64px;
    font-weight: bold;
    color: #ffc746;
    text-shadow: 0 0 10px #ffd966, 0 0 20px #ffc746; /* Glowing effect for urgency */
    animation: pulseTimer 1.5s infinite;
}

/* Timer pulse animation */
@keyframes pulseTimer {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Optional button styles */
#content button {
    font-family: 'BrandFontBold';
    font-size: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ffc746;
    color: #002a49;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#content button:hover {
    background-color: #ffd966;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(255, 199, 70, 0.5);
}
