/* Main aim to keep the styling in order of how the content appears on the page */

@font-face {
    font-family: 'Obsidian';
    src: url('font/Obsidian.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --border-radius: 20px;
    --main-colour1: rgb(0, 90, 130);
    --main-colour2: rgb(0, 95, 173);
    --border-colour: rgb(0, 120, 170);
    --title-colour-fade: rgba(0, 91, 130, 0);
    --acknowledgement-card-colour: rgb(0, 90, 130, 0.9);
    --sun-image: url("images/webp/blueSunTransparent.webp");
    --sun-glow-colour1: rgb(0, 95, 173);
}

.theme-alt {
    --border-radius: 20px;
    --main-colour1: rgb(130, 0, 0);
    --main-colour2: rgb(173, 0, 0);
    --border-colour: rgb(234, 0, 0);
    --title-colour-fade: rgba(130, 0, 0, 0);
    --acknowledgement-card-colour: rgba(130, 0, 0, 0.9);
    --sun-image: url("images/webp/redSunTransparent.webp");
    --sun-glow-colour1: rgb(173, 61, 0);
}

/* General whole page style */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
    /* Stops the auto scroll to going under the nav bar */
}

html,
body {
    /* height: 100%; */
    /* width: 100%; */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;

    font-family: Arial, Helvetica, sans-serif;
}

/* =======================================
   Custom Scrollbars — Matches Your Theme
   ======================================= */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    /* for horizontal scrolling areas */
}

::-webkit-scrollbar-track {
    background: rgb(20, 20, 20);
    /* Dark track */
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg,
            var(--main-colour1),
            rgb(20, 20, 20));
    border: 2px solid var(--border-colour);
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg,
            var(--main-colour2),
            rgb(20, 20, 20));
}

/* General whole page style */





/* General font styling - may be changed to be controlled on a more specific container level */
h1 {
    font-weight: 700;
    /* font-size: 3rem; */
}

p {
    font-size: 18px;
}

h3,
h2,
h1 {
    color: white;
    font-family: 'Obsidian', Arial, sans-serif;
}

/* Specific h tag for the guides so the Obsidian font is not applied */
h4 {
    color: white;
    font-size: 20px;
}

/* General font styling - may be changed to be controlled on a more specific container level */





/* ================================= testing ============================ */
/* Seems ok */
/* Used to pin the footer to the bottom of the page - may not be required but works for now */
#footer {
    flex-shrink: 0;
}

/* ================================= testing ============================ */





/* Wrappers */
/* A wrapper used for then there is no background text into and it is just the content block */
.single-wrapping-container {
    padding-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

.wrapping-container {
    flex: 1;
}

/* Wrappers */





/* Main container to set the background images */
.container {
    width: 100%;
    height: 100vh;
    /* Setting just height (not min-height) means we can make the other images smaller by changing the px size */
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background-image: url(https://images.unsplash.com/photo-1519120944692-1a8d8cfc107f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=872&q=80); */
    background-size: cover;
    background-position: center;

    /*  this is where the magic happens:  */
    background-attachment: fixed;
}

/* Main container to set the background images */





/* Text over the background images */
.over-bg-img-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50vw;
    height: auto;
    text-align: center;

    background: linear-gradient(to right,
            rgba(0, 91, 130, 0),
            var(--main-colour1),
            rgba(0, 91, 130, 0));
    color: white;
}

.over-bg-img-text h1 {

    font-family: 'Obsidian', Arial, sans-serif;
    font-size: 50px;
}

@media screen and (max-width: 768px) {
    .over-bg-img-text h1 {
        font-size: 40px;
    }
}

/* Text over the background images */





/* Set the different background images - specified in each container class  */
/* Change height as required */
.bg-about {
    background-image: url('images/webp/49.webp');
    background-attachment: fixed;
    background-position: top;
    height: 900px;
}

.bg-gallery {
    background-image: url('images/webp/10.webp');
    background-attachment: fixed;
    height: 900px;
}

.bg-officers1 {
    background-image: url('images/webp/66.webp');
    background-attachment: fixed;
    height: 900px;
}

.bg-fleet1 {
    background-image: url('images/webp/140.webp');
    background-attachment: fixed;
    height: 900px;
}

.bg-acknowledgements {
    background-image: url('images/webp/202.webp');
    background-attachment: fixed;
    height: 900px;
}

.bg-guides {
    background-image: url('images/webp/193.webp');
    background-attachment: fixed;
    height: 900px;
}

/* Set the different background images - specified in each container class  */




/* Everything index page */
/* Logo video the appears first on the page */
.container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: fixed;
    z-index: -1;
}

