@charset "UTF-8";
/* line 1, app/assets/stylesheets/articles.scss */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

/* line 7, app/assets/stylesheets/articles.scss */
#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
/* line 10, app/assets/stylesheets/articles.scss */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (image) */
/* line 25, app/assets/stylesheets/articles.scss */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
/* line 33, app/assets/stylesheets/articles.scss */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
/* line 45, app/assets/stylesheets/articles.scss */
.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
/* line 63, app/assets/stylesheets/articles.scss */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

/* line 73, app/assets/stylesheets/articles.scss */
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/*______________________________________________________________________________*/
/* line 80, app/assets/stylesheets/articles.scss */
.avatar {
  vertical-align: middle;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/*____________Тени в TOPIC CARD article.show___________________________________________________________________________*/
/* line 88, app/assets/stylesheets/articles.scss */
.custom-shadow {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  transition: box-shadow 0.3s ease;
}

/* line 93, app/assets/stylesheets/articles.scss */
.custom-shadow:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25) !important;
}

/*_______________________________________________________-*/
/* line 98, app/assets/stylesheets/articles.scss */
body {
  font-family: 'Sofia', sans-serif;
  font-size: 18px;
}

/* line 103, app/assets/stylesheets/articles.scss */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

/* line 109, app/assets/stylesheets/articles.scss */
.card-body {
  padding: 1.5rem;
}

/* line 113, app/assets/stylesheets/articles.scss */
.avatar {
  border: 2px solid #ddd;
}

/* line 117, app/assets/stylesheets/articles.scss */
.img-thumbnail.thumb {
  transition: transform 0.2s ease-in-out;
}

/* line 121, app/assets/stylesheets/articles.scss */
.img-thumbnail.thumb:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}
