﻿  @import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
  @import url('https://fonts.cdnfonts.com/css/poppins');
  @import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');
  @font-face {
    font-family: 'Amazon Ember';
    src: url('../amazon-ember/Amazon Ember.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  :root {
    --window_w : 1024px;
    --card-width: 175px;
    --card-height: 175px;
    --background-color-about: #ccc;
    --background-color-contact: #1E1E20;
    --background-color-books: #fff;
    --background-color-services: #1E1E20;
    --background-color-products: #1E1E20;
    --background-color-main: #1E1E20;
    --font-scale: 1.2;
    --arena-top: 240px;    
    --subtitle-top: 195px;
  }

  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  h1 { font-size: calc(--font-scale * 40px); }
  h2 { font-size: calc(--font-scale * 33px); }
  h3 { font-size: calc(--font-scale * 30px); }
  h4 { font-size: calc(--font-scale * 23px); }
  h5 { font-size: calc(--font-scale * 19.2px); }
  p { font-size: calc(--font-scale * 13.33px); }
  small { font-size: calc(--font-scale * 11px); }
  a {
    text-decoration: none;
    color: inherit;
  }

  body {
    background: white;
    margin: 0 auto;
    overflow: scroll;
  }

  /* Apply to the scrollable element (e.g., body or a specific container) */
  .hide-scrollbar {
    overflow: auto;               /* Enable scrolling */
    -ms-overflow-style: none;     /* IE & old Edge */
    scrollbar-width: none;        /* Firefox */
  }

  /* Hide for WebKit browsers (Chrome, Safari, Opera) */
  .hide-scrollbar::-webkit-scrollbar {
    display: none;
  }
  html.hide-scrollbar,
  body.hide-scrollbar {
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  html.hide-scrollbar::-webkit-scrollbar,
  body.hide-scrollbar::-webkit-scrollbar {
    display: none;
  }

  #container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    display: flex !important;
    flex-direction: column;
    
  }

  #top_container {
    width: var(--window_w);
    background: url(../media/clouds.jpg);
    background-size: 100% 100%;
    height: 182px;
    display: flex;
    position: absolute;
    top: 0px;
    flex-direction: column;
    box-shadow: #292827 5px 5px 5px 5px;
    border: 1px black solid;
  }
  #booting_logo {
    width:324px;
    height:181px;
    left:75%;
    position:relative;
    align-self: flex-start;
    transform: translate(-50%);
    background-image: url('../media/logo_transparent.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .sub_title {
    width: var(--window_w);
    height: 30px;
    font-family: MedievalSharp;
    font-size: 22px;
    text-align: center;
    box-shadow: #292827 5px 5px 5px 5px;
    background-color: white;
    align-self: flex-start;
    position: absolute;
    top: var(--subtitle-top);
    display: flex;
    flex-direction: row;
    align-items: left;
    justify-content: center;
    text-align: center;
  }
  
  .sub_title a {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 22px;
    color: #000;
    text-decoration: none;
    font-weight: normal;
    padding: 0 50px;
  }
  .envelope {
    font-family: wingdings, sans-serif;
   }

 .group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100svw;
    min-height: 350px;
    height: auto;
    position: relative;
    box-shadow: #292827 5px 5px 5px 5px;
    
  }
 #arena, .arena {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: var(--window_w);
    height: auto;
    position: absolute;
    background-color: white;;
  }

  #arena::after, .arena::after {
    content: 'All content © Booting.co.uk';
    width: var(--window_w);
    height: 30px;
    font-family: MedievalSharp; 
    font-size: 22px;
    text-align: center;
    align-self: flex-end;
    align-items: center;
    box-shadow: #292827 5px 5px 5px 5px;
    background-color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
    z-index: 999;
  }

  @keyframes roll {
  0%   { transform: perspective(1000px) rotateX(0deg) translateY(0px);}
  100% { transform: perspective(1000px) rotateX(360deg) translateY(0px); }
  }
