@font-face {
    font-family: fuente1;
    src: url(fuentes/SpaceGrotesk-VariableFont_wght.ttf);
}

@font-face {
    font-family: fuente2;
    src: url(fuentes/Raceline\ Demo.otf);
}


header, section, footer {
    width: 1200px;
    margin: auto;
}

body{
background-image: url(logos/fondo.jpg);
background-size: cover;
background-attachment: fixed;
}

#cabeceraseccion1 {
    height: 200px;
    background-color: red;
}

#cabeceraseccion3 {
    background-color: red;
}

#cabeceraseccion4 {
    background-color: red;
}

#cabeceraseccion5 {
    background-color: red;
}

#nombre {
    width: 800px;
    height: 130px;
    background-color: aliceblue;
    margin-left: 200px;
}

#botonera {
    width: 1200px;
    height: 70px;
    margin-top: 10px;
}

#contenidoseccion1 {
    height: 6800px;
    padding-top: 20px;
    background-color: rgba(255, 0, 0,0.8);
}

#contenidoseccion3 {
background-color: rgb(255, 0, 0,0.8);
padding-top: 20px;
padding-bottom: 10px;
}

#contenidoseccion4 {
    height: 1850px;
    background-color: rgb(255, 0, 0,0.8);
    padding-top: 20px;
}

#contenidoseccion5 {
    height: 800px;
    padding-top: 1px;
    background-color: rgb(255, 0, 0,0.8);
}

#pieseccion1 {
    height: 120px;
    background-color: black;
    padding-top: 25px;
    box-sizing: border-box;
}

.imgizq {
    width: 600px;
    height: 400px;
    float: left;
    margin-top: 150px;
    margin-left: 30px;
}

.txtder {
    width: 400px;
    height: 400px;
    float: right;
    margin-top: 150px;
    margin-right: 30px;
    font-family: fuente1;
    font-size: 18px;
    color: white;
}

.imgder {
    width: 600px;
    height: 400px;
    float: right;
    margin-top: 150px;
    margin-right: 30px;
}

.txtizq {
    width: 400px;
    height: 400px;
    float: left;
    margin-top: 150px;
    margin-left: 30px;
    font-family: fuente1;
    font-size: 18px;
    color: white;
}

#anclas {
    width: 1000px;
    height: 450px;
    align-content: center;
    margin-left: 80px;
}

.anclas {
    margin-top: 5px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
}

.anclas li a {
    display: block;
    text-decoration: none;
    color: white;
    margin-left: 10px;
    font-size: 20px;
    height: 55px;
    width: 250px;
    text-align: center;
    line-height: 50px;
    background-color: black;
    font-family: fuente1;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}

.anclas li a:hover {
    background-color: rgb(255, 0, 0);
    border: 1px solid rgb(255, 255, 255);
    transition: background 0.3s ease;
}

.anclas1 {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
}

.anclas1 li a {
    display: block;
    text-decoration: none;
    color: white;
    margin-left: 10px;
    font-size: 20px;
    height: 55px;
    width: 250px;
    text-align: center;
    line-height: 50px;
    background-color: black;
    font-family: fuente1;
    margin-top: 20px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}

.anclas1 li a:hover {
    background-color: rgb(255, 0, 0);
    border: 1px solid rgb(255, 255, 255);
    transition: background 0.3s ease;
}

.anclas2 {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
}

.anclas2 li a {
    display: block;
    text-decoration: none;
    color: white;
    margin-left: 180px;
    font-size: 20px;
    height: 55px;
    width: 250px;
    text-align: center;
    line-height: 50px;
    background-color: black;
    font-family: fuente1;
    margin-top: 30px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}

.anclas2 li a:hover {
    background-color: rgb(255, 0, 0);
    border: 1px solid rgb(255, 255, 255);
    transition: background 0.3s ease;
}

#cajapie {
    width: 1000px;
    height: 65px;
    margin-right: auto;
    margin-left: auto;
    background-color: rgb(0, 0, 0);
    text-align: center;
    font-size: 18px;
    color: white;
}


.botones {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
}

.botones li a {
    display: block;
    text-decoration: none;
    color: white;
    margin-left: 6px;
    font-size: 17px;
    height: 50px;
    width: 193px;
    text-align: center;
    line-height: 50px;
    background-color: black;
    font-family: fuente1;
}

.botones li a:hover {
    background-color: rgb(255, 0, 0);
    border: 1px solid rgb(255, 255, 255);
    transition: background 0.3s ease;
}

h1 {
    color: red;
    text-align: center;
    line-height: 130px;
    font-size: 60px;
    font-family: fuente2;
    width: 605px;
    float: right;
    margin-top: 5px;
    text-transform: uppercase;
}

#mod1, #mod2, #mod3, #mod4, #mod5, #mod6, #mod7, #mod8, #mod9, #mod10 {
    height: 600px;
}

.tabla {
    width: 1150px;
    height: 200px;
    margin-top: 70px;
    margin-bottom: 30px;
    text-align: center;
    margin-left: 25px;
}

#pilotos {
    margin-left: 160px;
    margin-top: 110px;
    margin-bottom: 40px;
}

.tabla th {
    background-color: white;
    color: black;
    font-size: 18px;
    font-family: fuente1;
}

.tabla td {
    font-family: fuente1;
    font-size: 16px;
    background-color: white;
    color: black;
}

th a {
    text-decoration: none;
    color: black;
}

th a:hover {
    color: red;
}

