@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');

:root {
    --bgColor: #7fa88a;
    --bgColor2: #5e9779;
    --accentColor: #FFF;
    --hoverColor: orange;
    --font: 'Karla', sans-serif;
    --delay: .3s;
}

p {
    padding: 0;
    margin: .2rem;
}

body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(ellipse at bottom, var(--bgColor2) 25%, var(--bgColor) 100%);
}

#corpo {
    margin: 0;
    opacity: 0;
    position: relative;
    padding-top: 70px;
    font-family: var(--font);
    background-size: cover;
    background-repeat: no-repeat;
    animation: 1s ease-out var(--delay) 1 transitionAnimation;
    animation-fill-mode: forwards;
}

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

#userName {
    color: var(--accentColor);
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.25;
    display: block;
    font-family: var(--font);
    width: 100%;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.1em black;
}

#slogan {
    color: var(--accentColor);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.25;
    display: block;
    font-family: var(--font);
    width: 100%;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.1em black;
}

#links {
    max-width: 420px;
    width: auto;
    display: block;
    margin: 25px auto;
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.1em black;
}

.infos {
    max-width: 400px;
    width: auto;
    display: block;
    margin: 25px auto;
    color: var(--accentColor);
    text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.1em black;
}

.infosP {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.link {
    position: relative;
    background-color: transparent;
    color: var(--accentColor);
    border: solid var(--accentColor) 1px;
    border-radius: 25px;
    font-size: 1.5rem;
    text-align: center;
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
    padding-block: 15px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .5s, color .5s;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.link p {
    min-width: 280px;
}

@media (hover: hover) {
    .link:hover {
        background-color: var(--hoverColor);
    }
}

.link:active {
    color: black;
    background-color: var(--accentColor);
}

#hashtag {
    position: relative;
    padding-bottom: 20px;
    color: var(--accentColor);
    font-size: 1rem;
    display: block;
    font-family: var(--font);
    width: 100%;
    text-align: center;

    overflow: hidden;
    background: linear-gradient(90deg, var(--bgColor), var(--accentColor), var(--bgColor));
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 3s 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%;
    }
}

@keyframes animStar {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-2000px);
    }
}


.overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: .5s ease-in-out;
}

.popup {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px;
    width: auto;
    height: auto;
    margin: 26px;
    margin-top: 0;
    background-color: var(--bgColor);
    transform: scale(0);
    transition: .5s ease-in-out;
    border-radius: 10px;
}

.popup-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 500px;
    padding: 20px;
    color: var(--accentColor);
    font-size: 1rem;
    font-family: var(--font);
    /* text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black; */
}

.popup-quote p {
    text-align: justify;
    text-shadow: none;
    font-size: 14px;
    font-weight: 300;
    color: black;
}

.popup-quote div {
    margin-top: 10px;
}

.about {
    font-size: 16px;
    font-weight: bold;
}

.popup-photo {
    margin-top: 20px;
}

.popup-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

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

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

.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(--accentColor);
    z-index: 4;
    color: var(--bgColor);
    line-height: 2.7rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .5s, color .5s;
}

@media (hover: hover) {
    .popup-close:hover {
        color: var(--accentColor);
        background-color: var(--hoverColor);
    }
}

.popup-close:active {
    color: var(--bgColor);
    background-color: var(--accentColor);
}
