*,
*::before,
*::after {
  box-sizing: border-box;
}


body{
	font-family: sans-serif;
	color: white;
	background: black;
	border: 0;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
    overflow-x: hidden;
}


html, body {
    width: 100%;
    min-width: 0;
}

/* ============================= */
/* BLUE BASE GLOW (VISIBLE FIX) */
/* ============================= */

#ambient_bg::before{
    content:"";
    position:absolute;
    inset:0;

    background:
        radial-gradient(1200px 700px at 60% -18%,
            rgba(40,120,255,.55) 0%,
            rgba(20,70,220,.25) 35%,
            rgba(0,0,0,0) 65%),

        radial-gradient(900px 600px at 20% -6%,
            rgba(0,140,255,.25) 0%,
            rgba(0,0,0,0) 70%);

    animation:ambientBlueMove 18s ease-in-out infinite alternate;
}


/* ============================= */
/* PURPLE LAYER (VISIBLE FIX)   */
/* ============================= */

.ambient_purple{
    position:absolute;
    inset:-10%;
    max-width: 100%;

    background:
        radial-gradient(700px 500px at 85% 20%,
            rgba(180,60,255,.35) 0%,
            rgba(0,0,0,0) 70%),

        radial-gradient(900px 700px at 70% 40%,
            rgba(130,40,255,.22) 0%,
            rgba(0,0,0,0) 75%);

    filter:blur(100px);
    mix-blend-mode:screen;

    animation:ambientPurpleMove 13s ease-in-out infinite alternate;
}


.footer_social {
    margin-top: 10px;
    display: flex;
    gap: 12px;
}

.footer_social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    text-decoration: none;
}

.footer_social svg {
    width: 100%;
    height: 100%;
    fill: #FFC107; /* your yellow */
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer_social a:hover svg {
    opacity: 1;
    transform: translateY(-1px);
}

/* --- SECTION WRAPPER --- */
.touch-demo {
  position: relative;
  height: 400px;
  min-height: 400px;
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  align-items: left;
  justify-content: left;
  text-align: left;
  color: white;
  border-top: 1px solid #ffffff3d;
  border-bottom: 1px solid #00000073;
}

/* --- VIDEO + IMAGE BACKGROUND LAYER --- */
.video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Make both video + freeze frame behave identically */
.video-wrapper video,
.video-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- LAYERING --- */
.video-wrapper video {
  z-index: 1;
}

#freezeFrame {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none; /* prevents blocking clicks */
  filter: brightness(1.15) contrast(0.85);
}

/* --- CONTENT (TEXT + BUTTON) --- */
.content {
  position: relative;
  z-index: 4;
  max-width: 350px;
  padding: 20px;
}

/* --- BUTTON --- */
#toggleBtn {
    margin-top: 15px;
    padding: 12px 24px;
    background: #ffc106;
    color: #303030;
    border: none;
    cursor: pointer;
    font-family: 'Exo';
    font-size: 16px;
    font-weight: 600;
    margin-left: 50px;
    border-radius: 3px;
    border-bottom: 2px solid #99760d;
    text-transform: uppercase;
}

/* --- OPTIONAL: "LIGHT ON" STATE --- */
.touch-demo.on::after {
  background: rgba(0,0,0,0.15); /* lighter overlay = brighter feel */
}

.content {
  position: relative;
  z-index: 2;
  max-width: 350px;
  padding: 20px;
}

#replayBtn {
  margin-top: 15px;
  padding: 10px 20px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
}


.team-image {
    float: right;
    width: 350px;
    height: 280px;
    margin: 0px 0px 0px 10px;
    background-image: url(img/team.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#shop_notice{
    background: #982b0a;
    border: 1px solid #FFAB91;
    border-radius: 3px;
    margin-bottom: 15px;
    font-size: 16px;
    padding: 5px 15px;
    box-sizing: border-box;
    line-height: 22px;
    color: #FFAB91;
}



/* ===== PAGE FADE IN ===== */

#page_wrap {
    opacity: 0;
}

h2{
        font-family: 'Exo';
    font-weight: 400;
    margin-left: 50px;
    margin-block-end: 10px;
}

