html {
    font-size: 16px;
    width: 100vw;
    overflow-x: hidden;
}

html.scrollOff {
    overflow-y: hidden;
    height: 100vh;
}

ul, ol, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
}

figure {
    margin: 0;
}

/*      HERO      */

.hero {
    height: 60vh;
    overflow: hidden;
    position: relative;
}

/* .hero::after, .hero::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent #FFF transparent;
  z-index: 2;
}

.hero::after {
    border-width: 0 0 .8rem 50vw;
    bottom: 0;
    right: 0;
}

.hero::before {
    border-width: 0 50vw .8rem 0;
    bottom: 0;
    left: 0;
} */

.hero-article {
    height: 100%;
    width: 100vw;
    overflow: hidden;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
    flex-direction: column;
    box-sizing: border-box;
    padding-left: 10vw;
    padding-right: 10vw;
    z-index: -3;
    background-color: #fff;
}

.hero-article:first-of-type {
    z-index: 1;
}

.hero-bg {
    height: inherit;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
}

.hero-bg img{
    height: 100%;
    width: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: center;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:#3A3A3A;
    opacity: .5;
}

.hero-text {
    color: #fff;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 70vw;
    font-family: Avenir, sans-serif;
    font-weight: 900;
}


.hero-specialText {
    font-size: 1rem;
    color: #fff;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: Avenir, sans-serif;
    font-weight: 400;
    opacity: 0;
}

#carousel-1 .hero-text {
    display: none;
    font-family: Avenir, sans-serif;
    font-weight: 500;
}

#carousel-2, #carousel-3 {
    align-items: flex-start;
}

#carousel-2 .hero-text, #carousel-3 .hero-text {
    text-align: left;
}

.hero-title {
    color: #F5B335;
    margin: 0;
    font-family: Avenir, sans-serif;
    font-weight: 900;
}

.hero-specialText .yellow{
    color: #F5B335;
}

.hero-specialText .big {
    font-size: 3.5rem;
}

.hero-specialText .medium {
    font-size: 1.8rem;
}

.hero-specialText span {
    margin: 0 5px;
}

.carousel-bullets {
    display: flex;
    position: absolute;
    bottom: 5%;
    left: 40%;
    width: 20%;
    justify-content: space-around;
    align-items: center;
    z-index: 3;
}


.carousel-bullet input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.carousel-bullet .checkmark {
    height: .7rem;
    width: .7rem;
    background-color: #eee;
    border-radius: .35rem;
    display: block;
    position: relative;
    cursor: pointer;
}

.carousel-bullet:hover input ~ .checkmark {
    background-color: #ccc;
}

.carousel-bullet .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.carousel-bullet input:checked ~ .checkmark::after {
    display: block;
}

.carousel-bullet .checkmark::after {
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #EA0029;
}


/*     ARTICLES     */

.articles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    overflow: hidden;
}

.article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 4rem;
}

.article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.article-title, .article-link, .article-text {
    text-align: center;
    width: 80vw;
}

.article-title {
    color: #282828;
    font-family: Cunia, sans-serif;
    font-weight: 700;
    margin: 0;
}

/* .article-link::before {
    content: '>';
    margin-right: .5rem;
    color: #282828;
    font-family: Avenir, sans-serif;
    font-weight: 900;
} */

.article-link {
    color: #282828;
    font-family: Avenir, sans-serif;
    font-weight: 900;
    margin-bottom: 2rem;
}

.article-link:hover, .article-link:active {
    color: #EA0029;
    cursor: pointer;
    transition: .3s ease-in-out;
}

.article-link:hover::before, .article-link:active::before {
    color: #EA0029;
    transition: .3s ease-in-out;
}

.article-text {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: .5rem;
    font-family: Avenir, sans-serif;
    font-weight: 400;
}

/* .article-text::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 15%;
    bottom: 0;
    left: 42.5%;
    background-color: #F5B335;
} */

.article-image {
    width: 100vw;
    height: fit-content;
    overflow: hidden;
}

.article-image.zoom-in img{
    transform: scale(1.1);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 3s ease-in-out;
}