.download {
 padding : 10px 5px; 
 width: 200px;
 height: 30px;
 background-color : blue;
 color: white;
 border-radius: 5px;
}

  #arena-free {
   width: var(--window_w);
    top: var(--arena-top);
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 22px;
    justify-content: center;
    align-items: center;
    box-shadow: #292827 5px 5px 5px 5px;
    z-index: 2;
    height: auto;
    background-color: var(--background-color-about);
  }

  #arena-about {
    width: var(--window_w);
    top: var(--arena-top);
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 22px;
    justify-content: center;
    align-items: center;
    box-shadow: #292827 5px 5px 5px 5px;
    z-index: 2;
    height: auto;
    background-color: var(--background-color-about);
  }

  #arena-about button {
    font-family: 'wingding';
    font-size: 20px;
    float: left;
  }

  #arena-about P {
    width: 95%;
    margin: 5px 5px;
    font-family: 'fantasy', sans-serif;
    font-size: 1.4rem;
    color: rgb(0, 0, 0);
    text-align: left;
    line-height: 1.5em;
  }

  #arena-about h1 {
    font-family: 'ICA Rubrik', sans-serif;
    font-size: 3rem;
    color: #49a56f;
    text-shadow: 0 5px 5px #000;
    margin: 0px 10px;
  }
  #arena-about h2 {
    font-family: 'ica-rubrik-black', sans-serif;
    font-size: 2rem;
    color: #2f24ca;
    text-shadow: 0 2px 2px #000000;
    margin: 0px 10px;
    left: calc(50% - 100px);
  position: relative;
  }
  #arena-about img {
    width: 150px;
    height: 200px;
    border-radius: 5%;
    box-shadow: 0 5px 5px #222121;
    left: calc(50% - 75px);
    position: relative;
  }

  #arena-services {
    width: var(--window_w);
    top: var(    --arena-top);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: #292827 5px 5px 5px 5px;
    z-index: 2;
    height: 1000px;
    background-color: var(--background-color-services);
  }

  .arena-products {
    width: var(--window_w);
    top: var(--arena-top);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: #292827 5px 5px 5px 5px;
    z-index: 2;
    height: 1000px;
    background-color: var(--background-color-products);
  }
  .arena-contact {
    width: var(--window_w);
    top:var(--arena-top);
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 22px;
    justify-content: center;
    align-items: center;
    box-shadow: #292827 5px 5px 5px 5px;
    z-index: 2;
    height: auto;
    background-color: var(--background-color-contact);
  }

  .library
  {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    inset: 0;
    background-image: url('../media/library.png');
    background-size: cover;
    background-position: top;
    animation: bgZoomOut 4s ease-in-out 1 forwards;
    animation-delay: 3s;
    z-index: 99999;
    pointer-events: none;
  }

  @keyframes bgZoomIn {
    from {
      transform: scale(2);
    } to {
      transform: scale(1);
    }
  }
  @keyframes bgZoomFade {
    from {
      transform: scale(2);
      opacity: 1;
    } to {
      transform: scale(1);
      opacity: 0;
      --back : black;
    }
  }

  @keyframes bgZoomOut {
    0% { transform: scale(1); }
    50% { opacity:1; }
    100% { transform: scale(7);
            opacity: 0;
    }
  }

  @keyframes fade-in {
    100% { transform: translate(0px,calc(--window_h*-1.45));
    width:1024px;
    height: 40px;
    }
  }

  .subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2em;
    color: white;
    position: relative;
    left: -50%;
    top: 120px;
    width: 300px;
    transform: translateX(50%);
  }

     #menu-button {
      width: 200px;
      height: 30px;
      padding: 0px 10px;
      background-color: transparent;
      color: black;
      border: none;
      cursor: pointer;
      border-radius: 5px;
    }
      #menu-button:hover {
      color:#007BFF;
    }

    #menu-box {
      display: none;
      position: absolute;
      top: 30px;
      left: 0px;
      flex-direction: row;
      flex-wrap: wrap;
      background-color: white;
      border: 1px solid #ccc;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      padding: 10px;
      min-width: 150px;
      z-index: 100;
      width: 100svw;
      height: 500px;
      border-radius: 5px;
      text-decoration: none;
      font-family: fantasy;
      font-size: 1.2em;
    }

    #menu-box a {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      height:40px;
      padding: 8px;
      color: black;
      transition: transform 1s ease;
    }

    #menu-box a:hover {
      background-color: #2f24ca;
      color: white;
    }

    /* Show menu on hover */
    #menu-wrapper:hover #menu-box {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }

   #menu-wrapper {
   width: 200px;
    height: 25px;
      position: relative;
      top: -5px;
      left: 8px;
      display: inline-block;
      background-color: transparent;
      font-family: fantasy;
      font-size: 1.2em;
      transition: transform 1s ease;
      z-index: 9999;   }

    #menu-wrapper span {
      position: absolute;
      left: 140px;
      top: 15px;
      transform: translateX(-100%);
      width: 20px;
      height: 2px;
      background: black;
      transition: transform 0.3s ease;
      transform-origin: center;
    }

    /* Horizontal bar */
    #menu-wrapper span:nth-child(1) {
      transform: translate(-50%, -50%) rotate(0deg);
    }

    /* Vertical bar */
    #menu-wrapper span:nth-child(2) {
      transform: translate(-50%, -50%) rotate(90deg);
    }

    /* Hover effect: rotate into X */
    #menu-wrapper:hover span:nth-child(1) {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    #menu-wrapper:hover span:nth-child(2) {
      transform: translate(-50%, -50%) rotate(-45deg);
    } 

  @keyframes show-gallery {
    0% {
    width:0%;
    height:0%;
    left: calc(50% - 10%);
    top:1000px;
    }
    100% {
    width:var(--window_w);
    height: auto;
    opacity: 1;
    left: 50%;
    top: 40px;
    transform: translateX(-10%);
    }
  }

  .gallery{
      width: 0;
      height: 0;
      opacity: 0;
      position: absolute;
      z-index: 30;
      animation: show-gallery 4s ease-in-out 1 forwards;
    animation-delay: 5s;
  }
  .gallery .slider{
      position: relative;
      width: 200px;
      height: 400px;
      transform-style: preserve-3d;
      transform: perspective(1000px);
      animation: autoRun 30s linear infinite;
      z-index: 99;
  }
    
  
  @keyframes autoRun{
      from{
          transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
      }to{
          transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
      }
  }

  .gallery .slider .item{
      position: absolute;
      inset: 0 0 0 0;
      transform: 
          rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
          translateZ(300px);
    &:img{
      width:  var(--card-width) ;
      height:  var(--card-height); 
      object-fit: fill ;
      backface-visibility: hidden;
  }
  }
    #contact {
      position: relative;
      width: 100svw;
      height: 100svh;
      z-index: 11;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      vertical-align: top;
      overflow: visible;
    }

  .arena-banner {
    width: var(--window_w);
    position: absolute;
    top:var(--arena-top);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: #292827 5px 5px 5px 5px;
    height: 600px;
    background-image: url('../media/top.jpg');
    background-size: cover;
    transform-style: preserve-3d;
  }

  .arena-banner h1 {
      position: relative;
      top:130px;
      font-family: 'ICA Rubrik';
      font-size: calc(3.4em * var(--font-scale));
      color: green;
      text-shadow:0 2px 2px #000;
      scale:1.4;
  }
    #contact h1 {
      position:relative;
      top: -120px;
      scale: 0.5;
      left:7%;
    
    }
    
  .arena-banner h2{
      font-family: 'ICA Rubrik';
      font-size: 3.4em;
      color: white;
      text-shadow:0 2px 2px #000;
      position: relative;
      top:135px;
      
  }

    .arena-banner P {
      font-family: 'ICA Rubrik';
      font-size: 2.4em;
      width: 100%;
      text-align: center;
      line-height: 2.8em;
      color: gold;
      text-shadow:0 2px 2px #000;
      left:50%;
      top: 80%;
      position: absolute;
      transform: translateX(-50%);    
        }

        .flip-card {
    width:  var(--card-width);
    height:  var(--card-height);
    perspective: 1000px;
  }

  .flip-card-inner {
    position: relative;
    width:  var(--card-width);
    height:  var(--card-height);
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
  }

  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg) scale(1.1);
  }

  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width:  var(--card-width);
    height:  var(--card-height);
    backface-visibility: hidden;
  }

  .flip-card-front {
    background: #bbb;
    color: black;
  }

  .flip-card-back {
    background: #2980b9;
    color: white;
    transform: rotateY(-180deg);
  }

  .flip-card img {
    width:  var(--card-width);
    height: var(--card-height);
  }

  @keyframes fade {
    from { opacity: 1; }
    to   { opacity: 0; }
  }

  .fade-out {
    animation: 2s fade forwards;
  } 

    @keyframes showit {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .fade-in {
    animation: 2s showit forwards;
  } 

  /* styling for contact */

  @keyframes flight {
    0%   { left:calc(--window_w*2); }
    100% { left:-200px; }
  }

  #plane {
    position: absolute;
    width: 100px;
    height:40px;
    background-image: url(../media/plane.png);
    background-size: cover;
    top:20px;
    left:2000px;
    animation: 10s flight 10s forwards ease-in-out infinite;
    z-index: 99999;
  }
  #contact {
    background-color: #1E1E20;
    width :var(--window_w);
    height: auto;
    z-index: 10;
    overflow: visible;
  }  
  
  #contact .logo {
      width: 200px;
      height: 250px;
      background: url(../media/lady_world.png);
      background-size: 100% 100%;
       float: right;
      text-wrap: nowrap;
      position: absolute;
      left:20px;
      top:20px;
        }
  #contact h1 {
      font-weight: 500;
      color: #fff;
      font-size: 6em;
      width :var(--window_w);
      position: relative;
      top:-20px;
      margin-bottom: 50px;
    }
  #contact .text-white {
      color: #fff;
  }
  #contact form {
      position: relative;
      top: -100px;
      display: flex;
      margin: auto;
      margin-block: 3px;
      width: min(500px, 90vw);
      flex-direction: column;
      align-items: center;
      gap: 10px;
  }

  #contact form input,
  #contact form button,
  #contact form textarea {
      all: unset;
      padding: 5px;
      border-radius: 15px;
      background-color: transparent;
      box-shadow: 0 10px 30px #0005;
      border: 1px solid #71717188;
      transition: background-image 0.5s, opacity .5s, border .5s;
      color: white;
  }
    #contact form input {
      height:20px;
    }
    #contact form * {
      width: 100%!important;
    }
    #contact form button {
      cursor: pointer;
  }
  #contact form button[type="submit"] {
      background-color: #1C1C1E;
      text-align: center;
      color: #fff;
  }
    #contact input:invalid:not(:placeholder-shown) {
      border-color: red;
      background-image: url(../media/checked_red.png);
  }
  #contact input:valid:not(:placeholder-shown) {
      background-image: url(../media/checked_green.png);
  }
  #contact input:invalid:not(:placeholder-shown), 
  #contact input:valid:not(:placeholder-shown) {
      background-size: 20px;
      background-repeat: no-repeat;
      background-position: calc(100% - 10px);
  }
  #contact input:invalid:not(:placeholder-shown) + p {
      color: #a20e0e;
  }
  #contact input:invalid ~ button[type="submit"] {
      opacity: .6;
      pointer-events: none;
  }

  #contact input:hover, #contact textarea:hover {
  box-shadow:  0 0 5px 5px rgba(255,225,0,0.5);
  background-color: transparent;
    }

  #contact .title {
    column-span: 1 ;
    color: gold;
    font-size: calc(val(--scale) * 30px);
    padding-right: 14px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 2px 2px #3f3f3f;
  }


  /* Book Card Styles */

  #book-grid {
    width:var(--window_w);
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    background: #ccc;
    transition: transform 0.2s;
  }

  .book-cover {
    width: 100%;
    height: 100%;
    object-fit: 100% 100%;
    }

  .book-byline {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1rem;
    font-style: italic;
    color:#007bff;
  }

  .book-title {
    color: #2f24ca;
    text-shadow: 1px 1px grey;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
    padding: 5px 15px;
    margin: 3px;
    align-self: center;
  } 
  .group-title {
    font-family: 'ICA Rubrik', sans-serif;
    font-size: 0.95rem;
    color: #007bff;
    text-shadow: 0 2px 2px #000;
    margin: 5px;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    text-transform: capitalize;
  }
  .book-author {
    font-size: 0.8rem;
    color: blue;
    font-weight: 600;
  }

  .book-genre {
    font-size: 0.7rem;
    color: #28A745;
    font-weight: 600;
    align-self: center;
  }

  .book-synopsis {
    font-family: cursive, sans-serif ;
    color: crimson;
    font-size: .85rem;
    line-height: 1.4;
    height: 50px;

    align-self: center;
  }

  .book-link-USA,
  .book-link-UK {
    font-size: .9rem;
    color: #007bff;
    text-decoration: none;
    transition: color .2s;
    align-self: flex-end;
  }

  .book-more {
    color:#28A745;
    text-decoration: none;
    font-size: .9rem;
  }

  .book-card {
    width:185px;
    height:270px;
    box-shadow: 0 2px 6px rgba(0,0,0);
    transition: transform 0.2s;
    margin: 5px;
    }
  .book-card:hover {
    transform: translateY(-4px);
  }

  .book-meta {
    padding-left: 8px;
  }

  #showbook-panel {
    width: var(--window_w);
    height: auto;
  }

  #showbook-panel A.close {
    font-family: 'ICA Rubrik', sans-serif;
    font-weight: 700;
    font-size: 2em;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
    padding-left: 10px;
    transition: 0.5s ease-in forwards;
  }
  
  #showbook-panel A.close:hover {
  transform: perspective(1000px) rotateX(60deg);
  color: red;
  }

  #showbook-panel A.close:hover::after {
  content: '<< Back';
  }

  #showbook-img img {
    width: 350px;
    height: 500px;
    border-radius: 2px;
    box-shadow: 0 5px 5px #222121;
    transform: perspective(1000px) rotateX(60deg) rotateZ(-20deg) translateZ(200px);
  }

  #showbook-img img:hover {
    /* transform: translateY(2px); */
    transition: transform 0.3s ease-in-out;
  }

  #showbook-wrapper {
