@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,200;0,400;0,900;1,200;1,400;1,900&family=Barlow:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Chakra+Petch:ital,wght@0,400;0,700;1,400;1,700&display=swap');


.main-container{
	position: fixed;
	box-sizing: border-box;
	margin: 0 auto;
	z-index: 30;
}

.grid-wrapper{
	display: grid;
	grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.grid-wrapper li{ 
	background: rgb(255,255,255);
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(209,214,215,1) 100%);
	color: #444444;
	font-size: 1rem;
	list-style-type: none;
	padding: .5rem 0;
	text-align: center;
	font-family: 'Chakra Petch', sans-serif;
	box-sizing: border-box;
	border-right: 1px solid #eeeeee;
	text-transform: uppercase;
    line-height: .8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
	-webkit-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.38);
	-moz-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.38);
	box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.38);
	cursor: pointer;
}

.grid-wrapper li:hover{
	background: rgb(216, 216, 216);
	background: linear-gradient(180deg, rgba(216, 216, 216,1) 0%, rgba(216, 216, 216,1) 35%, rgb(176, 184, 185) 100%);
	color: #2b2b2b;
}

.grid-wrapper li img{
	width: 80%;
    margin-bottom: 5px;
}

.grid-wrapper li.li-seleccionado{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
    color: white;
}

.grid-wrapper li.li-seleccionado.rb{
    color: black;
}

.ferrari {
    background-color: #cc0000!important;
    background: #cc0000 !important;
}
.mercedes {
    background-color: #00A19B !important;
    background: #00A19B !important;
}
.redbull {
    background-color: rgb(0, 20, 75) !important;
    background: rgb(0, 20, 75) !important;
}
.mclaren {
    background-color: #FF8000 !important;
    background: #FF8000 !important;
}
.alpine {
    background-color: #e988ab !important;
    background: #e988ab !important;
}
.alphatauri {
    background-color: #ececec !important;
    background: #ececec !important;
}
.astonmartin {
    background-color: #00584F !important;
    background: #00584F !important;
}
.williams {
    background-color: #00A0DD !important;
    background: #00A0DD !important;
}
.kicksauber {
    background-color: #00E700 !important;
    background: #00E700 !important;
}
.haas {
    background-color: #000000 !important;
    background: #000000 !important;
}

#ir-a-home{
    background-color: white;
    width: 50px;
    height: 50px;
    position: fixed;
    left: 5px;
    z-index: 30;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    
    background: rgb(255,255,255);
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(209,214,215,1) 100%);
}

#ir-a-home:hover{
    background: rgb(216, 216, 216);
	background: linear-gradient(180deg, rgba(216, 216, 216,1) 0%, rgba(216, 216, 216,1) 35%, rgb(176, 184, 185) 100%);
}


/* ************************************************* */


body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header,
footer {
    min-height: 200px;
    background: violet;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;

}

main article {
    flex: 1;
}

main article section {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    height: 100vh;
    min-height: 250px;
    margin-top: -1%;
    /* border:2px solid pink; */
}

main article section:second-child {
    padding-top: 100vh;
    background-color: #cc0000;
}

#alh-wrapper section .basedetalle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .9);
    border: 1px solid rgba(0, 0, 0, .1);
    z-index: 20;
    padding: 0 20px;
    margin: 20vh 20vh;
    width: 40vw;
    max-width: 530px;
}

main article section img {
    width: 100%;
    max-width: 500px;
}

main article .item {
    width: 80vw;
    max-width: 200vh;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-size: 3em;
    position: sticky;
    top: 5%;
    left: 20px;
    opacity: 0;
    z-index: -1;
}

#alh-wrapper {
    border: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
    transition: all 1s ease-in;
    position: relative;
}

#alh-wrapper section .basedetalle p {
    max-width: 500px;
    padding: 20px 0;
    font-size: 1.1rem;
    line-height: 1.6rem;
}

#alh-wrapper section .basedetalle h2 {
    color: #cc0000;
    padding: 20px 0;
}

#alh-wrapper #style-ast section .basedetalle h2 {
    color: #00584F;
}
#alh-wrapper #style-wil section .basedetalle h2 {
    color: #00A0DD;
};

#alh-wrapper #style-alp section .basedetalle h2 {
    color: rgb(0, 48, 153);
}

.contenedor {
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0 1vw;
    padding: 0;
}

.contenedor h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 3vw;
    display: block;
    text-align: center;
    color: #222;
    padding: 0 20vw;
    margin: 5vh;
    line-height: 2.8vw;
}

