
/* General */
* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p {
    font-family: Work Sans, sans-serif;
    margin: 0;
}

h1 {
    font-size: 32px;
    display:block;
    /* margin-bottom: 0;
    margin-top: 0; */
}

h2 {
    font-size: 28px;
    display:block;
}

h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    line-height: 35px;
    letter-spacing: -0.83px;
}

p {
    font-size: 20px;
    line-height: 28px;
    padding: 0;
    text-align: justify;
}


body {
    /* font-size: 30px; */
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: black;
}
ul {  
    list-style-type: none;  
    font-weight: bold;  
    font-size: 20px;
    padding: 0
}


.title {
    color: white;
    font-weight: 700;
    font-size: 2rem;
    text-decoration: none;
}

button {
    border: none;
    background: none;
}


.main {
    margin-top: 80px;
}

/* Article */
.article-title {
    font-size: 24px;
    position: fixed;
    top: 100px;
    left: 250px;
}

.reference {
    font-size: 24px;
}

.chapter-title {
    font-size: 18px;
    position: fixed;
    top: 140px;
    left: 250px;
}

.scrollHalf {
    position: relative;
    margin-top: 200px
}


.scrollHalf__grupo {
    transition: all 100ms ease-in-out;
}

.scrollHalf__grupo__imagen {
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    height: calc(100% - 300px);
    background-position: center;
}


.scrollHalf__grupo[data-scroll="out"] {
    opacity: 0;
}

.scrollHalf__grupo[data-scroll="in"] {
    opacity: calc(var(--visible-y)*2.5);
}


@media screen and (min-width:900px) {
    .scrollHalf__grupo {
        min-height: 100vh;

    }

    .scrollHalf__grupo__imagen {
        position: fixed;
        top: 200px;
        left: 200px;
        width: calc(50vw - 200px);
    }

    .scrollHalf__grupo__imagen img {
        min-height: 100vh;
        min-width: 50vw;
    }

    .scrollHalf__grupo__contenido {
        margin: 0 3vw 0 52vw;
    }
}



/* Header */


.navbar {
    display: flex;
    padding-left: 20px;
    transition: all 0.4s;
    position: fixed;
    top:0;
    right: 0;
    left:0;
    z-index: 1030;
    background: #26272b;
    color: white;
    height: 80px;
}
.nav-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* padding: 20px; */
}

.header-links {
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px;
}
.header-links a {
    margin-right: 20px;
    color: #fff;
}

[v-cloak] {
    display: none;
  }


/* footer */
footer {
  background-color:#26272b;
  padding:45px 0 20px;
  font-size:15px;
  line-height:24px;
  color:#737373;
  z-index: 100;
  position: relative;
  bottom: 0;
  z-index: 111;
}

.footer {
    width: 75%;
    /* padding-right: 15px;
    padding-left: 15px; */
    margin-right: auto;
    margin-left: auto;

}
.footer p {
    font-size: 18px;
}

.footer-title {
    color: #fff;
    font-size: 18px;
}


hr {
    border-top-color: #bbb;
    opacity: 0.5;
}


.after-section {
    z-index: 100;
    position: relative;
    background-color: white;
    padding: 30px 50px;
    width: calc(100% - 200px);
    margin-left: 200px;

}
.prev-next{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 20px;
}

:target { scroll-margin-top: 100px; }


.summary {
    /* padding-top: 60px; */
    padding: 80px 10px 0px 20px;
    z-index: 101;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    max-height: 100%;
    width: 200px;
    /* background-color: #eee; */
    overflow-y: scroll;
    border: 1px solid #f0f0f0;
    /* opacity: 0; */
    /* transition: all 0.25s; */
    /* -webkit-transition: all 0.25s; */
}

.enter{
    opacity: 1;
    left: 0;
}

.open-summary {
    position: fixed;
    top: 80px;
    left: 10px;
}



/* Home page */

.image-section {
    /* display: flex; */
    position: relative;
    text-align: center;
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-title {
    color: white;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align-last: center;
}

.articles-section h2 {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

/* Articles */


.articles h1 {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.article-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: all 0.2s;
    background-color: white;
    color: black;
}



/* .article-card:last-child {
    margin-bottom: 40px;
} */
.article-card + .article-card {
    margin-top: 20px;
}

.article-card img {
    margin-right: 20px;
    max-width: 50%;
    
}

.read-article {
    position: absolute;
    right: 40px;
    bottom: 40px;
}

.article-section {
    left: 200px;
}

.articles-section {
    max-width: 75%;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;

}

.summary {
    font-size: 16px;
}

.summary li {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}


.reference p{
    font-size: 16px;
}

.bold {
    font-weight: bold;
}