:root {
    --primary-color: #2a57a1;
    --secondary-color: #4bb3a0;
}

article {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-hidden {
    transform: translate(-2600px);
    height: 0;
    opacity: 0;
    visibility: hidden;
}
.article-visible {
    visibility: visible;
    transition: transform 0.8s, height 0.8s 0.8s, opacity 0.8s;
}

#btn-article {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    background-color: var(--primary-color);
    padding: 10px 11px;
    border: 2px solid var(--primary-color);
    box-shadow: rgb(0, 0, 0) 0px 0px 0px 0px;
    border-radius: 6px;
    transition: 240ms;
    transform: translateY(0);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-right: 40px;
    cursor: pointer;
}

#btn-article:hover {
    transition: 240ms;
    background-color: #fff;
    color: var(--primary-color);
    border: solid 2px var(--primary-color);
}

.top-article {
    display: flex;
    width: 100%;
    height: 25%;
    justify-content: end;
}

.bottom-article {
    display: flex;
    width: 100%;
    height: 75%;
    padding-top: 45px;
}

.top-left-article {
    width: 85%;
    height: 100%;
    display: flex;
    align-items: center;
}

.top-left-article h2 {
    padding-top: 10px;
    padding-left: 50px;
    align-self: flex-end;
    font-size: 27px;
}

.top-right-article {
    width: 15%;
    height: 100%;
}

.section-label {
    position: relative;
    top: 0;
    right: 0px;
    width: 100%;
    padding: 5px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100% 0% 84% 16% / 0% 100% 0% 100%;
}
.section-label h2 {
    color: aliceblue;
    font-family: "Montserrat", sans-serif;
}

.bottom-left-article {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.gallery {
    width: 600px;
    margin-left: 30px;
    margin-right: 15px;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.gallery img {
  width: 100%;
  max-width: 100%;
  display: block;
  object-fit: fill;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.visible {
    opacity: 1 !important;
}

.hidden {
    opacity: 0;
}

.bottom-right-article {
    width: 55%;
    height: 100%;
}

.bottom-right-article p {
    margin-bottom: 15px;
    padding-right: 40px;
    padding-left: 10px;
    margin-top: 0;
}


.load-img {
    animation: preload 1.7s linear;
}

/* Vertical */
@media screen and (max-width: 567px) {
    .top-article {
        flex-direction: column-reverse;
    }
    .top-right-article {
        width: 100%;
    }
    .section-label {
        margin-left: 30%;
        width: 70%;
        justify-self: end;
        height: 35px;
        border-radius: 100% 0% 84% 16% / 0% 100% 0% 100%;
    }
    .top-left-article {
        width: 100%;
    }
    .top-left-article h2 {
        padding: 15px;
        padding-top: 10px;
    }
    .bottom-article {
        width: 100%;
        padding-top: 0;
        flex-direction: column;
    }
    .bottom-left-article {
        width: 100%;
    }
    .bottom-right-article {
        width: 100%;
    }
    .bottom-right-article p {
        padding-right: 15px;
        padding-left: 15px;
    }
    .gallery {
        width: 100%;
        height: 270px;
        margin: 0px;
        border-radius: 0%;
        margin-bottom: 20px;
    }

}

@media screen and (min-width: 768px) and (max-width: 999px) {
}
