@font-face {
    font-family: 'F1-Bold';
    src: url('../fonts/Formula1-Display-Bold.otf') format('opentype');
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: 'Titilium-Regular';
    src: url('../fonts/TitilliumWeb-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}
html,body {
    width: 100%;
    height: 100%;
}
body {
    margin: 0;
    font-family: 'Titilium-Regular', sans-serif;
}

header{
    position:fixed;
    top:0px;
    left:0px;
    width: 100%;
    height: 62px;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.logo-header{
    position: absolute;
    width: 300px;
    top:10px;
    left:5px;
    cursor: pointer;
}
.logo-header img{
    width: 100%;
}
nav{
    position: absolute;
    right: 5px;
    top:4px;
}
.nav-butons{
    position: relative;
    display:inline-block;
    color: white;
    font-family: 'F1-Bold', sans-serif;
    text-align: left;
    margin: 7px 20px 0px 20px;
    padding: 0px 0px 0px 7px;
    cursor: pointer;
    border-left:3px solid white;
    transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -ms-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;	
}
.nav-butons:hover{
    color:red;
    border-left:3px solid red;    
}
.nav-butons span{
    color:red;
    font-family: 'F1-Bold', sans-serif;
}
.container-youtube {
    position:fixed;
    overflow: hidden;

    top:0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    container-type: inline-size;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /*background: black;*/
    z-index: -1;
}
#f1video {
    --aspect-ratio: 16 / 9;
    aspect-ratio: var(--aspect-ratio);
    min-width: max(calc(100cqh * var(--aspect-ratio)), 100vw);
    opacity: 1;
    filter: brightness(120%);
}
.left-points{
    position:absolute;
    top:0px;
    left:0px;
    height:100%;
    opacity: 0.15;
    overflow:hidden;
}
.left-points img{
    top:0px;
    left:0px;
    height:100%;
    
}
.right-points{
    position:absolute;
    top:0px;
    right:0px;
    height:100%;
    opacity: 0.15;
    overflow:hidden;
}
.right-points img{
    top:0px;
    left:0px;
    height:100%;
    transform: scaleX(-1);
}
#slider{
    position: relative;
    display:inline-block;
    overflow: hidden;
    top:0px;
    height: 100%;
    width: 100%;
    padding: 0% 0% 0% 0%;
}
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0px, 
    rgba(0, 0, 0, 0.6) 1px, 
    transparent 2px,         
    transparent 4px          
    );
    pointer-events: none; 
}
.logo{
    position: absolute;
    width: 1000px;
    left:50%;
    margin-left: -500px;
    top:50%;
    margin-top: -280px;
    opacity:1;
    cursor:pointer
}
.arrow{
    position: relative;
    width: 60px;
    left:50%;
    margin-left:-30px;
    opacity: 0.8;
}    
.arrow img {
    width: 100%;
}

/* S E C T I O N S */

section{
 position: relative;
 display: inline-block;
 width: 80%;
 padding: 50px 10% 50px 10%;
}
section h1{
    font-family: 'F1-Bold', sans-serif;
    color:#c5c2c2;
    font-size:50px;
}
section h2{
    font-family: 'Titilium-Regular', sans-serif;
    font-size: 25px;
    line-height: 30px;
    color:#c5c2c2;
    font-weight: 100;
}
.cont-doble{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* P R E M I O S */
#premios{
    background:rgba(30, 30, 30,0.90);
    color: rgb(197, 194, 194);
}
.premio_img{
    position: relative;
    display: inline-block;
    width:47.5%;
    margin-right: 1%;
    margin-left: 1%;
    margin-bottom: 25px;
}
.premio_img img{
    width: 100%;
}
#premios h1{
    color: white;
 }
#premios h2{
   color: white;
}

#reglas{
    background: rgb(255 255 255 / 80%);
    color: rgb(0 0 0);
}
#reglas h1{
    color: rgb(61, 61, 61);
}
#reglas h2{
    color: rgb(61, 61, 61);
    font-family: 'F1-Bold', sans-serif;
    
}
#reglas h2 span{
    font-size: 40px;
    border-radius: 50px;
    color: red;
    
}
.car{
    padding: 0px;
    width: 100%;
    background-color: rgb(28, 129, 129);
}
.colapinto{}
.c-viewer{
    width: 100%;
}
.c-viewer__iframe{
    width: 100%;
    height: 500px;
}
/* L E G A L E S */

#legales{
    background:rgba(30, 30, 30,0.95);
    color: rgb(197, 194, 194);
    text-align: left;
}
#legales hr{
    border: 6px dotted #ff1616;
    border-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
} 
#legales h1{
    color: red;
    text-align: right;
    margin-top: -6px;
    margin-bottom: 0px;
    font-size: 30px;
}
#legales h2{
    font-family: 'F1-Bold', sans-serif;
    text-align: left;
}
#legales h3{
    font-family: 'F1-Bold', sans-serif;
    color: red !important;
}
#legales h4{
    color: red;
}
#legales a{
    color: rgb(63, 163, 216) !important;
    /*font-weight: 600;*/
}
#legales i{
    color: #e3e3e3;
    font-style: normal;
    font-family: 'F1-Bold', sans-serif;
    /*font-weight: 600 !important;*/
}
#legales span{
    color:red;
}

/* F O O T E R */
footer{
    position: relative;
    display: inline-block;
    width: 100%;
    background:rgba(62, 47, 47, 0.85);
}
.logo-footer{
    position: relative;
    display: inline-block;
    width: 500px;
    left: 50%;
    margin-left: -250px;
}
.logo-footer img{
    width: 100%;
}
.copyright{
    position: relative;
    display: inline-block;
    width: 100%;
    text-align:center;
    font-size:14px;
    color:rgb(198, 198, 198);
    margin-bottom:25px;
}



/********** 1 2 0 0 ************/  

@media screen and (max-width: 1200px) {
    .logo{
        position: absolute;
        width: 600px;
        left:50%;
        margin-left: -300px;
        top:50%;
        margin-top: -180px;
    }
    header{
        height: 38px;
    }
    .logo-header{
        width: 200px;
        top:6px;
        left:5px;
    }
    .logo-header img{
        width: 100%;
    }
    .nav-butons{
        font-size: 12px;
        margin:1px 10px 0px 10px;
    }
}

/********** 6 0 0 ************/  

@media screen and (max-width: 600px) {
    .logo{
        position: absolute;
        width:90%;
        left:50%;
        margin-left: -45%;
        top:50%;
        margin-top: -180px;
    }
    header{
        height: 30px;
        display: none;
        
    }
    .logo-header{
        width: 140px;
        top:6px;
        left:5px;
    }
    .logo-header img{
        width: 100%;
    }
    .nav-butons{
        font-size: 10px;
        line-height: 10px;
        margin:1px 10px 0px 10px;
        font-family: 'Titilium-Regular', sans-serif;
        border-left: 1px solid white;
        margin:1px 5px 0px 5px;
        padding-left: 3px;
     
    }
    section h1{
        font-size: 40px;
    }
    section h2{
        font-size: 20px;
        line-height: 25px;
    }
    footer{
    background: black;
    
    width: 100%;
    
    }
    .logo-footer{
        width: 300px;
        margin-left: -150px;
    }
    section{
        width: 90%;
        padding: 50px 5% 50px 5%;
    }
    .scanlines {
        display: none;
    }
    #slider{
        width: 100%;
        padding: 50px 0% 50px 0%;
        margin-bottom: 0px;
        /* background: black;*/
    }
    .premio_img{
        width: 100%;
        margin-left:0%;
        margin-right:0%;
    }
    

}