.logo-image {
  max-width: 38px; 
  height: auto; 
}

.bodybase {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    background-color: #fdfdfd;
    background: linear-gradient(0deg, rgba(27, 77, 120) 0%, rgb(235, 235, 235) 100%);
}

.bodyland {
    background-color: white;
}

.no-bullets {
  list-style-type: none;
}

/* Fill screen on PC */
@media (min-width: 1200px) {
  .container {
    max-width: inherit;
    padding-left: 15px;
  }
}

.shadow {
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.1);
}

.btn {
  margin: 2px;
}

.btn-danger {
    color: #fff;
    background-color: #f00000;
    border-color: #dc281e;
}
.masthead {
    background: #3398E1;
    height: auto;
    padding-bottom: 15px;
    box-shadow: 0 5px 15px #E3E7EB;
    padding-top: 10px;
}

.masthead container:hover{
    -webkit-transform: scale(1.015,1.015);
    -webkit-transition: all 0.3s ease-in-out;
}

.head_text {
    color: white;
}

.card:hover {
    -webkit-transform: scale(1.015,1.015);
    -webkit-transition: all 0.3s ease-in-out;
}

.card {
  box-shadow: 0 5px 25px #2d2d2d;
  opacity: 0; /* Initially hide the cards */
  transform: translateY(20px); /* Move the cards down a bit */
  transition: opacity 0.5s, transform 0.5s;
}

.card.appear {
  opacity: 1; /* Show the cards */
  transform: translateY(0); /* Reset their position */
}

.section {
  opacity: 0; /* Initially hide the cards */
  transform: translateY(20px); /* Move the cards down a bit */
  transition: opacity 0.5s, transform 0.5s;
}

.section.appear {
  opacity: 1; /* Show the cards */
  transform: translateY(0); /* Reset their position */
}

/* CSS for the initial visibility of elements with 'appear-immediately' class */
.appear-immediately {
  opacity: 1; /* Immediately visible */
  transform: translateY(0); /* No initial transformation */
}

/* img:hover {
    filter:brightness(120%)
} */

.book_img_list{
    max-width: 95%;
}

.list_view_left{
    max-width: 30%;
    float: left;
}

.list_view_left_big{
    max-width: 60%;
    float: left;
}

.full_width{
    width: 100%;
}

.indexheader{
    background-image: url('../../../media/img/forest-3394066_1920.jpg');
}

/* .indexheader:hover {
    -webkit-transform: scale(1.1,1.1);
    -webkit-transition: all 0.3s ease-in-out;
} */

/*Fon awesome icons settings*/
/* Style all font awesome icons */
.fa {
    padding: 20px;
    font-size: 30px;
    width: 65px;
    text-align: center;
    text-decoration: none;
  }
  
  /* Add a hover effect if you want */
  .fa:hover {
    opacity: 0.7;
  }
  
  /* Set a specific color for each brand */
  
  /* Facebook */
  .fa-facebook {
    background: #3B5998;
    color: white;
  }
  
  /* Twitter */
  .fa-twitter {
    background: #55ACEE;
    color: white;
  }

  /* Youtube */
  .fa-youtube {
      background: red;
      color: white;
  }

  /* Youtube */
  .fa-instagram {
      background: #833AB4;
      color: white;
  }


/* Home page */
.wrapper {
  width: 95%;
  margin: auto;
  margin-top:10px;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  max-width: 1440px;
  font-size: 0;
}

.hero-item,
.standard-item {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.news-item {
  display: inline-block;
  min-height: 400px;
  width: 50%;

  transition: opacity .2s, visibility .2s, color .2s, filter .2s;
}

.hero-item {
  background-image: url('/media/img/alberto-fausto-libros-min.jpg');
}

.standard-item:nth-child(2) {
  background-image: url("/media/img/hugo-korsakoff-min.png");
}

.standard-item:nth-child(3) {
  background-image: url("/media/img/sarah-trelis-anatomia-rosas-rojas-min.png");
}

.standard-item:nth-child(4) {
  background-image: url("/media/img/typewriter-1248088_1920-min.jpg");
}

@supports (display: grid) {
  .news-item {
    width: auto;
    min-height: 0;
  }
  
  .hero-item {
    grid-column: 1 / span 2;
    grid-row: 1 / 50;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 75px), 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 75px), 0 100%);
  }

  .standard-item:nth-child(2) {
    grid-column: 1 / span 1;
    grid-row: 50 / 100;
    -webkit-clip-path: polygon(0 14%, 0 86%, 90% 81%, 100% 6%);
    clip-path: polygon(0 14%, 0 86%, 90% 81%, 100% 6%);
    margin-top: -73px;
  }

  .standard-item:nth-child(3) {
    grid-column: 2 / span 1;
    grid-row: 50 / 100;
    -webkit-clip-path: polygon(13% 6%, 4% 84%, 100% 100%, 100% 0%);
    clip-path: polygon(13% 6%, 4% 84%, 100% 100%, 100% 0%);
    margin-top: -73px;
    margin-left: -15%;
    margin-bottom: 18px;
  }

  .standard-item:nth-child(4) {
    grid-column: 1 / span 2;
    grid-row: 100 / 150;
    -webkit-clip-path: polygon(45% 0, 100% 15%, 100% 100%, 0 100%, 0 5%);
    clip-path: polygon(45% 0, 100% 15%, 100% 100%, 0 100%, 0 5%);
    margin-top: -107px;
  }
}

.news-item:hover {
    opacity:0.8;
    -webkit-transform: scale(1.015,1.015);
    -webkit-transition: all 0.3s ease-in-out;
    /* filter: blur(5px); */
    cursor: pointer;
    /* filter: grayscale(100%); */
}

.home-title {
    text-align: center;
    margin-top: 250px;
    line-height: 100%;
    color: rgb(227, 227, 227);
    font-size: 3rem;
    background: black;

    /* transition effect. not necessary */
    transition: opacity .2s, visibility .2s, color .2s, filter .2s;
}

.news-item:hover .home-title {
  visibility: visible;
  opacity: 1;
  color: rgb(255, 255, 255);
  background: rgba(27, 77, 120)
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
