:root{
    font-size: 100%;
}

*,
::before,
::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #f1f1f1;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 10px;
    min-height: 100vh;
}

main{
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

h1{
    margin: 2rem auto;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: underline 1px;
    text-underline-offset: 4px;
}

p{
    margin-bottom: 2rem;
}

a{
    color: #000;
    font-weight: 600;
    text-decoration: underline 1px;
}

.main-flux{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.5rem;
}

.main-flux img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
}

button{
    width: 3rem;
    padding: 0.5rem;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px #000;
    border-radius: 50%;
    background-color: #f1f1f1;
    cursor: pointer;
    transition: transform 400ms;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}

button img{
    pointer-events: none;
}

button:hover{
    transform: scale(1.1);
}

.scroll-marker{
    width: 100%;
    height: 1rem;
}