/* This is a specific class name that will move the text over the logo up */
.over-logo-text {
    transform: translateY(-250px);
}

/* Logo video the appears first on the page */
/* Contains the ifram for youtube video and the left and right pictures */
.youtube-video-container {
    background-color: rgb(20, 20, 20);
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    align-items: center;
    width: 100%;
    height: auto;
    /* Seems to sets height to the smallest content - iframe in this case */

    transition: grid-template-columns 0.5s ease;
}

.youtube-video-container-center iframe {
    aspect-ratio: 16/9;
    /* max-width: 1200px; */
    height: auto;
}

.youtube-video-container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.youtube-video-container-left {
    background-image: url('images/webp/10.webp');
    background-position: center;
    background-size: cover;

    width: 100%;
    height: 100%;
}

.youtube-video-container-right {
    background-image: url('images/webp/12.webp');
    background-position: center;
    background-size: cover;

    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1388px) {

    /* once screen width below 1200px change the template to exclude the left and right divs so the video can take the full width */
    /* 1200px is the max-width of the iframe */
    .youtube-video-container {
        grid-template-columns: 0fr 1fr 0fr;
    }
}

/* Contains the iframe for youtube video and the left and right pictures */
.main-info-event-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

.join-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;

    /* background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20)); */
}

.join-info-container-item {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    width: 70%;
    height: 100%;
    text-align: center;
    padding: 20px;

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
    color: white;

    transition: width 0.5s ease;
}

.event-info-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* justify-content: center; */
    align-items: center;
    overflow-x: auto;
    width: 100%;
    height: 100%;
    padding: 20px;
    gap: 20px;

    /* background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20)); */
}

.event-info-container-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-width: 500px;
    height: 100%;
    text-align: center;
    padding: 20px;
    /* gap: 20px; */

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
    color: white;

    transition: width 0.5s ease;
}

