/* GENERAL CSS */
body {
    /*background-color: red;*/
    font-family: sans-serif;
    margin: 0;
}

img{
    width: 100%;
}

/* HEADER PART */
.header-bar{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
}

.header-bar img{
    margin-top: 10px;
    max-width: 200px;
}

.header-article{
    max-width: 48rem;
    margin: 0 auto;
}

.header-article-content{
    margin: 0 10px;
    border-bottom: 3px dotted #edeef0 !important;
}

.header-article-content h1{
    margin-top: 2.5rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    text-align: center;
}

.header-article-content {

}

.author-data{
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-content: center;
    justify-content: center;
    padding-bottom: 20px;
}

.author-line {
    flex-shrink: 0; /* Ensure the line does not shrink */
    width: 1px;
    background-color: black;
}

.header-article-content p{
    /*padding-bottom: 15px;*/
}

@media screen and (min-width: 992px) {
    .header-article-content h1{
        font-size: 2.9rem;
        line-height: 1.25;
    }
}

/* MIDDLE PART */
#content-container{
    max-width: 48rem;
    margin: 0 auto;
}

h2{
    line-height: 1.5;
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0rem;
    margin-top: 0;
}

.product{
    border-bottom: 3px dotted #edeef0 !important;
    margin: 25px 10px 15px 10px;
    padding-bottom: 35px;
}

.product-image{
    margin-top: 1.25rem;
}

p{
    font-size: 1.125rem;
    margin: 20px 0;
    line-height: 30px;
    -webkit-font-smoothing: antialiased;
    color: #333;
}

ol{
    list-style-type: decimal;
    color: #333;
    padding-left: 1.2em;
    -webkit-font-smoothing: antialiased;
}

li{
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: .5em;
}

a{
    font-size: 1.125rem;
    text-decoration-line: underline;
    color: rgb(3 64 120/1);
    font-weight: 700;
}

.defaultLink{
    font-size: 1.125rem;
    text-decoration-line: underline;
    color: rgb(3 64 120/1);
    font-weight: 700;
}

.linkButton{
    text-decoration: none;
    display: block;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: .5rem;
    transition-duration: .3s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    background-image: linear-gradient(to right, #3061ff, #5a8dff);
}

.linkButton:hover{
    transform: scale(1.05);
}

@media screen and (min-width: 768px) {
    h2{
        font-size: 1.65rem;
    }
}

@media screen and (min-width: 992px) {
    h2{
        font-size: 1.875rem;
    }
}

/* FOOTER PART */
/* ===== Footer2 ===== */
.footer2 {
    /*background-color: #f9f9f9;*/
    max-width: 48rem;
    margin: 25px auto 0;
}
.footer2 .footer2-container {
    text-align: center;
    padding: 10px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.footer2 .footer2-container .footer2-links {
    margin: 15px 0;
}
.footer2 .footer2-container .footer2-links a {
    color: #1C2024;
    text-decoration: none;
    margin: 0 10px;
    cursor: pointer;
    font-weight: 500;
}
.footer2 .footer2-declare div {
    font-size: 0.75rem;
    line-height: 25px;
    color: lightgray;
}

.footer2-modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}
.footer2-modal .footer2-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 960px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 10px;
}
.footer2-modal .footer2-modal-content .footer2-modal-top {
    padding: 2px 16px;
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.footer2-modal .footer2-modal-content .footer2-modal-top .close {
    color: black;
    float: right;
    font-size: 2.75rem;
    margin-top: 4px;
    margin-right: -5px;
}
.footer2-modal .footer2-modal-content .footer2-modal-top .close:hover,
.footer2-modal .footer2-modal-content .footer2-modal-top .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.footer2-modal .footer2-modal-content .footer2-modal-top .footer2-modal-header {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 10px 0;
    color: black;
}
.footer2-modal .footer2-modal-content .footer2-modal-body {
    padding: 30px;
    max-height: 500px;
    overflow-y: scroll;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}