/* Example CSS file */
@import url('fonts.css');
@import url('waypoints.css');

:root {
  /* fonts base */
  --font-sans: 'Senes', sans-serif;
  --typesize: 1rem;
  --headingsize: 2vw;


  /* colors */
  --color-red: #FF4747;
  --color-pink: #FFB8FF;
  --color-blue :#485BD9;
  --color-gold : #CC8A44;
  --color-black: #181818;
  --color-grey: rgb(217, 217, 217);
  --color-white: rgb(255, 255, 255);

  /* breakpoints */
  --bp-s:  640px;
  --bp-m:  960px;
  --bp-l:  1200px;
  --bp-xl: 1600px;
}

*,
*::before,
*::after {
  font-family: var(--font-sans);
  box-sizing: border-box;
}

img{
    box-sizing: border-box;
}

html{
    font-family: var(--font-sans);
    text-rendering: optimizeLegibility;
    background-color: var(--color-black);
}

body{
    /* @media (max-width: 960px) {
        border-top: 60px solid #000;
    } */
    font-family: var(--font-sans);
    text-rendering: optimizeLegibility;
}

/* TEXT SELECTION */
::selection {
    color: black;
    background: var(--color-red);
}

::-moz-selection {
    color: black;
    background: var(--color-red);
}
b, strong{
    font-weight: 700;
}

em{
    color: inherit;
}

a.btn{
    padding: 3px 10px;
    font-size: clamp(1.5rem, 1.31rem + 0.75vw, 1.5625rem);
    letter-spacing: -0.05em;
    font-weight: 700;
}

a.btn:hover{
    text-decoration: none;
}

a.btn.btn-gold{
    background-color: var(--color-gold);
    color: var(--color-black);
    transition: all .3s;
}

a.btn.btn-gold:hover{
    background-color: var(--color-pink);
    color: var(--color-blue);
}

a.btn.btn-red{
    background-color: var(--color-red);
    color: var(--color-pink);
    transition: all .3s;
}

a.btn.btn-red:hover{
    background-color: var(--color-pink);
    color: var(--color-red);
}

a.btn.btn-blue{
    background-color: var(--color-blue);
    color: var(--color-gold);
    transition: all .3s;
}

a.btn.btn-blue:hover{
    background-color: var(--color-gold);
    color: var(--color-blue);
}

a.btn.btn-pink{
    background-color: var(--color-pink);
    color: var(--color-red);
    transition: all .3s;
}

a.btn.btn-pink:hover{
    background-color: var(--color-red);
    color: var(--color-pink);
}

/* COLUMNS */
.col-33 {
    width: 33%;
}

@media (max-width: 960px) {
    .col-33 {
        width: 100%;
    }
}

.col-50 {
    width: 50%;
}

@media (max-width: 960px) {
    .col-50 {
        width: 100%;
    }
}

/* TYPOGRAPHY */
h2 {
    font-size: clamp(2rem, 1.52rem + 1.92vw, 3.4375rem);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: bold;
    font-family: var(--font-sans);
}

p {
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.375rem);
    line-height: 1.27;
    letter-spacing: -0.05em;
    font-weight: 200;
    font-family: var(--font-sans);
}

.tag {
    font-size: clamp(1.5rem, 1.31rem + 0.75vw, 2.0625rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
    font-weight: 700;
    font-family: var(--font-sans);
}

.home .logo img{
    padding: 20px 0 0 20px;
}

@media (max-width: 960px) {
    .home .logo img{
       padding: 50px 10px 10px 10px;
    }
}

.idiomas{
 position: absolute;
 right: 0;
 top:0;
}

.intro{
    margin-top: 5%;
    justify-content: space-between;
}

@media (max-width: 960px) {
    .intro {
        display: block;
    }
}

.intro .tags ul{
    list-style: none;
    padding:0;
}

.intro .tags ul li{
    background-color: var(--color-blue);
    padding: 5px 13px;
    width: fit-content;

    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--i, 0) * 80ms);
}

.intro .tags ul li.is-visible{
    opacity: 1;
    transform: translateX(0);
}

.intro .tags ul li:nth-child(1), .intro .tags ul li:nth-child(6), .intro .tags ul li:nth-child(8) {
    background-color: var(--color-red);
    color: var(--color-pink);
}

.intro .tags ul li:nth-child(2){
    background-color: var(--color-pink);
    color: var(--color-blue);
}

.intro .tags ul li:nth-child(3), .intro .tags ul li:nth-child(7), .intro .tags ul li:nth-child(11){
    background-color: var(--color-gold);
    color: var(--color-black);
}

.intro .tags ul li:nth-child(4){
    background-color: var(--color-blue);
    color: var(--color-black);
}

