@tailwind base;
@tailwind components;
@tailwind utilities;

/*@layer utilities;*/

/*body {
    font-family: Arial, sans-serif;
}*/

@layer utilities {
  .content-auto {
    content-visibility: hidden;
  }
}

/* Masonry grid */
.masonry {
  transition: all .5s ease-in-out;
  column-gap: 30px;
  column-fill: initial;
}

/* Masonry item */
.masonry .brick {
  margin-bottom: 30px;
  display: inline-block; /* Fix the misalignment of items */
  vertical-align: top; /* Keep the item on the very top */
  max-width: 100%;
}

/* Masonry image effects */
.masonry .brick img {
  transition: all .5s ease-in-out;
  backface-visibility: hidden; /* Remove Image flickering on hover */
}

.masonry .brick .icon {
  width: 25px;
  height: 25px;
  border-radius: 5px;
}

.masonry .brick .image-media {
  width: 100%;
  height: 350px;
  margin-bottom: 10px;
}

.masonry .brick .account-container {
  display: flex;
  flex-direction: row;
}

.masonry .brick .account-container .account-name {
  margin-left: 10px;
}

.masonry .brick:hover img {
  opacity: .75;
}

.masonry .brick p {
  white-space: wrap; /* css-3 */    
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */    
  white-space: -o-pre-wrap; /* Opera 7 */    
  word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.masonry .brick:hover p {
  color: #3EB3AB;
}

/* Bordered masonry */
.masonry.bordered {
  column-rule: 1px solid #eee;
  column-gap: 50px;
}

.masonry.bordered .brick {
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

/* Gutterless masonry */
.masonry.gutterless {
  column-gap: 0;
}

.masonry.gutterless .brick {
  margin-bottom: 0;
}

/* Masonry on tablets */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .masonry {
        column-count: 2;
    }

    .masonry .brick .image-media {
        height: 280px;
    }
}

/* Masonry on big screens */
@media only screen and (min-width: 1024px) {
    .desc {
        font-size: 1.25em;
    }

    .intro {
        letter-spacing: 1px;
    }

    .masonry {
        column-count: 3;
        column-width: 150px;
    }

    .masonry .brick .image-media {
        height: 250px;
    }
}