@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800&display=swap";

:root {
    --bg-color: #222;
    --main-color: #a4eccd;
    --content-color: #000000;
    --sub-content-color: #f8f8f8;
    --sub-color: #FD6243;
    --hover-color: #FD6243;
    --shadow-color: hsla(226, 20%, 63%, .3);
    --accent-color: #C24D43;
    font-family: Poppins, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color-scheme: light dark;
    color: var(--content-color);
    background-color: var(--main-color);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%
}

::selection {
    background: var(--shadow-color)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

a {
    font-weight: 500;
    color: var(--sub-color);
    text-decoration: inherit
}

a:hover {
    color: var(--hover-color)
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    place-items: center;
    min-width: 320px;
    min-height: 100vh;
    background-color: var(--bg-color)

}

h1 {
    font-size: 3.2em;
    font-weight: bolder;
    margin: 0
}

h2 {
    color: #FD6243
}

h3 {
    color: var(--sub-color);
    font-size: clamp(1.1rem, 1.8vw, 2rem)
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 1rem;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: white
}

main>h1 {
    text-align: center;
    color: var(--sub-color);
}

main p {
    margin-bottom: 3rem;
    text-align: center;
    font-size: 1.2rem var(--sub-content-color)
}

main button {
    padding: .8rem 2rem;
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--content-color);
    border: 1px solid var(--sub-color);
    border-radius: 1rem;
    background-color: var(--sub-color)
}

main button:hover {
    color: var(--sub-color);
    background-color: var(--bg-color)
}

section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    /*background-image: linear-gradient(to bottom right, #bfeac4, #9fddce);*/
}

section>h2 {
    margin: .5em 0;
    font-size: clamp(1rem, 6vw, 2.4rem);
    text-align: center;
    font-family: var(--title-font);
    color: #FD6243
}

section>a {
    display: inline-block;
    padding: .5rem .8rem
}

#presentation a {
    color: var(--accent-color)
}

.partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center
}

.partners img {
    width: 6rem;
    transition: .6s all;
    border-radius: 1rem
}

.partners img:hover {
    translate: 0 -.5rem
}

.partners img:active {
    translate: 0 0
}

.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 4rem;
}
.back{
    width: 100%;
    height: 30vh;
    background-color: #FD6243;
    opacity: 0.3;
}

.filter{
    width: 100%;
    border-radius: 1rem;
    opacity: 0.5;
    display: inline-flex;
}
.filter:hover{
    opacity: 1;
}
.grid img {
    width: 100%;
    height: 30vh;
    transition: .6s all;
    border-radius: 1rem;
    object-fit:cover;
}


.grid img:active {
    translate: 0 0
}

.project>p {
    font-family: var(--subtitle-font);
    color: var(--content-color);
    padding: 0 1.5rem
}

.project>p a {
    color: var(--accent-color)
}

.workshop p {
    color: #444
}

#endpoint {
    max-width: 100%;
    padding-top: .5rem;
    padding-bottom: 8rem;
    color: var(--main-color);
    font-size: .8rem;
    background-color: var(--sub-content-color);
    display: flex;
    justify-content: center
}

footer {
    width: 100%;
    bottom: 0;
    display: flex;
    position: fixed;
    justify-content: center;
    background-color: var(--bg-color);
}

footer>a {
    width: 4rem;
    height: 4rem;
    padding: 1em;
    display: flex;
    box-sizing: border-box;
    transition: .5s all;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    background-color: var(--bg-color)
}

@media (max-width: 600px) {
    footer>a {
        width: 3.4rem;
        height: 3.4rem;
        padding: .8em
    }
}

footer>a:hover {
    opacity: 1;
    margin-top: -.5rem
}

footer>a:hover path {
    fill: var(--hover-color)
}

footer>a:active {
    transform: none;
    box-shadow: none;
    margin-top: 0
}

footer>a:not(:last-child) {
    margin-right: .8rem
}

@keyframes appear {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1
    }
}

main>div {
    opacity: 0;
    animation: .5s appear ease-in-out forwards
}

main>h1 {
    opacity: 0;
    animation: .5s appear ease-in-out forwards .2s
}

main>h2 {
    opacity: 0;
    animation: .5s appear ease-in-out forwards .4s
}

main>p {
    opacity: 0;
    animation: .5s appear ease-in-out forwards .5s
}

main>a {
    opacity: 0;
    animation: .5s appear ease-in-out forwards .6s
}

footer>* {
    opacity: 0;
    animation: .5s appear ease-in-out forwards calc(var(--footer-index, 0) * .1s + .8s)
}
#avatar{
    width: 8rem;
    height: 8rem;
    margin-top: 3rem;

}
#avatarImg{
    width: 100%;
}