h2 {
    font-size: 50px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    margin-left: 10px;
}


.flip-box {
      background-color: transparent;
      width: 700px;
      height: 400px;
      perspective: 1000px;
      margin-top: 10px;
      margin-left: 10px;
      float: left;
    }

    .flip-box-inner {
      position: relative;
      width: 700px;
      height: 400px;
      transition: transform 0.8s;
      transform-style: preserve-3d;
    }

    .flip-box:hover .flip-box-inner {
      transform: rotateY(180deg);
    }

    .flip-box-front,
    .flip-box-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      overflow: hidden;
    }

    .flip-box-front {
      margin-top: 20px;
      background-size: cover;
      background-position: center;
    }

    .flip-box-back {
      margin-top: 20px;
      background-color: black;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      transform: rotateY(180deg);
      font-size: 22px;
      padding: 20px;
      box-sizing: border-box;
      text-align: center;
    }

#fangio {
    background-image: url(logos/Juan-Manuel-Fangiocopia.jpg);
}

#senna {
    background-image: url(logos/ayrtonsennacopia.jpg);
}

#michael {
    background-image: url(logos/ferraricopia2.jpg);
}

#alain {
    background-image: url(logos/alainprostcopia.jpg);
}

input, textarea, select{
    width: 500px;
    height: 120;
    display: block;
    box-sizing: border-box;
    margin: 5px;
    padding: 10px;
    background-color: white;
    text-align: center;
    font-family: fuente1;
    color: red;
   margin-left: 350px;
   border: 1px black solid;
   margin-top: 25px;
}

::-webkit-input-placeholder {
    color: red
}

.latido {
  display: block;
  width: 200px;
  padding: 10px 20px;
  font-size: 18px;
  background-color: white;
  color: red;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  animation: latido 1.5s infinite;
}

@keyframes latido {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(0.95);
  }
  75% {
    transform: scale(1.05);
  }
}

#parrafo {
    text-align: center;
    font-size: 37px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;

}

.texto1 {
    height: 400px;
    width: 400px;
    float: right;
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-family: fuente1;
    margin-top: 50px;
    margin-right: 10px;
}


.texto2 {
    height: 400px;
    width: 400px;
    float: right;
    color: white;
    font-size: 18px;
    font-family: fuente1;
    margin-top: 30px;
    margin-right: 10px;
}

.texto3 {
     height: 400px;
    width: 400px;
    float: right;
    color: white;
    font-size: 18px;
    font-family: fuente1;
    margin-top: 10px;
    margin-right: 10px;
}

.texto4 {
     height: 400px;
    width: 400px;
    float: right;
    color: white;
    font-size: 18px;
    font-family: fuente1;
    margin-top: 10px;
    margin-right: 10px;
}

.botonera2 {
    background-color: red !important;
    border: rgb(255, 255, 255) 1px solid;
}

.footerv {
    color: red;
}

.flotante {
  color: white;
  padding: 20px;
  height: 532px;
  width: 851px;
  text-align: center;
  animation: flotar 3s ease-in-out infinite;
}

@keyframes flotar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}



html{
    background-color: white;
}


#cabecerainicio{
    height: 200px;
    background-color: red;
}


.botones1{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    margin-top: 10px;
}

.botones1 li a{
    display: block;
    text-decoration: none;
    color: rgb(245, 248, 245);
    width: 190px;
    margin-left: 6px;
    height: 50px;
    background-color: black;
    font-size: 18px;
    text-align: center;
    line-height: 50px;
    font-family: fuente1;

}

.botones1 li a:hover{
    background-color: red;
    border-color: white;
    border: 1px solid;
}

#contenidoinicio{
    height: 820px;
    background-color: rgba(255, 0, 0,0.8);
    padding-top: 20px;
}


#pieinicio{
    height: 150px;
    background-color: black;
    padding-top: 25px;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}



#caja1{
    width: 610px;
    float: left;
    height: 300px;
    font-size: 25px;
    font-family: fuente1;
    font-weight: 200;
    text-align: justify;
    margin-left: 30px;
    margin-right: 30px;
}

#caja2{
    width: 510px;
    height: 300px;
    float: right;
}


#bounce{
    width: 400px;
    height: 300px;
    float: right;
    margin-top: 13px;
    margin-right: 10px;
    width: 300px;
    height: 30px;
    border-radius: 20px;
    animation: bounce 3s;
}

.video{
width: 500px;
height: 300px;
float: right;
margin-top: 13px;
}


#origenf1{
    width: 650px;
    height: 300px;
    float: right;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 200;
    text-align: justify;
    margin-right: 10px;
    margin-left: 10px;
}

.imgorigen{
    width: 400px;
    height: 300px;
    float: left;
    margin-left: 40px;
}

#contenidoorigen{
    height: 1200px;
    background-color: rgba(255, 0, 0,0.8);
    padding-top: 20px;
}

#txt2{
    width: 680px;
    height: 350px;
    float: left;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 200;
    text-align: justify;
    margin-right: 40px;
    margin-left: 40px;
}

.img2{
    width: 510px;
    height: 300px;
    float: left;
    margin-right: 40px;
}
    
#txt3{
    width: 500px;
    height: 300px;
    float: right;
    font-size: 23px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 200;
    text-align: justify;
    margin-left: 40px;
    margin-right:40px;
}

.img3{
    width: 500px;
    height:300px;
    float:left;
    margin-left: 40px;
}


@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(50px);
  }
}