#sketches{
    background-image: url(img/sketches_sml.jpg);
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    margin: 0px;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 50vh;
    mix-blend-mode: lighten;
    opacity: 0.03;
}


#page_wrap.page_loaded {
    opacity: 1;
    transition:
        opacity 0.6s ease,
}

.exo_footer {
    padding: 50px 25px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

.footer_inner {
    max-width: 900px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.footer_col {
    display: flex;
    flex-direction: column;
}



.footer_text {
    margin: 0 0 12px 0;
    line-height: 1.6;
    padding: 0!important;
}

.footer_text.small {
    font-size: 13px;
    opacity: 0.7;
}

.footer_links a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.footer_links a:hover {
    opacity: 1;
}


#pen_width_limiter{
        max-width: 1280px;
    position: relative;
    display: block;
    margin: auto;
}


.specs_section {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 25px;
    color: white;
    font-family: 'Exo';
    font-size: 18px;
}

.specs_section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-family: 'Exo';
    font-weight: 400;
}

.specs_table {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 5px;
    margin-top: 50px;
    overflow: hidden;
}

.spec_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 18px 22px;
    align-items: center;
}

.spec_row:not(:last-child) {
    border-bottom: 1px solid rgb(67 67 67);
}

.spec_label {
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.spec_value {
    text-align: right;
    font-weight: 300;
}

.spec_row:hover {
    background: rgba(255,255,255,0.04);
}



#mobile_menu {
    position: absolute;

    z-index: 10;
    top: 70px;
    right: 0;
    width: 60%;
    background: rgb(59 59 59 / 92%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
    max-height: 0;
    font-family: 'EXO';
    font-size: 20px;
    border-top: 1px solid #ffffff52;
    border-bottom: 1px solid black;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;

}

/* open state */
#mobile_menu.open {
    max-height: 300px;
    opacity: 1;
}

#mobile_menu a {
    display: block;
    padding: 18px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
}

#mobile_menu a:hover {
    background: rgba(255,255,255,0.08);
}



.top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px; /* controls fade distance */

    background: radial-gradient(920px 1200px at 50% -200px, #756d61 0%, #423f39 35%, #1a1a1a 65%, #000000 90%);

    pointer-events: none; /* allows clicks through */
    z-index: -1;
    display: none;
}

.colour-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.colour-option {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.35);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.colour-option-black{
    background-color: #222;
}
.colour-option-blue{
    background-color: #335cc5;
}
.colour-option-red{
    background-color: #c10100;
}

/* smooth animation */
.colour-option {
    transition:
        border-color 0.2s ease,
        box-shadow 0.25s ease,
        transform 0.1s ease;
}

.colour-option.active {
    color: white;
    border-color: #FFC107;

    /* yellow selection line */
    box-shadow:
        inset 0 -4px 0 #FFC107;

    position: relative;
}

.colour-option-black.active {
    box-shadow:
        inset 0 -4px 0 #FFC107,
        0 0 10px rgba(255,255,255,0.15);
}

.colour-option-blue.active {
    box-shadow:
        inset 0 -4px 0 #FFC107,
        0 0 14px rgba(80,110,255,0.45);
}

.colour-option-red.active {
    box-shadow:
        inset 0 -4px 0 #FFC107,
        0 0 14px rgba(255,60,60,0.45);
}

.colour-option:hover {
    border-color: white;
}