width: 100%;
height:500px;
left:50%;
transform: translateX(-50%);
position: relative;
align-self: center;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}


  #showbook-img {
    position: relative;
    width: var(--window_w);
    height: 500px;
    margin: 0 auto;
    top: 0px;;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
  } 

  #showbook-img::before {
    content: '';
    position:absolute;
    width: 274px;
    height: 60px;
    top:105px;
    left:193px;
    background: linear-gradient(white , black);
    box-shadow: -50px 50px 50px #000;
    transform: skewY(63.2deg) rotateY(-65deg);
    }

  #showbook-img::after {
    content: '== © 2025 Booting.co.uk ==';
    font-size: 35px;
    position:absolute;
    width: 455px;
    height: 60px;
    align-content: center;
    top:182px;
    left:391px;
    background: linear-gradient(white , black);
    box-shadow: -50px 50px 50px #000;
    transform: skewX(-10.5deg) rotateZ(-9deg);
    
  }

  #showbook-byline  { 
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    align-items: center;
    vertical-align: top;
  }

  .showbook-meta {
    margin-top: -180px;
    padding: 16px;
    text-align: left;
    vertical-align: top;
  }

  .showbook-title {
    font-size: 1.4rem;
    margin: 0;
    text-align: center;
    vertical-align: top;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color:blueviolet;
  }

  .showbook-byline, .showbook-author, .showbook-genre {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    text-align: center;
    justify-content: center;
    vertical-align: top;
  }

  .showbook-byline{
    color:#007BFF;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1em;
  }

  .showbook-author{
    color: #28A745;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.1em;
  }

  .showbook-genre {
    color: #a20e0e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9em;
  }

  .showbook-synopsis {
    font-size: 1.2rem;
    color: darkgoldenrod;
    margin: 8px 0;
    display: flex;
    text-align: left;
    vertical-align: top;
    font-family: Arial, Helvetica, sans-serif;
  }   

  .buy-links {
    text-align: center;
    padding: 16px 4px;
    gap: 8px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
.buy-links::before {
  content: 'Buy this book now @Amazon:';
  height: 50px;
  font-weight: 700;
}
  .buy-links a {
    text-decoration: none;
    padding: 8px 12px;
    margin : 5px;
    border-radius: 4px;
    background-color: #007BFF;
    color: #fff;
    font-size: 0.9rem;
    top: 15px;
    position: relative;
    }

    .buy{
      height:50px;
      width: 100%;
      display: flex;
      flex-direction: row;
      gap: 10px;
      position: relative;
      justify-content: center;
      align-items: flex-end;
      text-align: center;
    }

    .back {
      width:100%;
      margin-top:50px;
    }
    .buy a {
      text-align: top;
      align-items: flex-start;
    }

  .buy-links a:hover {
    background-color: #28A745;
  }

  .a-ember body {
      font-family: "Amazon Ember", Arial, sans-serif;
  }

  .a-text-bold {
      font-weight: 700 !important;
  }
  .a-ordered-list, .a-unordered-list, ol, ul {
      padding: 0;
  }
  .a-unordered-list, ul {
      margin: 0 0 0 18px;
      color: var(--__dChNmAmGoMXsw4B, #0f1111);
  }
  ul {
      display: block;
      text-align: left;
      list-style-type: disc;
      margin-block-start: 1em;
      margin-block-end: 1em;
      padding-inline-start: 40px;
      unicode-bidi: isolate;
  }
  .a-ember body {
      font-family: "Amazon Ember", Arial, sans-serif;
  }
  .a-unordered-list, ul {
      margin: 0 0 0 18px;
      color: #0f1111;
  }
  .a-ordered-list .a-list-item, .a-unordered-list .a-list-item, ol .a-list-item, ul .a-list-item {
      color: #0f1111;
  }
  ::marker {
      unicode-bidi: isolate;
      font-variant-numeric: tabular-nums;
      text-transform: none;
      text-indent: 0px !important;
      text-align: start !important;
      text-align-last: auto !important;
  }

  /*  BOOK GROUPS  */

  #arena-books {
    width: var(--window_w);
    position: absolute;
    top:var(--arena-top);
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    box-shadow: #292827 5px 5px 5px 5px;
    min-height: 600px;
    height: auto;
    background-color: var(--background-color-books);
  }

   #arena-free {
    width: var(--window_w);
    position: absolute;
    top:var(--arena-top);
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    box-shadow: #292827 5px 5px 5px 5px;
    min-height: 600px;
    height: auto;
    background-color: var(--background-color-books);
  }

  #arena-free::after {
    content: 'All content © Booting.co.uk';
    width: var(--window_w);
    height: 30px;
    font-family: MedievalSharp; 
    font-size: 22px;
    text-align: center;
    align-self: flex-end;
    align-items: center;
    box-shadow: #292827 5px 5px 5px 5px;
    background-color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
    z-index: 999;
  }

  #arena-books .a-book {
    width: 300px;
    height: 50px;
    background: linear-gradient(0deg, blue, green 40%, blue);
    transform: rotateZ(90deg);
    border-radius: 10px;
  }

  #arena-books .a-book-title {
    text-transform: uppercase;
    width: 100%;
    margin-left: 100px;
    color:rgb(255, 255, 255);
    font-family: cursive, sans-serif;
    font-size: .8em;
    text-align: center;
    align-self: center;
    vertical-align: text-top;
    text-decoration: none;
    transform: .5s;
  }

  #arena-books .a-book:checked
  {
    transform: translateZ(20px) rotateZ(90deg) rotateY(10deg);
    scale:1.2;
  }

  #arena-books a:checked {
  -webkit-animation: scale-out-center 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
            animation: scale-out-center 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
  }


  #arena-books  h1.a-section-title, .group h1.a-section-title {
    font-size: 2rem;
    width:var(--window_w);
    color: #007BFF; /* #49a56f; */
    text-shadow: 0 5px 5px #000;
    text-transform: uppercase;
    left:50%;
    position: relative;
    transform: translateX(-50%);
  }

  @-webkit-keyframes scale-out-center {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
      opacity: 1;
    }
    100% {
      -webkit-transform: scale(0);
              transform: scale(0);
      opacity: 1;
    }
  }
  @keyframes scale-out-center {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
      opacity: 1;
    }
    100% {
      -webkit-transform: scale(0);
              transform: scale(0);
      opacity: 1;
    }
  }

  @media (max-width: 750px) {
    
    #container {
    --window_w:100svw;
    width: 100svw;
    height: auto;
    margin: 0;
    align-items: center;
    justify-content: center;
    display: flex !important;
    flex-direction: column;
    overflow: scroll;
    }
  
    #menu {
    width:var(--window_w);
      height:30px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      align-items: center;
      text-align: center;
      background-color: transparent;
      position: absolute;
      top: 15px;
      padding:2px;
      left:10%;
      font-family: fantasy;
      font-size: 22px;
      z-index:999;
    }

    .link {
    color:#000;
    width:105px;
    height:30px;
    display: flex;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: inset 2px 2px 2px 2px #ffffff;
  }
    .link:hover {
    color:yellowgreens;
    width:105px;
    height:30px;
    }
    
    .link:focus {
    background-color: white;
    transition-duration: 0.5s ;
    transform: translate(0 -20px -20px) forwards;
    height:30px;
    font-size: 22px;
    color: rgb(161, 180, 51);
    vertical-align: middle;
    }