.intro .tags ul li:nth-child(5){
    background-color: var(--color-pink);
    color: var(--color-gold);
}

.intro .tags ul li:nth-child(9), .intro .tags ul li:nth-child(13){
    background-color: var(--color-blue);
    color: var(--color-gold);
}

.intro .tags ul li:nth-child(10), .intro .tags ul li:nth-child(14){
    background-color: var(--color-pink);
    color: var(--color-red);
}

.intro .tags ul li:nth-child(12){
    background-color: var(--color-red);
    color: var(--color-blue);
}

.intro .tags-left ul li{
    transform: translateX(-400px);
}

.intro .text p{
    color: var(--color-white);
    text-align: center;
}

@media (max-width: 960px) {
    .intro .text p {
        width: 85%;
        margin: 10px auto;
    }
}

.intro .text p em{
    opacity: .5;
}

@media (max-width: 960px) {
    .intro .tags-right{
        display: none;
    }
}

.intro .tags-right ul{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.intro .tags-right ul li{
    transform: translateX(400px);
}

.libro-blanco{
    margin-top: 5%;
}

.libro-blanco .texts{
    background-color: var(--color-blue);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    color: var(--color-black);
}

.libro-blanco .texts h2{
   color: var(--color-black);
}

.libro-blanco .texts p{
    color: var(--color-black);
    width: 70%;
}

@media (max-width: 960px) {
    .libro-blanco .texts p {
        width: 100%;
    }
}

.libro-blanco .image img{
    width: 100%;
}

.grupo-motor h2{
    text-align: center;
    padding: 20px 0;
    background-color: var(--color-red);
    color: var(--color-pink);
    margin:0;
}

.grupo-motor .uk-flex div img{
    width: 100%;
}

.grupo-motor .uk-flex .text{
    background-color: var(--color-pink);
    padding: 2rem;
    color: var(--color-black);
}

.grupo-motor .uk-flex .text p{
    width: 70%;
}

@media (max-width: 960px) {
    .grupo-motor .uk-flex .text p {
        width: 100%;
    }
}

.patrocinadores .col-50{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.patrocinadores .col-50:first-child{
    background-color: var(--color-red);
}

.patrocinadores .col-50:nth-child(2){
    background-color: var(--color-blue);
}

.patrocinadores .col-50:nth-child(2) .tag{
    background-color: var(--color-gold);
}

.patrocinadores .col-50 .tag{
    background-color: var(--color-pink);
    padding: 5px 13px;
    width: fit-content;
    align-self: flex-start;
    color: var(--color-black);
}

.patrocinadores .col-50 img{
    padding: 90px;
}

@media (max-width: 960px) {
    .patrocinadores .col-50 img {
        padding: 50px;
    }
}

.footer{
    padding: 0 0 0 0;
}

.footer .col-33{
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .redes{
    margin: 100px auto;
}

.footer .redes a{
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.newsletter-modal{
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
}

.newsletter-modal h2{
    margin-bottom: 30px;
}

.newsletter-modal .uk-input{
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    border-radius: 0;
}

.newsletter-modal .uk-input::placeholder{
    color: var(--color-grey);
}

.newsletter-modal .uk-input:focus{
    border-color: var(--color-gold);
    background-color: transparent;
}

.newsletter-modal .btn-gold{
    border: none;
    cursor: pointer;
}

.uk-modal{
    background: transparent;
}

.uk-modal .uk-modal-dialog{
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin: 0;
}

.uk-modal .newsletter-modal{
    background-color: var(--color-blue);
}

.uk-modal .newsletter-modal h2{
    color: var(--color-pink);
}

.uk-modal button.subscribe{
    padding: 10px 10px;
    font-size: clamp(1.5rem, 1.31rem + 0.75vw, 1.5625rem);
    letter-spacing: -0.05em;
    font-weight: 700;
    background-color: var(--color-red);
    color: var(--color-pink);
    width: 100%;
    border: none;
    transition: all .3s;
}

.uk-modal button.subscribe:hover{
    text-decoration: none;
    background-color: var(--color-pink);
    color: var(--color-red);
}

.stripes{
    height: 120px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-gold) 0px 60px,
        var(--color-blue) 60px 120px,
        var(--color-pink) 120px 180px,
        var(--color-red) 180px 240px
    );
    display: flex;
    align-items: center;
    overflow: hidden;
}

.stripes .stripes-track{
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: max-content;
    animation: stripes-marquee 15s linear infinite;
}

.stripes .stripes-track img{
    margin: 0 10px;
    flex-shrink: 0;
}

.stripes:hover .stripes-track{
    animation-play-state: paused;
}

@keyframes stripes-marquee{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce){
    .stripes .stripes-track{
        animation: none;
    }
}
