@import url('https://use.typekit.net/rnw1nbh.css');

:root {
    --bgColor: #75F8DC;
    --bgColor2: #F2F1F6;
    --black: #000000;
    --white: #ffffff;
    --primary: #3C318F;
    --font: 'Sofia-Pro', sans-serif;
    --delay: .3s;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: radial-gradient(ellipse at bottom, var(--bgColor) 0%, var(--bgColor2) 100%);
    opacity: 0;
    animation: 1s ease-out var(--delay) 1 transitionAnimation; /* duration/timing-function/delay/iterations/name */
    animation-fill-mode: forwards;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.profilePicture {
    position: relative;
    width: 96px;
    height: 96px;
    display: block;
    margin: 40px auto 20px;
    border-radius: 20%;
    -webkit-tap-highlight-color: transparent;
    transition: transform .5s; /* Animation */
}

.profilePicture:hover {
    transform: scale(1.1); /* (110% zoom) */
}

#userName {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.25;
    display: block;
    font-family: var(--font);
    width: 100%;
    text-align: center;
    text-decoration: none;
}

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

.link {
    position: relative;
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0px 0px 12px 1.9px rgb(18 18 18 / 10%);
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
    padding: 20px; /* 20px */
    text-decoration: none;
    transition: transform .5s; /* Animation */
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .link:hover {
        background-color: var(--primary);
        color: var(--bgColor);
        border-style: 2px;
        transform: scale(1.02); /* (small zoom) */
    }
}

.link:active {
    background-color: var(--primary);
    color: var(--bgColor);
}

/*-------------------------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%;
    }
}

#socials {
    margin: auto;
    display: flex;
    flex-direction: row;
    max-width: 675px;
    justify-content: center;
}

.socials {
    text-align: center;
    position: relative;
    padding: 3px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 50%;
}

.social-icon {
    color: var(--primary);
    font-size: 25px;
    transition: transform .2s; /* Animation */

}

.social-icon:hover {
    transform: scale(1.2); /* (120% zoom) */
}

#privacy {
    text-align: center;
    position: relative;
    padding: 3px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.privacy-link {
    margin: auto;
    padding: 5px;
    display: flex;
    flex-direction: row;
    max-width: 675px;
    justify-content: center;
    color: #3c318f91;
}