html, body {
      overflow: auto;
}

@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-display: swap;
    src: url(./Unbounded.ttf);
  }

:root {
	--bgColor: rgba(255, 255, 255, 0);
    --bgColor2: #12295B;
    --shad: #da412a;
    --accentColor: #FFF;
    --font: "Unbounded";
    --delay: 1s;
    --glowButtons: drop-shadow(0 0 5px var(--shad)) drop-shadow(0 0 1px white);
    --glow: drop-shadow(0 0 1px white);
}

body {
	overflow: hidden;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: #141920;
    background-image: url(./back.jpg);
	background-position: center center;
    opacity: 0;
    animation: 1s ease-in var(--delay) 1 transitionAnimation; 
    animation-fill-mode: forwards;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#profilePicture, #profilePicture img {
    position: relative;
    width: 96px;
    height: 96px;
    display: block;
    margin: 40px auto 20px;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
}

#userName {
	cursor: default;
    filter: var(--glow);
    color: var(--accentColor);
    font-size: 1.2rem;
    line-height: 1.25;
    display: block;
    font-family: var(--font);
    width: 100%;
    text-align: center;
    text-decoration: none;
		  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none; 
            user-select: none;
}

#links {
    max-width: 675px;
    width: auto;
    display: block;
    margin: 27px auto;
}

.link {
    letter-spacing: 0.025em;
	filter: var(--glow);
    position: relative;
    background-color: transparent;
    color: var(--accentColor);
    border: solid var(--accentColor) 2px;
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    text-decoration: none;
    transition: all .25s cubic-bezier(.08, .59, .29, .99);
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .link:hover {
        background-color: rgba(255, 255, 255, 0.05);
        filter: var(--glowButtons);
        letter-spacing: 0.05em;
        font-weight: 600
    }
}

.link:active {
	background-color: rgba(255, 255, 255, 0.2);
    color: #ffff;
    filter: var(--glowButtons);
    letter-spacing: 0.05em;
    font-weight: 800;
}

#hashtag {
	cursor: default;
    filter: var(--glow);
    position: relative;
    padding-bottom: 20px;
    color: var(--accentColor);
    font-size: 1rem;
    display: block;
    font-family: var(--font);
    width: 100%;
    text-align: center;
	  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
                              

    /*  animation   */
    overflow: hidden;
    background: linear-gradient(90deg, var(--bgColor), var(--accentColor), var(--bgColor));
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 5s linear var(--delay) infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
}


/*-------------------------animations-----------------------*/
@keyframes transitionAnimation {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate {
    0% {
      background-position: -500%;
    }
    100% {
      background-position: 500%;
    }
}


/*-------------------------popup------------------------*/
/* credits: https://www.youtube.com/watch?v=lAS2glU0xlc */
.overlay {
	cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(4, 4, 4, 0.6);
	backdrop-filter: grayscale(0.6) contrast(1.2) blur(5px);
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    overflow: auto;
    transition: 0.5s ease-in-out;
}

.popup {
    position: relative;
    top: -43%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    width: auto;
    height: auto;
    margin: 56px;
    background-color: var(--bgColor2);
    transform: scale(0);
    transition: 0.5s ease-in-out;
}

@media (max-width: 768px) {
  .overlay {
	background-color: rgba(4, 4, 4, 0.95);
    backdrop-filter: none;
  }
}

.popup-quote {
    font-family : Unbounded;
    font-style : italic;
    color: var(--accentColor);
    padding: 20px;
    text-align: center;
    font-size: 1rem;
}

.popup-photo {
    display: flex;
    width: 100%;
    height: 100%;
}

.popup-photo img {
    width: 100%;
    height: 100%;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.overlay:target .popup {
    transform: scale(1);
    top: 0;
}

.popup-close {
    position: absolute;
    right: -1rem;
    top: -1rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.7rem;
    font-weight: 400;
    border-radius: 100%;
    background-color: var(--bgColor2);
    z-index: 4;
    color: var(--accentColor);
    line-height: 2.7rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: .5s ease-in-out;
}

@media (hover: hover) {
    .popup-close:hover {
        filter: drop-shadow(0 0 10px white);
        background-color: var(--accentColor);
        color: #251616;
        transition: .2s ease-in-out;
        
    }
}

.popup-close:active {
    filter: drop-shadow(0 0 10px white);
    background-color: var(--accentColor);
    color: #161b25;
}