/**** Reset ****/

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1,
h2 {
    font-family: "Alata", sans-serif;
    color: #fffffe;
}

p {
    color: #ddd6d6;
}

/**** html ****/

html {
    font-size: 10px;
}

/**** body ****/

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #2e2e2e;
    font-family: "Josefin Sans", sans-serif;
}

/**** div scroll indicator ****/

.scroll__indicator {
    position: fixed;
    top: 0;
    background-color: #fbdd74;
    height: 8px;
    border-radius: 2px;
    width: 0%;
    animation: grow linear forwards;
    animation-timeline: scroll();
}

/**** Animation grow ****/

@keyframes grow {
    to {
        width: 100%;
    }
}

/**** header ****/

header {
    padding-inline: 16px;
}

/**** h1 ****/

h1 {
    font-size: 32px;
    margin: 30px 0;
    text-align: center;
    font-weight: 800;
}

/**** main ****/

.main__content {
    width: 90%;
    margin: 0 auto;
    flex-grow: 1;
}

/**** section ****/

.section {
    margin-block: 20px;
}

/**** h2 ****/

h2 {
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 600;
}

/**** p ****/

p {
    font-size: 18px;
}

/**** footer ****/

footer {
    padding: 16px;
    margin-top: 50px;
}

footer p {
    text-align: center;
}