@import url('https://fonts.googleapis.com/css2?family=Anton&family=Armata&display=swap');


/* ROOT */
:root {

    --font-headings: "Anton", serif;
    --font-paragraphs: "Armata", serif;

    --color-dark: #0D0D0D;
    --color-ligth: #F2F2F2;

    --main-color: #8754DB;
    --second-color: #EB4CAE;
    --third-color: #33B0CD;

    --background-glassmorphism: rgba(255, 255, 255, 0.75);
}

/* RESET BODY */
body {
    margin: 0;
    padding: 0;
    background-color: var(--color-dark);
}

/* TEXT */

h1,
h3,
h4 {
    font-family: var(--font-headings);
    color: var(--color-ligth);
    margin: 0;
    text-align: center;
}

h2 {
    text-align: center;
    font-family: var(--font-headings);
    color: var(--color-ligth);
    font-size: 18px;
    margin: 12px;
    padding: 8px;
    border-radius: 4px;
}

h3 {
    font-size: 32px;
}

p,
li {
    font-family: var(--font-paragraphs);
    color: var(--color-ligth);
    margin: 0;
    font-size: 16px;
}

a {
    font-family: var(--font-paragraphs);
    text-decoration: none;
    color: var(--color-ligth);
}

ul,
ol {
    list-style: none;
    padding: 0;
}

summary {
    color: var(--color-ligth);
}

button {
    background-color: transparent;
    border: none;
}

/* NAVBAR */
nav {
    width: 100vw;

    background-color: var(--color-dark);

    display: flex;
    justify-content: space-around;

    position: sticky;
    top: 0;
}

nav a {
    padding: 8px;
}

#logo-film-flow {
    height: 48px;
}

/* SEARCH BAR */

#search-bar {
    display: flex;
    width: 100%;
    max-width: 500px;
    margin: 12px 0px;
    border-radius: 4px;
    background-color: var(--background-glassmorphism);
}

#search-bar input {
    padding: 8px;

}

#search-input {
    background-color: transparent;
    border: none;
    width: 100%;
}

#search-input::placeholder {
    color: var(--color-dark);

}

/* MAIN*/

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

/* CARROUSSEL */

#section-carroussel {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#div-carroussel {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100vw;
    height: 80vh;
}

#carroussel-previous,
#carroussel-next {
    align-self: center;
}

#carroussel-infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

#carroussel-genres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.genre {
    color: var(--color-dark);
    background-color: var(--background-glassmorphism);
    padding: 8px 12px;
    border-radius: 4px;
}

/* SEARCH RESULTS */

#section-results {
    display: none;
    flex-direction: column;
}

.show-div {
    padding: 12px;
    margin: 12px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#show-bookmark {
    height: 24px;
}

/* SHOW INFOS */

#section-show {
    display: none;
}

#show-cover {
    padding: 24px;
    height: 200px;
}

#show-infos {
    display: flex;
    flex-direction: column;
}

#show-header {
    display: flex;
}

#rating {
    display: flex;
    align-items: center;
}

#show-heading {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

#show-name {
    padding: 0;
    margin: 0;
}

/* PEOPLE */

#section-people {
    display: none;
}

/* FOOTER */

footer {
    position: fixed;
    bottom: 0;
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    background-color: var(--color-dark);
}

footer a {
    font-size: 12px;
    padding: 8px;
}