#showbook-wrapper {
    position: relative;
    width: 100svw;
    height: 500px;
    margin: 0;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #showbook-img::before {
    content: '';
    position:absolute;
    width: 274px;
    height: 60px;
    top:21%;
    left: -1%;
    background: linear-gradient(white , black);
    box-shadow: -50px 50px 50px #000;
    transform: skewY(63.2deg) rotateY(-65deg);
    }

  #showbook-img::after {
    content: '== © 2025 Booting.co.uk ==';
    font-size: 35px;
    position:absolute;
    width: 455px;
    height: 60px;
    align-content: center;
    top:37%;
    left:31%;
    background: linear-gradient(white , black);
    box-shadow: -50px 50px 50px #000;
    transform: skewX(-10.5deg) rotateZ(-9deg);
    
  }

  
  .topbar {
      visibility: hidden;
    }
  }

  #mailing {
    position: absolute;
    left: calc(25% - 75px);
    top: 15px;
    width: 70px;
    height: auto;
    background:#007BFF;
    z-index:99999;
  }

  #mailing P.emoji{
    font-family: wingdings, sans-serif;
    font-size: 4em;
    color:white;
    text-decoration: none;
  }
  #mailing P.mail {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    color:gold;
    text-decoration: none;
  }

  .contact-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    color: white;
    text-decoration: none;
    position: relative;
    top: -100px;
    left: 10px;
    text-align: justify;
    width:100%;
    padding-left: 80px;
    height:auto;
  }

  .freebie, .article {
    padding: 4PX;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 200px;
    height: 400px;
    border: 2px black solid;
    border-radius: 5px;
  }
