:root {
    --size__h1: 5vh;
    --size__h2: 4vh;
    --size__p: 3vh;
    --size__a: 2.5vh;
    --size__a--footer: 2vh;
    --size__article__button: 2.1vh;
    --size__Img: 25vw;

    --color__link: #95b677;
    --color__licenses: #c5cfbb;
    --color__background: #475738;

    @media screen and (max-width: 900px) {
        --size__h1: 5vw;
        --size__h2: 4vw;
        --size__p: 3vw;
        --size__a: 2.5vw;
        --size__Img: 25vh;
    }
}

* {
    margin: 0;
}

h1 {
    font-size: var(--size__h1);
}

h2 {
    font-size: var(--size__h2);
}

p {
    font-size: var(--size__p);
}

li,
button {
    font-size: var(--size__a);
}

body {
    margin: auto;
    overflow: hidden;

    /* Aling articles to center */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Open space arround articles */
    height: 92vh;
    padding: 4vh 2vw 4vh 2vw;

    background-color: var(--color__background);

    /* Support for wide screens */
    /* max-width: 1980px;
    max-height: 880px; */
}

#slider-container {
    /* Get max with */
    width: 100%;
    height: 100%;

    /* Support js slide move */
    position: relative;
    display: flex;

    /* Open space between articles */
    padding: 2rem 2rem 1rem 2rem;
    gap: 4rem;

    /* Smooth transition */
    transition: transform 0.5s ease;
}

.article,
.login {
    /* Get max with */
    flex: 0 0 100%;
    height: 100%;
    width: 100%;
    padding: 2vh 4vw 2vh 4vw;

    /* Visibility */
    visibility: hidden;
    transition: visibility 1s;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 3vw;

    border-radius: 2vw;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;

    background-image: url("images/ArticleBackground2.png");
    background-position: center;
    background-size: cover;

    @media screen and (max-width: 900px) {
        flex-direction: column;
    }
}

.login {
    visibility: visible;
    flex-direction: column;
    font-size: var(--size__h2);
}

.login__content {
    margin-top: 30vh;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3vh;
}


.login__input {
    font-size: var(--size__p);
    border-radius: 0.5vw;
    border: 0.2vw solid var(--color__link);
}

.login__labelInput {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article__img {
    border-radius: 2vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    width: var(--size__Img);
    height: auto;
}

.article__content {
    height: fit-content;
    max-height: 100%;
    overflow: auto;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.article__points {
    display: flex;
    gap: 2vw;
}

.article__links {
    margin: 1vh 0 1vh 0;
    list-style: none;
    padding: 0;
}

.article__dirButtons {
    display: flex;
    gap: 10vw;
}

.article__legend {
    display: flex;
    flex-wrap: wrap;
}

.article__link,
.article__button,
.login__button,
.licenses__button {
    padding: 1vh 1.5vw 1vh 1.5vw;
    border-radius: 2vw;

    text-decoration: none;
    color: whitesmoke;
    background-color: var(--color__link);
    border: 0.2vw solid var(--color__link);
    transition: 0.3s ease;
}

.article__button {
    font-size: var(--size__article__button);
    padding: 0.3vh 0.6vw 0.3vh 0.6vw;
}

.licenses__button {
    padding: 0.3vh 1vw 0.3vh 1vw;
    border-radius: 2vw;

    font-size: var(--size__a);

    display: inline-block;
    vertical-align: middle;
}

.licenses__button--footer {
    font-size: var(--size__license--footer);
}

.article__button--current {
    color: var(--color__link);
    background-color: whitesmoke;
}

.article__link:hover,
.article__button:hover,
.login__button:hover,
.licenses__button:hover {
    color: var(--color__link);
    background-color: whitesmoke;
}

.article__link:focus,
.article__button:focus,
.login__button:focus,
.licenses__button:focus {
    outline-color: var(--color__background);
}


.licenses__content {
    /* Get max with */
    flex: 0 0 100%;
    height: 100%;
    width: 100%;
    padding: 2vh 4vw 2vh 4vw;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2vw;

    border-radius: 2vw;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;

    background-image: url("images/ArticleBackground2.png");
    background-position: center;
    background-size: cover;

    @media screen and (max-width: 900px) {
        flex-direction: column;
    }
}

.licenses__list {
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

.licenses__info {
    font-size: var(--size__a);
    margin-top: auto;
}

.licenses__info--footer {
    font-size: var(--size__license--footer);
    background-color: var(--color__licenses);
    padding: 1vh 1vw 1vh 1vw;
    border-radius: 2vw;
}