/* BODY */

body{
    background-color: black;
}

/* HEADER */

header{
    background-color: white;
}

.color-red{
    color: #F7241B;
}

.card {
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
  }

  .caption {
    background-color: #F4F4F4;
    text-align: center;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-top: 1px solid #F4F4F4;
    border-radius: 0 0 5px 5px;
    margin-top: -5px;
    color: black;
    padding: 1rem 0;
}

.card:hover {
    border-color: #F7241B;
}

.card img {
    width: 100%;
    height: auto;
}
  
.heart-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; 
    font-size: 50px;
    opacity: 0;
    z-index: 1;
  }
  
  .heart-active {
    animation: heartAnimation 0.8s ease-out;
    opacity: 1; 
  }
  
  @keyframes heartAnimation {
    0% {
      transform: translate(-50%, -50%) scale(0); 
      opacity: 1; 
    }
    50% {
      transform: translate(-50%, -50%) scale(1.2); 
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) scale(1); 
      opacity: 0; 
    }
  }

.share{
    background-color: white;
    padding: 2rem 0;
}

.share p{
    font-size: 1.3rem;
    margin: 0;
    font-weight: 500;
}

.social a{
    text-decoration: none;
    margin: 0 0.4rem;
}

.social a img:hover{
    opacity: 0.7;
}

.url button{
    background-color: black;
    border: none;
    padding: 0.2rem 1rem;
    color: white;
}

.url button:hover{
    opacity: 0.9;
}

.modal-body{
    padding: 0 0 1rem 0;
}

.modal-header{
    border: none;
    position: relative;
}

.modal-title{
    margin-top: -2.2rem;
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 1rem;
}

.modal-content p a{
    color: #575757;
}

.modal-content p a:hover{
    color: black;
}

.modal .btn-close {
    z-index: 1051; 
    filter: brightness(0) invert(1);
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-play{
    border: 1px solid white;
    padding: 0.5rem 2rem;
    background-color: transparent;
    color: white;
    margin-top: 2rem;
    font-weight: 600;
    display: none;
}

.btn-play:hover{
    transition: 0.2s;
    background-color: white;
    color: black;
}

footer{
    padding: 1rem 0;
}

footer p{
    margin: 0;
    color: #a3a3a3;
    font-size: 0.8rem;
}

.all-caps{
	text-transform: uppercase;
}
@media screen and (max-width: 576px) {

    .welcome img{
        width: 100%;
        padding: 0 1rem;
    }

    .game-content{
        padding: 2rem 0;
    }

    .game-content h1{
        margin: 0.5rem 0 2rem 0;
        font-size: 0.75rem;
    }

    .share{
        text-align: center;
    }

    .cardGame {
        width: 100%;
        padding-top: 138%; 
    }

    .modal-content .btn-close{
        margin-top: 0.5rem!important;
    }

    .modal-content h5{
        font-size: 1.5rem;
    }

    .btn-close{
        font-size: 12px;
        margin-top: -25px!important;
    }
}