
html {
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    /*height: 100%;*/
    margin: 0;
    /*background: linear-gradient(to bottom, #ff0000 0%, #9933ff 100%);*/
    /*background-repeat: no-repeat;
    background-attachment: fixed;*/
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(0deg, #ff0000, #9933ff, #3376ff);
    background-size: 200% 200%;

    /*-webkit-animation: AnimationName 11s ease infinite;
    -moz-animation: AnimationName 11s ease infinite;
    -o-animation: AnimationName 11s ease infinite;
    animation: AnimationName 11s ease infinite;*/
}

.index {
    background: linear-gradient(0deg, orange, #33aaff, black) fixed;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.bk {
    background: linear-gradient(0deg, #ff0000, #9933ff, #3376ff);
    background-size: 100% 100%; /* Adjusted size to avoid repetition */
    background-attachment: fixed; /* Ensures the background does not scroll with the content */
    min-height: 100vh; /* Ensure the body takes up the full height of the viewport initially */
    margin: 0; /* Remove default margin */
}
.gek
{
    background: linear-gradient(0deg, #00aaff, #00ff00, #00aaff);
    background-size: 120% 120%;
}

.ai {
    background: linear-gradient(180deg, black, grey, black);
    background-size: 120% 120%;
}
.ai-gen {
    background: radial-gradient(circle,
    #000000,  /* Black */
    #00a99d,  /* Teal Green */
    #0073a9, /* Medium Blue */
    #002d5e, /* Dark Blue */
    #da1c5c /* Pinkish Red */
    );
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff; /* White text color for contrast */
}

.logic {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to bottom, #ffc512, #4096ee, darkblue);
}

body.py-intro {
    background-color: #050b05;
    background-image:
            linear-gradient(rgba(0, 255, 0, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #ccffcc;
    font-family: 'Courier New', monospace;
    animation: subtleGlow 6s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% { background-color: #050b05; }
    100% { background-color: #071107; }
}

body.py-intro::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
            to bottom,
            rgba(0, 255, 0, 0.02),
            rgba(0, 255, 0, 0.02) 1px,
            transparent 1px,
            transparent 2px
    );
    pointer-events: none;
    z-index: 999;
}
body.py-intro .coursedescription,
body.py-intro .coursenote,
body.py-intro .coursenote2,
body.py-sequel .coursedescription,
body.py-sequel .coursenote,
body.py-sequel .coursenote2

{
    font-family: 'Courier New', monospace;
}


body.hack-the-bank {
    background-color: #050b05;

    background-size: 20px 20px;
    animation: subtleGlow 6s ease-in-out infinite alternate;
    font-family: 'Courier New', monospace;
    text-align: center;
    background: url("/img/courses/hack-the-bank/bank.png") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0px;
}

body.hack-the-bank::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
            to bottom,
            rgba(0, 255, 0, 0.02),
            rgba(0, 255, 0, 0.02) 1px,
            transparent 1px,
            transparent 2px
    );
    pointer-events: none;
    z-index: 999;
}
body.hack-the-bank .headingtext,
body.hack-the-bank .coursedescription,
body.hack-the-bank .coursenote,
body.hack-the-bank .coursenote2 {
    font-family: 'Courier New', monospace;
}


@-webkit-keyframes AnimationName {
    0% {
        background-position: 50% 0%
    }
    50% {
        background-position: 51% 100%
    }
    100% {
        background-position: 50% 0%
    }
}

@-moz-keyframes AnimationName {
    0% {
        background-position: 50% 0%
    }
    50% {
        background-position: 51% 100%
    }
    100% {
        background-position: 50% 0%
    }
}

@-o-keyframes AnimationName {
    0% {
        background-position: 50% 0%
    }
    50% {
        background-position: 51% 100%
    }
    100% {
        background-position: 50% 0%
    }
}

@keyframes AnimationName {
    0% {
        background-position: 50% 0%
    }
    50% {
        background-position: 51% 100%
    }
    100% {
        background-position: 50% 0%
    }
}

img {
    box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.5);
}

img:hover {
    background-color: #000000;
}
.navigationButton {
    padding: 10px 25px;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: #fff;
    background-color: #777777;
    border: none;
    border-radius: 5px;
    box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.5);
    margin-top: -25px;
}

.navigationButton:hover {
    background-color: #4CAF50
}

.navigationButton:active {
    background-color: #4CAF50;
    box-shadow: 1px -1px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(1px);
}

* {
    box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    width: 800px;
    height: 350px;
    z-index: 15;
    top: 50%;
    left: 50%;
    margin: -175px 0 0 -400px;
    background-size: contain;
}

/* Hide the images by default */
.mySlides {
    display: none;
    cursor: pointer;

}

/* Caption text */
.headingtext {
    color: #f2f2f2;
    font-size: 40px;
    padding: 10px 0px 0px 0px;
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 1000;
    pointer-events: none;
}

.coursedescription {
     /* Make the caption a block so it occupies its own line. */
     display: block;
     color: white;
    padding-top: 15px;
    padding-right: 80px;
    padding-left: 80px;
    padding-bottom: 15px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
     font-size: 18px;
     text-align: center;
     position: relative;
     z-index: 1000;
 }

.coursenote {
    /* Make the caption a block so it occupies its own line. */
    display: block;
    color: white;
    padding-top: 20px;
    padding-right: 80px;
    padding-left: 80px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.coursenote2 {
    /* Make the caption a block so it occupies its own line. */
    display: block;
    color: white;
    padding-top: 20px;
    padding-bottom: 55px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    text-align: center;
    position: relative;
    z-index: 1000;
}


.teacher-overview-link {
    /* Make the caption a block so it occupies its own line. */
    display: block;
    color: white;
    padding-top: -10px;
    padding-bottom: 25px;
    font-size: 17px;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.clickheretext {
    color: #f2f2f2;
    font-size: 20px;
    padding: 5px 6px;
    position: absolute;
    width: 25%;
    text-align: center;
    bottom: 0px;
    left:0px;
    z-index: 1000;
    background-color: rgba(76, 175, 80, 0.95);
    border-radius: 10px  ;
    pointer-events: none;
}

.footertext {
    color: #f2f2f2;
    font-size: 14px;
    padding: 10px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 20px;
    padding: 10px 12px;
    position: absolute;
    bottom: -90px;
    width: 100%;
    text-align: center;
}

.handbooktext {
    color: #f2f2f2;
    font-size: 14px;
    padding: 10px 12px;
    position: absolute;
    bottom: -85px;
    left: 60px;
    width: 100%;
    text-align: right;
}

.handbookimage {
    position: absolute;
    bottom: -50px;
    left: 720px;
    max-width: 50%;
    width: 140px;
}
.handbookimage:active {
    box-shadow: 1px -1px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(1px);
}

.videoimage {
    position: absolute;
    bottom: -140px;
    left: 755px;
    width: 70px;
    border-radius: 20px;
}

.videoimage:hover {
    background-color: black;
}

.videoimage:active {
    box-shadow: 1px -1px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(1px);
}

#main {
    position: absolute;
    width: 600px;
    height: 40px;
    padding: 0px;
    bottom: -130px;
    left: 100px;
}

#main > div {
    float: right;
    margin: 10px;
}

#d1 {
    width: 50px;
    object-fit: scale-down;
    vertical-align: middle;
    border-radius: 0px;
    box-shadow: none;
    max-width: 50%;
}

#d2 {
    position: absolute;
    left: 50px;
    text-align: center;
    vertical-align: central;
    font-size: 14px;
    color: white;
    top: 5px;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    bottom: 0;
    right:0%;
    background-color: rgba(51,51,51,0.5);
    border-radius: 10px;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    border-style: solid;
    border-width:thin;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}