.join-info-container-links {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

.join-info-container-links a img {
    height: 80px;
    width: 80px;
}

@media screen and (max-width: 1388px) {
    .join-info-container-item {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .event-info-container-item {
        min-width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .event-info-container-item {
        min-width: 380px;
    }
}

/* Everything index page */





/* Everything about us page */
/* About us section - about Obsidian and Star Citizen */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 20px;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

.about-item {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 20px;

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
}

.about-item a img {
    height: 80px;
    width: 80px;
}

.about-item-links {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

.about-item p {
    display: inline;
    /* Stops the text inside <p> taking the same format it is hard coded in - use full container width instead */
    color: white;
    font-size: 18px;
}

@media screen and (max-width: 1388px) {

    /* Change column layout to stack */
    .about-container {
        grid-template-columns: 1fr;
    }
}

/* About us section - about Obsidian and Star Citizen */
/* Officers */
.officers-title {
    text-align: center;
}

.about-body {
    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

.officers-bg-wrapper {
    background: radial-gradient(var(--sun-glow-colour1) 10%, rgba(20, 20, 20, 0.1) 65%);
}

.officers-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 20px;

    background-image: var(--sun-image);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Ring container */
.ring {
    --ring-size: clamp(340px, 70vw, 760px);
    --item-size: clamp(64px, 10vw, 120px);
    --radius: calc((var(--ring-size) - var(--item-size)) / 2);

    position: relative;
    width: var(--ring-size);
    height: var(--ring-size);
    margin: 2rem auto;
}

.ring:hover .dreid {
    opacity: 1;
    visibility: visible;
}

/* Manual placement items */
.item {
    --size: var(--item-size);
    --angle: 0deg;
    /* default */

    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--size);
    height: var(--size);
    transform-origin: center;

    transform:
        translate(-50%, -50%) rotate(var(--angle)) translate(var(--radius)) rotate(calc(var(--angle) * -1));
}

/* Image style */
.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;

    transition: transform .2s ease, box-shadow .2s ease;
}

.item:hover img {
    transform: scale(1.06);
}

/* Tool officer-name */
.item .officer-name {
    position: absolute;
    bottom: -0.3rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background-color: rgb(20, 20, 20);
    color: white;
    padding: .3rem .5rem;
    border-radius: .4rem;
    opacity: 0;
    transition: 0.2s ease;
}

.item:hover .officer-name {
    opacity: 1;
    transform: translateX(-50%) translateY(110%);
}

@media screen and (max-width: 768px) {
    .officer-name {
        display: none;
    }
}

/* manually position images */
.item:nth-of-type() {
    --angle: 0deg;
}

.item:nth-of-type(12) {
    --angle: 30deg;
}

.item:nth-of-type(6) {
    --angle: 60deg;
}

.item:nth-of-type(4) {
    --angle: 90deg;
}

.item:nth-of-type(8) {
    --angle: 120deg;
}

.item:nth-of-type(9) {
    --angle: 150deg;
}

.item:nth-of-type(10) {
    --angle: 180deg;
}

.item:nth-of-type(5) {
    --angle: 210deg;
}

.item:nth-of-type(11) {
    --angle: 240deg;
}

.item:nth-of-type(1) {
    --angle: 270deg;
}

.item:nth-of-type(2) {
    --angle: 300deg;
}

.item:nth-of-type(3) {
    --angle: 330deg;
}

/* Modal stuffs */
/* hide modal by default */
.officer-modal.hidden {
    display: none;
}

/* modal background overlay */
.officer-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.officer-modal-content {
    width: min(600px, 90%);
    padding: 20px;
    text-align: center;
    position: relative;
    opacity: 0;

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    color: white;
    border-radius: var(--border-radius);

    transform: scale(0.85);
    transition: 0.5s ease;
}

.officer-modal.show .officer-modal-content {
    transform: scale(1);
    opacity: 1;
}

/* X button style */
.modal-close {
    font-size: 2rem;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;

    background: none;
    border: none;
    color: white;

    transition: scale 0.5s ease;
}

.modal-close:hover {
    scale: 1.25;
}

/* Modal stuffs */
/* Officers */
/* Everything about us page */





/* Everything gallery style */
.gallery-container-main {
    width: 100%;
    height: 100%;
    padding: 20px;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

/* Responsive width as a percent — change this */
.gallery-container {
    --gallery-width: 80%;
    width: var(--gallery-width);
    margin: 0 auto;

    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);

    transition: width 1s ease;
}

/* Main viewer: fixed 16:9 box */
.gallery-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border-radius: 17px;
}

/* Image fits inside */
.gallery-image img#mainImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 17px;
}

/* Prev/Next buttons */
.gallery-image .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 56px;
    font-size: 20px;
    cursor: pointer;

    background-color: rgba(20, 20, 20, 0.7);
    border: 2px solid var(--border-colour);
    border-radius: 10px;
    color: white;

    transition: background-color 0.5s ease;
}

.gallery-image .nav:hover,
.gallery-image .nav:hover {
    background-color: var(--border-colour);
}

.gallery-image .nav.prev {
    display: flex;
    justify-content: center;
    align-items: center;
    left: 20px;
}

.gallery-image .nav.next {
    display: flex;
    justify-content: center;
    align-items: center;
    right: 20px;
}