@media only screen and (min-width: 425px) {

    /*     HERO     */

    .hero {
        height: 70vh;
    }

    .hero-text, .hero-title {
        width: 80%;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-specialText {
        font-size: 1.5rem;
    }

    .hero-specialText .medium {
        font-size: 2.5rem;
    }

    .hero-specialText .big {
        font-size: 4.5rem;
    }

}

@media only screen and (min-width: 600px) {

    /*     HERO     */

    .hero {
        height: 80vh;
    }

    .hero-text, .hero-title {
        width: 60%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }

    .hero-specialText {
        font-size: 1.7rem;
    }

    .hero-specialText .medium {
        font-size: 2.8rem;
    }

    .hero-specialText .big {
        font-size: 4.8rem;
    }

    .article-title {
        font-size: 2rem;
    }
    
    .article-link {
        font-size: 1rem;
    }
    
    .article-text {
        font-size: 1.2rem;
    }

}

@media only screen and (min-width: 768px) {

    /*     HERO     */

    .hero {
        height: 90vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.5rem;
    }

    .hero-specialText {
        font-size: 2.5rem;
    }

    .hero-specialText .medium {
        font-size: 3.5rem;
    }

    .hero-specialText .big {
        font-size: 5.5rem;
    }

    .carousel-bullets {
        left: 45%;
        width: 10%;
    }

    .hero::after {
        border-width: 0 0 2.5rem 50vw;
    }
    
    .hero::before {
        border-width: 0 50vw 2.5rem 0;
    }

    /*    ARTICLES    */

    .articles {
        margin-top: 10vh;
    }

    .article-content {
        width: 100%;
        background-color: #F7F7F7;
        border-bottom: 10px solid #EA0029;
        height: 80vh;
        translate: 0 -1rem;
    }

    .article {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
        padding-top: 0;
        height: 100vh;
        width: 90vw;
    }

    .article .article-image {
        grid-row-start: 1;
        grid-column-start: 2;
        width: 100%;
        height: 80vh;
        position: relative;
        translate: 0 1rem;
    }

    /* .article:first-of-type .article-image::before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: #FFF transparent transparent transparent;
        z-index: 2;
      }
      
      .article:first-of-type .article-image::before {
          border-width: 2.5rem 50vw 0 0;
          top: 0;
          right: 0;
      } */

    .article:nth-of-type(2n) .article-image {
        grid-column-start: 1;
        translate: 0 -1rem;
    }

    .article:nth-of-type(2n) .article-content {
        translate: 0 1rem;
    }

    .article-title, .article-link, .article-text {
        text-align: left;
        width: 50vw;
        padding: 0 5vw;
        box-sizing: border-box;
    }

    .article-text {
        padding-bottom: 2rem;
        font-size: 1.5rem;
    }

    .article-text::after {
        left: 5vw;
    }

}

@media only screen and (min-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-text {
        font-size: 1.8rem;
    }

    .hero-specialText {
        font-size: 3rem;
    }

    .hero-specialText .medium {
        font-size: 4rem;
    }

    .hero-specialText .big {
        font-size: 6rem;
    }

}

@media only screen and (min-width: 1200px) {

}

@media only screen and (min-width: 1300px) {

}



/*       ANIMATIONS        */

.slide-in {
    -webkit-animation-name: slide-in;
    -webkit-animation-duration: .5s;
    animation-name: slide-in;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@keyframes slide-in {
    from {
        transform: translateX(100vw);
    }
    
    to {
        transform: translateX(0);
    }
}

@-webkit-keyframes slide-in {
    from {
        transform: translateX(100vw);
    }
    
    to {
        transform: translateX(0);
    }
}

.slide-out {
    -webkit-animation-name: slide-out;
    -webkit-animation-duration: .5s;
    animation-name: slide-out;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@keyframes slide-out {
    from {
        transform: translateX(0);
    }
    
    to {
        transform: translateX(100vw);
    }
}

@-webkit-keyframes slide-out {
    from {
        transform: translateX(0);
    }
    
    to {
        transform: translateX(100vw);
    }
}

.slide-down {
    -webkit-animation-name: slide-down;
    -webkit-animation-duration: 1s;
    animation-name: slide-down;
    animation-duration: 1s;
    animation-fill-mode: forwards; 
}

@keyframes slide-down {
    from {
        max-height: 0%;
    }
    
    to {
        max-height: 100%;
    }
}

@-webkit-keyframes slide-down {
    from {
        max-height: 0%;
    }
    
    to {
        max-height: 100%;
    }
}

.slide-up {
    -webkit-animation-name: slide-up;
    -webkit-animation-duration: 1s;
    animation-name: slide-up;
    animation-duration: 1s;
    animation-fill-mode: forwards; 
}

@keyframes slide-up {
    from {
        max-height: 100%;
    }
    
    to {
        max-height: 0%;
    }
}

@-webkit-keyframes slide-up {
    from {
        max-height: 100%;
    }
    
    to {
        max-height: 0%;
    }
}

.fade-in {
    -webkit-animation-name: fade-in;
    -webkit-animation-duration: .5s;
    animation-name: fade-in;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@-webkit-keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
}

.fade-out {
    -webkit-animation-name: fade-out;
    -webkit-animation-duration: .5s;
    animation-name: fade-out;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@-webkit-keyframes fade-out {
    from {opacity: 1;}
    to {opacity: 0;}
}

@keyframes fade-out {
    from {opacity: 1;}
    to {opacity: 0;}
}

.carousel-in-left{
    -webkit-animation-name: carousel-in-left;
    -webkit-animation-duration: .5s;
    animation-name: carousel-in-left;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@keyframes carousel-in-left {
    from {
        transform: translateX(100vw);
    }
    
    to {
        transform: translateX(0);
    }
}

@-webkit-keyframes carousel-in-left {
    from {
        transform: translateX(100vw);
    }
    
    to {
        transform: translateX(0);
    }
}

.carousel-in-right{
    -webkit-animation-name: carousel-in-right;
    -webkit-animation-duration: .5s;
    animation-name: carousel-in-right;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@keyframes carousel-in-right {
    from {
        transform: translateX(-100vw);
    }
    
    to {
        transform: translateX(0);
    }
}

@-webkit-keyframes carousel-in-right {
    from {
        transform: translateX(-100vw);
    }
    
    to {
        transform: translateX(0);
    }
}

.carousel-out-left {
    -webkit-animation-name: carousel-out-left;
    -webkit-animation-duration: .5s;
    animation-name: carousel-out-left;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@keyframes carousel-out-left {
    from {
        transform: translateX(0);
    }
    
    to {
        transform: translateX(-100vw);
    }
}

@-webkit-keyframes carousel-out-left {
    from {
        transform: translateX(0);
    }
    
    to {
        transform: translateX(-100vw);
    }
}

.carousel-out-right {
    -webkit-animation-name: carousel-out-right;
    -webkit-animation-duration: .5s;
    animation-name: carousel-out-right;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@keyframes carousel-out-right {
    from {
        transform: translateX(0);
    }
    
    to {
        transform: translateX(100vw);
    }
}

@-webkit-keyframes carousel-out-right {
    from {
        transform: translateX(0);
    }
    
    to {
        transform: translateX(100vw);
    }
}

.text-in {
    -webkit-animation-name: text-in;
    -webkit-animation-duration: .5s;
    animation-name: text-in;
    animation-duration: .5s;
    animation-fill-mode: forwards; 
}

@keyframes text-in {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes text-in {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-down {
    -webkit-animation-name: slide-down;
    -webkit-animation-duration: 1s;
    animation-name: slide-down;
    animation-duration: 1s;
    animation-fill-mode: forwards; 
}

@keyframes slide-down {
    from {
        transform: translateY(-2rem);
        opacity: 0;
    }
    
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes slide-down {
    from {
        transform: translateY(-2rem);
        opacity: 0;
    }
    
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/*     FONTS     */

@font-face {
    font-family: 'Avenir';
    font-weight: 900;
    font-style: normal;
    src: url(../assets/fonts/Avenir-Black.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    font-weight: 500;
    font-style: normal;
    src: url(../assets/fonts/Avenir-Medium.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    font-weight: 400;
    font-style: normal;
    src: url(../assets/fonts/Avenir-Roman.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'Cunia';
    font-weight: 700;
    font-style: normal;
    src: url(../assets/fonts/Cunia.ttf);
    font-display: swap;
}