.product-hero {
    font-family: 'Exo';
    color:white;
    max-width: 900px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 200px;
    min-height: 420px;
    background: linear-gradient(77deg, #2e2e2e, #7b7b7b);
    border-top: 1px solid #ffffff3d;
    border-bottom: 1px solid #00000073;
    border-radius: 5px;
    overflow: hidden;
}

.product-hero p{
    padding-left: unset;
    padding-right: unset;
}

.product-content {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.product-content h2 {
    margin-top: 0;
    font-size: 28px;
}

.checkout-btn {
    margin-top: 20px;
    padding: 14px 22px;
    font-size: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.checkout-btn:hover {
    opacity: 0.85;
}

.product-image {
    position: relative;
    height: 100%;
    transition: 0.5s;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.price-info-row {
    display: flex;
    flex-wrap: wrap;     /* allows stacking when needed */
    gap: 8px;            /* spacing between chips */
}

.price_info{
    font-weight: 500;
    box-sizing: border-box;
    position: relative;
    display: inline-flex;
    border: 1px solid white;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    align-self: flex-start;
    align-items: center;
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.35);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/*
.product-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(0,0,0,0) 60%,
        rgba(65,65,65,1) 100%
    );
}
*/


#buyButton{
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    border: 0px;
    background-color: #ffc106;
    border-bottom: 2px solid #00000036;
    font-family: 'Exo';
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.8px;
    transition: 0.3s;
    margin-top: 15px;
    color:black;
    width: 200px;
}

#buyButton:hover{
    background-color: #ffc106;
    color: white;
    translateY:-2px;
}

.pen_colour_list{
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    width: 200px;
    height: 50px;
    border: none;
    border-radius: 5px;
    font-family: 'Exo';
    font-size: 16px;
    font-weight: 500;
    background-color: #ffc106;
    border-bottom: 2px solid #00000036;
    margin-top: 10px;
}



#shop_price{
    top: -470px;
    display: block;
    position: absolute;
    /* background: black; */
    color: black;
    border: 4px solid black;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    text-align: center;
    font-size: 40px;
    font-family: 'Exo';
    padding-top: 33px;
    box-sizing: border-box;
    right: 40px;
}

#mob_shop_price{
    top: -470px;
    display: none;
    position: absolute;
    /* background: black; */
    color: black;
    border: 4px solid black;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    text-align: center;
    font-size: 40px;
    font-family: 'Exo';
    padding-top: 33px;
    box-sizing: border-box;
    right: 40px;
}

.exo_bodytext {
  font-family: "Exo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.exo_heading {
  font-family: "Exo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
}

.exo_footer {
  font-family: "Exo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

p{
    padding-left: 50px;
    padding-right: 50px;
}

a:link{
    color: inherit;
}

a:visited{
    color: inherit;
}

#pen_header{
    width: 100%;
    height: 640px;
    left: 0px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

#normal_header{
    width: 100%;
    height: 180px;
    left: 0px;
    display: inline-block;
    position: relative;
}

.big_pen{
	position: absolute;
    display: block;
    height: 500px;
    width: 70px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.3s;
    will-change: transform;
    transform-style: preserve-3d;
}

.pen_parallax {
    position: absolute;
    will-change: transform;
}

@keyframes floatA {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    50% {
        transform: translate(5px, -10px) rotate(0.6deg);
    }
    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}
@keyframes floatB {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    50% {
        transform: translate(-7px, -8px) rotate(-0.5deg);
    }
    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}
@keyframes floatC {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    50% {
        transform: translate(3px, -12px) rotate(0.45deg);
    }
    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}
.float1 {
    animation: floatA 10s ease-in-out infinite;
    animation-delay: -2s;
}

.float2 {
    animation: floatB 12s ease-in-out infinite;
    animation-delay: -5s;
}

.float3 {
    animation: floatC 14s ease-in-out infinite;
    animation-delay: -8s;
}

#big_pen_black{
	background-image: url(img/black_pen_no_bg_sml.png);
}

#big_pen_blue{
    background-image: url(img/blue_pen_no_bg_sml.png);
}

#big_pen_red{
	background-image: url(img/red_pen_no_bg_sml.png);
}

#big_pen_box_blue{
    left: 24%;
    rotate: -57deg;
    top: 28px;
    z-index: 10;
    pointer-events: none;
}

#big_pen_box_black{
    right: 10%;
    top: -90px;
    rotate: 29deg;
    z-index: 1;
    pointer-events: none;
}

#big_pen_box_red{
    left: 7%;
    top: 160px;
    rotate: -26deg;
    z-index: 1;
    pointer-events: none;
}

#nav_wrapper{
	z-index: 10;
	position: fixed;
	display: block;
	width: 100%;
	height: 150px;
}

