@font-face {
    font-family: Poppins-SemiBold;
    src: url(../Fonts/Poppins-SemiBold.ttf);
}

*, *::before, *::after {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: Poppins-SemiBold, Arial, Helvetica, sans-serif;
    background-image: url(../Images/background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #FFF;
    backdrop-filter: blur(3px);
}

/* Navigation Styles */

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    height: 100px;
    width: 100%;
}

.logo a img {
    width: 75px;
}

.links-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 0 25px;
    list-style: none;
}

.links-wrapper li a {
    color: #FFF;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.links-wrapper li a:hover {
    color: #CCC;
}

input[id="menu-toggle"],
label[for="menu-toggle"] {
    display: none;
}

@media (max-width: 786px) {
    nav {
        background-color: #222;
    }

    .links-wrapper {
        position: absolute;
        top: 100px;
        left: -150%;
        flex-direction: column;
        justify-content: center;
        background-color: #222;
        width: 100%;
        height: 40vh;
        text-align: center;
        transition: all 0.25s ease-in-out;
    }

    .links-wrapper li a {
        display: block;
        padding: 30px 0;
        border-top: 1px solid #111;
    }

    label[for="menu-toggle"] {
        display: block;
        font-size: 1.5em;
    }

    input[id="menu-toggle"]:checked ~ .links-wrapper {
        left: 0;
    }
}

/* Home Page Styles */

.home-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110vh;
    text-align: center;
}

.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 0 25px;
}

.home-content {
    display: flex;
    flex-direction: column;
    gap: 15px 0;
    width: 25rem;
    text-align: left;
}

.home-content-logo {
    color: #552CC5;
}

.home-content span {
    font-size: .9em;
}

.home-img {
    transition: all 0.25s ease-in-out;
    border-radius: 4px;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
}

.home-img:hover {
    transform: scale(1.025);
    background-color: #4a25b0;
    filter: drop-shadow(0px 0px 7px #4a25b0);
    padding: 5px;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
}

@media (max-width: 850px) {
    .home {
        flex-direction: column;
        gap: 25px 0;
    }

    .home-content {
        text-align: center;
    }
}

@media (max-width: 450px) {
    .home-content {
        width: 20rem;
    }

    .home-img img {
        width: 325px;
    }
}

/* Download Page */

.download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.download {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 100px 0;
}

.download-heading span {
    font-size: .9em;
}

.download-main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.download-all {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    background: rgba(100, 100, 100, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 100, 100, 0.75);
    width: 20rem;
    height: 32vh;
    transition: all 0.25s ease-in-out;
}

.download-all:hover {
    transform: scale(1.025);
}

.download-all a, .download-button-a {
    color: #FFF;
    text-decoration: none;
    font-size: 1.25em;
    padding: .5rem;
    background: rgba(100, 100, 100, 0.35);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 100, 100, 0.75);
    transition: all 0.25s ease-in-out;
}

.download-all a:hover {
    background: rgba(100, 100, 100, 0.75);
}

/* Footer Styles */

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    margin: 3rem 0 0 0;
    background-color: #222;
}

.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    flex-basis: 1 1 150px;
    width: 100%;
}

.windows-all, .mac-all, .linux-all {
    cursor: pointer;
    user-select: none;
}

.download-button {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    background: rgba(100, 100, 100, 0.25);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 100, 100, 0.75);
    width: 10rem;
    height: 5vh;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
    user-select: none;
    margin-top: 0px;
}

.download-button:active {
    transform: translateY(2px);
    transition-duration: 50ms !important;
}

.download-button:hover {
    transition-duration: 300ms !important;
    border: 1px solid #552CC5;
    background: rgba(73, 63, 83, 0.25);
}

#client {
    filter: drop-shadow(0 0 5px #552CC5);
}

.download-all > img {
    height: 20vh;
    position: fixed;
}

#spinner-win, #spinner-mac, #spinner-lin {
    opacity: 0;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-out {
    animation: fade-out 0.3s ease-out;
}

.fade-in {
    animation: fade-in 0.5s ease-in-out;
}

@keyframes shake {
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  80% {
    transform: translate3d(2px, 0, 0);
  }

  50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  60% {
    transform: translate3d(4px, 0, 0);
  }
}

.shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}


#adminpanellink:active, #adminpanellink:visited {
    color: #552CC5;
    text-decoration: none;
    font-size: .9em;
    border: 1px dashed #552CC5;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

#adminpanellink:hover {
    font-size: 1.1em;
    border: 2px dotted #552CC5;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

#adminpanellink {
    text-decoration: none;
    border: 0px dotted #552CC5;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

input {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    width: 100%;
    font-size: 1.1em;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
    background-color: #1f1f1f;
    color: #FFF;
    filter: drop-shadow(0 0 1px #ccc);
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 6px;
    display: inline-block;
    border: 1px dashed #ccc;
    padding: 10px;
    cursor: pointer;
}

#adminpanelform {
    display: none;
    opacity: 0;
}

.scale-up-y {
    animation: scale-up-y 1s ease 0.2s 1 forwards;

}

@keyframes scale-up-y {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.versioninfo {
    font-size: .8em;
    color: #ccc;
    margin-top: -10px;
    position: fixed;
    transform: scale(0);
}

.updateiconversion {
    width: 1.8em;
    position: fixed;
    filter: invert();
    animation: spin 1s linear 0s infinite forwards;
    margin-top: -10px;
    transform: scale(1);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes scale-down {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(0) rotate(180deg);
    }
}

.scale-down {
    animation: scale-down 0.3s ease-out;
}

@keyframes scale-up {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }   
}

.scale-up {
    animation: scale-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-in{
	transition: .3s ease-out;
}
.hover-out{
	transition: .3s ease-in;
}

/*
#mac > a, #win > .download-windows > a, #lin > a
*/

.disabled-download{
    color: #ffffff3b !important;
    background-color: rgba(255, 255, 255, 0.116) !important;
    cursor: progress !important;
    background-image: url('../../www.seekpng.com/png/full/9-95144_diagonal-stripes-png-graphic-transparent-parallel.png') !important;
    transition-duration: 1s;
}

.download-all > a {
    transition-duration: 0.3s;
}

#download-jdk {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    background: rgba(100, 100, 100, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 100, 100, 0.75);
    width: 50rem;
    height: 0vh;
    transition: all 0.25s ease-in-out;
    color: transparent;
}

.download-jdk-fadein {
    animation: fade-in-text-custom 1s forwards 0s 1;
}
.download-jdk-button-fadein {
    animation: fade-in-custom 1s forwards 0.7s 1;
}
#download-jdk > a:hover {
    background: rgba(100, 100, 100, 0.75);
}
#download-jdk > a {
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}

@keyframes fade-in-text-custom {
    0% {
        color: transparent;
    }
    100% {
        height: 24vh;
        color: #fff;
    }
}

@keyframes fade-in-custom {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        pointer-events: all;
    }
}

a:hover {
    color: #e0e0e0 !important;
}

li {
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

li:hover {
    transform: translateY(-1.5px) !important;
    transition-duration: 1s;
    border-radius: 30%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}