.free_title,.article_title {
  width: 200px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.free_img,.article_img
{
  padding: 3px;
  width: 150px;
  height: 150px;
}

.free_description,.article_description {
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 font-size: 18px;
 width: 195px;
 }

 .download {
   align-self: last-baseline;
   align-items: baseline;
   padding: 3px;
 }


    @page { size: 21.59cm 27.94cm; margin-left: 3.18cm; margin-right: 3.18cm; margin-top: 2.54cm; margin-bottom: 2.54cm }
	.show_article	P { margin-top: 0.32cm; margin-bottom: 0.32cm; direction: ltr; color: #000000; widows: 2; orphans: 2 }
	.show_article	P.compact-western { margin-top: 0.06cm; margin-bottom: 0.06cm; }
	.show_article	P.compact-cjk { margin-top: 0.06cm; margin-bottom: 0.06cm }
	.show_article	P.compact-ctl { margin-top: 0.06cm; margin-bottom: 0.06cm }
	.show_article	H1 { margin-top: 0.64cm; margin-bottom: 0.14cm; direction: ltr; color: #0f4761; page-break-inside: avoid; widows: 2; orphans: 2 }
	.show_article	H1.western { font-family: "Aptos Display", serif; font-size: 20pt;  font-weight: normal }
	.show_article	H1.cjk { font-family: "SimSun"; font-size: 20pt; font-weight: normal }
	.show_article	H1.ctl { font-family: "arial"; font-size: 20pt; font-weight: normal }
	.show_article	H2 { margin-top: 0.28cm; margin-bottom: 0.14cm; direction: ltr; color: #0f4761; page-break-inside: avoid; widows: 2; orphans: 2 }
	.show_article	H2.western { font-family: "Aptos Display", serif; font-size: 16pt;  font-weight: normal }
	.show_article	H2.cjk { font-family: "SimSun"; font-size: 16pt; font-weight: normal }
	.show_article	H2.ctl { font-family: "arial"; font-size: 16pt; font-weight: normal }
	.show_article	H3 { margin-top: 0.28cm; margin-bottom: 0.14cm; direction: ltr; color: #0f4761; page-break-inside: avoid; widows: 2; orphans: 2 }
	.show_article	H3.western { font-family: "Aptos", serif;  font-weight: normal }
	.show_article	H3.cjk { font-family: "SimSun"; font-weight: normal }
	.show_article	H3.ctl { font-family: "arial"; font-weight: normal }
	.show_article	P.block-text-western { margin-left: 0.85cm; margin-right: 0.85cm; margin-top: 0.18cm; margin-bottom: 0.18cm; }
	.show_article	P.block-text-cjk { margin-left: 0.85cm; margin-right: 0.85cm; margin-top: 0.18cm; margin-bottom: 0.18cm }
	.show_article	P.block-text-ctl { margin-left: 0.85cm; margin-right: 0.85cm; margin-top: 0.18cm; margin-bottom: 0.18cm }
	.show_article	A:link { color: #4f81bd;  }	
  .show_article	A.back { background-color: #4f81bd; color: white; font-size: 28px; }
  .show_article	A.top { background-color: #4f81bd; color: white; font-size: 28px; }


 .custom-audio-player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: sans-serif;
}

.custom-audio-player button {
  cursor: pointer;
}

.custom-audio-player input[type="range"] {
  width: 150px;
}