#nav{
    z-index: 10;
    position: relative;
    max-width: 900px;
    height: 60px;
    background: #4c4c4c6b;
    margin: auto;
    top: 80px;
    border-radius: 10px;
    border-bottom: 1px solid #ffffff2e;
    backdrop-filter: brightness(0.5) blur(10px) saturate(3.5);
    border-top: 1px solid #ffffff17;
    box-shadow: 1px 2px 15px #00000057;
}

#nav_logo{
	position: absolute;
    display: block;
    height: 120px;
    width: 120px;
    background-image: url(img/mimf_logo.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    left: 20px;
    top: -30px;
    cursor: pointer;
}

.nav_item{
    display: inline-block;
    position: relative;
    float: right;
    height: 100%;
    /* background: red; */
    padding: 25px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    padding-top: 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    border-radius: 3px;
    height: 40px;
    top: 10px;
    padding-top: 8px;
    font-family: "Exo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;

}

.nav_item:hover{
    color:#ffc106;
}

.primary_nav_item{
    background: #FFC107;
    color: black;
    border-radius: 3px;
    height: 40px;
    top: 10px;
    padding-top: 8px;
    margin-right: 10px;
    margin-left: 10px;
}

.primary_nav_item:hover{
    background: #ffdb70!important;
}


#pen_logo{
	position: absolute;
    display: block;
    height: 440px;
    width: 450px;
    background-image: url(img/pen_logo.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    left: calc(50% - 225px);
    top: 190px;
    z-index: 2;
    filter: drop-shadow(0px 27px 14px #00000064);
}

#page_body{
	font-size: 22px;
    line-height: 30px;
    max-width: 800px;
    box-sizing: border-box;
    /* display: inline-block; */
    position: relative;
    margin: auto;
    z-index: 1;
}

footer{
    width: 100%;
    height: 200px;
    margin-top: 50px;
    display: inline-block;
    bottom: 0px;
    position: relative;
}

#footer_container{
    border-top: 2px solid #fbbe0d;
    max-width: 800px;
    padding-top: 40px;
    color: #fbbe0d;
    display: block;
    margin: auto;
    box-sizing: border-box;
    padding: 30px 50px;
}

.line_split{
    border-top: 2px solid #484848;
    max-width: 900px;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    display: block;
}

#pen_demo{
    position: relative;
    display: inline-block;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

#demo_pen_body{
    position: relative;
    display: block;
    height: 80%;
    top: 0px;
    width: 100%;
    background-image: url(img/blue_pen_dark.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: top 1s cubic-bezier(1, -0.01, 1, 0.49), background-image 0.2s ease-out;
}

#demo_pen_base{
    position: relative;
    display: block;
    height: 20%;
    bottom: 0px;
    width: 100%;
    background-image: url(img/pen_base.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#demo_pen_preload{
    position: relative;
    display: fixed;
    pointer-events: none;
    height: 1px;
    bottom: 0px;
    width: 1px;
    background-image: url(img/blue_pen_lit.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.pen_on_base{
    top:65px!important;
}

.pen_on{
    background-image: url(img/blue_pen_lit.png)!important;
}

.pen_fact_wrapper{
    position: absolute;
    z-index: 1;
    display: block;
    width: 40%;
    padding-left: 0px!important;
    padding-right: 0px!important;
}

#fact_1{
    top: 50px;
    left: 0px;
}

#fact_2{
    top: 190px;
    right: 0px;
}

#fact_3{
    top: 380px;
    left: 0px;
}

#fact_4{
    top: 600px;
    right: 0px;
}

.pen_fact_header{
    font-family: "Exo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin-block-end: 0px;
    margin-inline: 0px;
    padding-left: 0px!important;
    padding-right: 0px!important;
}

.pen_fact_line{
    position: relative;
    display: inline-block;
    width: 120%;
    height: 1px;
    border-top: 1px solid #ffffff63;
    left: 0%;
}

.pen_fact_line_right{
    position: relative;
    display: inline-block;
    width: 120%;
    height: 1px;
    border-top: 1px solid #ffffff63;
    left: -20%;
}

.pen_fact_text{
    font-family: "Exo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    margin-block-end: 0px;
    margin-block-start: 3px;
    padding-left: 0px!important;
    padding-right: 0px!important;
}

