@font-face {
    font-family: Big;
    src: url("ttf/TiltWarp.ttf") format("opentype");
}

@font-face {
    font-family: Normal;
    src: url("ttf/TiltNeon.ttf") format("opentype");
}

html {
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    background-image: url("/res/img/wallpaper/winter2.png");
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: none;
}

#MainWindow {
    background: transparent;
    scale: 1;
    transition: scale ease 1s;
    margin: 1rem;
}

#cursor {
    width: 20px;
    height: 20px;
    border-radius: 5rem;
    background: rgb(255, 255, 255);
    position: absolute;
    z-index: 10;
    backdrop-filter: blur(32px);
    box-shadow: 0 0 10px #ffffff;
    pointer-events: none;
}

.glass {
    background: transparent;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.25);
    padding: 1rem;
    overflow: hidden;
}

.tilt {
    transform: perspective(3000px) rotateY(var(--rotateY))
        rotateX(var(--rotateX));
}

.profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.profilepic {
    border-radius: 100%;
    width: 8rem;
    height: 8rem;
    object-fit: cover;
}

.profiletext {
    display: flex;
    flex-direction: column;
    color: white;
    font-family: Normal;

    justify-content: center;
    padding: 1rem;
}

.profiletitle {
    font-size: 3rem;
    font-family: Big;
}

.profilesubtitle {
    font-size: 2rem;
}

.links {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.link {
    width: 3rem;
    transition:
        filter ease 0.2s,
        scale ease 0.1s;
    margin: 1rem;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5));
}

.link:hover {
    scale: 1.2;
    filter: drop-shadow(0px 0px 5px rgb(255, 255, 255));
}

.music {
    margin-top: 1rem;
    display: flex;
}

.cd {
    display: flex;
}

#cd {
    height: 5rem;
    width: 5rem;
    animation: rotate 1s linear infinite;
}

.pause {
    font-size: 1rem;
    color: white;
    background: rgba(0, 0, 0, 0.352);
    height: 5rem;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -5rem;
    z-index: 1;
    border-radius: 100%;
    opacity: 0;
    transition:
        opacity 0.5s ease,
        font-size 1s ease;
}

.pause:hover {
    opacity: 1;
    font-size: 4rem;
}

.musiccontainer {
    display: flex;
    flex-direction: column;

    justify-content: center;
    flex-grow: 1;
}

.musictimeandprogress {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
    gap: 0.5rem;
}

.progress {
    flex-grow: 1;
    height: 5px;
    width: 10px;
    background: rgba(255, 255, 255, 0.267);
    border-radius: 100px;
}
.progressbar {
    background: rgba(255, 255, 255, 0.671);
    height: 100%;
    width: 0%;
    border-radius: 100px;
    transition: width ease 0.1s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.musictime,
.musictimemax {
    font-family: Normal;
    color: white;
}

a {
    cursor: none;
}

.musictitle {
    font-family: Normal;
    font-size: 1.5rem;
    margin-left: 0.5rem;
    color: white;
}

.volumecontroll {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    padding: 1rem;
    scale: 0.9;
    transition: scale 0.2s ease;
}

.volume_icon {
    width: 3rem;
}

.volumeslider {
    width: 0rem;
    opacity: 0;
    transition:
        opacity 0.2s ease,
        width 0.2s ease;
}

.volumecontroll:hover {
    scale: 1;
}

.volumecontroll:hover .volumeslider {
    width: 15rem;
    opacity: 1;
}

a {
    transition: font-size 0.2s ease;
}

a:hover {
    font-size: 2.5rem;
}

.pausebtn {
    border: 0;
    background: transparent;
    box-sizing: border-box;
    width: 0;
    height: 74px;
    border-color: transparent transparent transparent #ffffff;
    transition: 100ms all ease;
    cursor: pointer;
    border-style: solid;
    border-width: 37px 0 37px 60px;
    scale: 0.5;
}
.pausebtn.paused {
    border-style: double;
    border-width: 0px 0 0px 60px;
}

.mega {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-align: center;
    color: white;
    font-family: Normal;
    font-size: 2rem;
}

.megalink {
    flex-grow: 1;
    transition: all 0.2s ease;
}

.megalink:hover {
    background-color: rgba(0, 0, 0, 0.603);
    flex-grow: 2;
}

@media (max-width: 570px) {
    .glass {
        padding: 0.5rem;
    }
    * {
        cursor: crosshair;
    }
    #cursor {
        display: none;
    }
    .profile {
        flex-direction: column;
    }
    .link {
        width: 2.5rem;
    }
    .profiletitle {
        font-size: 2.5rem;
    }
    .profilesubtitle,
    .megalink {
        font-size: 1.5rem;
    }
    #MainWindow {
        border: none;
        margin: none;
    }
}

#snow {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
}
