body {
    background-color: #1d1d1d;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

a {
    color: #4CAF50;
    text-decoration: none;
    border-bottom: 2px solid #4CAF50;
    transition: border-bottom 0.2s ease-in-out;
}
  
a:hover {
    border-bottom: 2px solid #c2c7c7;
}  

.button-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
  }
  

.container {
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
}

.rick-morty {
    background-color: #2b2b2b;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    padding: 20px;
}

.rick-morty h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.rick-morty p {
    margin-bottom: 10px;
}

#button{
    display:block;
    padding:10px 30px;
    background-color:#eee;
    border:solid #ccc 1px;
    cursor: pointer;
    width: 50%;
    margin: 0 auto;
}
#overlay{	
position: fixed;
top: 0;
z-index: 100;
width: 100%;
height:100%;
display: none;
background: rgba(0,0,0,0.6);
}
.cv-spinner {
height: 100%;
display: flex;
justify-content: center;
align-items: center;  
}
.spinner {
width: 40px;
height: 40px;
border: 4px #ddd solid;
border-top: 4px #2e93e6 solid;
border-radius: 50%;
animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
100% { 
    transform: rotate(360deg); 
}
}
.is-hide{
display:none;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
    background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.content {
    padding: 0 18px;
    display: none;
    overflow-wrap: break-word;
    color: #444;
    background-color: #f1f1f1;
}