.right_align{
    text-align: right;
}

#colour_wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.colour_swatch{
    position: relative;
    width: 160px;
    height: 30px;
    border-radius: 3px;
    font-family: "Exo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    margin: 10px;
}


.blue_swatch{
    background-color: #325cc5;
}

.black_swatch{
    background-color: #222;
}

.red_swatch{
    background-color: #c10000;
}

#mobile_menu_button{
    background-image: url(img/menu_icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    float: right;
    position: relative;
    width: 45px;
    height: 45px;
    right: 20px;
    top: 7px;
    display: none;
}


.gallery {
    max-width: 900px;
    margin: 80px auto;
}

.gallery-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.gallery-viewer {
    background: #262626;
    border-radius: 12px;
    overflow: hidden;
    height: 670px;              /* FIXED viewing window */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-viewer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;        /* IMPORTANT */
    transition: opacity 0.25s ease;
    transform: scale(1.1);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    opacity: 1;
    outline: 2px solid #FFC107;
}



/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 549px) {

    .touch-demo{
        margin-bottom: 50px;
    }

    #pen_logo{
        height: 370px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

     .footer_inner {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer_links {
        align-items: center;
    }

    .spec_row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .spec_value {
        text-align: left;
        font-size: 17px;
    }


     #mobile_menu_button {
        display: flex;
    }

    #nav_links {
        display: none;
    }

    .gallery-layout {
        grid-template-columns: 1fr;
    }

    .gallery-viewer {
        height: 560px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-hero {
        grid-template-columns: 1fr;
        margin: 0px 0px;
    }

    .product-image {
        order: -1;   /* moves image above text */
        height: 60px;           /* controls banner height */
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-top: 30px;
    }

    .product-image img {
        transform: rotate(90deg);
        height: auto;
        width: 55%;
        object-fit: contain;
    }

    .product-content {
        padding: 28px 22px;
    }

    #mob_shop_price{
            top: -20px;
    display: block;
    position: absolute;
    /* background: black; */
    color: black;
    border: 4px solid black;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    font-family: 'Exo';
    padding-top: 23px;
    box-sizing: border-box;
    right: 55px;
    }

    .pen_colour_list{
        width: 75%;
    }

    #buyButton{
        width: 75%;
    }

    #pen_fact_line{
        display: none;
    }

    #menu_icon{
        display: block;
    }

    #shop_area{
        border-radius: 0px;

    }

    .content{
            position: relative;
    z-index: 2;
    max-width: 350px;
    padding: 20px;
    background: linear-gradient(90deg, #00000099, #00000000);
    }

    .team-image{
    float: none;
    width: 100%;
    height: 290px;
    margin: auto;
    background-image: url(img/team.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    }

    #nav_wrapper{
        position: absolute;
    }


    #demo_pen_preload{
    }
    
    #demo_pen_body{
        height: 380px;
        width: 100%;
        right: 0;
        position: absolute;
    }
    #demo_pen_base{
        height: 380px;
        width: 100%;
        right: 0;
        top: 259px;
        position: absolute;
    }

    #demo_pen_body,
    #demo_pen_base {
        transform: translateX(34%);
        right: 0;
    }
  

    #fact_1{
        top:unset;
        left:unset;
    }
    #fact_2{
        top:unset;
        left:unset;
    }
    #fact_3{
        top:unset;
        left:unset;
    }
    #fact_4{
        top:unset;
        left:unset;
    }

    .pen_fact_wrapper{
        position: relative;
        display: inline-block;
        width: 60%;
        margin: auto;
        margin-left: 10%;
        text-align: left!important;
    }

    #shop_area_left{
        width: 100%;
    }

    #shop_area_right{
        display: none;
    }

    .colour_swatch{
        width: 180px;
    }

    #pen_demo{
        height: unset;
        padding-bottom: 50px;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }

    .photo_thumbnail{
        width: 47.35%!important;
    }

    .pen_fact_line{
        display: none;
    }
    .pen_fact_line_right{
        display: none;
    }

    .right_align{
        text-align: left!important;
    }

    #nav{
        max-width: 90%;
        width: 90%;
        box-sizing: border-box;
        margin-left: 5%;
        top:60px;
    }

    .nav_item{
        display: none!important;
    }

    #big_pen_black{
    background-image: url(img/black_pen_no_bg_sml.png);
    }

    #big_pen_blue{
        background-image: url(img/blue_pen_no_bg_sml.png);
    }

    #big_pen_red{
        background-image: url(img/red_pen_no_bg_sml.png);
    }

    #big_pen_box_blue{
        left: 11%;
        rotate: -42deg;
        top: 12px;
        z-index: 1;
    }

    #big_pen_box_black{
        right: -6%;
        top: -190px;
        rotate: 31deg;
        z-index: 1;
    }

    #big_pen_box_red{
        left: -21%;
        top: 482px;
        rotate: 293deg;
        /* filter: blur(3px) brightness(0.8); */
        z-index: 1;
    }

}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 550px) and (max-width : 770px) {


    #big_pen_box_blue{
        left: 20%;
        z-index: 0;
    }


}




