/*

HEED THIS WARNING!

This document/script/comic/game/HTML/DVD player is under the control and 
lawful copyright of the Stenoip Company as of the year printed out below:

[2026]

All those who thiefth this document/script/comic/game/HTML/DVD player or any object, substance,
content etc shall be penalised to the fullest extent of the law. Even on the Moon!


*/

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: url("/assets/grey_gradient.jpg") no-repeat center center / cover;
    min-height: 100vh;
    overflow-x: clip;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
}

header {
    /* 
    Remember when I said at the top that: 
        "These styles are inspired from microsoft.com from 2011/2012".
    The Header is inspired from apple.com from 2011/12.
    */ 
    
    background: url("/assets/orange-gloss.jpg") repeat-x center center / cover;
    background-color: #c2c2c2;
    padding: 8px 16px;
    margin: 10px 20px 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #888888;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.25);
}

p {
    margin: 0;
}

h1, body > p {
    margin-left: 20px;
}

button {
    display: inline-block;
    padding: 8px 16px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333333;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid #999999;
    background: #e0e0e0 linear-gradient(to bottom, #ffffff 0%, #cccccc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

button:hover {
    background-image: linear-gradient(to bottom, #ffffff 0%, #b8b8b8 100%);
    border-color: #777777;
}

button:active {
    background-image: linear-gradient(to bottom, #b8b8b8 0%, #e0e0e0 100%);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 450px;
    margin-left: 15px;
}

#search-input {
    background: #222222;
    border: 1px solid #111111;
    border-right: none;
    border-radius: 4px 0 0 4px;
    margin-left: 0;
    padding: 7px 12px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #ffffff;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7);
    outline: none;
}

#search-input::placeholder {
    color: #aaaaaa;
}

#search-btn {
    background: #555555 linear-gradient(to bottom, #7d7d7d 0%, #4a4a4a 50%, #333333 51%, #222222 100%);
    border: 1px solid #111111;
    border-radius: 0 4px 4px 0;
    padding: 7px 14px;
    margin-left: 0;
    color: #ffffff;
    font-size: 13px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    flex-shrink: 0;
}

#search-btn:hover {
    background: #666666 linear-gradient(to bottom, #8e8e8e 0%, #5b5b5b 50%, #444444 51%, #333333 100%);
}

#search-btn:active {
    background: #333333;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.logo {
    height: 30px;
    margin: 3px 0 0 10px;
    flex-shrink: 0;
}

.menu-bar {
    background-color: #444444;
    padding: 10px 16px;
    margin: 0 20px 20px 20px;
    border: 1px solid #333333;
    border-top: none;
    border-radius: 0 0 6px 6px;
}

.menu-bar ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.menu-bar li a {
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.menu-bar li a:hover {
    text-decoration: underline;
}

.image-band {
    width: 100%;
    height: 550px;
    margin: 0 0 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-band:hover .hero-media {
    transform: scale(1.02);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    z-index: 2;
    padding: 20px;
    margin: 0;
}

.banner-overlay h1 {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.banner-overlay p {
    font-size: 18px;
    margin: 0;
    color: #f0f0f0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.column-container {
    display: flex; 
    gap: 15px;     
    margin: 0 20px 20px 20px;
    align-items: flex-start;
}

.white-tile-row {
    flex: 3; 
    min-width: 300px;
    background-color: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px;
    border: none;
}

.grey-tile-row {
    flex: 1.5; 
    min-width: 220px;
    background-color: #f2f2f2;
    padding: 20px;
    color: #333;
    min-height: 400px;
}

.peoples-tile-row {
    flex: 0.8; 
    min-width: 140px;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tiles {
    border: none;
    padding: 15px;
    color: #ffffff;
    font-size: 14px;
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
}

/* This will change every 5 ms to another tile!*/
.tile-hero {
    grid-column: span 4;
    background-image: url("/assets/tiles/large-tile.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    height: 180px;
    aspect-ratio: auto;
    padding: 20px;
    color: white;
}

.tile-blue        { background-color: #0072c6; }
.tile-orange     { background-color: #d85121; }
.tile-green      { background-color: #7eb900; }
.tile-yellow     { background-color: #e3a000; }
.tile-dark-green { background-color: #008a00; }
.tile-purple     { background-color: #68217a; }

/* Advertisement Tiles*/
.tile-praterich  {
    background-image: url("/assets/tiles/praterich-tile.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}

.tile-news     { 
    background-image: url("/assets/tiles/news-tile.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}

.tile-ringzauber     {
    background-image: url("/assets/tiles/ringzauber-tile.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}

.tile-khan     { 
    background-image: url("/assets/tiles/khan-tile.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}

/* I just realized naming the classes tile-praterich or tile-green whilst the image name is praterich-tile.png is quite confusing! */

.text-content-section {
    background-color: #ffffff;
    margin: 0 20px 20px 20px;
    padding: 25px;
    border-radius: 0px;
    color: #333333;
}

.section-heading {
    font-size: 24px;
    font-weight: normal;
    color: #555555;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.product-card h3 {
    font-size: 15px;
    color: #0072c6;
    margin-top: 0;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 13px;
    color: #555555;
    line-height: 1.4;
    margin-bottom: 12px;
}

.btn-link {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #cccccc;
    color: #0072c6;
    text-decoration: none;
    font-size: 12px;
    border-radius: 0px;
}

.btn-link:hover {
    border-color: #999999;
    background-color: #f8f8f8;
}

.bottom-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-block h3 {
    font-size: 20px;
    font-weight: normal;
    color: #555555;
    margin-top: 0;
    margin-bottom: 12px;
}

.info-block h4 {
    font-size: 14px;
    color: #0072c6;
    margin-top: 0;
    margin-bottom: 6px;
}

.info-block p {
    font-size: 13px;
    color: #555555;
    line-height: 1.4;
}

.info-block a {
    color: #0072c6;
    text-decoration: none;
    font-size: 13px;
}

.info-block a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header, 
    .menu-bar, 
    .text-content-section, 
    .column-container {
        margin-left: 10px;
        margin-right: 10px;
    }

    header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .search-box {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .image-band {
        height: 300px;
    }

    .banner-overlay h1 {
        font-size: 24px;
    }

    .banner-overlay p {
        font-size: 14px;
    }

    .column-container {
        flex-direction: column;
    }

    .white-tile-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .tile-hero {
        grid-column: span 2;
    }

    .products-grid,
    .bottom-info-grid {
        grid-template-columns: 1fr;
    }
}

.question-iframe {
    width: 100%;
    max-width: 640px;
    height: 40vh;
    min-height: 400px;
    border: none;
}