/* Essentially grey out the nav button when at start or end */
/* JS has already disabled it */
.gallery-image .nav:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Small controls overlay (counter + jump + play/pause) */
.gallery-image .overlay {
    position: absolute;
    top: 8px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: white;
}

.gallery-image .overlay .right {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Style for play pause button */
.gallery-image .overlay button.play {
    padding: 4px 8px;
    cursor: pointer;

    background-color: rgba(20, 20, 20, 0.7);
    border: 2px solid var(--border-colour);
    border-radius: 10px;
    color: white;

    transition: background-color 0.5s ease;
}

.gallery-image .overlay button.play:hover {
    background-color: var(--border-colour);
}

/* Style for the image number input field */
.gallery-image .overlay .right input[type="number"] {
    padding: 4px 8px;
    font-size: 12px;

    background-color: rgba(20, 20, 20, 0.7);
    border: 2px solid var(--border-colour);
    border-radius: 10px;
    color: white;
}

.gallery-image .overlay .right button:first-of-type {
    padding: 4px 8px;
    cursor: pointer;

    background-color: rgba(20, 20, 20, 0.7);
    border: 2px solid var(--border-colour);
    border-radius: 10px;
    color: white;

    transition: background-color 0.5s ease;
}

.gallery-image .overlay .right button:first-of-type:hover {
    background-color: var(--border-colour);
}

.gallery-container-remove {
    display: none;
}

@media screen and (max-width: 1200px) {
    .gallery-container {
        --gallery-width: 100%;
    }
}

/* Everything gallery style */





/* Fleet styling */
.fleet-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    height: 100%;
    padding: 20px;
    gap: 20px;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

.fleet-item img {
    aspect-ratio: 16/9;
    width: 90%;
    height: auto;

    transition: scale 1s ease;
}

/* Scale and slightly shake the ship */
.fleet-item img:hover {
    scale: 1.2;
    animation: spaceShake 4s ease-in-out;
}

@keyframes spaceShake {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }

    15% {
        transform: translate(2px, -2px) rotate(0.3deg);
    }

    30% {
        transform: translate(-3px, 1px) rotate(-0.4deg);
    }

    50% {
        transform: translate(2px, 3px) rotate(0.5deg);
    }

    70% {
        transform: translate(-2px, -3px) rotate(-0.3deg);
    }

    85% {
        transform: translate(1px, 2px) rotate(0.2deg);
    }

    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}

.fleet-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    gap: 20px;
    text-align: center;

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
}

.fleet-item-even {
    flex-direction: column;
}

.fleet-item-odd {
    flex-direction: column-reverse;
}

.fleet-item div p {
    display: inline;
    color: white;
    font-size: 18px;
}

@media screen and (max-width: 1388px) {
    .fleet-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 1024px) {
    .fleet-container {
        grid-template-columns: 1fr;
    }

    .fleet-item-even,
    .fleet-item-odd {
        flex-direction: column;
    }
}

/* Fleet styling */





/* Acknowledgements */
.acknowledgements-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 20px;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

.acknowledgements-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
    color: white;

    transition: scale 1s ease;
}

.acknowledgements-item img {
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;

    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
}

.acknowledgements-item a {
    font-size: 18px;

    color: white;

    transition: color 0.5s ease;
}

.acknowledgements-item a:hover {
    color: var(--main-colour1);
}

@media screen and (max-width: 1388px) {
    .acknowledgements-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 1024px) {
    .acknowledgements-container {
        grid-template-columns: 1fr;
    }
}

/* Acknowledgements */





