@charset "utf-8";

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

}
@font-face {
  font-family: "TitlingGothicFBExtended-Medium";
  src: url("https://db.onlinewebfonts.com/t/38a367caf669011075e5d4107ee090a3.eot");
  src: url("https://db.onlinewebfonts.com/t/38a367caf669011075e5d4107ee090a3.eot?#iefix")format("embedded-opentype"),
  url("https://db.onlinewebfonts.com/t/38a367caf669011075e5d4107ee090a3.woff2")format("woff2"),
  url("https://db.onlinewebfonts.com/t/38a367caf669011075e5d4107ee090a3.woff")format("woff"),
  url("https://db.onlinewebfonts.com/t/38a367caf669011075e5d4107ee090a3.ttf")format("truetype"),
  url("https://db.onlinewebfonts.com/t/38a367caf669011075e5d4107ee090a3.svg#TitlingGothicFBExtended-Medium")format("svg");
}
body {
  background-image: url(fondodemantel.svg);

}

/* primera grilla general */
.grid_1 {
  display: grid;
  width: 100%;
  margin: 0 auto;
  grid-gap: 10px;
  grid-template-rows: 12% auto 3em;

  grid-template-areas:
    "header"
    "main"
    "sidebar";
}

/*definiendo cada segmento*/

.perfil {
  margin: 10px 10px 0 10px;
  grid-area: header;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;

}
.perfil a {
  width: 20%;
  height: auto;

}
div.btnCerrarSesion {
  width: 50%;

}


.main {
  grid-area: main;
  display: grid;
  width: 100%;
  margin: 0 auto;
  grid-gap: 10px;
  grid-template-rows: .6fr .8fr 1.4fr;
  grid-template-areas:
    "A"
    "B"
    "C";
}
.side {
  height: 10%;
  margin: 0 auto;
  /* grid-area: sidebar; */
  display: flex;
  align-content: space-around;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgb(208, 0, 255);
  background: linear-gradient(
    0deg,
    rgba(208, 0, 255, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}
nav a div {
  height: 100%;
  width: auto;
  text-align: center;
}
.side a {
  width: 30%;
  height: 100%;
  margin: 0 auto;
}

nav.side a div img {
  height: 90%;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.main #logo {
  grid-area: A;
  border: none;
  width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.main .carreraRapida {
  grid-area: B;
  display: grid;
  grid-template-rows: 1fr 1fr 4fr;
  grid-template-areas:
    "gradiente"
    "flag"
    "texto";
}
.main .prixOn {
  grid-area: C;
  display: grid;
  grid-template-rows: 1fr 1fr 4fr;
  grid-template-areas:
    "gradiente"
    "flag"
    "texto";
}

/* vamos a armar las tarjetas del home  */
.main > div {
  border: black solid 0.7em;
}

div.gradiente2 {
  background: rgb(0, 0, 255);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 255, 1) 0%,
    rgba(0, 255, 255, 1) 100%
  );
}
div.gradiente4 {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 255, 1) 0%,
    rgba(0, 255, 255, 1) 33%,
    rgba(252, 238, 33, 1) 66%,
    rgba(255, 0, 0, 1) 100%
  );
}
div.raceflag {
  background: url(raceflag.svg);
  background-size: cover;
}
.tituloCartel {
  grid-area: texto;
  background-color: white;
  display:flex;
justify-content: space-between;

}

.tituloCartel h2 {
  color: black;
  font-family: "TitlingGothicFBExtended-Medium";
  font-size: 1.2em;
  text-transform: uppercase;
  padding: .6em 0 .6em .4em;
  height: 90%;
  width: auto;
  margin-top: auto;
  margin-bottom: auto;

}

.tituloCartel > img {
width: 20%;
margin-left: auto;
}

.tituloCartel a {
  width: 33%;
  margin: auto 0 auto auto;
}
.prixOn .tituloCartel {
  border-top: none;
  border-bottom: 14px solid #00f000;
  border-left: #00f000 24px solid;
  border-right: #00f000 24px solid;

}
.prixOn .tituloCartel h2 {
  height: 80%;
  font-size: 1.5em;
}

.carreraRapida .tituloCartel {
  border-top: none;
  border-bottom: 14px solid #ff0000;
  border-left: #ff0000 24px solid;
  border-right: #ff0000 24px solid;
}

/* multipantallas */
@media (min-width: 42em) {
  .grid_1 {
    display: grid;
    width: 100%;
    max-width: auto;
    margin: 0 auto;
    grid-gap: 10px;
    grid-template-rows: 10em auto 10em;
    grid-template-areas:
      "header"
      "main"
      "sidebar";
  }
  .main {
    width: 90%;
    gap: 1em;
    grid-template-rows: .6fr .8fr 1fr;
}
.tituloCartel h2 {
  font-size: 3em;
}
.prixOn .tituloCartel h2 {
  font-size: 4em;
}
.btnPerfil img {
  height: 10em;
}
}


@media (min-width: 75em) and (max-width: 79em) {
  .grid_1 {
    display: grid;
    width: 100%;
    margin: 0 auto;
    grid-gap: 10px;
    grid-template-rows: 12em auto 15em;

    grid-template-areas:
      "header header header"
      "main main main"
      "sidebar sidebar sidebar";
  }
 
  .main {
grid-template-areas: 
"A A"
"B C";  
grid-template-rows: 0.5fr 1fr;
}
.side {
  height: 20%;
}
.main #logo {
  width: 20%;
}
.tituloCartel h2 {
  font-size: 3.5em;
}

.prixOn .tituloCartel h2 {
    height: 100%;
    padding: 0.5em;
}
.btnCerrarSesion img {
  height: 9.5em;
  width: 100%;
}
.btnPerfil img {
  width: 100%;
}
}

@media (min-width: 80em) {
  .grid_1 {
    display: grid;
    width: 100%;
    margin: 0 auto;
    grid-gap: 10px;
    grid-template-rows: 3em 6em 20em;

    grid-template-areas:
      "header header"
      "main main"
      "sidebar sidebar";
  }
 
  .main {
grid-template-areas: 
"A A"
"B C";  
grid-template-rows: 6em 18em;
}
.side {
  height: 20%;
}
.main #logo {
  width: 8em;
}
.tituloCartel h2 {
  font-size: 2em;
}

.prixOn .tituloCartel h2 {
    height: 100%;
    padding: 0.5em;
}
.btnCerrarSesion img {
  height: 4em;
  width: 100%;
}
.btnPerfil img {
  width: 4em;
  height: auto;
}
.prixOn .tituloCartel h2 {
  font-size: 2em;
  text-transform: uppercase;
padding: 0.6em 0 0.6em 0.4em;
height: 90%;
width: auto;
margin-top: auto;
margin-bottom: auto;
}
}