.item img {
    max-width: 100%;

    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
}

.item:hover img {
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: black;
    border-radius: 10px;
    cursor: hand;
}

.container:hover .overlay {
    opacity: 0.9;
}

.overlaytext {
    color: yellow;
    font-size: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

img
{
    border-radius: 10px;
    max-width:100%;
    height:auto;
}

iframe
{
    border-radius: 10px;
    max-width: 100%;
}

.iframe1
{
    height:275px;
}

.iframe2
{
    width: 100%;
    height:calc(40vw/1.8);
    border-radius: 10px;
    transition: transform 0.4s ease, background-color 0.4s ease;
    box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.5);
}
.iframe2:hover {
    transform: scale(1.05); /* Scale up from 1 to 1.1 on hover */
}

video
{
    border-radius: 10px;
    max-width:100%;
    height:auto;
}

.tagline {
    /* Make the caption a block so it occupies its own line. */
    display: block;
    color: white;
    padding: 10px 10px 10px 20px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    text-align: center;
}

.heading {
    /* Make the caption a block so it occupies its own line. */
    display: block;
    color: white;
    padding: 10px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px;
    text-align: center;
    background: rgba(51, 51, 51, 0.4);
    margin-top: 10px;
    margin-bottom: 20px;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}
a:visited {
   color: white;
}