/* Footer */
.footer-container {
    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
    border-top: 3px solid var(--border-colour);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-top {
    /* background-color: rgb(0, 255, 64); */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.footer-bottom {
    /* background-color: blue; */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    padding: 10px 0;
}

.footer-item {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: aqua; */
    width: auto;
    /* padding: 10px 20px; */
}

.footer-item p,
.footer-item a {
    color: white;
    font-size: 14px;

    transition: color 0.5s ease;
}

.footer-item a:hover {
    color: var(--border-colour);
}

.footer-item-refcode p {
    color: white;
    font-size: 14px;
}

.footer-item-text-refcode {
    color: white;
    border: 1px solid white;
    text-decoration: none;

    transition: color 0.5s ease, border-color 0.5s ease;
}

.footer-item-text-refcode:hover {
    color: var(--border-colour);
    border: 1px solid var(--border-colour);
}

/* Footer */





/* nav */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: grid;
    grid-template-columns: 1fr auto;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
    box-shadow: 0px 3px var(--border-colour);

    z-index: 1000;
}

.navbar-main {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.navbar-right {
    overflow: hidden;
    display: flex;
    justify-content: space-evenly;
    width: 240px;
    height: 100%;
}

.navbar-text-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 100%;
    width: auto;
    /* KEEP your layout exactly as you had it */
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Obsidian', Arial, sans-serif;
    overflow: hidden;
    /* prevents pseudo-element from spilling out */
    z-index: 0;
    /* creates a safe stacking context */
}

/* Gradient layer behind text */
.navbar-text-item::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(to right,
            rgba(0, 91, 130, 0),
            var(--border-colour),
            rgba(0, 91, 130, 0));

    opacity: 0;
    transition: opacity 0.5s ease-in-out;

    z-index: -1;
    /* ensures gradient is BEHIND the text */
}

/* Hover fades it in */
.navbar-text-item:hover::before {
    opacity: 1;
}

#themeToggle {
    width: 80%;
    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
    color: white;

    transition: filter 0.5s ease;
}

#themeToggle:hover {
    filter: brightness(130%);
    cursor: pointer;
}

/* Style the image containers and the image itself  */
.navbar-img-item {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    height: 100%;
    width: auto;
}

.navbar-img-item img {
    height: 90%;
    width: auto;

    transform: scale(1);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.navbar-img-item img:hover {
    transform: scale(1.1);
    filter: brightness(130%);
}

.dropdown {
    display: flex;
    justify-content: center;
    align-items: baseline;
    width: 100%;
    height: 100%;
}

.dropbtn {
    position: relative;
    overflow: hidden;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

.dropdown .dropbtn {
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    margin: 0;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Obsidian', Arial, sans-serif;
}

.dropdown .dropbtn::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(to right,
            rgba(0, 91, 130, 0),
            var(--border-colour),
            rgba(0, 91, 130, 0));

    opacity: 0;
    transition: opacity 0.5s ease;

    z-index: -1;
    /* ensures gradient is BEHIND the text */
}

.dropbtn:hover::before {
    opacity: 1;
}

.dropdown-content {
    display: none;
    position: absolute;
    margin-top: 60px;
    font-family: 'Obsidian', Arial, sans-serif;
    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
    width: 250px;
    /* z-index: -1; */
}

.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    border-top: 3px solid var(--border-colour);
    font-weight: bold;
    font-size: 18px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown {
    display: none;
}

@media screen and (max-width: 1366px) {}

@media screen and (max-width: 1280px) {
    .dropdown {
        display: flex;
    }

    .navbar-text-item {
        display: none;
    }
}

@media screen and (max-width: 1024px) {}

/* nav */





/* Beginners guides styling  */
.beginnersGuides-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
    /* background-color: aqua; */
}

/* Holds the all the guide icon/links */
.beginnersGuides-guide-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
    height: 100%;
    width: 100%;

    /* background-color: blue; */
}

.beginnersGuides-guide-grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 20px;

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);

    transition: scale 1s ease;
}

.beginnersGuides-guide-grid-item a,
.beginnersGuides-guide-grid-item img {
    width: 100%;
    height: 100%;
    /* display: block; */
}

.beginnersGuides-guide-grid-item img {
    object-fit: cover;
    border-radius: var(--border-radius);
}

.beginnersGuides-guide-grid-item:hover {
    scale: 1.05;
    cursor: pointer;
}

@media screen and (max-width: 1388px) {
    .beginnersGuides-guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .beginnersGuides-guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .beginnersGuides-guide-grid {
        grid-template-columns: 1fr;
    }
}

