:root
{
    --background: #000000;
    --text-color: #ffffff;
    --title-text-color: #000000;
    --nav-color: #FFD915;
    --font-family: 'AtramentWeb', Arial, Helvetica, sans-serif;
    --earth-background-image: url('../images/svg/backgroundearth.svg');
    --background-frame-image: url('../images/svg/bg.svg');
}

body {
    background-color: var(--background);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    width: 1680px;
    height: 1050px;
    overflow: hidden;
}

.active-link {
    text-shadow: 0 0 20px white, 0 0 40px white;
}

.iframe-main {
    margin-top: 200px;
    width: 1000px;
    height: 100vh;
    margin-left: 350px;
    margin-right: 120px;
    overflow: auto;
    border: 0;
    z-index: 5;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.iframe-main::-webkit-scrollbar, .iframe-overlay::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.iframe-main, .iframe-overlay {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.backgroundframe {
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 10px;
    width: 100vw;
    height: 100vh;
    background-image: var(--background-frame-image);
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
    transform: translate(0, 0);
    z-index: 2;
    pointer-events: none;
}

#navcontainer {
    display: flex;
    height: 200px;
    width: 100vw;
    justify-content: center;
    align-items: center;
    margin-left: 100px;
    position: relative;
}

.container {
    display: grid;
    grid-template-areas: 
        "top top top"
        "left main-content right";
    grid-template-rows: 145px auto;
    grid-template-columns: 200px 600px auto;
    height: 100vh;
    gap: 10px;
    margin-top: 50px;
}

.top {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: top;
    margin-left: 50px;
    margin-right: 50px;
    padding: 0 20px;
    pointer-events: auto;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 60px;
    margin-bottom: 50px;
}

.menu ul li a {
    text-decoration: none;
    color: var(--title-text-color);
    font-size: 4vw;
    z-index: 6;
}

.menu ul li a:hover {
    color: var(--text-color);
}

.left {
    grid-area: left;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    pointer-events: none;
}

.main-content {
    grid-area: main-content;
    margin-top: 10px;
    width: 1000px;
    margin-left: 150px;
    margin-right: 120px;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}

.text-content {
    overflow-y: scroll;
}

.text-content h1 {
    color: var(--text-color);
    text-align: left;
    font-size: 5vw;
}

.text-content h2 {
    color: var(--title-text-color);
    text-align: left;
}

.text-content p {
    color: var(--text-color);
    text-align: left;
    font-size: 2.5vw;
}

.right {
    grid-area: right;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 50px;
    pointer-events: none;
}


.navbar {
    box-sizing: border-box;
    width: 100%;
    height: 200px;
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    position: static;
    background-image: url('../images/svg/titlebar.svg');
    background-repeat: no-repeat;
    background-size: contain;
    transform: translate(0, 0);
}

.navbar a {
    color: var(--title-text-color);
    padding: 1vw;
    margin-left: 200px;
    text-decoration: none;
    text-align: center;
    font-size: 3vw;
}

.navbar a:hover {
    background-color: var(--background);
    color: var(--text-color);
    border-radius: 10%;
}

.navbar a.active {
    background-color: var(--background);
    color: var(--text-color);
    border-radius: 10%;
}

#rightside {
    background-image: url('../images/svg/rightside.svg');
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: start;
    position: relative;
}

.earth {
    position: fixed;
    z-index: 6;
    left: 203px;
    top: 14.2vh;
    aspect-ratio: 1;
    transform: translate(-50%, -50%) scale(0.22);
    background-image: var
}

.content {
    background-color: var(--background);
}

.content h1 {
    color: var(--text-color);
    text-align: left;
    font-size: 4vw;
}

.content p {
    color: var(--text-color);
    text-align: left;
    font-size: 2.5vw;
}

h1 {
    color: var(--title-text-color);
    text-align: center;
}

h2 {
    color: var(--title-text-color);
    text-align: center;
}

.backgroundimage {
    background-image: url(../images/bg/gradientdots.png);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-repeat: repeat-x;
    z-index: -1;
}

.iframe-overlay {
    position: fixed; /* Change this line */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    /* Set the width and height as needed */
    width: 1000px;
    height: 400px;
    border: 0;
}

@font-face {
    font-family: 'AtramentWeb';
    src: url(../fonts/AtramentWeb.woff) format('woff');
    font-style: sans-serif;
}