
html{
    scroll-behavior: smooth;
}
body{
    margin: 0px;
    font-weight: 800;
    background-image: url("img/amadyLauncherMenuUPC-blur.png");
    overflow-x: hidden;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}
#bg{
    background-image: url("img/amadyLauncherMenuUPC-blur.png");
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}
#wrapper{
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin: 0px;
    width: 100%;
    min-height: fit-content;
    height: fit-content;
    overflow-x: hidden;
    margin: 0px;
    gap: 10px;
    margin-top: 10px;
    overflow: hidden;
    z-index: 1;
}
header{
    background-color: rgb(20,20,20);
    width: calc(100% - 20px);
    max-height: 70px;
    display: flex;
    flex-direction: row;
    /*justify-content: center;*/
    z-index: 10;
    gap: 10px;
    padding: 10px;
    border-radius: 0px 0px 16px 16px;
    position: sticky;
    align-items: center;
}
#logo{
    border-radius: 16px;
    transition: all .3s ease;
    max-width: 150px;
    max-height: 70px;
}
#logo:hover{
    filter: drop-shadow(0px 0px 5px white);
}
#content{
    flex-grow: 1;
    align-items: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
    -webkit-text-stroke: 2px black;
    justify-content: center;
    overflow: hidden;
    max-width: 100%;
}
#content2{
    background-color: rgb(20,20,20);
    flex-grow: 1;
    align-items: center;
    display: flex;
    flex-direction: column;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 100%;
}
footer{
    background-color: rgb(20,20,20);
    border-radius: 16px 16px 0px 0px;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 10px;
    line-height: 0px;
    align-items: center;

}
h1{
    font-size: 5vh;
    font-weight: 500;
}
h2{
    font-size: 4vh;
    -webkit-text-stroke: 2px black;
}
h3{
    font-size: 2.3vh;
}
@keyframes float{
    0%{transform: translate(0px, 0px);}
    50%{transform: translate(0px, -5px);}
    100%{transform: translate(0px, 0px);}
}
@keyframes card_like_rotation{
    0%{transform: rotate(20deg);}
    5%{transform: rotate(26deg);}
    10%{transform: rotate(20deg);}
    15%{transform: rotate(26deg);}
    20%{transform: rotate(20deg);}
    100%{transform: rotate(20deg);}
}
button{
    -webkit-text-stroke: 0px black;
    color: white;
    background-color: rgb(30, 90, 225);
    padding: 15px;
    font-size: 1.9vw;
    border-radius: 16px;
    border: none;
    -webkit-text-stroke: 2px black;
    font-weight: 700;
    transition: all .3s ease;
}
button:hover{
    background-color: rgb(0, 60, 185);
    
}
button:active{
    background-color: rgb(10, 40, 195);
}
#mainWindowView{
    position: absolute;
    z-index: -1;
    border-radius: 16px;
    right: -30%;
    transform: rotate(20deg);
    bottom: -10vh;
    animation: card_like_rotation 5s infinite ease;
    user-select: none;
    transition: all .5s ease;
}
#mainWindowView:hover{
    box-shadow: 0px 0px 20px black;
}

li{
    list-style-type: none;
    position: relative;
}
li::before{
    content: '';
    background-color: white;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    left: -30px;
    border-radius: 3px;
}
li:hover::before{
    animation: spin 1.5s infinite linear;
}
@keyframes spin{
    0%{transform: rotate(0deg);}
    100%{transform: rotate(360deg);}
}
.minceraft{
    background-clip: text;
    background-image: url("img/options_background.png");
    color: transparent;
    background-size: 50px 50px;
    image-rendering: pixelated;
}
.minceraft-hover{
    color: white;
    transition: color .3s ease;
    background-clip: text;
    background-image: url("img/options_background.png");
}
.minceraft-hover:hover{
    
    color: transparent;
    background-size: 50px 50px;
    image-rendering: pixelated;
}
#mainWindowZoomed{
    background-image: url('./img/amadyLauncherMainWindow.png');
    aspect-ratio: 1.7 / 1;
    height: 60%;
    background-size: 100% 100%;
    z-index: 3;
    border-radius: 16px;
    transition: all .3s ease;
    transform: scale(0);
}
#darken{
    background-color: rgb(0,0,0,.5);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: translate(-50%, -50%) scale(0);
}
p{
    font-weight: 100;
    color: gray;
}
#download-panel{
    padding: 20px;
    width: 100%;
    flex-grow: 1;
    min-height: 400px;
    background-color: rgb(0,0,0,.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    margin-bottom: 20px;
}
.normal-link{
    color: white;
    text-decoration: none;
}
#fast{
    background-image: url("/img/amadyLauncherLogo.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    background-position: 50%;
    aspect-ratio: 1 / 1;
}
#fast::after{
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url("/img/amadyLauncher-fast.png");
    background-repeat: no-repeat;
    background-position: 50%;
    animation: color-anim 5s infinite ease;
}
#lw-link:hover #lw-div{
    display: block;
}
#lw-link:hover #fast{
    display: none;
}
@keyframes color-anim{
    0%{filter: hue-rotate(0deg)}
    100%{filter: hue-rotate(360deg)}
}

@media only screen and (max-width: 1300px) {
    #mainWindowView {
      display: none;
    }
    h2{
        font-size: 4vh;
        -webkit-text-stroke: 0px black;
    }
    h3{
        font-size: 3vh;
        -webkit-text-stroke: 0px black;
    }
    h1{
        font-size: 5vh;
        -webkit-text-stroke: 0px black;
    }
    button{
        min-width: 10%;
        font-size: 4vh;
    }
  }
  