/**** containers ****/

.container {
    margin-left: auto;
    margin-right: auto;
    padding: 0 100px;
    width: 868px;
}

.container-article {
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

#article-container  {
    align-content: flex-start;
    align-items: baseline;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    line-height: 22pt;
}

/****** header ******/

h1.article-title {
    font-size: 3em;
    margin: 0;
}

.article-subtitle {
    color: #575757;
    font-weight: 500;
}

.article-title-box {
    align-items: center;
    background-color: #ededed;
    display: flex;
    flex-direction: column;
    height: 15em;
    justify-content: center;
    margin-bottom: 4em;
    text-align: center;
}

a.code-stub-button {
    background-color: var(--secondary-color);
    border-radius: 6px;
    color: white;
    display: inline-block;
    font-weight: 600;
    line-height: 28px;
    padding: 0.5em 0.8em;
    text-align: center;
    text-decoration: none;
}

/******* text *******/

.content :is(h1, h2, h3, h4, h5, h6) {
    padding-top: 25px;
}

.home-title-box {
    background-color: var(--primary-color);
    color: whitesmoke;
    padding: 2em 0;
    text-align: center;
}

#article-container p {
    text-align: justify;
    text-justify: inter-word;
}

/** end of subject **/

#go-back-button {
    background-color: var(--primary-color);
    border-radius: 50pt;
    color: white;
    display: block;
    margin: 5em auto;
    padding: 10pt 15pt;
    width: fit-content;
    text-decoration: none;
    font-variant: small-caps;
}

#confettis-container {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10px;
}

.confetti {
    position: absolute;
    display: block;
    left: 50%;
    top: 0;
    width: 10px;
    height: 20px;
    background: red;
    opacity: 0;
}

/**** responsive ****/

@media screen and (max-width: 1500px) {
    #article-container {
        display: block;
    }

    .container {
        padding: 0;
    }
}

@media screen and (max-width: 900px) {
    .container {
        padding: 0 10px;
        width: 90%;
    }
}