.photo_gallery{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.photo_thumbnail{
    display: inline-block;
    position: relative;
    width: 253px;
    border-radius: 3px;
    transition: 0.3s;
    height: 250px;
    background-size: cover;
    box-sizing: border-box;
    background-position: center;
}


.photo_thumbnail:hover{
    filter: brightness(1.1);
    transform: scale(1.05);
    opacity: 1;
}




#zoomed_image{
    background: transparent;
    z-index: 9999;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    transform: rotate(0.5deg) scale(1.02) translateY(-5px);
    transition: all 0.3s ease-in-out, background-size 1s ease-in-out;
}

#backshade{
    opacity: 0;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100vh;
    background: black;
    transition: 0.5s;
    z-index: 10;
    pointer-events: none;
}   

.backshade_on{
    opacity: 0.85!important;
}

.fullscreen_image{
    position: absolute!important;
    width: 90.5%!important;
    height: 90vh!important;
    left:4.5%!important;
    background-size: contain!important;
    background-repeat: no-repeat!important;
    transform: rotate(0deg) scale(1) translateY(0px)!important;
}

.imagebox:hover{
    transition: 0.5s;
    /* transform: rotate(0.1deg) scale(1.01) translateY(-2px); */
    box-shadow: 0px 3px 10px #00000024;
    z-index: 99999;
    filter: brightness(1.05);
}

.image_in_view:hover{
    transform: unset!important;
    box-shadow: unset!important;
    filter: unset!important;
}

.imagebox{
    transition: 0.3s ease-out;
}

.fadeOutImage{
    opacity: 0;
    transition-timing-function: ease-in;
    background-size: contain!important;
    background-repeat: no-repeat!important;
}

.image_in_view{
    z-index: 109990!important;
    height: 100%!important;
    max-height: 90vh!important;
    width: 100%!important;
    background-size: contain!important;
    max-width: 90%!important;
    position: fixed!important;
    left: 5%;
    top: 5vh;
    transition: 0s ease-in!important;
    background-color: transparent;
}


#image_viewer{
    background-color: #00000000;
    backdrop-filter: blur(5px);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    z-index: 99;
    pointer-events: none;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.image_viewer_visible{
    background-color: #000000d9!important;
    pointer-events: all!important;
}

.expand_image_button{
    background: white;
    position: relative;
    display: inline-block;
    margin: 10px;
    /* padding: 5px 10px; */
    border-radius: 2px;
    font-weight: 900;
    opacity: 0;
    transition: 0.3s;
    cursor: pointer;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    background-image: url(../img/expand_icon_dark.png);
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(0.8);
}

.collapse_image_button{
    background: #00000078;
    position: relative;
    display: block;
    padding: 5px 5px 0px 5px;
    color: white;
    border-radius: 4px;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    height: 30px;
    /* box-sizing: border-box; */
    margin: 30px;
    text-align: center;
    margin: auto;
    width: 260px;
    top: 30px;
}

.imagebox:hover .expand_image_button{
    opacity: 0.5;
    transform: scale(1);
}



.expand_image_button:hover{
    opacity: 1!important;
}

@media (prefers-reduced-motion: reduce) {
    body {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}