@font-face {
    font-family: DIN;
    src: url("fonts/DIN\ Bold.otf") format("opentype")
}

*{
    font-family: 'DIN';
}


body{
    width:100%;
    height:100%;
    margin:0;
    padding:0;
}

.backdropbackground{
    background-color: #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: 0%;
    filter: blur(10px);
    width:calc(100% + 50px);
    height:calc(100% + 50px);
    position:fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container {
    background-color: black;
    width:100%;
    aspect-ratio: 4/3;
    width:auto;
    max-width: 100%;
    height: 100vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin:0;
    padding:0;
    border:none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: 0%;
    border: solid;
    border-width: 10px;
}

.backgroundnew {
    z-index: 1;
    width:100%;
    height:100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: 0%;
    margin:0;
    padding:0;
    border:none;
    opacity:0;
    transition-duration: 1s;
    object-fit:cover;
}

.transitioning {
    opacity:1;
    transition-duration: 1s;
}

.bg1 {
    background-image: url("./bgs/background02.png");
}
.bg2 {
    background-image: url("./bgs/background03.png");
}
.bg3 {
    background-image: url("./bgs/background04.png");
}
.bg4 {
    background-image: url("./bgs/background01.png");
}

.panel {
    position:fixed;
    background-color: rgba(128, 128, 128, 0.5);
    width:fit-content;
    height:fit-content;
    padding:2vh;
    padding-left: 5%;
    border-radius: 1.54vh;
    transition-duration: 0.4s;
    transition-timing-function:linear;
    z-index: 2;
}
.panelContent {
    width:100%;
    height:100%;
    opacity: 1;
    transition-duration: 0.1s;
}
.content {
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    visibility: visible;
    position: inherit;
}

.invisible {
    opacity:0;
    visibility: hidden !important;
    position:fixed;
}

.panelContentTransitioning {
    opacity: 0;
    transition-duration: 0s;
}

.rightAlign {
    right: 10.75%;
    top:40%;
    transform: translate(0, -50%);
}
.centerLargeAlign {
    right: 10.75%;
    top:50%;
    transform: translate(0, -50%);
}
.centerSmallAlign {
    right:50%;
    top:50%;
    transform: translate(50%, -50%);
}
.smallMenu {
    width:30%;
    height:30%;
}
.wideMenu {
    width:72.5%;
}
.tallMenu {
    height:40%;
}
.tallerMenu {
    height:55%;
}

.menubutton {
    position:relative;
    height:20%;
    margin-top: 2%;
    margin-bottom: 2%;
    background: none;
    text-align: left;
    color:white;
    font-size: 4vh;
    line-height: 4vh;
    vertical-align: middle;
      text-shadow:
    3px 3px 0 #000,
    -3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000;
    border:none;
    padding-left: 2vh;
    cursor: pointer;
}
.selector {
    position:absolute;
    left:-15%;
    top:50%;
    transform: translate(0, -50%);
    height:115%;
}

.menubutton img {
    opacity:0;
}

.menubutton:hover {
    background-image: linear-gradient(to right,rgba(255, 166, 0, 0),rgba(255, 166, 0, 1) 20%,rgba(255, 166, 0, 0));
}

.menubutton:hover img {
    opacity:1;
}

header {
    position:fixed;
    height:7vh;
    width:100%;
    left:0px;
    color:orange;
    font-size: 4vh;
    line-height: 4vh;
    transform: translate(0, -100%);
      text-shadow:
    3px 3px 0 #000,
    -3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000;
}

@keyframes panelTransitionEnd {
    0% {
        background-color: rgba(255, 255, 255, 0.5);
    }
    20% {
        background-color: rgba(255, 255, 255, 0.5);
    }
    40% {
        background-color: rgba(128, 128, 128, 0.5);
    }
    50% {
        background-color: rgba(128, 128, 128, 0.5);
    }
    60% {
        background-color: rgba(255, 255, 255, 0.5);
    }
    80% {
        background-color: rgba(255, 255, 255, 0.5);
    }
    100% {
        background-color: rgba(128, 128, 128, 0.5);
    }
}

.panelAnimate {
    animation: panelTransitionEnd 200ms;
    animation-timing-function: cubic-bezier();
}

.freeman {
    position:fixed;
    height:90%;
    bottom:0;
    left:5%;
    filter: blur(1px);
    visibility: hidden;
}

.portDownloads {
    width:80%;
    height:65%;
    position:absolute;
    bottom:10%;
    left:50%;
    transform: translate(-50%, 0);
    white-space: nowrap;
    overflow: hidden;
}

.switcher {
    width:100%;
    height:100%;
    position:absolute;
    left:0%;
    bottom:0%;
    transition-duration: 0.5s;
}

.scroller {
    width:100%;
    height:100%;
    position:absolute;
    left:0%;
    bottom:0%;
    transition-duration: 0.5s;
    scroll-behavior: auto;
    display:flex;
    flex-wrap: wrap;
    overflow: scroll;
    scroll-behavior: auto;
    scrollbar-width: thin;
}

.filetodownload {
    position: absolute;
    color:white;
    font-size: 4vh;
    line-height: 4vh;
    top:0%;
    left:50%;
    transform: translate(-50%, 0);
}

.page {
    position: absolute;
    color:white;
    font-size: 2.5vh;
    line-height: 4vh;
    bottom:-5%;
    left:50%;
    transform: translate(-50%, 0);
    z-index: 2;
}

.Arrow {
    background:none;
    border:none;
    height: 85%;
    bottom:0%;
    position:absolute;
    width:7%;
    transition-duration: 0.25s;
}
.Arrow img {
    width:100%;
}
.disabledArrow {
    filter: contrast(0.6) brightness(0.4) grayscale();
    transition-duration: 0.25s;
}
.Arrow:hover img {
    filter: contrast(0.8) brightness(0.8);
}
.left {
    left:1%;
}
.right{
    right:1%;
}

.downloadLink, .downloadLink:link, .downloadLink:visited, .downloadLink:active {
    cursor: pointer;
    position:relative;
    width:32%;
    height:28vh;
    border:none;
    background-color: rgba(128, 128, 128, 0.5);
    border-radius: 5%;
    margin-right: 1%;
    margin-bottom: 1vh;
    display: inline-block;
    text-decoration: none;
}

.downloadLink:hover {
    background-color: rgba(4, 105, 0, 0.63);
}

.downloadLink p {
    position: absolute;
    color:white;
    font-size: 3vh;
    line-height: 3vh;
    text-align: left;
    height:3vh;
    top:0%;
    left:5%;
    transform: translate(0, -50%);
}

.downloadLink img{
    aspect-ratio: 4/3;
    position: absolute;
    width:90%;
    left:5%;
    bottom:7%;
}

.navButtons {
    position:fixed;
    width:fit-content;
    height:fit-content;
    padding:2vh;
    padding-left: 5%;
    border-radius: 1.54vh;
    transition-duration: 0.4s;
    transition-timing-function:linear;
    z-index: 2;
    right: 50%;
    bottom:-3%;
    height:12.5%;
    width:72.5%;
    transform: translate(50%, 0);
    background-image: linear-gradient(to right,rgba(128, 128, 128, 0),rgba(128, 128, 128, 0.5) 70%,rgba(128, 128, 128, 0.5));
    display: flex;
    gap:1vh;
    direction:rtl;
}

.navButton {
    cursor: pointer;
    height:35%;
    background: none;
    text-align: center;
    color:white;
    font-size: 4vh;
    line-height: 4vh;
    vertical-align: middle;
      text-shadow:
    3px 3px 0 #000,
    -3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000;
    border:none;
    padding-left: 2vh;
}
.navButton:hover {
    color:orange;
}

.toggleLayout {
    cursor: pointer;
    direction:ltr;
    display: flex;
    gap:1vh;
    position: relative;
    height:35%;
    width:45vh;
}

.toggleLayout button {
    aspect-ratio: 1;
    height: 100%;
    width: auto;
    border-color: orange;
    border-style: solid;
    border-width: 0.5vh;
    font-size: 3vh;
    line-height: 0vh;
    background-color: white;
    color:white;
}
.toggled button {
    color:orange
}
.toggleLayout:hover button {
    border-color: rgb(167, 108, 0);
}

.toggled:hover button {
    color: rgb(167, 108, 0);
}

.toggleLayout p {
    user-select: none;
    width:100%;
    height:100%;
    background: none;
    text-align: center;
    color:white;
    font-size: 4vh;
    line-height: 5vh;
    vertical-align: middle;
    text-align: left;
      text-shadow:
    3px 3px 0 #000,
    -3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000;
    border:none;
    padding-left: 0.5vh;
    transform: translate(0, -100%);
}
.toggleLayout:hover p {
    color:orange;
}

#c5 p {
    width:100%;
    height:100%;
    background: none;
    text-align: center;
    color:white;
    font-size: 4vh;
    line-height: 5vh;
    vertical-align: middle;
    text-align: left;
      text-shadow:
    3px 3px 0 #000,
    -3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000;
    border:none;
}

#c4 p {
    width:100%;
    height:100%;
    background: none;
    text-align: center;
    color:white;
    font-size: 4vh;
    line-height: 5vh;
    vertical-align: middle;
    text-align: left;
      text-shadow:
    3px 3px 0 #000,
    -3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000;
    border:none;
}

.tabSelector {
    position:absolute;
    right:0;
    top:-1vh;
    transform: translate(0, -100%);
}
.tabSelector button {
    background-color: rgba(128, 128, 128, 0.5);
    border-style: solid;
    border-color: rgba(255, 166, 0, 0);
    border-width: 0.5vh;
    font-size: 3vh;
    color:white;
}
.tabSelector button:hover {
    border-color: orange;
}