/* #style-red .contenedor h3{
    color: #606060;
}
#style-alt .contenedor h3{
    color: #ccc;
} */

#style-alf #id4.contenedor h3{
    color: #fff;
}
#style-alt #id4.contenedor h3{
    color: #fff;
}
#style-red #id4.contenedor h3{
    color: #fff;
}


#id1 {
    transition: all 1s ease-in;
    position: relative;
    overflow: hidden;
    align-self: flex-end;
}



#id1 #logoescuderia {
    width: 25%;
    margin: 0 auto;
}

#style-alt #id1 #logoescuderia {
    width: 16%;
}

#id1 h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18vw;
    display: block;
    text-align: center;
    color: #ffffff;
    padding: 0 5vw;
    line-height: 15vw;
    margin: 0;
}
#style-alt #id1 h2 {
    font-size: 15vw;
    line-height: 11vw;
    color: #1434CC;
}

#style-ast #id1 h2 {
    font-size: 15vw;
    line-height: 11vw;
}

#style-alf #id1 h2 {
    font-size: 15vw;
    line-height: 11vw;
    color: #000000;
}

img#id2 {
    width: 15vw;
    left: -50px;
    bottom: 0;
    position: absolute;
}

#id3 {
    height: auto;
    background-color: #222;
    font-size: 1.5em;
    line-height: 2.5em;
    padding: 10vw;
    text-align: center;
    transition: all 1s ease-in;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size:cover;
    color: #fff;
}
#style-fer #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/ferrari/logo-ferrari-bn.png);
}
#style-mer #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/mercedes/logo-mercedes-bn.svg);
}
#style-red #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/redbull/logo-redbull-bn.png);
}
#style-mcl #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/mclaren/logo-mclaren-bn.svg);
}
#style-alp #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/alpine/logo-alpine-bn.png);
}
#style-alt #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/rb/logo-rb-bn.svg);
}
#style-ast #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/astonmartin/logo-astonmartin-bn.png);
}
#style-wil #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/williams/logo-williams-bn.png);
}
#style-alf #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/kicksauber/logo-kicksauber-bn.svg);
}
#style-haa #id3{
    background-image: url(https://e00-especiales-marca.uecdn.es/motor/images/formula1/escuderias/2025/haas/logo-haas-bn.png);
}

#id3 h3 {
    color: #CC0000;
}
#style-mer #id3 h3 {
    color: #00A19B;
}
#style-red #id3 h3 {
    color: #FED011;
}
#style-mcl #id3 h3 {
    color: #FF8000;
}
#style-alp #id3 h3 {
    color: #e988ab;
}
#style-alt #id3 h3 {
    color: #E1E6F4;
}
#style-ast #id3 h3 {
    color: #00584F;
}
#style-wil #id3 h3 {
    color: #00A0DD;
}
#style-alf #id3 h3 {
    color: #00E700 ;
}
#style-haa #id3 h3 {
    color: #E6002D;
}

#id3 p {
    margin-bottom: 3rem;
}

#id3 .elgridcomotabla {
    display: grid;
    grid-template-columns: auto auto;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 200;
    color: rgba(255, 255, 255, .5);
    align-items: end;
}

#id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #cc0000;
    padding: 5px;
}
#style-mer #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #00A19B;
}
#style-red #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #FED011;
}
#style-mcl #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #FF8000;
}
#style-alp #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #e988ab;
}
#style-alt #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #3150ea;
}
#style-ast #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #DAF617;
}
#style-wil #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #00A0DD;
}
#style-alf #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #00E700;
}
#style-haa #id3 .elgridcomotabla .gridcelda {
    border-bottom: 1px dashed #E6002D;
}

#id3 .elgridcomotabla img {
    width: 5rem;
}

#id3 .elgridcomotabla .resp-tabla {
    color: white;
    font-weight: 400;
}

#id3 .elgridcomotabla .resp-tabla .pais {
    font-weight: 700;
    margin-top: -30;
}

#id3 .elgridcomotabla .resp-tabla.gr {
    font-weight: 700;
    font-size: 1.5em;
    text-transform: none;
}

.contenedor {
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0 1vw;
    padding: 0;
}



/* pilotos */

#id4 {
    display: flex;
    justify-content: flex-start;
    background: rgb(0, 0, 0);
    background: linear-gradient(45deg, rgba(0, 0, 0, 1) 6%, rgba(204, 0, 0, 1) 92%);
    height: 120vh;
}

