/*
Theme Name:   memes
Theme URI:    https://wordpress.org/themes/twentytwentyfour/
Description:  Twenty Twenty-Four child theme
Author:       WordPress.org
Author URI:   https://wordpress.org/
Template:     twentytwentyfour
Version:      1.0.0
Text Domain:  memes
*/

.ca {
    text-align: center;
}
.wp-block-post-featured-image {
    width: auto;
}

/* Copy CA Code  */
.copy-container {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 8px;
  background: #fff;
  font-family: sans-serif;
  position: relative;
}
.copy-text {
  margin-right: 8px;
}
.copy-button {
  position: relative;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.copy-button .icon-check {
  display: none;
}
.copy-button.copied .icon-copy {
  display: none;
}
.copy-button.copied .icon-check {
  display: block;
}
.copy-button svg {
  width: 16px;
  height: 16px;
  fill: #555;
  transition: fill .2s;
}
.copy-button:hover .tooltip {
  opacity: 1;
  visibility: visible;
}
.tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
  white-space: nowrap;
  pointer-events: none;
}
button.copy-button:hover, button.copy-button:focus {
    background-color: #e9e9e9;
}
button.copy-button {
    transition: all 0.4s ease;
}