@media screen and (max-width: 800px) {
    .index {
        /*background: royalblue;*/
        background-size: 100% 400%;
    }

    .handbooktext {
        color: #f2f2f2;
        font-size: 14px;
        padding: 10px 12px;
        position: absolute;
        bottom: -85px;
        left: -60px;
        width: 100%;
        text-align: right;
        visibility: hidden;
    }

    .handbookimage {
        position: absolute;
        bottom: -50px;
        left: 600px;
        max-width: 50%;
        width: 140px;
        visibility: hidden;

    }
    .coursedescription {
        display: none;
    }
    .coursenote2 {
        display: none;
    }
    .text {
        bottom: 50px;
        z-index: 1000;
        background-color: rgba(51, 51, 51, 0.5);
    }

    .headingtext {
        font-size: 40px;
        padding: 30px 0px 0px 0px;
    }
    .dot {
        cursor: pointer;
        height: 10px;
        width: 10px;
        margin: 0 2px;
    }
    #main {
        position: absolute;
        width: 600px;
        height: 40px;
        padding: 0px;
        bottom: -100px;
        left: 100px;
    }

}
.experimentImage
{
    cursor:default;
}

.approveCookiesButton {
    background-color: #4CAF50;
    color: white;
    padding: 7px 8px;
    margin: 4px 5px;
    border: none;
    cursor: pointer;
    text-align: center;
    opacity: 0.9;
    font-size: 20px;
    position: relative;
    top: 48px
}
.cookieMessage{
    text-align: center;
    font-size: 16px;
    color: white;
    padding: 10px 2rem 10px 0px;
    position: relative;
    top: 48px;
}

.coordStatus {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.popupInfo {
    z-index:10;display:none; padding:14px 20px;
    margin-top:-120px; margin-left:-100px;
    width:200px; line-height:16px; height:80px;
}

.popupInfo:hover{
    display:inline; position:absolute; color:#111; opacity: 0.9;
    border:1px solid #DCA; background:#fffAF0;}
.callout {z-index:20;position:absolute;top:30px;border:0;left:-12px;
}

.overview-popup {
    z-index:10;
    position: relative;
    display: flex;
    min-width: 120px;
    height: auto;
    min-height: 30px;
    left: 50%;
    margin-left: -60px;
    visibility: hidden;
    background-color: black;
    color: white;
    border-radius: 6px;
    justify-content: center;
    top: 200%;
    padding: 6px 0;
}
.dot:hover .overview-popup {
    visibility: visible;
}

.course-back-button button{
    background-color: #777777;
    color: black;
    position: absolute;
    margin-left: 10px;
    margin-top: 10px;
    box-shadow: none;
    border-style: solid;
    border-color: black;
    font-size: 18px!important;
    border-radius: 50%;
    padding: 8px 16px;
    border-width: thin;
}

.course-back-button button:hover{
    background-color: #ddd;
}

.warning-sign-container {
    text-align: center;
}

#warning-sign {
    width: 50px;
    object-fit: scale-down;
    padding-top: 0px;
    border-radius: 0px;
    box-shadow: none;
    max-width: 50%;
    display: inline-block; /* Ensure it's treated as an inline element */
}

.course-tile-button {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 10px;
}

.course-tile-button:focus {
    outline: 3px solid #005fcc;
    outline-offset: 4px;
}

.grid-item-3col:focus {
    outline: 3px solid #005fcc;
    outline-offset: 4px;
}

.video-tile-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 10px;
}

.video-tile-button:focus {
    outline: 3px solid #005fcc;
    outline-offset: 4px;
}


.footbar a:focus,
footbar a:focus {
    outline: 3px solid #1a73e8;
    outline-offset: -2px;
    border-radius: 4px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}