#style-mer #id4{
    background: linear-gradient(45deg, rgba(0, 0, 0, 1) 6%, #00A19B 92%);
}
#style-red #id4{
    background: linear-gradient(45deg, rgba(0, 0, 0, 1) 6%, rgb(0, 20, 75) 92%);
}
#style-mcl #id4{
    background: linear-gradient(45deg, rgb(0, 119, 255) 6%, #FF8000 92%);
}
#style-alp #id4{
    background: linear-gradient(45deg, rgb(0, 48, 153) 50%, #e988ab 100%);
}
#style-alt #id4{
    background: linear-gradient(45deg, #011321 6%, #1434CC 92%);
}
#style-ast #id4{
    background: linear-gradient(45deg, #000000 0%, #00584F 50%, #339966 100%);
}
#style-wil #id4{
    background: linear-gradient(45deg, #003153 6%, #00A0DD 92%);
}
#style-alf #id4{
    background: linear-gradient(20deg, rgb(0, 0, 0) 6%, rgb(0, 0, 0) 50%, #00E700 100%);
}
#style-haa #id4{
    background: linear-gradient(45deg, #000000 6%, #686868 92%);
}

/* colores escuder�as */



#id4 .lospilotos {
    display: flex;
    justify-content: space-between;
}

#id4 .piloto {
    display: flex;
}

#id4 .piloto .div-img-piloto img{
    height: 100vh;
    max-width: 48vw;
}

.tabla-piloto {
    border-collapse: collapse;
    /* height: 50vh; */
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3em;
    text-transform: uppercase;
    margin-right: 1vw;
}

.tabla-piloto td {
    color: rgba(255, 255, 255, .7);
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    line-height: 1.3rem;
    vertical-align: middle;
    /* white-space: nowrap; */
}

#alh-wrapper .tabla-piloto td.resp-tabla {
    font-weight: 400;
    color: white;
    padding-left: 10px;
}

.tabla-piloto caption {
    font-size: 3vw;
    font-style: italic;
    text-align: left;
    line-height: 3vw;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1vh;
}

.tabla-piloto caption span {
    font-size: 5vw;
    font-weight: 900;
    color: rgb(255, 255, 255);

}

.tabla-piloto caption b {
    font-family: 'Chakra Petch', sans-serif;
    color: rgba(0, 0, 0, .8);
    font-size: 2vw;
    text-shadow: 0 0 5px rgba(255,255,255,.5);
}

.tabla-piloto img {
    width: 4vw;
    border: 5px solid rgba(0, 0, 0, .3);
    border-radius: 50%;
    margin-bottom: -15px;
}

/* cascos */

#id5 {
    border-top: 5px solid #222;
    /* background-color: rgb(233, 198, 0); */
    background: rgb(255, 255, 255);
    background: linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(198, 198, 198, 1) 50%, rgba(221, 221, 221, 1) 50%, rgba(255, 255, 255, 1) 100%);
    padding: 100px 40px;
    /* justify-content:flex-start; */
    height: auto;
}

#id5 #cascos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 200;
    color: rgba(0, 0, 0, .8);
    /* align-items: end; */
}

#id5.contenedor h3 {
    margin: 0;
    padding: 50px 0;
}

#id5 #cascos {
    overflow: hidden;
}

#id5 .casco {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}



#id5 #cascos p {
    display: inline;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, .5);
    padding: 20px;
    margin: 20vh 0;
    color: white;
    font-style: italic;
}

#id5 #cascos p b{
    text-transform: uppercase;
    /* color: orange; */
}

#id5 #cascos img {
    width: 40vw;
    /* padding: 5px; */
    /* filter: drop-shadow(0 2mm .5mm rgba(0, 0, 0, 0.8)); */
}

.red-bg {
    background-color: #cc0000;
}


#alh-wrapper td {
    /* border: 1px solid black; */
    padding-top: 3px;
    font-weight: 200;
}

.contenedoriframes{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f3f3f3;
    border-top: 1px solid #bebebe;
    padding: 15vh 0 10vh 0;
}

.contenedoriframe{
    min-width: 990px;
    width: 50vw;
}

.contenedoriframes .textobeforeafter1{
    font-style: italic;
    text-align: center;
    margin: 0 10px;
    line-height: 1rem;
    /* color: #cc0000; */
}

.contenedoriframes .textobeforeafter2{
    display: inline;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, .5);
    padding: 10px;
    color: white;
    margin: 3vh;
}

