body {
  margin: 0;
  background: #00a5be;
  font-family: system-ui;
  overflow-x: hidden;
  background-image: url('../images/asset-red.svg');
  background-position: left 200px top;
  background-repeat: no-repeat;
}

.logo {
  grid-area: logo;
  margin:auto ;
  display: block;
}

.grid {
  padding: 0;
  position: relative;
  z-index: 2;
  display: grid;
  height: calc(100vh - 8em);
  padding: 4em;
  grid-column-gap: 8em;
  grid-template-columns: 50px 1fr 1fr 200px;
  grid-template-rows: 200px 1fr 1fr 1fr 1fr;
  grid-template-areas: "asset-top logo logo social" "name character-name avatar avatar" "about character-description avatar avatar" "asset-bottom character-text avatar avatar" "asset-bottom learn-more arrow other-line" ;
}
.character-image-container {
  grid-area: avatar;
  display: flex;
  justify-content: center;
  align-items: center;
}
.social a {
  padding-top: 10px;
  padding: 10px;
  text-decoration: none;
}
.arrow {
  grid-area: arrow;
  cursor: pointer;
  background-image: url('../images/arrow.svg');
  background-repeat: no-repeat;
  background-position: left  bottom ;
}
.learn-more {
  grid-area: learn-more;
  display: flex;
  align-items: flex-end;
  font-size: 25px;
  text-transform: uppercase;
  background-image: url('../images/learn-more.svg');
  background-repeat: no-repeat;
  background-position: left 170px bottom 5px;
}
.asset.top {
  grid-area: asset-top;
}
.asset {
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
}
.asset.bottom {
  grid-area: asset-bottom;
  justify-content:flex-end;
}
.navigation {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.navigation.name {
  grid-area: name;
}
.navigation.about {
  grid-area: about;

}

.navigation a {
  text-decoration: none;
  color: black;
  font-size: 25px;
  text-transform: uppercase;
}

.social {
  align-items: center;
  grid-area: social;
}

.character-name-container {
  grid-area: character-name;
  display: flex;
  align-items: center;
  
 
}
.search1{
  border: 1px solid black;
  height: 30px;
  width: auto;
  border-radius: 10px;
  margin-bottom: 50px;
  align-items: center;
  background-image:url("../images/buscar.png");
  background-repeat: no-repeat;
  text-align: center;
}

.character-description-container {
  grid-area: character-description;
}

.navigation .text {
  display: inline-flex;
  margin-inline: 35px;
}

.dot {
  width: 10px;
  height: 10px;
  background: black;
  border-radius: 50%;
  display: inline-flex;
  margin-inline: 5px;
}

.links {
}

.line {
  width: 2px;
  height: 150px;
  background: black;
  display: inline-flex;
  margin-inline: 15px;
}

.wrapper {
  max-width: 1280px;
  margin: auto;
  padding: 0 2em;
}

.character {
  text-align: center;
}
.character-image {
  max-width: 100%;
  /* width: auto; */
  border-radius: 50%;
}
.character-image:hover{
  opacity: 0.9;
}

.character-label {
  background: #685128;
  padding: 0.5em;
  color: white;
  border-radius: 10px;
  text-align: left;
  font-size: 25px;
  font-weight: 400;
  /* display: inline-flex; */
}
.character-label:hover{
  opacity: 0.8;
}
.character-name {
  position: relative;
  font-size: 30px;
}
.character-name h2:after {
  content: "";
  width: 87px;
  height: 6px;
  background-color: #F7391C;
  display: inline-flex;
  position: absolute;
  left: calc(100% + 5px);
  top: 50%;
}

.placeholder-container {
  /* max-width: 100vw; */
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.character-name-placeholder {
  color: rgba(0,0,0,.1);
  font-size: 600px;
  text-transform: uppercase;
  justify-content: center;
  display: flex;
  align-items: center;
  z-index: 1;
  white-space: nowrap;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
@media screen and (max-width: 1440px) {
  .grid {
    max-width:100vw;
    max-height: 100vh;
    column-gap: 2em;
  }

}

@media screen and (max-width: 1024px) {
  body {
    background-position: left 50px top;
  }
  .grid {
    height: auto;
    padding: 2em 0;
    width: calc(100vw - 2em);
    margin: 0 auto;
    column-gap: 1em;
    grid-template-columns: 50px 1fr 1fr;
    grid-template-rows: repeat(6, auto);
    grid-template-areas: "logo logo logo" "name avatar avatar" "name character-name character-name" "about character-description character-description" "arrow arrow arrow" "social social social";
  }

  .logo {
    max-width: 100%;
  }
  .character-name {
    text-align: center;
  }
  .character-name h2:after {
    left: 0;
    top: calc(100% - 20px);
  }

  .character-name-container{
    margin-top: 1em;
    justify-content: center;
  }
  .social {
    text-align: center;
    margin-top: 2em;
  }
  .asset {
    display:none;
  }
  .learn-more {
    display: none;
    /* padding-inline-start: 1em; */
  }
  .arrow {
    user-select: none;
    height: 50px;
    background-position: center;
  }
  .character-image-container img{
    /* display: none; */
  }
  .social a {
    margin-left: 2em;
  }
  .social a:first-child {
    margin-left: 0;
  }
}