.shown-guide-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    pointer-events: none;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));

    transition:
        opacity s ease,
        transform 0.5s ease;
}

.shown-guide-container.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.shown-guide-container-item {
    width: 100%;
    height: 100%;
    padding: 20px;
    position: relative;

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
}

.shown-guide-container-item h1 {
    text-align: center;
}

.shown-guide-container-item ol,
.shown-guide-container-item li,
.shown-guide-container-item ul,
.shown-guide-container-item p {
    font-size: 18px;
    color: white;
}

.close-guide-btn {
    margin-top: 30px;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid var(--border-colour);
    border-radius: var(--border-radius);
    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
    width: 100%;
    text-align: center;
}

.close-guide-btn:hover {
    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
    filter: brightness(120%);
}

.close-guide-x {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 32px;
    height: 32px;

    border: 2px solid var(--border-colour);
    border-radius: 8px;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
    color: white;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;

    transition: 0.25s ease;
    z-index: 10;
}

.close-guide-x:hover {
    background: linear-gradient(135deg, rgb(60, 60, 60), rgb(20, 20, 20));
    filter: brightness(120%);
}

/* Beginners guides styling  */
























.test-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 20px;

    background-image: linear-gradient(135deg, rgb(50, 50, 50), rgb(20, 20, 20));
}

.test-item {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 20px;

    background-image: linear-gradient(135deg, var(--main-colour1), rgb(20, 20, 20));
    border: 3px solid var(--border-colour);
    border-radius: var(--border-radius);
}




























/* html,
body {
    padding: 0;
    margin: 0;
}

:root {
    --color: #333;
}

body {
    font-family: 'Red Hat Text', sans-serif;
}

.container {
    text-align: center;
    color: var(--color);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(https://images.unsplash.com/photo-1519120944692-1a8d8cfc107f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=872&q=80);
    background-size: cover;
    background-position: center;

    background-attachment: fixed;
}

h1 {
    font-weight: 700;
    font-size: 3rem;
}

p {
    max-width: 52ch;
    line-height: 1.5;
    padding: 1em;
}

.card a,
.container a {
    display: inline-block;
    padding: 1em 3.5em;
    background-color: var(--color);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0.3em;
    font-weight: 700;
    letter-spacing: .5px;
    font-size: .875rem;
}

.blank,
.other {
    width: 100%;
    min-height: 60vh;
    background-color: var(--color);
}

.second {
    background-image: url(https://images.unsplash.com/photo-1514496959998-c01c40915c5f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1740&q=80);
    background-attachment: fixed;
    height: 1200px;
}

h3 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-top: 1em;
}

.card>a {
    margin-bottom: 2em;
}

.item {
    display: flex;
    max-width: 320px;
    background-color: white;
    ;
    flex-direction: column;
    align-items: center;
    border-radius: .5em;
    -webkit-box-shadow: 0px 29px 38px -15px rgba(0, 0, 0, 0.43);
    -moz-box-shadow: 0px 29px 38px -15px rgba(0, 0, 0, 0.43);
    box-shadow: 0px 29px 38px -15px rgba(0, 0, 0, 0.43);
}

.img {
    width: 90%;
    height: 200px;
    background-color: lightgrey;
    background-size: cover;
    background-position: center;
    margin-top: 20px;
    border-radius: .3em;
    ;
}

.img-first {
    background-image: url(https://images.unsplash.com/photo-1522163182402-834f871fd851?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1606&q=80);
}

.img-second {
    background-image: url(https://images.unsplash.com/photo-1628746404106-4d3843b231b3?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8NHx8Y2F2aW5nfGVufDB8fDB8fA%3D%3D&auto=format&fit=crop&w=900&q=60);
}

.img-third {
    background-image: url(https://images.unsplash.com/photo-1632853073412-782bf0279d65?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80);
}

.second {
    flex-direction: row;
    gap: 1.6em;
} */