.contenedoriframes .textobeforeafter3{
    margin-top: 10vh;
}

#alh-wrapper #elfooter{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #222;
    color: rgb(173, 173, 173);
    font-family: 'Barlow Condensed', sans-serif;
    height: auto;
    padding: 20px;
    text-align: center;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 50px;
}

#alh-wrapper #elfooter p{
    border-bottom: 1px solid #494949;
    padding: 10px;
    display: block;
}

#alh-wrapper #elfooter p b{
    font-weight: 200;
    color: white;
}

#alh-wrapper #elfooter img{
    width: 100px;
    margin-top: 20px;
}

#alh-wrapper #elfooter p.nit{
    font-size: 12.3px;
    border: none;
    padding: 0;
}
iframe .juxtapose{
    min-height: 1000px;
    max-height: 1000px;
    height: 1000px;
  }

  @media only screen and (max-width: 1099px) {
      /* pilotos */
    #id4{
        height: 350vh;
    }

    .tabla-piloto {
        margin-right: 1vh;
    }

    .tabla-piloto img {
        width: 5rem;
    }

    #id4 .lospilotos{
        flex-direction: column;
    }
    #id4 .piloto{
        justify-content: center;
    }

    #id4 .piloto .div-img-piloto img{
        width: 50vW;
        height: auto;
    }

    .tabla-piloto td {
        white-space: normal;
    }
  }

/************************media querysss*/
@media only screen and (max-width: 659px) {
 
    main article .item img {
        padding-top: 100px
    }

    iframe .juxtapose{
        height: 450px;
    }

    #id1 #logoescuderia {
        width: 40%;
    }

    .grid-wrapper {
        grid-template-columns: 20% 20% 20% 20% 20%;
    }

    #id1 h2 {
        font-size: 18vw;
        line-height: 15vw;
    }

    .grid-wrapper li{
        font-size: .8rem;
        line-height: .8rem;
        padding: 0.5rem 0 0.3rem;
    }

    .grid-wrapper li img {
        margin-bottom: 5px;
    }

    #ir-a-home{
        width: 30px;
        height: 30px;
        padding: 5px;
    }
/* pilotos */
    #id4{
        height: 220vh;
    }
    .tabla-piloto img {
        width: 4rem;
    }

    #id4 .lospilotos{
        flex-direction: column;
    }
    #id4 .piloto{
        justify-content: center;
    }

    #id4 .piloto .div-img-piloto img{
        width: 50vW;
        height: auto;
    }

    .tabla-piloto td {
        white-space: normal;
    }

    .contenedor h3{
        font-size: 7vw;
        line-height: 6.8vw;
        padding: 0;
    }

    #id3 {
        font-size: 1.3em;
        line-height: 2em;
    }
    #id3 p{
        margin-bottom: 40px;
    }

    #id3 .elgridcomotabla .gridcelda {
        line-height: 1em;
        padding: 5px 0;
    }

    #id5{
        padding: 0;
        height: 150vh;
    }
    #id5 #cascos img {
        width: 90vw;
    }

    #id5 #cascos #casco2 {
        margin-top: 100px;
        padding-bottom: 60px;
    }

    .tabla-piloto {
        margin-right: 1vh;
    }
    
    .tabla-piloto caption{
        font-size: 7vw;
        line-height: 7vw;
    }

    .lospilotos .piloto2{
        margin-top: 50px;
    }

    .tabla-piloto caption b{
        font-size: 5vw;
        margin-bottom: 20px;
    }

    .tabla-piloto td{
        font-size: 1rem;
        line-height: 1rem;
    }
    

    .tabla-piloto caption span {
        font-size: 7vw;
    }

    img#id2 {
        width: 35vw;
    }

    #id5 #cascos {
    flex-direction: column;    
    }

    main article .item {
        width: 100vw;
    }

    #alh-wrapper section .basedetalle {
        width: 90%;
    }

    #alh-wrapper section .basedetalle h2{
        font-size: 1.4em;
        line-height: 1.2em;
    }

    #alh-wrapper section .basedetalle p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    /* iframe */
    .contenedoriframe{
        min-width: 300px;
        width: 100%;
    }
}



/* codigo youtuve responsive */

.youtube-responsive {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
  }

  .youtube-responsive iframe,
  .youtube-responsive object,
  .youtube-responsive embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }


  .cubrereproductor {

    width: 100%;
    height: 100%;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

span.aclaracion {
    font-weight: 100;
    font-size: 16px;
    line-height: 16px;
    padding-bottom: 15px;
}

